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

Difference between revisions of "ZFudgeBridge"

From ModEnc
Jump to: navigation, search
 
(Un-DeeZire'd)
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Specifies the adjustment to this VehicleTypes Z position (i.e. how far 'in to' or 'out of' the screen it appears) when it is under a bridge and is used to calculate the amount of displacement it causes to impassable isometric tile types. This is normally a negative figure, indicating that the terrain type should be further into the screen hence behind the relevant object.
+
|name={{PAGENAME}}
 +
|files={{Categ|ini=rules}}
 +
|values={{values|signed integers}}
 +
|default=0
 +
|types={{Categ|VehicleTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|hp=yes
 +
|ra2=yes
 +
|yr=yes
 +
|ares=yes
 +
}}
 +
 
 +
Specifies the adjustment to this [[VehicleTypes|vehicle's]] position on the Z (depth) axis (i.e. how far 'in to' or 'out of' the screen it appears) when it is under a high bridge [[OverlayTypes|overlay]]. Positive numbers move the vehicle towards the ground (behind the bridge) while negative numbers move it closer to the screen (in front of the bridge).
 +
 
 +
This is usually needed on tall or otherwise large units to prevent the top of the unit from visually clipping through the bridge. Note however that using too high values will cause the vehicle to 'sink' into the ground while under a bridge, clipping or erasing its bottom row(s) of pixels (usually the shadow).

Latest revision as of 14:19, 21 January 2023

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: ZFudgeBridge
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: VehicleTypes


Specifies the adjustment to this vehicle's position on the Z (depth) axis (i.e. how far 'in to' or 'out of' the screen it appears) when it is under a high bridge overlay. Positive numbers move the vehicle towards the ground (behind the bridge) while negative numbers move it closer to the screen (in front of the bridge).

This is usually needed on tall or otherwise large units to prevent the top of the unit from visually clipping through the bridge. Note however that using too high values will cause the vehicle to 'sink' into the ground while under a bridge, clipping or erasing its bottom row(s) of pixels (usually the shadow).