Player speedmod: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 

 
 Note: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.
Note: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.
 Note:Due to the way it is coded,
Note:Due to the way it is coded, 
		
	
| Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: {{language subpage → {{langsp) |  (Added a note on player speedmod's flawed Suppress Weapon behavior) | ||
| Line 24: | Line 24: | ||
| == Flags == | == Flags == | ||
| {{fl|1|Suppress weapons}} | {{fl|1|Suppress weapons}} | ||
| {{Note|Due to the way it is coded, <code>Suppress weapons</code> only holsters and hides the ''active'' weapon. Switching to other weapons (and back to the hidden one) remains available (unless also using <code>Suppress HUD</code>. Even then, switching by picking up new weapons or ammo for depleted weapons is still possible). }} | |||
| {{fl|2|Suppress HUD}} | {{fl|2|Suppress HUD}} | ||
| {{fl|4|Suppress jump}} | {{fl|4|Suppress jump}} | ||
Revision as of 15:43, 30 April 2024

This article needs more  links to other articles to help
 links to other articles to help  integrate it into the encyclopedia. Please help improve this article by adding links
 integrate it into the encyclopedia. Please help improve this article by adding links  that are relevant to the context within the existing text.
 that are relevant to the context within the existing text.
January 2024
 links to other articles to help
 links to other articles to help  integrate it into the encyclopedia. Please help improve this article by adding links
 integrate it into the encyclopedia. Please help improve this article by adding links  that are relevant to the context within the existing text.
 that are relevant to the context within the existing text.January 2024

 
| player_speedmod | |
|---|---|
|  | |
| Type | Point entity | 
| Engine |  Source | 
| Availability | In all games | 
player_speedmod  is an   e0  available in all  Source games. This entity 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.
 Source games. This entity 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.
 Note: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.
Note: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. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- ModifySpeed <float>
- Modifies player speed by X amount.
Flags
- Suppress weapons : [1]
 Note:Due to the way it is coded,
Note:Due to the way it is coded, Suppress weapons only holsters and hides the active weapon. Switching to other weapons (and back to the hidden one) remains available (unless also using Suppress HUD. Even then, switching by picking up new weapons or ammo for depleted weapons is still possible). - Suppress HUD : [2]
- Suppress jump : [4]
- Suppress duck : [8]
- Suppress use : [16]
- Suppress sprint : [32]
- Suppress attack : [64]
- Suppress zoom : [128]
























