Jump to content

IsFlammable: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 2 revisions imported
 
(One intermediate revision by one other user not shown)
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 21:52, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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: