This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:setimagepositionz [2013/01/14 19:11] – external edit 127.0.0.1 | crpl:docs:setimagepositionz [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <- [[crpl: | ||
| ===== SetImagePositionZ | ===== SetImagePositionZ | ||
| Line 9: | Line 10: | ||
| Sets the Z coordinate (in floating point pixel space) of the image. | Sets the Z coordinate (in floating point pixel space) of the image. | ||
| 0,0,0 is the exact center of the unit. | 0,0,0 is the exact center of the unit. | ||
| - | Leaves the X and Y coordinate | + | The Z coordinate |
| + | |||
| + | Below is a table of some of the Z values used by the game that should help you place your CRPLCore correctly. | ||
| + | |||
| + | ^Z value^Result^ | ||
| + | |≥ 4501|Below void (completely invisible).| | ||
| + | |≤ 4500|Above void, below everything else.| | ||
| + | |≤ 2|Above terrain layer.| | ||
| + | |≤ 1.09|Above Ore Mine brown ground texture patch. Crystals still visible.| | ||
| + | |≤ 1|Above Creeper/ | ||
| + | |≤ 0.99|Above Ore blue crystal layer (Ore fully obstructed).| | ||
| + | |≤ 0|Above unit base layer. This will be the base texture of most units, like a Bomber Pad, or the platform part of a Blaster. Cannons and other bits that "stick out above" are higher.| | ||
| + | |≤ -0.0001|Above map border. This will obstruct the highlighted border of the map.| | ||
| + | |≤ -0.005|Above some small unit details (for example Blaster cannon rear piece, small Command Node piece)| | ||
| + | |≤ -0.009|Above Bertha gun shadow.| | ||
| + | |≤ -0.01|Above unit head layer. These are the " | ||
| + | |≤ -0.011|Above Bertha gun third piece.| | ||
| + | |≤ -0.02|Above parked air units and the Bertha gun fourth (last) piece.| | ||
| + | |≤ -0.03|Above Command Node health and AC bars.| | ||
| + | |≤ -0.1|Above the Runner Nest and the first layer of the Shield field circle. | ||
| + | |≤ -0.11|Above the second layer of the Shield field circle (Shield now fully invisible)| | ||
| + | |≤ -1.1|Above parked unit ammo bars| | ||
| + | |≤ -6.3|Above Mortar explosion (Tracer still visible)| | ||
| + | |≤ -20|Above flying Thor base| | ||
| + | |≤ -20.02|Above flying Thor details| | ||
| + | |≤ -21.05|Above flying Thor ammo bar| | ||
| + | |≤ -60|Above flying Strafer max height| | ||
| + | |≤ -61.05|Above flying Strafer ammo bar| | ||
| + | |≤ -500|Above the camera, thus completely invisible. Numbers like the Command Node number or the Aether count cannot be obstructed. UI cannot be obstructed.| | ||
| === Examples === | === Examples === | ||
| < | < | ||
| Line 16: | Line 46: | ||
| Self " | Self " | ||
| </ | </ | ||
| - | |||