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
No edit summary
 
Crimsonum (talk | contribs)
Un-Deezire'd
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 rotate. 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=X,Y,Z; {{Values|signed integers}}
|default=0,0,0
|fs=yes
|ra2=yes
|yr=yes
}}
 
Specifies the offset, in leptons, for this [[BuildingTypes|building's]] [[BarrelAnimIsVoxel|voxel barrel]] from the barrel's point of rotation around the vertical axis. 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:
 
* '''X''': Positive values move the barrel forward, negative values move the barrel backward.
* '''Y''': Positive values move the barrel to the left, negative values move the barrel to the right.
* '''Z''': Positive values move the barrel up, negative values move the barrel down.
 
== See Also ==
* [[BarrelAnimIsVoxel]]
* [[VoxelBarrelFile]]
* [[VoxelBarrelOffsetToPitchPivotPoint]]
* [[VoxelBarrelOffsetToBuildingPivotPoint]]
* [[VoxelBarrelOffsetToBarrelEnd]]
* [[VoxelBarrelScale]]

Revision as of 20:52, 18 April 2022

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: 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 leptons, for this building's voxel barrel from the barrel's point of rotation around the vertical axis. 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 X,Y,Z format, with each value moving the barrel as follows:

  • X: Positive values move the barrel forward, negative values move the barrel backward.
  • Y: Positive values move the barrel to the left, negative values move the barrel to the right.
  • Z: Positive values move the barrel up, negative values move the barrel down.

See Also