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

C4: Difference between revisions

From ModEnc
Jump to navigation Jump to search
DeathFish (talk | contribs)
woc, WWSB& hardcode effects
Testid123 (talk | contribs)
mNo edit summary
 
Line 18: Line 18:
|ares=yes
|ares=yes
}}
}}
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.
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.


Line 31: Line 30:
*{{f|C4|no}} has some impact on the movement area of the unit.  
*{{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
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
**If [[InfantryTypes]] that can attack buildings have '''C4''', when we force it to attack buildings, it will use '''C4''' to destroy buildings instead.
However, if we want it to attack buildings without using '''C4''', you just force [[InfantryTypes]] to get close to the targeted building until the targeted building is within [[InfantryTypes]]'s attack range (never order it to attack buildings). Then [[InfantryTypes]] will automatically attack the targeted building.
- Disadvantage [[InfantryTypes]] will not attack certain types of buildings.


== See also ==
== See also ==

Latest revision as of 16:22, 9 December 2024

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

    • If InfantryTypes that can attack buildings have C4, when we force it to attack buildings, it will use C4 to destroy buildings instead.

However, if we want it to attack buildings without using C4, you just force InfantryTypes to get close to the targeted building until the targeted building is within InfantryTypes's attack range (never order it to attack buildings). Then InfantryTypes will automatically attack the targeted building. - Disadvantage InfantryTypes will not attack certain types of buildings.

See also