Dizzy Bomb: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
mNo edit summary
mNo 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 a [[Powerups|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]]
Dizzy Bomb is a [[Powerups|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]]
<youtube>JDlKXAU29YQ</youtube>
<youtube>JDlKXAU29YQ</youtube>
== Developer information ==
== Developer information ==
Dizzy Bomb operates by changing their third angle every 0.1 second, using the following formula:
Dizzy Bomb operates by changing their third 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>
:<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>

Revision as of 21:55, 11 February 2020

Powerup dizzy bomb.png

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