Skip to content

Half-Life Featureful SDK 2024-03-14

Pre-release
Pre-release
Compare
Choose a tag to compare
@FreeSlave FreeSlave released this 14 Mar 16:14
· 499 commits to featureful since this release

The mod sample is included in the archive, with the test map and assets

The provided FGD has an extended format used by J.A.C.K. and won't work with Valve Hammer Editor!

Changelog

Ammo changes

  • The max ammo carry per each ammo type can be configured via features/maxammo.cfg file (example included).
  • Increased the max ammo the player can potentially carry - now it supports showing up to 4 digits in HUD.

ParticleMan implementation

ParticleMan is an additional library made by Valve that is used to spawn particle effects in Counter Strike and Day of Defeat. While Valve's ParticleMan is a separate closed-source library, it can be reimplemented in the client.

  • The ParticleMan reimplementation by @SamVanheer added to the SDK.
  • Added a new client command test_particles to spawn test particles with ParticleMan.

Entities

  • New entity particle_shooter - create particles with ParticleMan. Designed after the entity from Day of Defeat.
  • Buttons are now allowed to play scripted_sentences.
  • New parameter Delay Before Reset for trigger_relay which allows to ignore consequent calls to trigger_relay until the specified time has passed since the last call.
  • New suffixes for multi_manager delays values: forward and reverse to forward or forward-reverse the use type the multi_manager has been called with to its targets. E.g. if multi_manager was triggered with On use type, all targets which have #forward suffix in the delay value will be triggered with On. All targets which have #reverse suffix in the delay will be triggered with Off in this case.

Cvar changes

  • The client cvar cl_satchelcontrol has been renamed to _satctrl and set to 0 by default (classic satchel control behavior).
  • New client cvar _grenphys added to let user control whether they want the anniversary hand grenade physics or not.
  • Note: weird cvar names is the result of user info buffer being limited to 256 bytes.
  • New cvar cl_pmanstats to show ParticleMan stats.

Other changes

  • Added previously missing func_vehicle to fgd.

Codebase changes

  • The minimum required C++ version now is C++11, instead of C++98.
  • Ammo types registration is now separated from weapon precaching.