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

Wood: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Rewrite
Crimsonum (talk | contribs)
about forest fires
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name=Wood
|values={{Values|bool}}
|files=rules(md).ini
|values=boolean (yes/no or true/false)
|special=none
|default=no
|default=no
|types=[[Warhead]]s
|types={{Categ|Warheads}}
|games=[[RA1]], [[TS]], [[RA2]], [[YR]]
|ra=yes
|cs=yes
|am=yes
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
}}
}}


This flag determines whether this [[Warhead]] can damage <tt>[[TerrainTypes]]</tt> such as trees or streetlights. (RA1 had no [<tt>[[TerrainTypes]]</tt>] section, so this was presumably hardcoded.)
This flag determines whether or not a [[Warheads|warhead]] can inflict damage on [[TerrainTypes|terrain objects]] such as trees, and [[OverlayTypes|overlay objects]] with {{f|Wall|yes|link}} and {{f|Armor|wood|link}}.


Whether or not the player has to force fire to target them is controlled by <tt>[[TerrainFire]]</tt> on the weapon (RA2/YR only) and <tt>[[TreeTargeting]]</tt> in [<tt>[[General]]</tt>] (TS/RA2/YR only).
{{f|Wood|yes}} is also necessary for the warhead to be able to ignite forest fires; {{f|Sparky|yes|link}} alone will not suffice.


 
==See also==
[[Category:Rules(md).ini Flags]]
* {{f|Wall|link}}
[[Category:Warhead Flags]]
* {{f|WallAbsoluteDestroyer|link}}

Latest revision as of 18:17, 2 March 2025

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


This flag determines whether or not a warhead can inflict damage on terrain objects such as trees, and overlay objects with Wall=yes and Armor=wood.

Wood=yes is also necessary for the warhead to be able to ignite forest fires; Sparky=yes alone will not suffice.

See also