sm_fortressblast_powerups

From Fortress Blast
Revision as of 13:06, 21 January 2020 by Naleksuh (talk | contribs)
Jump to navigationJump to search

sm_fortressblast_powerups is a ConVar in Fortress Blast that was added in version 1.1. It controls the powerups that are placed at the start of a round, dropped on death, and used by Mystery. It does not affect powerups that are set with sm_setpowerup or spawned with sm_spawnpowerup.

To enable all powerups, use a value of -1 to avoid having to update the ConVar every time new powerups are added. Otherwise, the value of the ConVar should be a integer which is the sum of the needed powerups' bits, which are defined as below:

Powerup Bit
Super Bounce 1
Shock Absorber 2
Super Speed 4
Super Jump 8
Gyrocopter 16
Time Travel 32
Blast 64
Mega Mann 128
Frost Touch 256
Mystery 512
Teleportation 1024
Magnetism 2048

Here are some example values for this ConVar:

  • Enable Blast and Gyrocopter: 64 + 16 = 80
  • Enable Teleportation and Super Bounce: 1024 + 1 = 1025 , as that is the highest value that can be obtained with this bits.