ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
VoxelBarrelOffsetToBuildingPivotPoint: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
Specifies the offset, in | |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 pixels, for this [[BuildingTypes|building's]] [[BarrelAnimIsVoxel|voxel barrel]]'s pivot point. The offset is measured from the building origin, the top corner of its [[foundation]]. | |||
This offset is expressed in X,Y,Z format, with each value moving the pivot point as follows: | |||
* '''X''': Positive values move the pivot point to bottom-right, negative values move the point to top-left. | |||
* '''Y''': Positive values move the pivot point to top-right, negative values move the point to bottom-left. | |||
* '''Z''': Positive values move the pivot point up, negative values moves the pivot point down. | |||
Note that moving the offset also adjusts the barrel's drawing layer relative to the turret and other objects. | |||
== See Also == | |||
* [[BarrelAnimIsVoxel]] | |||
* [[VoxelBarrelFile]] | |||
* [[VoxelBarrelOffsetToPitchPivotPoint]] | |||
* [[VoxelBarrelOffsetToRotatePivotPoint]] | |||
* [[VoxelBarrelOffsetToBarrelEnd]] | |||
* [[VoxelBarrelScale]] |
Latest revision as of 19:52, 18 April 2022
Flag: | VoxelBarrelOffsetToBuildingPivotPoint |
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's pivot point. The offset is measured from the building origin, the top corner of its foundation.
This offset is expressed in X,Y,Z format, with each value moving the pivot point as follows:
- X: Positive values move the pivot point to bottom-right, negative values move the point to top-left.
- Y: Positive values move the pivot point to top-right, negative values move the point to bottom-left.
- Z: Positive values move the pivot point up, negative values moves the pivot point down.
Note that moving the offset also adjusts the barrel's drawing layer relative to the turret and other objects.