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

IsFlammable: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Crimsonum (talk | contribs)
Un-Deezire'd
 
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and specifies that this terrain object is subject to flames and forest fires logic. In Tiberian Sun, this lead to an alternate image for trees being drawn when they had been burnt although this appears to have been disabled in Red Alert 2.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{values|boolean}}
|types={{Categ|TerrainTypes}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes
|tsobsolete=yes
}}
 
This flag was presumably intended to control whether this [[TerrainTypes|TerrainType]] can catch on fire (from [[Sparky|incendiary warheads]]), and [[TreeFlammability|subsequently spread fire to neighboring trees]]. However, setting it to false doesn't work.
 
==Workarounds==
 
If the [[TerrainTypes|TerrainType]] has any of the following settings, it will ''not'' catch fire:
*{{f|Immune|yes|link}}
*{{f|SpawnsTiberium|yes|link}}
*{{f|Armor|link}} is any other than {{f|wood}}, the default of TerrainTypes

Latest revision as of 10:51, 21 March 2020

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: IsFlammable
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: TerrainTypes

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



This flag was presumably intended to control whether this TerrainType can catch on fire (from incendiary warheads), and subsequently spread fire to neighboring trees. However, setting it to false doesn't work.

Workarounds

If the TerrainType has any of the following settings, it will not catch fire: