ZRANGE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
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. ZRANGE is the z part of this random component. ZRANGE can be adjusted in [[EVENT_GETSHOTRANGE]]. When ZRANGE is set to 1, the hitscan projectile will fire with perfect z axis accuracy. Increase ANGRANGE by powers of 2 (2, 4, etc.) to increase the random angle and decrease accuracy. See also [[ANGRANGE]]. | 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. ZRANGE is the z part of this random component. ZRANGE can be adjusted in [[EVENT_GETSHOTRANGE]]. When ZRANGE is set to 1, the hitscan projectile will fire with perfect z axis accuracy. Increase ANGRANGE by powers of 2 (2, 4, etc.) to increase the random angle and decrease accuracy. See also [[ANGRANGE]]. | ||
[[Category:Pre-defined gamevars]] |
Latest revision as of 01:17, 21 April 2008
Determines random zvel 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. ZRANGE is the z part of this random component. ZRANGE can be adjusted in EVENT_GETSHOTRANGE. When ZRANGE is set to 1, the hitscan projectile will fire with perfect z axis accuracy. Increase ANGRANGE by powers of 2 (2, 4, etc.) to increase the random angle and decrease accuracy. See also ANGRANGE.