Jump to content

Jellyfish: Difference between revisions

From ModEnc²
m 3 revisions imported
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
Line 16: Line 16:
{{fn|1|Without {{f|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.}}
{{fn|1|Without {{f|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}}
=={{Bugs}}==
The value of this flag is reset if the unit's [[rules]] section is modified in a [[map]]. For example, suppose that the [[VehicleTypes|vehicle type]] {{s|FOO}} has {{f|Jellyfish|yes}}. If you add the section {{s|FOO}} into a [[map]] (e.g. for changing the unit's {{f|Name|link}} for that map), you must also redeclare {{f|Jellyfish|yes}} in that unit section.
The value of this flag is reset if the unit's [[rules]] section is modified in a [[map]]. For example, suppose that the [[VehicleTypes|vehicle type]] {{s|FOO}} has {{f|Jellyfish|yes}}. If you add the section {{s|FOO}} into a [[map]] (e.g. for changing the unit's {{f|Name|link}} for that map), you must also redeclare {{f|Jellyfish|yes}} in that unit section.



Latest revision as of 17:32, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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