TAMods  0.4
Customization mod for Tribes:Ascend
Classes | Functions
Projectile.h File Reference

Go to the source code of this file.

Classes

struct  ParticleModuleArray
 
struct  ParticleLODLevel
 
struct  ParticleLODLevelArray
 
struct  ParticleEmitter
 
struct  ParticleEmitterArray
 
struct  ParticleSystem
 

Functions

ParticleSystem getProjectile (string class_name, string weapon_name)
 
ParticleSystem cloneProjectile (ParticleSystem projectile)
 
void setProjectile (string class_name, string weapon_name, ParticleSystem projectile)
 
void setProjectileColor (ParticleSystem projectile, Color color, number intensity)
 

Function Documentation

ParticleSystem cloneProjectile ( ParticleSystem  projectile)

Clones a projectile so the modifications applied to one of the projectiles is not applied to the other

Parameters
projectileThe projectile to clone
Returns
The cloned projectile
ParticleSystem getProjectile ( string  class_name,
string  weapon_name 
)

Returns the projectile used by a weapon

Parameters
class_nameThe class name
weapon_nameThe weapon name
Returns
The ParticleSystem defining the projectile
void setProjectile ( string  class_name,
string  weapon_name,
ParticleSystem  projectile 
)

Override the default projectile for a weapon

Parameters
class_nameThe class name
weapon_nameThe weapon name
projectileThe projectile to use for this weapon
void setProjectileColor ( ParticleSystem  projectile,
Color  color,
number  intensity 
)

Sets the color and trail (for spinfusors, bolts, blasters, etc) color of a projectile

Parameters
projectileThe projectile to modify
colorThe new color of the projectile
intensityThe intensity of the color