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

NoSpawnAlt

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: NoSpawnAlt
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: 0
Applicable to: VehicleTypes


NoSpawnAlt can be set on any voxel based vehicle with Spawns, to use different voxel art when it launches its them.

Such vehicles included in Red Alert 2 are the Destroyer, Dreadnought, and V3 Rocket Launcher, the latter two being a special case of 'missile' spawns with hardcoded features.

Notes

The NoSpawnAlt filename is derived from the normal Image by suffixing it with WO ("without").

  • For example, the Destroyer (DEST.vxl) has an alternate image of DESTWO.vxl, automatically loaded without any separate rules(md).ini or art(md).ini entry.

Bugs/Side-Effects/Unexpected Limitations

Units always show xxxxxWO.vxl when attacked by Temporal weapons.

  • This bug has been fixed in Ares 3.0.

The image is internally stored in the same memory buffer as the turret so a unit cannot have both a turret and an alternate image.

  • This bug has been fixed in Ares 3.0.

A unit without a spawnee but with NoSpawnAlt=yes appearing within the player's screen will immediately trigger EIP#006B7D51.

  • Ares 3.0 changed the operation mechanism of this logic, this crash no longer occurs, but such units still fail to display their images correctly.
    • In any case, it shouldn't have been used that way in the first place.

The original unit's shadow is displayed even when the spawn has left and the NoSpawnAlt unit is active.

  • This bug has been fixed in Phobos Build #39.

example

See Also