Classes:PowerSpeed

From ZDoom Wiki

Jump to: navigation, search
Super speed power
Actor type Power Game
DoomEd Number None Class Name PowerSpeed

Classes: InventoryPowerupPowerSpeed

PowerSpeed is an internal class. An item of this class is placed in the player's inventory while the Speed powerup is effective. During the time this effect is active, the player will be given a multiplier to their movement rate, by a factor of the Speed property.

Like all other Powerups items of this class are never used directly. Instead you have to create a new item that inherits from PowerupGiver to give it to the player.

DECORATE definition

ACTOR PowerSpeed : Powerup native
{
  Powerup.Duration -45
  Speed 1.5
  Inventory.Icon "SPBOOT0"
}
Personal tools