Jump to content

VoxelBarrelOffsetToPitchPivotPoint: Difference between revisions

From ModEnc²
en>Crimsonum
Un-Deezire'd
m 8 revisions imported
 
(6 intermediate revisions by 2 users not shown)
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
|ra2=yes
|yr=yes
}}
}}


Specifies the offset, in leptons, for the pivot point of this [[BuildingTypes|building's]] [[BarrelAnimIsVoxel|voxel barrel]], measured from the [[TurretAnimX|turret's]] [[TurretAnimY|origin]]. The pivot point is the point in 3D space which the barrel will pitch (rotate laterally) about.
Specifies the offset, in pixels, for this [[BuildingTypes|building's]] [[BarrelAnimIsVoxel|voxel barrel]] from the barrel's lateral rotation (pitch) pivot point. 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 pivot point 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 pivot point forward, negative values moves the point backward.
* '''F''': Positive values move the point forward, negative values move the point backward.
* '''Y''': Positive values move the pivot point to the left, negative values moves the point 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 pivot point up, negative values moves the point down.
* '''H''': Positive values move the point up, negative values move the point down.
 
See [[FLH]] for more information.


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

Latest revision as of 22:11, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: VoxelBarrelOffsetToPitchPivotPoint
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 lateral rotation (pitch) 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