Player speedmod: Difference between revisions
Jump to navigation
Jump to search
MossyBucket (talk | contribs) (Added the flags.) |
|||
Line 7: | Line 7: | ||
==Keyvalues== | ==Keyvalues== | ||
* {{KV Targetname}} | * {{KV Targetname}} | ||
== Flags == | |||
* 1 : Suppress weapons | |||
* 2 : Suppress HUD | |||
* 4 : Suppress jump | |||
* 8 : Suppress duck | |||
* 16 : Suppress use | |||
* 32 : Suppress sprint | |||
* 64 : Suppress attack | |||
* 128 : Suppress zoom | |||
==Inputs== | ==Inputs== | ||
* {{I Targetname}} | * {{I Targetname}} | ||
* '''ModifySpeed <float>''' | * '''ModifySpeed <float>''' | ||
: Modifies player speed by X amount. | : Modifies player speed by X amount. | ||
==Outputs== | ==Outputs== | ||
* {{O Targetname}} | * {{O Targetname}} | ||
[[Category:Entities]] | [[Category:Entities]] |
Revision as of 08:09, 13 March 2011
Entity Description
Speeds up or slows down player velocity over time (slow motion / fast forward.) To disable it, fire the input "ModifySpeed 1.0" to reset the speed multiplier.
Using player_speedmod will always disable the flashlight. To enable the flashlight even as player_speedmod is active: right after firing the ModifySpeed input, fire an "EnableFlashlight" input to !player.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
- 1 : Suppress weapons
- 2 : Suppress HUD
- 4 : Suppress jump
- 8 : Suppress duck
- 16 : Suppress use
- 32 : Suppress sprint
- 64 : Suppress attack
- 128 : Suppress zoom
Inputs
- ModifySpeed <float>
- Modifies player speed by X amount.