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

VoxelBarrelOffsetToRotatePivotPoint: Difference between revisions

From ModEnc
Jump to navigation Jump to search
DeathFish (talk | contribs)
No edit summary
DeathFish (talk | contribs)
m XYZ -> FLH
 
Line 3: Line 3:
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}
|types={{Categ|BuildingTypes}}
|types={{Categ|BuildingTypes}}
|values=X,Y,Z; {{Values|signed integers}}
|values=F,L,H; {{Values|signed integers}}
|default=0,0,0
|default=0,0,0
|fs=yes
|fs=yes

Latest revision as of 14:05, 5 December 2024

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: VoxelBarrelOffsetToRotatePivotPoint
File(s): rules(md).ini
Values: F,L,H; Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0,0,0
Applicable to: BuildingTypes


Specifies the offset, in pixels, for this building's voxel barrel from the barrel's point of rotation around the vertical axis. In other words, it specifies the barrel's distance from the turret without changing the pitch (barrel tilt) pivot point.
The offset is measured from the center of the barrel to the pivot point (defined by VoxelBarrelOffsetToBuildingPivotPoint and/or TurretAnimX/TurretAnimY).

This offset is expressed in F,L,H (Forward, Lateral, Height) format, with each value moving the barrel end point as follows:

  • F: Positive values move the point forward, negative values move the point backward.
  • L: Positive values move the point to the left, negative values move the point to the right.
  • H: Positive values move the point up, negative values move the point down.

See FLH for more information.

See Also