Wall: Difference between revisions
m Warheads Flags -> Warhead Flags |
m Reverted edits by Gordon-creAtive (Talk) to last revision by Vinifera7 |
||
Line 62: | Line 62: | ||
|values={{Values|bool}} | |values={{Values|bool}} | ||
|default=no | |default=no | ||
|types={{Categ| | |types={{Categ|Warheads}} | ||
|ra=yes | |ra=yes | ||
|cs=yes | |cs=yes |
Revision as of 15:14, 26 January 2011
Buildings
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
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.
Warheads
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↑.