Skip to content

Half-Life Featureful SDK 2024-07-24

Pre-release
Pre-release
Compare
Choose a tag to compare
@FreeSlave FreeSlave released this 24 Jul 17:14
· 436 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!

This release also includes the custom FGD provided by the community with assets like entity-specific icons and models that might help the level designer.

Note: zhlt entities are not included in the FGD. You must add zhlt.fgd to your game profile configuration in the map editor.

If you already have a mod in development based on Half-Life Featureful read this article to get the idea how to apply the new SDK version for your project.

Changelog

Rain and snow weather effects

Added rain and snow effects similar to ones used in Counter Strike and Condition Zero, but toggleable and configurable.

Use the following entities to spawn rain and snow:

  • env_rain - global or localized rain.
  • env_snow - global or localized snow.
  • func_rainvolume - brush entity for localized rain.
  • func_snowvolume - brush entity for localized snow.

Both global rain and global snow can be present on the map.

The new demo map weather_demo has been added to the sample mod for rain and snow demonstration.

Other entities

  • The special value *player is supported in most places where the *locus is supported to allow refer to the player. In singleplayer it will always find the player. In multiplayer it acts like *locus, but allow only players.
  • Added Don't reset trigger counter on deactivation spawnflag for trigger_timer (can be useful when trigger number limit is set).
  • Added Pass caller as activator spawnflag for trigger_relay.
  • Added Ignore Hold Time spawnflag for trigger_camera.
  • Added Stop by player input parameter for trigger_camera.
  • Added Target when turned off parameter for trigger_camera.
  • Added Calc Position as an option to calculate value from calc_position (this allows to calculate the value of one calc_position based on the other calc_position).
  • Added Calc Velocity as an option to calculate value from calc_subvelocity (this allows to calculate the value of one calc_subvelocity based on other calc_ entities).

Console commands

  • Now you can set the use-type sent via the fire command. Use fire on <targetname> or off <targetname> to send On and Off input. Use fire set <targetname> <value> to send the numeric input (e.g. for game_counter).
  • The entities_count command now supports the argument - the classname - to report the number of entities having the specified classname.
  • Add give_intentory and remove_inventory commands to give and remove player inventory items. This can be used for debugging purposes. The first argument is the item name. The second (optional) argument is the number of items of this type to give or remove.