Dizzy Bomb
From Fortress Blast
Jump to navigationJump to search
Dizzy Bomb is a powerup in Fortress Blast, added in version 4.0. Upon use, all enemies within 512 units will have their experience 'dizziness' achieved by rotating their view in both directions wildly for five seconds. To prevent issues with community prone to epilepsy and such, there are two ConVars that control its effectiveness: sm_fortressblast_dizzy_states and sm_fortressblast_dizzy_length
Developer information
Dizzy Bomb operates by changing their third 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]);