Weapon Variables
From Spring
Weapon Variable Descriptions
| Variable | Description | Examples |
|---|---|---|
| Accuracy | How inaccurate a weapon is. | |
| AreaOfEffect | Areau around a hit affected by a weapon. | |
| Balistic | The weapon will move in a parabola from where it is fired to the point of impact. As far as I know, it is misspelled in the source code. | |
| BeamLaser | ||
| BeamTime* | How long to fire the laser before waiting for ReloadTime to start. | |
| BeamWeapon | ||
| BurnBlow | The weapon blows up at the end of its range | |
| Burst | How many shots are in a burst. | |
| BurstRate | How fast the Burst fires. | |
| Color2 | Saturation | |
| Color | Hue | |
| CommandFire | The weapon must be manually activated for each shot. | |
| Coverage | The range for anti-weapon weapons, like antinukes. | |
| Dropped | ||
| EnergyPerShot | Energy used per shot. | |
| FireStarter | How likely the weapon will set trees on fire. | |
| Guidance | ||
| ImpulseFactor | ||
| Intensity | Alpha of the laser, default is 0.9 | |
| Interceptor | Can intercept projectiles. I.E. Anti-Nuke | |
| LineOfSight | Does it require LoS to fire. | |
| MetalPerShot | Metal used per shot. | |
| Model | The model for the projectile | |
| MovingAccuracy | ||
| NoExplode | ||
| NoSelfDamage | Do no damage to self. | |
| Paralyzer | Can this weapon paralyze units or not. | |
| PlasmaRepulser | ||
| Range | The range of the weapon | |
| ReloadTime | The amount of time between shots. | |
| Rendertype | ||
| RepulseEnergy | ||
| RepulseForce | ||
| RepulseRange | ||
| RepulseSpeed | ||
| Selfprop | ||
| SmokeTrail | Does the projectile leave a smoke trail. | |
| SoundHit | The sound made whe the weapon hits. | |
| SoundStart | The sound made when the weapon begins to fire. | |
| SoundTrigger | ||
| SprayAngle | How wide the the angle of a burst from a burst weapon can be. | |
| StartVelocity | ||
| Stockpile | Is this weapon Stockpiled. | |
| Targetable | Can the weapon be targeted by an interceptor? | |
| TargetMoveError | ||
| Thickness | Thickness of the laser, default is 2. | |
| ToAirWeapon | Only target Aircraft. | |
| Tolerance | ||
| Tracks | Does it track it's targets. | |
| TrajectoryHeight | ||
| Turnrate | How fast a guided weapon can turn. | |
| Turret | ||
| TwoPhase | ||
| VLaunch | Does it fire upwards and then go after it's target. I.E. Krogoth rockets. | |
| WaterWeapon | ||
| WeaponAcceleration | ||
| WeaponTimer | ||
| WeaponVelocity | ||
| Wobble |
If beamtime == 0 it is rounded up to one.