Jump to content

ZShapePointMove: Difference between revisions

From ModEnc²
en>Zzattack
No edit summary
m 5 revisions imported
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
|files={{Categ|ini=art}}
|files={{Categ|ini=art}}
|values={{values|XY}}
|values={{values|XY}}
|default={(0,0)}
|default=0,0
|types={{Categ|Buildings}}
|types={{Categ|BuildingTypes}}
|ts=yes
|ts=yes
|fs=yes
|fs=yes
Line 16: Line 16:
{{HorizontalBar|Although this flag is parsed on all object types, it only works properly on [[SHP]] art.}}
{{HorizontalBar|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.
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 [[BibShape|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.

Latest revision as of 22:14, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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: BuildingTypes


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.