Jump to content

CanC4: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(7 intermediate revisions by 7 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 17:13, 2 July 2025

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

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.