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


From ModEnc
Jump to: navigation, search
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: TreeFlammability
File(s): rules(md).ini
Values: Percentages: Either a direct percentage (e.g. "50%"), or a floating point value (e.g. "0.5").
Default: 0.1 (10%)
Applicable to: General

Cc cnrdelete-all.pngLogic related to TreeFlammability, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge.

The chance a tree is ignited by an adjacent tree that is on fire.

Each burning tree terrain object has a 1% probability each frame of game time to try to ignite trees next to it. If this happens, all terrain objects in the eight surrounding cells are handled separately, each now having a TreeFlammability chance of being ignited as if hit by a Sparky=yes warhead.

In other words: A tree next to a burning tree has a 0.01 * TreeFlammability chance of being ignited each frame (15 frames equal 1 second). The average time until being ignited is 50 frames / TreeFlammability.

Forest fires are not available in Red Alert 2 and Yuri's Revenge.

Average time to ignite

TreeFlammability Average time to ignite
1.00 (100%) 50 frames (about 3 seconds)
0.70 (70%) ~71 frames (about 5 seconds)
0.50 (50%) 100 frames (about 7 seconds)
0.20 (20%) 250 frames (about 17 seconds)
0.10 (10%) 500 frames (about 33 seconds)
0.07 (7%) ~714 frames (about 47 seconds)
0.05 (5%) 1000 frames (about 67 seconds)
0.02 (2%) 2500 frames (about 167 seconds)
0.01 (1%) 5000 frames (about 333 seconds)

See also