WeaponScript.Speed

From Empires Wiki
Jump to: navigation, search
Empires Scripting Documentation
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials



Vehicle Weapon Script Characteristics List
General Characteristics | Sound Characteristics | Weapon Characteristics



Weapon Characteristics
Damage Type | Ammo Type | Damage | MinimalDamage | Falloff | Falloffbase | Speed | Gravity | Heat | Heat To Target | Weight | Cycle Time | Clip Size | Total Ammo Clips | Reload Time | Projectile Spread | Inertia | Explosion Radius | Explosion Force
Variables for missiles: Dumb Missile | Homing Missile | Guided Missile | Missile Range | Lock On Time | Lock Range Modifier | Lock On Radius | Countermeasure Effectiveness | Turning Ability
Variables for bio: Player Bio Damage | Player Bio Time | Player Bio Interval | Vehicle Bio Damage | Vehicle Bio Time | Vehicle Bio Interval
Variables for particles: ExplosionSprite | ExplosionSpeed | Tracer Type



Speed

Speed determines the initial velocity (distance/time) of a projectile as it leaves its spawning point(barrel). A larger value will produce a faster projectile.

Note Note: Machine Gun type weapons(zero vector / non-trajectory) are not affected by this parameter.
Normal values for this argument differ depending on weapon type. Due to engine short-comings, if the speed is set too high, projectiles will disappear in mid-air. The max speed for grenades is around '1400', depending on the max speed of the vehicle launching it. The max speed for cannons is much higher( higher than '3400'). The max speed for missiles is _______.