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

VoxelIndex

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: VoxelIndex
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: VoxelAnims


Only applies to objects with VoxelAnims that have obtained an image via ShareSource or Image, and voxel files with multiple sections. This determines which voxel section will be used to render the image of the VoxelAnim. For example, in a helicopter voxel, it probably has two sections, for the rotors and the main body. VoxelIndex= allows you to make the game use the body or rotors as the image to draw for the VoxelAnim.

Notes

If the target section does not exist, it will trigger EIP#005AFB8B;

If the main voxel is a turret part and the target section does not exist, it will trigger EIP#00756B2D.

See Also