PROJ VEL MULT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Added category.
Jwaffe (talk | contribs)
m Added a little more detail
Line 1: Line 1:
PROJ_VEL_MULT is a [[defineprojectile]] property used to set multiply velocity of a projectile (causes an artificial acceleration).  
PROJ_VEL_MULT is a [[defineprojectile]] property used to set multiply velocity of a projectile (causes an artificial acceleration).  
On a given tic the projectile will move PROJ_VEL_MULT times, for example, if you set PROJ_VEL_MULT to 1, it will only move at its current velocity (stored in its sprite's [[xvel]] / [[zvel]]) once per tic.


Syntax is:
Syntax is:

Revision as of 12:06, 3 January 2015

PROJ_VEL_MULT is a defineprojectile property used to set multiply velocity of a projectile (causes an artificial acceleration).

On a given tic the projectile will move PROJ_VEL_MULT times, for example, if you set PROJ_VEL_MULT to 1, it will only move at its current velocity (stored in its sprite's xvel / zvel) once per tic.

Syntax is:

defineprojectile <tile number> PROJ_VEL_MULT <number>

Where <number> is the amount to multiply by. See also PROJ_VEL.