Dizzy Bomb

From Fortress Blast
Revision as of 23:07, 11 February 2020 by Jack5 (talk | contribs)
Jump to navigationJump to search
Powerup dizzy bomb.png

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]);