ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "PrimaryFirePixelOffset"
From ModEnc
(Created page with "PrimaryFirePixelOffset=X,X directly shifts the location where the weapon is fired relative to the object from by number of pixels. It is different from PrimaryFireFLH in t...") |
(Fixed and updated.) |
||
Line 1: | Line 1: | ||
− | + | {{Flag | |
− | + | |name={{PAGENAME}} | |
+ | |files={{Categ|ini=art}} | ||
+ | |values={{values|intlist|X,Y}} | ||
+ | |default=0,0 | ||
+ | |types={{Categ|BuildingTypes}} | ||
+ | |ts=yes | ||
+ | |fs=yes | ||
+ | |hp=yes | ||
+ | |ra2=yes | ||
+ | |yr=yes | ||
+ | |ares=yes | ||
+ | }} | ||
+ | Determines the offset, in pixels, from this building's origin{{fnl|1}} to fire the building's [[Primary|primary weapon]] from. Expressed in {{tt|X,Y}} format where X shifts the offset on the X-axis (positive values move the point to the right, negative values move to the left) and Y shifts on the Y-axis (positive values move the point down, negative values move up). | ||
+ | |||
+ | Assumes the building has no [[turret]]. If the building has a turret, use {{f|PrimaryFireFLH|link}} instead. | ||
+ | |||
+ | {{fn|1|The top corner in the building [[foundation]].}} | ||
== See Also == | == See Also == | ||
+ | *[[SecondaryFirePixelOffset]] | ||
*[[PrimaryFireDualOffset]] | *[[PrimaryFireDualOffset]] | ||
*[[PrimaryFireFLH]] | *[[PrimaryFireFLH]] |
Latest revision as of 11:48, 20 January 2023
Flag: | PrimaryFirePixelOffset |
File(s): | art(md).ini |
Values: | Comma-separated list of integers. (Limited to: X,Y) |
Default: | 0,0 |
Applicable to: | BuildingTypes |
Determines the offset, in pixels, from this building's origin1 to fire the building's primary weapon from. Expressed in X,Y format where X shifts the offset on the X-axis (positive values move the point to the right, negative values move to the left) and Y shifts on the Y-axis (positive values move the point down, negative values move up).
Assumes the building has no turret. If the building has a turret, use PrimaryFireFLH instead.
1 ↑ The top corner in the building foundation.