ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

ZShapePointMove

From ModEnc
Revision as of 16:37, 3 July 2021 by McPwny (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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: ZShapePointMove
File(s): art(md).ini
Values: Warning: Unknown value type selected! Please edit this page and fix the Values template.
Default: 0,0
Applicable to: Buildings


Although this flag is parsed on all object types, it only works properly on SHP art.

Buildings are overlayed with the special file buildingz.shp to assign depth values to each pixel of the building. Normally this buildingz.shp image aligns at the bottom-most pixel of the building. The ZShapePointMove tag can be used to shift this origin.

This tag is mostly used for buildings which have bibs, where the size and location of the "building" part of the building, being different from the real size of the building, results in the bottom-most section of the building (not the bib) visually clipping. Changing the ZShapePointMove= values solve such issues.