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

Difference between revisions of "CanC4"

From ModEnc
Jump to: navigation, search
 
m (This flag doesn't exist prior to RA2)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and is used as an over-ride to specify if this BuildingType can be destroyed with C4 by sending an InfantryType with C4=yes set into it. By default, all structures are set to 'yes'.
+
|name=CanC4
 +
|files={{Categ|Rules(md).ini}}
 +
|values=boolean
 +
|default=yes
 +
|types={{Categ|BuildingTypes}}
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
Determines whether or not this building can be destroyed by a unit with {{f|C4|yes|link}}. This does not prevent it from being destroyed by the various "fake" C4 weapons in RA2/YR on the Chrono Commando, Navy Seal, and Tanya (against vehicles).
 +
 
 +
This tag also overrides the cursor sabotage effect of [[MigAttackCursor]].
 +
 
 +
{{bugs}}
 +
A building with {{f|CanC4|no}} will always take at least one hitpoint of damage. This means negative values (after factoring in {{f|Verses|link}} and {{f|Damage|link}}) are forced to become positive.

Latest revision as of 16:46, 11 August 2019

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: CanC4
File(s): Rules(md).ini
Values: boolean
Default: yes
Applicable to: BuildingTypes


Determines whether or not this building can be destroyed by a unit with C4=yes. This does not prevent it from being destroyed by the various "fake" C4 weapons in RA2/YR on the Chrono Commando, Navy Seal, and Tanya (against vehicles).

This tag also overrides the cursor sabotage effect of MigAttackCursor.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

A building with CanC4=no will always take at least one hitpoint of damage. This means negative values (after factoring in Verses and Damage) are forced to become positive.