ANGRANGE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
Jblade (talk | contribs)
No edit summary
 
Line 2: Line 2:


By default, hitscan projectiles (i.e. instant hit bullet projectiles such as SHOTSPARK1) do not have perfect aim; there is a random component to their trajectories.  ANGRANGE is the xy part of this random component.  ANGRANGE can be adjusted in [[EVENT_GETSHOTRANGE]].  When ANGRANGE is set to 1, the hitscan projectile will fire at the player's angle (perfect xy axis accuracy).  Increase ANGRANGE by powers of 2 (2, 4, etc.) to increase the random angle and decrease accuracy.  See also [[ZRANGE]].
By default, hitscan projectiles (i.e. instant hit bullet projectiles such as SHOTSPARK1) do not have perfect aim; there is a random component to their trajectories.  ANGRANGE is the xy part of this random component.  ANGRANGE can be adjusted in [[EVENT_GETSHOTRANGE]].  When ANGRANGE is set to 1, the hitscan projectile will fire at the player's angle (perfect xy axis accuracy).  Increase ANGRANGE by powers of 2 (2, 4, etc.) to increase the random angle and decrease accuracy.  See also [[ZRANGE]].
[[Category:Pre-defined gamevars]]

Latest revision as of 02:18, 21 April 2008

Determines random angle adjustment on hitscan weapons fired from player.

By default, hitscan projectiles (i.e. instant hit bullet projectiles such as SHOTSPARK1) do not have perfect aim; there is a random component to their trajectories. ANGRANGE is the xy part of this random component. ANGRANGE can be adjusted in EVENT_GETSHOTRANGE. When ANGRANGE is set to 1, the hitscan projectile will fire at the player's angle (perfect xy axis accuracy). Increase ANGRANGE by powers of 2 (2, 4, etc.) to increase the random angle and decrease accuracy. See also ZRANGE.