asw_director_control

From Valve Developer Community
Jump to navigation Jump to search
Broom icon.png
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.
C++ Class hierarchy
CASW_Director_Control
CLogicalEntity
CServerOnlyEntity
CBaseEntity
C++ asw_director_control.cpp

asw_director_control is a logical entity available in Alien Swarm Alien Swarm and Alien Swarm: Reactive Drop 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 or target).
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.pngNote:If you rely on this output, you must ship the .layout file along with your map.