Asw spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
: useful if you want to control the spawned aliens via triggers and such {{note| when triggering the spawned critters the names are automatically given a number after the name when they spawn. ex. YourNameHere1 or YourNameHere_1 so to control them all trigger them by YourNameHere*}}
: useful if you want to control the spawned aliens via triggers and such {{note| when triggering the spawned critters the names are automatically given a number after the name when they spawn. ex. YourNameHere1 or YourNameHere_1 so to control them all trigger them by YourNameHere*}}
; <code>Check Spawn Point is Clear</code>
; <code>Check Spawn Point is Clear</code>
: Should We Check to make sure nothing is on out spawn point? '''ex. box's, aliens, marines'''
: Should We Check to make sure nothing is on our spawn point? '''ex. box's, aliens, marines'''
; <code>Min Skill Level</code>
; <code>Min Skill Level</code>
: The minimum skill level for this spawner to function.  Skill levels are: 1=easy 2=normal 3=hard 4=insane 0=nolimit
: The minimum skill level for this spawner to function.  Skill levels are: 1=easy 2=normal 3=hard 4=insane 0=nolimit

Revision as of 17:04, 26 July 2010

Alien Swarmasw_Spawner is an entity available in Alien Swarm which is a spawn point for multiple aliens of a specified type

Keyvalues

Name
The name that other entities refer to this entity by. not needed unless you want it triggerable
Allow spawn if marines are near
see 'Prevent spawn if marines are this close
Start Burrowed
if Yes the spawn alien will play the unburrowing animation.
Unburrow Idle Activity
The name that other entities refer to this entity by.
Unburrow Activity
If alien starts burrowed, he'll play this activity while unburrowing.
Prevent spawn if marines are this close
If 'Allow spawn if marines are near' option is set to 'No' this distance is used for the nearby marine check.
Long sight range
If set to 'yes', aliens from this spawner will be able to see and sense enemies twice as far away as normal.
Alien Orders
Orders given to each alien spawned.
Alien Orders Target Name
Name of the target object for our orders (used by move to and move to ignoring marines orders).
Name to give spawned aliens
useful if you want to control the spawned aliens via triggers and such
Note.pngNote: when triggering the spawned critters the names are automatically given a number after the name when they spawn. ex. YourNameHere1 or YourNameHere_1 so to control them all trigger them by YourNameHere*
Check Spawn Point is Clear
Should We Check to make sure nothing is on our spawn point? ex. box's, aliens, marines
Min Skill Level
The minimum skill level for this spawner to function. Skill levels are: 1=easy 2=normal 3=hard 4=insane 0=nolimit
Max Skill Level
The maximum skill level for this spawner to function. Skill levels are: 1=easy 2=normal 3=hard 4=insane 0=nolimit
Max Num. Of Live Aliens
Maximum number of live aliens that can be present in the level from this spawner at any given time.
Num. aliens we can create
The number of aliens that can spawn before the spawner is exhausted.
Infinitely spawn aliens
self-explainatory
Spawn interval
Time in seconds between each alien spawning.
Spawn interval variation
Percentage variation applied randomly to the spawn interval each time an alien spawns. Value must be between 0 and 100. The default 25 will give a 25% variation to the spawn interval, so a 1 second spawn interval would actually be randomly between 0.75 seconds and 1.25 seconds.
Alien Class
Which type of alien to produce from this spawner.
Alien Health scale
Multiplies the alien's default health by this amount. ex. 0.25=25%, 5=500%....
Alien Speed Scale
Multiplies the alien's default speed by this amount. 1=normal 0.5=50% or half speed....
Spawner State
Spawner's initial state

Flags

  • Infinite even on Easy mode
  • Don't Spawn Uber aliens here as in non of those random near unkillable ones
  • Spawned Aliens never sleep no hibernation... always try to get to player

Outputs

OnAllSpawned
Fired when the Spawner has Spawned it's max number of aliens.
OnAllSpawnedDead
Fired when the spawner has spawned it's max number of aliens AND they are all dead.
OnSpawned
Fired Each time the Spawner Spawns an Alien.
Todo:  add and explain OnUser1-4

Inputs

SpawnOneAlien
Ignores Max Alien count from this spawner and spawns one alien of the predefined type.
StartSpawning
self-explainatory
StopSpawning
self-explainatory
ToggleEnabled
if Disabled enable else disable.
ToggleSpawning
if spawning stop spawning else start spawning.
Todo:  add and explain Inputs