ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Underwater"
From ModEnc
(One effect I have uncovered when making SUB and BSUB and DLPH amphibious, someone should retest this.) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
}} | }} | ||
− | {{tt|Underwater{{Equal}}yes}} has | + | {{tt|Underwater{{Equal}}yes}} has three known effects and one untested effect: |
* Primarily, it is used to classify the object as being underwater, for the purposes of the {{f|NavalTargeting|link}} logic. | * Primarily, it is used to classify the object as being underwater, for the purposes of the {{f|NavalTargeting|link}} logic. | ||
* It will also stop the object from displaying the {{f|Wake|link}} animation when traveling over water. | * It will also stop the object from displaying the {{f|Wake|link}} animation when traveling over water. | ||
+ | * It will disable the "sinking" death logic for the unit, instead displaying explosions | ||
* {{tt|It will also restrict units from recloaking when it is in fact on land.}} | * {{tt|It will also restrict units from recloaking when it is in fact on land.}} | ||
+ | |||
+ | {{Bugs}} | ||
+ | |||
+ | If you give '''Underwater=yes''' to any building that is in the water Those buildings will suffer the same negative effects as units in water. | ||
+ | |||
+ | '''[GAYAYD]''' | ||
+ | |||
+ | '''Underwater=yes''' | ||
+ | |||
+ | When we force '''Destroyer(DEST)''' to attack the '''Allied Shipyard(GAYARD)''' | ||
+ | |||
+ | '''Destroyer(DEST)''' will attack the '''Allied Shipyard(GAYARD)''' with a secondary weapon([[Secondary]]) instead of the main weapon([[Primary]]). |
Revision as of 05:40, 24 June 2024
Flag: | Underwater |
File(s): | Rules(md).ini |
Values: | boolean |
Default: | no |
Applicable to: | InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes |
Underwater=yes has three known effects and one untested effect:
- Primarily, it is used to classify the object as being underwater, for the purposes of the NavalTargeting logic.
- It will also stop the object from displaying the Wake animation when traveling over water.
- It will disable the "sinking" death logic for the unit, instead displaying explosions
- It will also restrict units from recloaking when it is in fact on land.
Bugs/Side-Effects/Unexpected Limitations
If you give Underwater=yes to any building that is in the water Those buildings will suffer the same negative effects as units in water.
[GAYAYD]
Underwater=yes
When we force Destroyer(DEST) to attack the Allied Shipyard(GAYARD)
Destroyer(DEST) will attack the Allied Shipyard(GAYARD) with a secondary weapon(Secondary) instead of the main weapon(Primary).