Jump to content

C4: Difference between revisions

From ModEnc²
en>Mevitar
mNo edit summary
en>Mevitar
m Reverted edits by Mevitar (talk) to last revision by EvilRenegade
Line 17: Line 17:
}}
}}


If set, this tag allows an [[InfantryType]] to instantly blow up enemy structures by entering them. Unlike {{f|Engineer|yes|link}} and {{f|Infiltrate|yes|link}}, this doesn't consume the infantry.
This tag determines if set to yes, that this {{f|InfantryType|link}} can instantly blow up enemies' structures by entering them. The {{f|InfantryType|link}} doesn't get consumed. (Example units are Tanya and the Navy SEAL.)


{{f|CanC4|no|link}} on a [[BuildingType]] prevents a {{f|C4|yes|link}} infantry from entering and destroying it.
Note that {{f|Infiltrate|no|link}} must be set on this unit, as it takes priority over {{f|C4|yes|link}}.
 
To avoid structures being destroyed by C4, add the {{f|CanC4|no|link}} tag to them. (Note that this will not avoid the Chrono Commando's "FakeC4", which is a regular weapon.)


== As an ability ==
== As an ability ==


{{Tt|C4}} is a possible value for {{f|VeteranAbilities|link}} or {{f|EliteAbilities|link}}, although it doesn't work correctly in {{ra2}} and {{yr}}.
{{Tt|C4}} is also a possible value for {{f|VeteranAbilities|link}} or {{f|EliteAbilities|link}}, although in {{ra2}} and {{yr}} it doesn't work correctly.
 
== Notes ==
 
{{f|Infiltrate|no|link}} must be set on this unit, as it takes priority over {{f|C4|yes|link}}.
The Chrono Commando has {{f|C4|no|link}} and uses a regular weapon that destroys buildings through damage dealt. Because of that, {{f|CanC4|no|link}} has no effect on him.

Revision as of 19:15, 21 October 2019

As a Flag

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: C4
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: InfantryTypes


This tag determines if set to yes, that this InfantryType can instantly blow up enemies' structures by entering them. The InfantryType doesn't get consumed. (Example units are Tanya and the Navy SEAL.)

Note that Infiltrate=no must be set on this unit, as it takes priority over C4=yes.

To avoid structures being destroyed by C4, add the CanC4=no tag to them. (Note that this will not avoid the Chrono Commando's "FakeC4", which is a regular weapon.)

As an ability

C4 is also a possible value for VeteranAbilities or EliteAbilities, although in Red Alert 2 and Yuri's Revenge it doesn't work correctly.