Jump to content

VoxelBarrelOffsetToRotatePivotPoint: Difference between revisions

From ModEnc²
en>Crimsonum
No edit summary
en>DeathFish
No edit summary
Line 12: Line 12:
Specifies the offset, in pixels, for this [[BuildingTypes|building's]] [[BarrelAnimIsVoxel|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 [[VoxelBarrelOffsetToPitchPivotPoint|without changing the pitch (barrel tilt) pivot point]].<br/>The offset is measured from the center of the barrel to the pivot point (defined by {{f|VoxelBarrelOffsetToBuildingPivotPoint|link}} and/or {{f|TurretAnimX|link}}/{{f|TurretAnimY|link}}).
Specifies the offset, in pixels, for this [[BuildingTypes|building's]] [[BarrelAnimIsVoxel|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 [[VoxelBarrelOffsetToPitchPivotPoint|without changing the pitch (barrel tilt) pivot point]].<br/>The offset is measured from the center of the barrel to the pivot point (defined by {{f|VoxelBarrelOffsetToBuildingPivotPoint|link}} and/or {{f|TurretAnimX|link}}/{{f|TurretAnimY|link}}).


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


* '''X''': Positive values move the barrel forward, negative values move the barrel backward.
* '''F''': Positive values move the point forward, negative values move the point backward.
* '''Y''': Positive values move the barrel to the left, negative values move the barrel to the right.
* '''L''': Positive values move the point to the left, negative values move the point to the right.
* '''Z''': Positive values move the barrel up, negative values move the barrel down.
* '''H''': Positive values move the point up, negative values move the point down.
 
See [[FLH]] for more information.


== See Also ==
== See Also ==

Revision as of 16:04, 5 December 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: VoxelBarrelOffsetToRotatePivotPoint
File(s): rules(md).ini
Values: X,Y,Z; 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