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
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
This specifies the warhead used by C4 type weapons. This also sets a timer which forces the destruction of an object and is used throughout the game code to mean 'absolute damage'. Must be specified in the [Warheads] section and be defined as per all other warheads. Note that a structure with CanC4=false set will not be affected by this.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values=strings (Names of Warheads)
 +
|default=null
 +
|types={{Categ|CombatDamage}}
 +
|ts=yes
 +
|fs=yes
 +
|hp=yes
 +
|ra2=yes
 +
|yr=yes
 +
|ares=yes
 +
}}
 +
 
 +
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 ==
 +
The game automatically adds the warhead specified here to the warhead list.<br>
 +
[[C4Warhead]] requires actual warheads. Entering the name of the warhead  Does not exist or has not been created will make you receive IE:[[00518369]].

Latest revision as of 06:20, 21 September 2024

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.

C4Warhead requires actual warheads. Entering the name of the warhead Does not exist or has not been created will make you receive IE:00518369.