Sm fortressblast powerups: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
(Created page with "{{DISPLAYTITLE:sm_fortressblast_powerups}} sm_fortressblast_powerups is a ConVar in Fortress Blast which defines the powerups allowed. This ConVar will control th...")
 
(Article update and such)
Line 1: Line 1:
{{DISPLAYTITLE:sm_fortressblast_powerups}}
{{DISPLAYTITLE:sm_fortressblast_powerups}}


sm_fortressblast_powerups is a [[ConVars|ConVar]] in Fortress Blast which defines the powerups allowed. This ConVar will control the powerups that are dropped in defined places, dropped on death, and chosen by [[Mystery]]. It will ''not'' affect powerups that are set with sm_setpowerup or sm_spawnpowerup.
<code>sm_fortressblast_powerups</code> is a [[ConVars|ConVar]] in Fortress Blast which defines the [[powerups]] allowed. This ConVar will control the powerups that are dropped in defined places, dropped on death, and used by other powerups. It does not affect powerups that are set with <code>sm_setpowerup</code> or spawned with <code>sm_spawnpowerup</code>.


The value of the ConVar should be a integer which is the sum of the bit-field of powerups, which are defined as below:
To enable all powerups, use -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:


{| class="wikitable"
{| class="wikitable"
|-
|-
! Name !! Bit
! Powerup !! Bit
|-
|-
| Super Bounce || 1
| [[Super Bounce]] || 1
|-
|-
| Shock Absorber || 2
| [[Shock Absorber]] || 2
|-
|-
| Super Speed || 4
| [[Super Speed]] || 4
|-
|-
| Super Jump || 8
| [[Super Jump]] || 8
|-
|-
| Gyrocopter || 16
| [[Gyrocopter]] || 16
|-
|-
| Time Travel || 32
| [[Time Travel]] || 32
|-
|-
| Blast || 64
| [[Blast]] || 64
|-
|-
| Mega Mann || 128
| [[Mega Mann]] || 128
|-
|-
| Frost Touch || 256
| [[Frost Touch]] || 256
|-
|-
| Mystery || 512
| [[Mystery]] || 512
|}
|}


Add the value of these together to get the value you want of this ConVar. Here are some examples:
Here are some example values for this ConVar:
 
* Enable Blast and Gyrocopter: 64 + 16 = 80
* Enable Blast and Gyrocopter: 64 + 16 = 80
* Enable Frost Touch and Super Bounce: 256 + 1 = 257
* Enable Frost Touch and Super Bounce: 256 + 1 = 257
* Enable Mega Mann, Shock Absorber, Super Jump, and Blast: 128 + 2 + 8 + 64 = 202
* Enable Mega Mann, Shock Absorber, Super Jump, and Mystery: 128 + 2 + 8 + 512 = 650
* Enable only Time Travel: 32 = 32
* Enable Time Travel only: 32 = 32


To enable all powerups, use -1 to avoid having to update the ConVar every time new powerups are added. Keep in mind Mystery cannot be the only powerup enabled, because it requires at least one other powerup enabled. However, we recommend having at least 4 or 5 other powerups before using Mystery.
Keep in mind that Mystery cannot be the only powerup enabled, because it requires at least one other powerup enabled. If this happens to be the case, all powerups will forcibly be enabled, and this is true for any value outside of the possible range.  


[[Category:ConVars]]
[[Category:Pages to update with new powerups]]
[[Category:Pages to update with new powerups]]

Revision as of 21:57, 24 November 2019


sm_fortressblast_powerups is a ConVar in Fortress Blast which defines the powerups allowed. This ConVar will control the powerups that are dropped in defined places, dropped on death, and used by other powerups. It does not affect powerups that are set with sm_setpowerup or spawned with sm_spawnpowerup.

To enable all powerups, use -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

Here are some example values for this ConVar:

  • Enable Blast and Gyrocopter: 64 + 16 = 80
  • Enable Frost Touch and Super Bounce: 256 + 1 = 257
  • Enable Mega Mann, Shock Absorber, Super Jump, and Mystery: 128 + 2 + 8 + 512 = 650
  • Enable Time Travel only: 32 = 32

Keep in mind that Mystery cannot be the only powerup enabled, because it requires at least one other powerup enabled. If this happens to be the case, all powerups will forcibly be enabled, and this is true for any value outside of the possible range.