player_speedmod
This article needs more links to other articles to help integrate it into the encyclopedia. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
...
player_speedmod | |
---|---|
Type | Point entity |
Engine | Source |
Availability | In all games |
player_speedmod
is a point entity 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.
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.
Contents
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Inputs
ModifySpeed
<float>- Modifies player speed by X amount.
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