Skip to main content

player_speed

player_speed icon
Point entityPorted from Featureful

A player_speed changes how fast the player who triggered it can move.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Maxspeed valuemaxspeed

Sets the new speed, and 0 resets it. With "Fraction of the player's own speed", 0.5 halves the player's speed. With "Set absolute", it is their speed in units per second while nothing slows them down.

Default 0
Value modevalue_notion

Sets how Maxspeed value is read.

  • Fraction of the player's own speed (0) - A share of the speed that the player's class, level and legs give them, so it follows that speed when it changes
  • Set absolute (1) - A speed in units per second, which stays the same when the player's class, level or legs change. Slowdowns such as a zoom still lower it
Default Fraction of the player's own speed (0)

Notes​

  • It only changes the activator, and only if that is an alive player
  • The change lasts until another player_speed changes it, a Maxspeed value of 0 resets it or the player respawns
  • The server's top speed still limits it. That is the setting sv_maxspeed (set in server.cfg or in the server console)
  • The player's game predicts with the new speed, so their movement doesn't stutter

See also​

Changes since 1.38​

  • player_speed is new