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

ShadowIndex

From ModEnc
Jump to navigation Jump to 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: ShadowIndex
File(s): art(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 0
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



Only applies to technos with voxel images that do not have NoShadow=yes, and to voxel files with multiple sections. This determines which voxel section will be used to render the shadow of the unit. For example, in a helicopter voxel, it probably has two sections, for the rotors and the main body. ShadowIndex= allows you to make the game draw the shadow based on either the body or the rotors.

Notes

If the target section does not exist, it will trigger EIP#00756B2D.

See Also