This article relates to the game "Half-Life: Alyx". Click here for more information.

npc_combine_s

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

npc_combine_s is a point entity available in Half-Life: Alyx Half-Life: Alyx. By default, spawning this entity while in-game within a valid space will create a Combine Grunt in its Idle state.


By changing the convar `combine_force_spawn_class` you can change which soldier type will spawn.


  • 0 - Grunt
  • 1 - Ordinal
  • 2 - Charger
  • 3 - Suppressor


Changing this convar then running `npc_create npc_combine_s` will create a soldier of the type in the convar.

Note.pngNote:Setting combine_force_spawn_class to 4 and spawning a soldier will freeze then crash the game. This has to do with the unused Recon combine class.[1] [2] [3]


References

CollapseReferences
3.
Error loading resource file "models/characters/combine_grunt/materials/combine_grunt_gear.vmat_c" (Error: ERROR_FILEOPEN)
Error loading resource file "models/characters/combine_grunt/materials/combine_grunt_body.vmat_c" (Error: ERROR_FILEOPEN)
— Half-Life: Alyx Console output upon spawning class 4, matches the materials for this "unused recon class"