Asw env shake: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== asw_env_shake == | == asw_env_shake == | ||
{{as}} Creates a point entity available in Alien Swarm . When triggered,this entity will cause the screen off players in a given radius to shake. | {{as}} Creates a point entity available in [[Alien Swarm]]. When triggered,this entity will cause the screen off players in a given radius to shake. | ||
== Keyvalues == | == Keyvalues == | ||
Line 78: | Line 77: | ||
;OnUser1-4: | ;OnUser1-4: | ||
:Fired in response to the FireUser inputs; see User Inputs and Outputs. | :Fired in response to the FireUser inputs; see User Inputs and Outputs. | ||
== See Also == | |||
;[[List of Alien Swarm entities]] | |||
--[[User:Mr Tk|Mr Tk]] 21:00, 14 May 2011 (UTC) | --[[User:Mr Tk|Mr Tk]] 21:00, 14 May 2011 (UTC) |
Revision as of 00:55, 15 May 2011
asw_env_shake
Creates a point entity available in Alien Swarm. When triggered,this entity will cause the screen off players in a given radius to shake.
Keyvalues
- Name
- The name that other entities refer to this entity by.
- Entity Scripts
- Name(s) of script files that are executed after all entities have spawned.
- Script think function
- Name of a function in this entity's script scope which will be called automatically.
- Parent
- The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
- Amplitude
- The amount of noise in the screen shake. Should be a range between 0 and 16.
- Frequency
- The frequency used to apply the screen shake. Should be a value between 0 and 255, where 0.1 = jerk, and 255.0 = rumble.
- Duration
- The length of time in which to shake the player's screens.
- Effect Radius
- The radius around this entity in which to affect players.
Flags
- GlobalShake
- If set, the shake will shake will affect the whole level.
- InAir
- Unknown effect.
- Physics
- If set, the shake will affect physic objects [?].
- Ropes
- If set, the shake will affect ropes [?].
Inputs
- AddOutput
- Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format: <key> <value>
- Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
- FireUser1-4
- Fire the OnUser outputs; see User Inputs and Outputs.
- Kill
- Removes this entity from the world.
- StartShake
- Starts shaking.
- StopShake
- Stops shaking.
- Amplitude
- Redefines the Amplitude keyvalue.
- Frequency
- Redefines the Frequency keyvalue.
Outputs
- OnUser1-4
- Fired in response to the FireUser inputs; see User Inputs and Outputs.
See Also
--Mr Tk 21:00, 14 May 2011 (UTC)