ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

PrimaryFirePixelOffset

From ModEnc
Revision as of 09:48, 20 January 2023 by Crimsonum (talk | contribs) (Fixed and updated.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: PrimaryFirePixelOffset
File(s): art(md).ini
Values: Comma-separated list of integers. (Limited to: X,Y)
Default: 0,0
Applicable to: BuildingTypes


Determines the offset, in pixels, from this building's origin1 to fire the building's primary weapon from. Expressed in X,Y format where X shifts the offset on the X-axis (positive values move the point to the right, negative values move to the left) and Y shifts on the Y-axis (positive values move the point down, negative values move up).

Assumes the building has no turret. If the building has a turret, use PrimaryFireFLH instead.

1 The top corner in the building foundation.

See Also