Asw spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(edit, wip)
No edit summary
Line 1: Line 1:
This spawner can spawn different types of units, and at varying levels of difficulty:
{{as}}'''asw_Spawner''' is an entity available in [[Alien Swarm]] which is a spawn point for multiple aliens of a specified type
{{clr}}
== Keyvalues ==
; <code>Name</code>
: The name that other entities refer to this entity by. '''not needed unless you want it triggerable'''
; <code>Allow spawn if marines are near</code>
: see 'Prevent spawn if marines are this close
; <code>Start Burrowed</code>
: if Yes the spawn alien will play the unburrowing animation.
; <code>Unburrow Idle Activity</code>
: The name that other entities refer to this entity by.
; <code>Unburrow Activity</code>
: If alien starts burrowed, he'll play this activity while unburrowing.
; <code>Prevent spawn if marines are this close</code>
: If 'Allow spawn if marines are near' option is set to 'No' this distance is used for the nearby marine check.
; <code>Long sight range</code>
: If set to 'yes', aliens from this spawner will be able to see and sense enemies twice as far away as normal.
; <code>Alien Orders</code>
: Orders given to each alien spawned.
; <code> Alien Orders Target Name</code>
: Name of the target object for our orders (used by move to and move to ignoring marines orders).
; <code>Name to give spawned aliens</code>
: 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>
: Should We Check to make sure nothing is on out spawn point? '''ex. box's, aliens, marines'''
; <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
; <code>Max Skill Level</code>
: The maximum skill level for this spawner to function.  Skill levels are: 1=easy 2=normal 3=hard 4=insane 0=nolimit
; <code>Max Num. Of Live Aliens</code>
: Maximum number of live aliens that can be present in the level from this spawner at any given time.
; <code>Num. aliens we can create</code>
: The number of aliens that can spawn before the spawner is exhausted.
; <code>Infinitely spawn aliens</code>
: self-explainatory
; <code>Spawn interval</code>
: Time in seconds between each alien spawning.
; <code>Spawn interval variation</code>
: 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.
; <code>Alien Class</code>
: Which type of alien to produce from this spawner.
; <code>Alien Health scale</code>
: Multiplies the alien's default health by this amount. '''ex. 0.25=25%, 5=500%....'''
; <code>Alien Speed Scale</code>
: Multiplies the alien's default speed by this amount. ''' 1=normal 0.5=50% or half speed....'''
; <code>Spawner State</code>
: Spawner's initial state


== Details ==
== 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 ==
; <code>OnAllSpawned</code>
: Fired when the Spawner has Spawned it's max number of aliens.
; <code>OnAllSpawnedDead</code>
: Fired when the spawner has spawned it's max number of aliens AND they are all dead.
; <code>OnSpawned</code>
: Fired Each time the Spawner Spawns an Alien.
{{todo| add and explain OnUser1-4}}


[[File:Spawnerwiki.jpg]]
== Inputs ==
 
; <code>SpawnOneAlien</code>
Name: Here you choose the name of the spawner (This is unnecessary unless you want the spawner to work off a trigger
: Ignores Max Alien count from this spawner and spawns one alien of the predefined type.
 
; <code>StartSpawning</code>
Allow spawn if marines are near: If no then will not spawn unless marines are specified distance away (see Prevent spawn if marines are this close
: self-explainatory
 
; <code>StopSpawning</code>
Prevent spawn if marines are this close: N/A if previous is set to Yes, distance in inches how far marines must be before spawn
: self-explainatory
 
; <code>ToggleEnabled</code>
Long sight range: if Yes will give swarm spawned here longer than normal vision range
: if Disabled enable else disable.
 
; <code>ToggleSpawning</code>
Alien orders: Spread Then Hibernate - Orders swarm spawned here to spread then wait for marines
: if spawning stop spawning else start spawning.
Move to - Orders swarm that spawns to move to a specified location
{{todo| add and explain Inputs}}
Move to (ignoring marines) - Swarm will ignore marines until reaching specified location
Move to nearest marine - Swarm will move to nearest marine and attack.
 
This is still a wip. If you have more to add please edit.

Revision as of 17:02, 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 out 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