Dizzy Bomb: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
Jack5 (talk | contribs)
No edit summary
Jack5 (talk | contribs)
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 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>.
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>

Revision as of 00:07, 12 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]);