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
Crimsonum (talk | contribs)
No edit summary
ATHSE (talk | contribs)
remove redundant links
 
(9 intermediate revisions by 4 users not shown)
Line 9: Line 9:
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|ares=yes
}}
}}
This flag determines whether or not a [[BuildingTypes|building]] should have special wall construction logic, which will convert it to [[OverlayTypes|overlay object]] when it is created.
This flag determines whether or not a [[BuildingTypes|building]] should have special wall construction logic, which will convert it to [[OverlayTypes|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}} entry to have {{f|ToOverlay|link}} set to a valid overlay object with {{f|Wall|yes|link}}{{sup|[[#Overlay objects|{{arr|d}}]]}}. 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.
In order for this logic to work as desired without throwing an [[Internal Error]], it is necessary for the building's corresponding {{ini|art}} entry to have {{f|ToOverlay|link}} set to a valid overlay object with {{f|Wall|yes|link}}. 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, {{f|GuardRange|link}} can be used to facilitate faster wall construction.
As a special case, {{f|GuardRange|link}} can be used to facilitate faster wall construction.


===See also===
==See Also==
* {{f|FirestormWall|link}}
[[FirestormWall]]
* {{f|LaserFencePost|link}}
 
* {{f|GuardRange|link}}
[[LaserFencePost]]
 
[[GuardRange]]


==Overlay objects==
==Overlays==
{{Flag
{{Flag
|values={{Values|bool}}
|values={{Values|bool}}
Line 35: Line 37:
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|ares=yes
}}
}}
This flag determines whether or not an [[OverlayTypes|overlay object]] should have special logic classifying it as a wall.
This flag determines whether or not an [[OverlayTypes|overlay object]] should have special logic classifying it as a wall.


An overlay object with {{f|Wall|yes}} and can be damaged by [[Warheads|warheads]] in the following ways:
An overlay object with {{f|Wall|yes}} and can be damaged by [[Warheads|warheads]] in the following ways:
{| cellpadding="4" class="table_descrow"
{| class="wikitable"
!Flag on warhead
! On Warhead !! Result To Overlay
!Result on overlay object
|-
|-
|{{f|Wood|yes|link}}
| {{f|Wood|yes}} || Damage, but only if overlay object has {{f|Armor|wood|link}}
|Damage, but only if overlay object has {{f|Armor|wood|link}}
|-
|-
|{{f|Wall|yes}}{{sup|[[#Warheads|{{arr|d}}]]}}
| {{f|Wall|yes}} || Damage, regardless of {{f|Armor}}
|Damage, regardless of {{f|Armor}}
|-
| {{f|WallAbsoluteDestroyer|yes}} || Instant destruction, regardless of the damage dealt
|-
|-
|{{f|WallAbsoluteDestroyer|yes|link}}
|Instant destruction, regardless of the damage dealt
|}
|}
Combinations of these flags results in the most inclusive case.
Combinations of these flags results in the most inclusive case.
{{bugs}}
Although wall overlay can use [[remap]], such overlay are always rendered in the [[Houses|house]] color of the current player, instead of using the color of the player who built it.
*This is fixed in Ares version 0.2, see: [https://ares-developers.github.io/Ares-docs/bugfixes/type2/remappablewalls.html


==Warheads==
==Warheads==
Line 68: Line 71:
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|ares=yes
}}
}}
This determines whether or not a [[Warheads|warhead]] can inflict damage on [[OverlayTypes|overlay objects]] with {{f|Wall|yes}}, as well as bridges (provided that {{sl|SpecialFlags|DestroyableBridges|yes}}) and ice.
==See Also==
[[Wood]]


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.
[[WallAbsoluteDestroyer]]


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

Latest revision as of 22:56, 22 April 2025

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 without throwing an Internal Error, 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

FirestormWall

LaserFencePost

GuardRange

Overlays

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:

On Warhead Result To Overlay
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.

Bugs/Side-Effects/Unexpected Limitations

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 player who built it.

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 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

Wood

WallAbsoluteDestroyer