Jump to content

VoxelBarrelOffsetToPitchPivotPoint: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 8 revisions imported
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Specifies the offset, in leptons, from the point of origin of the voxel barrel on this object's TurretAnim= to the point on the turret where it will pivot. Should be used for voxel turrets and barrels on BuildingTypes only and is used to correct positioning.
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|BuildingTypes}}
|values=F,L,H; {{Values|signed integers}}
|default=0,0,0
|fs=yes
|ra2=yes
|yr=yes
}}
 
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 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 ==
* [[BarrelAnimIsVoxel]]
* [[VoxelBarrelFile]]
* [[VoxelBarrelOffsetToRotatePivotPoint]]
* [[VoxelBarrelOffsetToBuildingPivotPoint]]
* [[VoxelBarrelOffsetToBarrelEnd]]
* [[VoxelBarrelScale]]

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