WeaponProjectileInfo

Properties of the projectiles used by a given weapon. Used in the WeaponInfo type.

Variables

StartSpeed (float)
The initial speed of the projectile in m/s.
MaxSpeed (float)
The max speed of the projectile in m/s.
Acceleration (float)
The acceleration of the projectile in m/s^2.
FuseTime (unsigned int16)
The time that must pass before the projectile can explode if explosion.
MaxThrowDist (float)
The max distance the projectile can be thrown in meters.
Gravity (float)
The strength of gravity for the projectile (separate from global gravity) in m/s^2.
Sound (int)
Unknown value. Likely the handle for the sound the projectile uses.
Effect1 (unsigned int)
The id of the first effect the projectile uses.
Effect2 (unsigned int)
The id of the second effect the projectile uses.
Effect3 (unsigned int)
The id of the third effect the projectile uses.
Effect4 (unsigned int)
The id of the fourth effect the projectile uses.
Flags (unsigned int)
Unknown value.
InaccurateFlight (float)
Unknown value.
TimeUntilPropelled (float)
The time in seconds before the projectile starts getting accelerated.
TimeUntilPropExpire (float)
Unknown value. Possibly the time until the projectiles propellant expires.
TimeUntilDrop (float)
The time in seconds before the projectile starts falling towards the ground.
DamageEffect (unsigned int)
Unknown value.