Skip to content

Half-Life Featureful SDK 2024-05-13

Pre-release
Pre-release
Compare
Choose a tag to compare
@FreeSlave FreeSlave released this 13 May 12:46
· 35 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!

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

Configuring the ammo amounts in ammo and weapon entities

The new features/ammo_amounts.cfg file allows you to customize the ammo provided in ammo_ and weapon_ entities by default.

This is an experimental feature.

Changes to the sample mod

  • The new demo map is included in the sample mod - flyers_demo - for demonstration and testing of the osprey and apache.
  • Previously missing models/blkop_tailgibs.mdl has been added to the resources.

New features in featureful_server.cfg

  • door_rotating_starts_open_fix - when enabled, fix the bug with func_door_rotating becoming unresponsive after the first use if it has Starts Open spawnflag. This feature is currently left disabled by default just in case some existing map relies on this behavior.
  • warpball_at_monster_center - if enabled, when env_warpball is used as a template effect for monstermaker, create the effect at the monster's body center by default, instead of monster's origin (which is usually at the monster's feet). The feature is enabled by default. If you want the old behavior, set the warpball_at_monster_center to false in your features in featureful_server.cfg.

Entities

  • The values of the parameter Warp at monster's... of monstermaker now have a different meaning. Any positive value means to create a warpball effect in the center of the monster's body. Any negative value means to create effect at the origin. And 0 (default) means to create at the position depending on the warpball_at_monster_center feature.
  • env_warpball now can define a second sprite that will be played along with the first one. sprites/xflare1.spr is provided as default second sprite in the fgd. You need to manually set the second sprite on existing maps if you want warpballs to create two sprites.
  • Added Smoke position parameter for env_smoker.
  • Added Instant spawnflag for multi_manager, multi_trigger and multi_sequence. By default targets with 0 delay will be triggered only on the next frame after the multi_manager has been triggered. With this flag such targets will be called instantly.
  • You now can provide custom keyvalues for the monster spawned via monstermaker. In the editor toggle SmartEdit (like you do with multi_manager) and add keyvalues you want to forward to the monster prepending the key names with # symbol. This allows to set some parameters that can't be set via monstermaker otherwise (e.g. bodystate of monster_barney).

Bugfixes

  • Fixed opfor grunts coming from osprey without weapons.
  • Fixed osprey and apache sounds not stopping if they were replaced with a sound replacement system.
  • Fixed flocking flyers sounds not being replaceable with a sound replacement system.

Codebase changes

  • Added GetWeaponData and SetWeaponData functions for weapons to tidy and deduplicate some prediction code.
  • ALLOC_STRING is now a function instead of the macro.

Repository changes

  • The features/ directory is no longer included in the automated builds. This is to avoid situations when someone wants to try the latest version and rewrites their features/ directory with the default one by accident.