Skip to content

SecondaryFireFLH

The offset from an object's center that its second weapon fires from.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
art.ini
Section
[<Image ID>]Image ID: Image= value; ObjectType ID when omitted
Value
point (x,y,z)
When omitted
0,0,0

The three components work as they do for PrimaryFireFLH, measured from the direction the gun faces: X forward, Y to the gun’s left, Z upward, in leptons.

art.ini
[MYTANK] ; the Image ID of a UnitType
PrimaryFireFLH=100,0,60
SecondaryFireFLH=100,0,20 ; the second weapon fires from lower down the hull

Only the second weapon slot uses this offset. The elite weapon replaces the first slot and fires from PrimaryFireFLH. SBarrelLength and SBarrelThickness turn this offset into a muzzle position, as the primary pair do for the first slot.

A structure fitted with an upgrade whose type has a Secondary weapon fires that weapon from the upgrade type’s SecondaryFireFLH, so the building’s offset has no effect.

A sonic wave from this slot starts at its muzzle but then follows the first weapon’s muzzle, as IsSonic describes.