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

Difference between revisions of "C4Warhead"

From ModEnc
Jump to: navigation, search
m
(Added another use case.)
 
(One intermediate revision by the same user not shown)
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
 +
*drop pod sometimes exploding on impact
 +
 
 +
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.

Latest revision as of 19:28, 29 November 2022

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.