overlord_wave_controller

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

overlord_wave_controller is a point entity available in No More Room in Hell No More Room in Hell.

Entity Description

The Overlord Wave Controller is a Survival Mode entity that manages the waves of zombies the player will fight, as well as other variables related to the mode.

KeyValues

Name (targetname) <string>
The name that other entities refer to this entity by.
Entity Scripts (vscripts) <string>
Name(s) of script files that are executed after all entities have spawned.
Script think function (thinkfunction) <string>
Name of a function in this entity's script scope which will be called automatically.
Initial Spawn Count (initial_spawn) <integer>
Spawn count starts out at this much.
Zombie Increment (zombie_increment) <integer>
Spawn count increases by this much per wave.
Resupply Freq. (resupply_freq) <integer>
Resupply wave occurs once every this many waves.
NG Freq. (ng_freq) <integer>
National Guard drop occurs once every this many waves.
Ending Wave (ending_wave) <integer>
Players win after reaching this wave.
First Runner Wave (first_runner_wave) <integer>
Runners don't spawn until this wave.
First Child Wave (first_child_wave) <integer>
Children don't spawn until this wave.
Custom Win Scenario (use_custom_win) <boolean>
Use a custom win scenario using I/O rather than directly winning on end wave.

Flags

Inputs

InputStartWaves
Start wave system with a given number of waves. Parameter override is number of waves to do.
InputCustomWinComplete
Notify the wave controller that the custom win has been completed.
InputCustomWinFailed
Notify the wave controller that the custom win has failed.

Outputs

OnCustomWinBegin
Fires when the custom wave scenario should begin.
OnNewWave
Fires when a new wave is started.
OnResupplyWave
Fires when a resupply wave is started.
OnStopWaveComplete
Fires when the "stop" wave is completed.
OnUser1 to OnUser4
Fired in response to the FireUser inputs.