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
Nighthawk200 (talk | contribs)
m Template Updated
Vinifera7 (talk | contribs)
Revised. Did you know that this allows a warhead to damage walls with wood armor even if the warhead has Wall=no? I didn't.
Line 1: Line 1:
{{Flag
{{Flag
|name=Wood
|values={{Values|bool}}
|files=rules(md).ini
|values=boolean (yes/no or true/false)
|default=no
|default=no
|types=[[Warhead]]s
|types={{Categ|Warheads}}
|ra=yes
|ra=yes
|cs=yes
|cs=yes
Line 13: Line 11:
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=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).
==See also==
 
* {{f|Wall|link}}
 
* {{f|WallAbsoluteDestroyer|link}}
[[Category:Rules(md).ini Flags]]
[[Category:Warhead Flags]]

Revision as of 22:58, 30 December 2009

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.

See also