Skip to content

Ranged

Gives the projectile a fuel supply, detonating it once it has flown the firing weapon's projectile range.

Specification
Applies to
BulletType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
no

The projectile carries a flight allowance and detonates wherever it is when the allowance runs out. Each game frame, the distance it moved is taken off the allowance. Homing and ballistic projectiles spend it the same way.

The allowance is the firing weapon’s ProjectileRange, not its Range. Range is how far away the weapon may fire from, and ProjectileRange is how far the shot may then travel. A weapon that does not set ProjectileRange gives its projectile about 390 cells, so a Ranged=yes projectile needs ProjectileRange on its weapon to run out in practice.

A bomblet released by a Splits=yes projectile takes its allowance from its AirburstWeapon’s Range instead.

rules.ini
[MYROCKET] ; a BulletType, registered by a weapon naming it as its Projectile
Image=MISSILE
ROT=5
Ranged=yes
[MyRocketLauncher] ; a WeaponType, registered by an object naming it as its Primary
Projectile=MYROCKET
Range=7
ProjectileRange=9 ; the rocket may fly 9 cells, 2 more than the firing range
See also — ProjectileRange, Range, Arm