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

Difference between revisions of "C4"

From ModEnc
Jump to: navigation, search
m (Replacing Template:TTL with Template:F.)
m
Line 17: Line 17:
 
}}
 
}}
  
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.)
+
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.
 +
{{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}}.
+
== As an ability ==
  
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.)
+
{{Tt|C4}} is a possible value for {{f|VeteranAbilities|link}} or {{f|EliteAbilities|link}}, although it doesn't work correctly in {{ra2}} and {{yr}}.
  
== As an ability ==
+
== Notes ==
  
{{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.
+
{{f|Infiltrate|no|link}} must be set on this unit, as it takes priority over {{f|C4|yes|link}}.
 +
The Chrono Commando's 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 20:27, 9 August 2019

As a Flag

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: C4
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: InfantryTypes


If set, this tag allows an InfantryType to instantly blow up enemy structures by entering them. Unlike Engineer=yes and Infiltrate=yes, this doesn't consume the infantry. CanC4=no on a BuildingType prevents a C4=yes infantry from entering and destroying it.

As an ability

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

Notes

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

The Chrono Commando's has C4=no and uses a regular weapon that destroys buildings through damage dealt. Because of that, CanC4=no has no effect on him.