Asw spawner: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
mNo edit summary  | 
				TomEdwards (talk | contribs)  No edit summary  | 
				||
| Line 1: | Line 1: | ||
{{as}}  | {{as brush|asw_spawner}} It is a spawn point for multiple aliens of a specified type  | ||
== Keyvalues ==  | == Keyvalues ==  | ||
; <code>Name</code>  | ; <code>Name</code>  | ||
Revision as of 04:55, 27 July 2010
Template:As brush It 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: 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.
 OnUser1 - 4- Fired in response to the FireUser inputs; see User Inputs and Outputs.
 
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.
 OnUser1 - 4- Fire the OnUser outputs; see User Inputs and Outputs.
 
Todo:  add the rest of the inputs and explain what they are for