Powerups



Powerups are spawned in set locations around a map at the start of a round (depending on the current map's associated .json file), and/or are dropped when players die (depending on the settings of the ConVar  and its sub-ConVars). Collecting a powerup will replace any already collected powerup on the player's screen.

Powerups that are spawned at the start of a round are permanent and respawn 10 seconds after being collected, however powerups dropped on death only exist for 15 seconds upon spawn and do not respawn when collected. Particular powerups can be disabled by setting the value of the bitfield.

Developer information
Powerups are  entities that the plugin stores IDs for. All of these entities, including ones not spawned by Fortress Blast, are deleted at the start of a round to prevent duplicate powerups existing. This does not conflict with stock maps that use these entities such as Carnival of Carnage.

The command  can be used to set the equipped powerup of any player or group of players based on the ID of the desired powerup.

The powerup ID 0 differs within the code of Fortress Blast. When an entity has a powerup ID of 0, it signifies a gift in Gift Hunt. When a player has a powerup ID of 0, it signifies them not having a powerup. Collecting a gift will not remove a player's collected powerup.