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
(woc, WWSB& hardcode effects)
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
|fs=yes
 
|fs=yes
 
|ets=yes
 
|ets=yes
 +
|hp=yes
 
|ra2=yes
 
|ra2=yes
 
|yr=yes
 
|yr=yes
 
|rp=yes
 
|rp=yes
 +
|ares=yes
 
}}
 
}}
  
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.
+
If set, this flag allows an [[InfantryType]] to instantly destroy enemy structures by entering them. Unlike {{f|Engineer|yes|link}}, the infantry isn't consumed, and can enter another building afterwards.
  
{{f|CanC4|no|link}} on a [[BuildingType]] prevents a {{f|C4|yes|link}} infantry from entering and destroying it.
+
== In {{ra}}, {{cs}} and {{am}} ==
 +
{{f|Infiltrate|yes|link}} must be set, otherwise {{f|C4|yes}} will not work.
  
== As an ability ==
+
== In {{ts}} and {{fs}} ==
 +
Infantry with {{f|C4|no}} can still gain the ability to blow up buildings through {{f|VeteranAbilities|C4|link}} or {{f|EliteAbilities|C4|link}}.
  
{{Tt|C4}} is a possible value for {{f|VeteranAbilities|link}} or {{f|EliteAbilities|link}}, although it doesn't work correctly in {{ra2}} and {{yr}}.
+
== In {{ra2}} and {{yr}} ==
 +
Infantry with {{f|C4|yes}} cannot destroy buildings that have {{f|CanC4|no|link}}, but can still attack them with regular weapons.
 +
*{{f|C4|no}} has some impact on the movement area of the unit.
 +
For example, if you specify any ground movement method other than Walk for a certain amphibious infantry's Locomotor type, when the unit stops on the water, it will directly die and leave an air wall behind
  
== Notes ==
+
== See also ==
 
+
* [[Infiltrate]]
{{f|Infiltrate|no|link}} must be set on this unit, as it takes priority over {{f|C4|yes|link}}.
+
* [[VeteranAbilities]]
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.
+
* [[EliteAbilities]]
 +
* [[Locomotor]]

Latest revision as of 09:29, 25 June 2023

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 flag allows an InfantryType to instantly destroy enemy structures by entering them. Unlike Engineer=yes, the infantry isn't consumed, and can enter another building afterwards.

In Red Alert, Counterstrike and Aftermath

Infiltrate=yes must be set, otherwise C4=yes will not work.

In Tiberian Sun and Firestorm

Infantry with C4=no can still gain the ability to blow up buildings through VeteranAbilities=C4 or EliteAbilities=C4.

In Red Alert 2 and Yuri's Revenge

Infantry with C4=yes cannot destroy buildings that have CanC4=no, but can still attack them with regular weapons.

  • C4=no has some impact on the movement area of the unit.

For example, if you specify any ground movement method other than Walk for a certain amphibious infantry's Locomotor type, when the unit stops on the water, it will directly die and leave an air wall behind

See also