hostage_entity
Jump to navigation
Jump to search

A GIF with the four default hostage models in Counter-Strike 2.
hostage_entity is a model entity available in
Counter-Strike 2. A hostage that must be brought to a func_hostage_rescue.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
Hostage Model (HostageType) <integer>
- Not used. Hostage models are chosen randomly by the game.
- Hostage Spawn Random Factor (HostageSpawnRandomFactor) <integer>
- Allows to increase probability of this hostage being picked during random spawn selection process, essentially considering this spawn point specified number of times.
- Hostage Spawn Exclusion Group 1 (HostageSpawnExclusionGroup1) to Hostage Spawn Exclusion Group 32 (HostageSpawnExclusionGroup32) <boolean>
- Hostages sharing any exclusion group will never spawn together, unless overridden with
mp_hostages_spawn_force_positionsormp_hostages_spawn_force_positions_xyz.
0 n/a 1 Do not spawn together
Note:This is treated as an 32-bit set of bitflags by game code.[confirm]