Dizzy Bomb: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:Powerup dizzy bomb.png|frameless|right|128px]] | [[File:Powerup dizzy bomb.png|frameless|right|128px]] | ||
Dizzy Bomb is | |||
Dizzy Bomb is the fourteenth [[Powerups|powerup]] in Fortress Blast. It was added to Fortress Blast in version 4.0 and is an original powerup. Upon use, all enemies within 512 Hammer Units will experience 'dizziness', achieved by rotating their view in both directions wildly for five seconds. To prevent issues with players that may be prone to vertigo or other visual stimulation-related illnesses, there are two [[ConVars]] that control its effectiveness: <code>[[sm_fortressblast_dizzy_states]]</code> and <code>[[sm_fortressblast_dizzy_length]]</code>. | |||
<youtube>JDlKXAU29YQ</youtube> | <youtube>JDlKXAU29YQ</youtube> | ||
== Developer information == | == Developer information == | ||
Dizzy Bomb operates by changing | |||
:<code>float ang = Sine((3.16159265 * sm_fortressblast_dizzy_states.FloatValue * DizzyProgress[client]) / (10 * sm_fortressblast_dizzy_length.FloatValue)) * ((10 * sm_fortressblast_dizzy_length.FloatValue) - DizzyProgress[client]);</code> | Dizzy Bomb operates by changing affected players' Z-axis angle every 0.1 second, using the following formula: <code>float ang = Sine((3.16159265 * sm_fortressblast_dizzy_states.FloatValue * DizzyProgress[client]) / (10 * sm_fortressblast_dizzy_length.FloatValue)) * ((10 * sm_fortressblast_dizzy_length.FloatValue) - DizzyProgress[client]);</code> | ||
[[Category:Powerups]] | |||
[[Category:Powerups with no callback]] |
Revision as of 23:07, 11 February 2020
Dizzy Bomb is the fourteenth powerup in Fortress Blast. It was added to Fortress Blast in version 4.0 and is an original powerup. Upon use, all enemies within 512 Hammer Units will experience 'dizziness', achieved by rotating their view in both directions wildly for five seconds. To prevent issues with players that may be prone to vertigo or other visual stimulation-related illnesses, there are two ConVars that control its effectiveness: sm_fortressblast_dizzy_states
and sm_fortressblast_dizzy_length
.
Developer information
Dizzy Bomb operates by changing affected players' Z-axis angle every 0.1 second, using the following formula: float ang = Sine((3.16159265 * sm_fortressblast_dizzy_states.FloatValue * DizzyProgress[client]) / (10 * sm_fortressblast_dizzy_length.FloatValue)) * ((10 * sm_fortressblast_dizzy_length.FloatValue) - DizzyProgress[client]);