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

C4Warhead: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Mevitar (talk | contribs)
mNo edit summary
Crimsonum (talk | contribs)
added list of cases where C4Warhead is used
Line 7: Line 7:
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|ares=yes
}}
}}


Specifies a [[warhead]] used for 'absolute damage' when a unit with {{f|C4|yes|link}} uses the C4 charge on a structure ''without'' {{f|CanC4|no|link}}.
This flag specifies the game's "go-to" [[warhead]] used in several hardcoded cases:
*unit with {{f|C4|yes|link}} uses the C4 charge on a structure ''without'' {{f|CanC4|no|link}}
*unit or building storing Tiberium is destroyed, provided that [[TiberiumExplosive]] is enabled.
*explosive Tiberium triggers a [[ChainReaction|chain reaction]]
*[[SpawnsTiberium|Tiberium-spawning terrain object]] is destroyed
*[[Explodes#For_OverlayTypes|exploding overlays]]
*[[AircraftTypes|aircraft]] crashes to the ground. The last entry in this warhead's [[AnimList]] is used.
*Iron Curtain is used on [[organic]] objects such as infantry
*[[IsTrain|train]] destroys an obstacle
*explosion [[Explosion|crate powerup]]
*[[DamageDelay|trivial structure damage]] generated over time
 
As you can see, the unambiguous name of this flag is actually rather misleading.


== Notes ==
== Notes ==
The game automatically adds the warhead specified here to the warhead list.
The game automatically adds the warhead specified here to the warhead list.

Revision as of 10:27, 31 August 2019

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: C4Warhead
File(s): Rules(md).ini
Values: strings (Names of Warheads)
Default: null
Applicable to: CombatDamage


This flag specifies the game's "go-to" warhead used in several hardcoded cases:

As you can see, the unambiguous name of this flag is actually rather misleading.

Notes

The game automatically adds the warhead specified here to the warhead list.