Jump to content

TiberiumExplosive: Difference between revisions

From ModEnc²
en>Nighthawk200
Updated as per DCoder's info.
m 5 revisions imported
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}, {{Categ|Maps}}
|types={{Categ|AudioVisual}}
|types={{Categ|CombatDamage}}, {{Categ|SpecialFlags}}
|values={{values|booleans}}
|values={{values|booleans}}
|default=no
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|ets=yes
|ra2=yes
|ra2=no
|yr=yes
|yr=no
|ra2obsolete=yes
}}
}}
Contrary to popular belief, this flag does not control whether TiberiumTypes explode when shot.


Instead, this flag controls whether the Ore/Tiberium carried by a certain unit is explosive when that unit is destroyed. This in itself will also only apply if a certain unknown map-specific flag is set.
This flag controls whether the Ore/Tiberium carried by harvester units is explosive when that unit is destroyed. The effect is only triggered when the harvester VehicleType has at least one valid {{f|Explosion||link}} animation set.
 
This logic is disabled if Harvester Truce is enabled, or by setting {{Sl|SpecialFlags|HarvesterImmune|yes|link}}.
 
{{Sl|CombatDamage|C4Warhead||link}} is used to deal the damage, which is the sum of all contained Tiberium bails with their respective Tiberium's {{f|Power||link}} values. See below for game specific behavior.
 
=== In Tiberian Sun ===
The unit's {{f|Strength}} is added to the damage. If {{sl|SpecialFlags|TiberiumExplosive|yes|link}}, the total damage is doubled. The spread is hardcoded to 1.5 cells.
 
=== In Firestorm ===
Damage is not increased as in Tiberian Sun. The spread is hardcoded to 1.5 cells. The [[SpecialFlags]] flag no longer has any effect, only the [[CombatDamage]] flag controls whether Harvester cargo is explosive or not.
 
=== In Red Alert 2 and Yuri's Revenge ===
The logic does not work. All flags are parsed and the damage is calculated correctly, but no damage is delivered.
 
=== Myths ===
Contrary to popular belief, this flag does not control whether Tiberium explodes when shot.

Latest revision as of 22:09, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: TiberiumExplosive
File(s): rules(md).ini, Maps
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: CombatDamage, SpecialFlags

Logic related to TiberiumExplosive, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge.



This flag controls whether the Ore/Tiberium carried by harvester units is explosive when that unit is destroyed. The effect is only triggered when the harvester VehicleType has at least one valid Explosion= animation set.

This logic is disabled if Harvester Truce is enabled, or by setting [SpecialFlags]HarvesterImmune=yes.

[CombatDamage]C4Warhead= is used to deal the damage, which is the sum of all contained Tiberium bails with their respective Tiberium's Power= values. See below for game specific behavior.

In Tiberian Sun

The unit's Strength is added to the damage. If [SpecialFlags]TiberiumExplosive=yes, the total damage is doubled. The spread is hardcoded to 1.5 cells.

In Firestorm

Damage is not increased as in Tiberian Sun. The spread is hardcoded to 1.5 cells. The SpecialFlags flag no longer has any effect, only the CombatDamage flag controls whether Harvester cargo is explosive or not.

In Red Alert 2 and Yuri's Revenge

The logic does not work. All flags are parsed and the damage is calculated correctly, but no damage is delivered.

Myths

Contrary to popular belief, this flag does not control whether Tiberium explodes when shot.