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

Npc combine s (Half-Life: Alyx): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (screwed up the note somehow, fixed)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{LanguageBar}}
{{HLA topicon}}
{{HLA topicon}}
{{Lang|title=npc_combine_s}}
 
{{EntityTabs|Npc combine s|hl2=1|hla=1|main=hl2}}
{{tabs|Npc combine s|hl2=1|hla=1|main=hl2}}
{{Stub}}
{{Stub}}
{{Entity|npc_combine_s|type=e0|game=Half-Life: Alyx}}
{{This is a|point entity|name=npc_combine_s|game=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|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.{{cite|1}} {{cite|2}} {{cite|3}} }}
 
 
{{references|1=
{{citation|cite id=1|https://combineoverwiki.net/wiki/Combine_Recon}}
{{citation|cite id=2|https://www.reddit.com/r/HalfLife/comments/nqvjxy/til_you_can_spawn_the_cut_combine_recon_npc_in/}}
{{citation|cite id=3| {{quote|Error loading resource file "models/characters/combine_grunt/materials/combine_grunt_gear.vmat_c" (Error: ERROR_FILEOPEN) <br>
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"}} }} }}

Latest revision as of 21:26, 8 June 2025

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

References
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"
.