ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "C4Warhead"
From ModEnc
m (Updated because template:TTL was updated) |
(Added another use case.) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=strings (Names of Warheads) | |values=strings (Names of Warheads) | ||
− | |||
|default=null | |default=null | ||
|types={{Categ|CombatDamage}} | |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. |
Latest revision as of 19:28, 29 November 2022
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:
- unit with C4=yes uses the C4 charge on a structure without CanC4=no
- unit or building storing Tiberium is destroyed, provided that TiberiumExplosive is enabled.
- explosive Tiberium triggers a chain reaction
- Tiberium-spawning terrain object is destroyed
- exploding overlays
- 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
- train destroys an obstacle
- explosion crate powerup
- 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.