ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Jellyfish: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{Flag |name={{PAGENAME}} |files={{Categ|ini=rules}} |types={{Categ|VehicleTypes}} |values={{Values|boolean}} |default=no |fs=yes |hp=yes }} Specifies whether this unit is a..." |
m Added into the new bugs category. |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
Specifies whether this unit is a "jellyfish", i.e. a [https://cnc.fandom.com/wiki/Tiberian_floater Tiberian Floater]. Effects of this flag include: | Specifies whether this unit is a "jellyfish", i.e. a [https://cnc.fandom.com/wiki/Tiberian_floater Tiberian Floater]. Effects of this flag include: | ||
* Enables the | * Enables the levitate [[Locomotor#Available_Locomotor_CLSIDs|locomotor]] to work properly on this unit.{{fnl|1}} | ||
* The {{f|AnimList|link}} of this unit's weapon(s) is ignored. | * The {{f|AnimList|link}} of this unit's weapon(s) is ignored. | ||
* The unit will use a hardcoded [[SHP]] animation [[sequence]], and does not require an {{ini|art}} entry. | * The unit will use a hardcoded [[SHP]] animation [[sequence]], and does not require an {{ini|art}} entry. | ||
Line 21: | Line 21: | ||
==See Also== | ==See Also== | ||
* [[LEVITATION]] | * [[LEVITATION]] | ||
[[Category:Resetting Flags]] |
Latest revision as of 12:18, 4 December 2020
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.