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

WaterImage

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: WaterImage
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: VehicleTypes)
Default: none
Extension Version: 0.1+.
Applicable to: VehicleTypes

This flag is part of Ares. Do not use it without Ares installed.



Allows amphibious vehicles to use a different image while in water, similar to the W suffix from previous games. Can be set to any VehicleType, and defines the Image that this unit will use while in water. Works similar to UnloadingClass.

Notes

Please note that SHP units cannot have a voxel WaterImage, and vice versa. The VehicleType has to be defined under [VehicleTypes].

Bugs/Side-Effects/Unexpected Limitations

Although this flag added support for shape vehicles starting from version 0.2, the two types cannot be switched between. The specific rules are as follows:

Shape -> Voxel

No transformation occurs. It attempts to use a shape resource file with the same name; if none exists, it renders an empty shape.

Voxel -> Shape

It crashes immediately if it fails to read the Voxel resource file, even if only because the art section lacks Voxel=yes.

See Also