Asw director control: Difference between revisions
Jump to navigation
Jump to search
Grim Tuesday (talk | contribs) (Created page with "Controls how the Alien Swarm director works.") |
(added class hierarchy, cleanup) |
||
(14 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
Controls | {{cleanup|inputs}} | ||
{{CD|CASW_Director_Control|file1=1}} | |||
{{this is a|logical entity|game=Alien Swarm|game1=Alien Swarm: Reactive Drop|name=asw_director_control}} Controls the spawning of some NPCs. A similar system exists in Left 4 Dead. | |||
== Keyvalues == | |||
{{KV Targetname}} | |||
{{KV|Wandering Aliens|intn=wanderers|boolean|Whether to spawn random drones around the players.}} | |||
{{KV|Hordes|intn=hordes|boolean|Whether to spawn large groups of drones periodically.}} | |||
{{KV|Control Spawners|intn=controlspawners|boolean|If enabled, asw_spawners will only work when the director is in an active spawning state.}} | |||
== Inputs == | |||
{{I|EnableHordes|param=void|Enable random horde spawning.}} | |||
{{I|DisableHordes|param=void|Disable random horde spawning.}} | |||
{{I|EnableWanderers|param=void|Enable random wandering aliens.}} | |||
{{I|DisableWanderers|param=void|Disable random wandering aliens.}} | |||
{{I|StartFinale|param=void|Enables wanderers, hordes and sends director into crazy spawning mode.}} | |||
<pre> | |||
//asrd only probably | |||
DEFINE_INPUTFUNC( FIELD_VOID, "StartHoldout", InputStartHoldout ), | |||
DEFINE_INPUTFUNC( FIELD_VOID, "StopHoldout", InputStopHoldout ), | |||
DEFINE_INPUTFUNC( FIELD_VOID, "ResetMarineIntensity", InputResetMarineIntensity ), | |||
DEFINE_INPUTFUNC( FIELD_VOID, "SpawnHordeSoon", InputSpawnHordeSoon ), | |||
</pre> | |||
== Outputs == | |||
{{O|OnEscapeRoomStart|param=void|activator=the marine|Fired when marine enters the escape room with all objectives (except for escape) complete. {{note|If you rely on this output, you must ship the .layout file along with your map.}}}} |
Latest revision as of 08:39, 20 May 2025

This article or section needs to be cleaned up to conform to a higher standard of quality because:
inputs
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.![]() |
---|
CASW_Director_Control |
![]() |
asw_director_control
is a logical entity available in Alien Swarm and
Alien Swarm: Reactive Drop. Controls the spawning of some NPCs. A similar system exists in Left 4 Dead.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Wandering Aliens (wanderers) <boolean>
- Whether to spawn random drones around the players.
- Hordes (hordes) <boolean>
- Whether to spawn large groups of drones periodically.
- Control Spawners (controlspawners) <boolean>
- If enabled, asw_spawners will only work when the director is in an active spawning state.
Inputs
- EnableHordes <void>
- Enable random horde spawning.
- DisableHordes <void>
- Disable random horde spawning.
- EnableWanderers <void>
- Enable random wandering aliens.
- DisableWanderers <void>
- Disable random wandering aliens.
- StartFinale <void>
- Enables wanderers, hordes and sends director into crazy spawning mode.
//asrd only probably DEFINE_INPUTFUNC( FIELD_VOID, "StartHoldout", InputStartHoldout ), DEFINE_INPUTFUNC( FIELD_VOID, "StopHoldout", InputStopHoldout ), DEFINE_INPUTFUNC( FIELD_VOID, "ResetMarineIntensity", InputResetMarineIntensity ), DEFINE_INPUTFUNC( FIELD_VOID, "SpawnHordeSoon", InputSpawnHordeSoon ),
Outputs
- OnEscapeRoomStart <void>
- !activator = the marine
!caller = this entity
Fired when marine enters the escape room with all objectives (except for escape) complete.Note:If you rely on this output, you must ship the .layout file along with your map.