ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
TreeFlammability: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|name={{PAGENAME}} | |||
|files={{Categ|rules(md).ini}} | |||
|types={{Categ|General}} | |||
|values={{Values|percentages}} | |||
|default=0.1 (10%) | |||
|ts=yes | |||
|fs=yes | |||
|ra2=yes | |||
|yr=yes | |||
|ra2obsolete=yes | |||
}} | |||
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 {{f|TreeFlammability}} chance of being ignited as if hit by a {{f|Sparky|yes|link}} warhead. | |||
In other words: A tree next to a burning tree has a {{tt|0.01 * TreeFlammability}} chance of being ignited each frame (15 frames equal 1 second). The average time until being ignited is {{tt|50 frames / TreeFlammability}}. | |||
Forest fires are not available in {{ra2}} and {{yr}}. | |||
== Average time to ignite == | |||
{| cellpadding="4" class="table_descrow" | |||
! {{f|TreeFlammability}} | |||
! Average time to ignite | |||
|- | |||
| {{tt|1.00}} ({{tt|100%}}) | |||
| 50 frames (about 3 seconds) | |||
|- | |||
| {{tt|0.70}} ({{tt|70%}}) | |||
| ~71 frames (about 5 seconds) | |||
|- | |||
| {{tt|0.50}} ({{tt|50%}}) | |||
| 100 frames (about 7 seconds) | |||
|- | |||
| {{tt|0.20}} ({{tt|20%}}) | |||
| 250 frames (about 17 seconds) | |||
|- | |||
| {{tt|0.10}} ({{tt|10%}}) | |||
| 500 frames (about 33 seconds) | |||
|- | |||
| {{tt|0.07}} ({{tt|7%}}) | |||
| ~714 frames (about 47 seconds) | |||
|- | |||
| {{tt|0.05}} ({{tt|5%}}) | |||
| 1000 frames (about 67 seconds) | |||
|- | |||
| {{tt|0.02}} ({{tt|2%}}) | |||
| 2500 frames (about 167 seconds) | |||
|- | |||
| {{tt|0.01}} ({{tt|1%}}) | |||
| 5000 frames (about 333 seconds) | |||
|- | |||
|} | |||
== See also == | |||
* [[Sparky]] |
Latest revision as of 02:37, 21 July 2014
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 |
Logic 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) |