Jump to content

TiberiumExplosive: Difference between revisions

From ModEnc²
en>AlexB
m 5 revisions imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== As CombatDamage Flag ==
{{Flag
{{Flag
|name={{PAGENAME}}
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|files={{Categ|ini=rules}}, {{Categ|Maps}}
|types={{Categ|CombatDamage}}
|types={{Categ|CombatDamage}}, {{Categ|SpecialFlags}}
|values={{values|booleans}}
|values={{values|booleans}}
|default=no
|default=no
Line 12: Line 10:
|ra2=no
|ra2=no
|yr=no
|yr=no
|ra2obsolete=yes
}}
}}


Line 18: Line 17:
This logic is disabled if Harvester Truce is enabled, or by setting {{Sl|SpecialFlags|HarvesterImmune|yes|link}}.
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.
{{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 ===
=== 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.
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 ===
=== In Firestorm ===
Damage is not increased as in Tiberian Sun. The spread is hardcoded to 1.5 cells.
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 ===
=== In Red Alert 2 and Yuri's Revenge ===
Line 31: Line 30:
=== Myths ===
=== Myths ===
Contrary to popular belief, this flag does not control whether Tiberium explodes when shot.
Contrary to popular belief, this flag does not control whether Tiberium explodes when shot.
== As SpecialFlag ==
{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|SpecialFlags}}
|values={{values|booleans}}
|default=no
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
}}
The meaning of this flag is not fully established, and there might be more cases in which this flag matters.
This flag controls whether Tiberium is extra explosive when a harvester unit is destroyed in Tiberian Sun, in which case the total damage is doubled. This does not apply to Firestorm.

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.