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

Wall: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Vinifera7 (talk | contribs)
De-Deezirification complete. More information could be added to the Overlay section if anyone actually understands how the damage system for walls works.
Crimsonum (talk | contribs)
Added a section about a remap bug with wall overlay
 
(4 intermediate revisions by 3 users not shown)
Line 12: Line 12:
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|ares=yes
}}
}}


Line 38: Line 39:
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|ares=yes
}}
}}


Line 57: Line 59:
|}
|}
Combinations of these flags results in the most inclusive case.
Combinations of these flags results in the most inclusive case.
=== {{W}} Remap Bug ===
Although wall overlay can use [[remap]], such overlay are always rendered in the [[house]] color of the current player instead of using the color of the wall’s actual owner. For {{yr}}, this is fixed in [https://ares-developers.github.io/Ares-docs/bugfixes/type2/remappablewalls.html Ares version 0.2].


==Warheads==
==Warheads==
Line 71: Line 76:
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|ares=yes
}}
}}


This flag determines whether or not a [[Warheads|warhead]] can inflict damage on [[OverlayTypes|overlay objects]] with {{f|Wall|yes}}{{sup|[[#Overlay objects|{{arr|u}}]]}}.
This flag determines whether or not a [[Warheads|warhead]] can inflict damage on [[OverlayTypes|overlay objects]] with {{f|Wall|yes}}{{sup|[[#Overlay objects|{{arr|u}}]]}} as well as bridges (provided that {{sl|SpecialFlags|DestroyableBridges|yes}}) and ice.


===See also===
===See also===
* {{f|Wood|link}}
* {{f|Wood|link}}
* {{f|WallAbsoluteDestroyer|link}}
* {{f|WallAbsoluteDestroyer|link}}
[[Category:Bugs and Errors]]

Latest revision as of 11:48, 24 March 2023

Buildings

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


This flag determines whether or not a building should have special wall construction logic, which will convert it to overlay object when it is created.

In order for this logic to work as desired—and not throw an IE—it is necessary for the building's corresponding Art(md).ini entry to have ToOverlay set to a valid overlay object with Wall=yes. It is not necessary for the overlay object to share the same object name as the building, though doing so is certainly an acceptable shortcut.

As a special case, GuardRange can be used to facilitate faster wall construction.

See also

Overlay objects

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


This flag determines whether or not an overlay object should have special logic classifying it as a wall.

An overlay object with Wall=yes and can be damaged by warheads in the following ways:

Flag on warhead Result on overlay object
Wood=yes Damage, but only if overlay object has Armor=wood
Wall=yes Damage, regardless of Armor
WallAbsoluteDestroyer=yes Instant destruction, regardless of the damage dealt

Combinations of these flags results in the most inclusive case.

Remap Bug

Although wall overlay can use remap, such overlay are always rendered in the house color of the current player instead of using the color of the wall’s actual owner. For Yuri's Revenge, this is fixed in Ares version 0.2.

Warheads

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: Wall
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 overlay objects with Wall=yes as well as bridges (provided that [SpecialFlags]DestroyableBridges=yes) and ice.

See also