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

Jellyfish

From ModEnc
Revision as of 12:18, 4 December 2020 by Crimsonum (talk | contribs) (Added into the new bugs category.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: Jellyfish
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: VehicleTypes


Specifies whether this unit is a "jellyfish", i.e. a Tiberian Floater. Effects of this flag include:

  • Enables the levitate locomotor to work properly on this unit.1
  • The AnimList of this unit's weapon(s) is ignored.
  • The unit will use a hardcoded SHP animation sequence, and does not require an art(md).ini entry.

1 Without Jellyfish=yes, a unit with the levitation locomotor will get stuck when approaching a target. In addition, although the unit will still be able to fire its weapon, the weapon will deal no damage.

Bugs/Side-Effects/Unexpected Limitations

The value of this flag is reset if the unit's rules section is modified in a map. For example, suppose that the vehicle type [FOO] has Jellyfish=yes. If you add the section [FOO] into a map (e.g. for changing the unit's Name for that map), you must also redeclare Jellyfish=yes in that unit section.

See Also