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

Difference between revisions of "Who crushes whom"

From ModEnc
Jump to: navigation, search
(Created)
 
m (Replacing Template:TTL with Template:F.)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page details how the crushing system works:
+
This page details how the crushing system works. The table shows whether a defender can be crushed by an attacker, depending on how the flags {{f|Crusher|link}}, {{f|Crushable|link}}, {{f|OmniCrusher|link}} and {{f|OmniCrushResistant|link}} are set, and for reference, also shows the effect of {{f|IsTrain|yes|link}}.
  
{| style='text-align: center; border: 1px dashed #000; border-collapse: collapse;' border=1
+
<div align="center">
|+ Can "defender" be crushed?
+
{| style='text-align: center;'
 +
|+ '''Can Defender be crushed by Attacker?'''
 
|-  
 
|-  
! colspan=2 | Defender
+
|rowspan=3 |
! colspan=2 | {{TTL|Crushable}}
+
|colspan=2 |
! style='background: #fcc' colspan=2 | {{TTL|OmniCrushResistant}}
+
!colspan=4 style="border: 1px solid #000000;"|Defender
 
|-
 
|-
! Attacker
+
|colspan=2 |
!
+
|colspan=2 |{{f|Crushable|link}}
! {{Tt|yes}}
+
|colspan=2 |{{f|OmniCrushResistant|link}}
! {{Tt|no}}
 
! style='background: #fcc' | {{Tt|no}}
 
! style='background: #fcc' | {{Tt|yes}}
 
 
|-
 
|-
| rowspan=2 style='vertical-align: middle;' | {{TTL|Crusher}}
+
|colspan=2 |
| {{Tt|no}}
+
|style="background:#e5e5e5;"|{{Tt|yes}}
| {{N}}
+
|style="background:#e5e5e5;"|{{Tt|no}}
| {{N}}
+
|style="background:#e5e5e5;"|{{Tt|yes}}
| style='background: #fcc' | {{N}}
+
|style="background:#e5e5e5;"|{{Tt|no}}
| style='background: #fcc' | {{N}}
 
 
|-
 
|-
| {{Tt|yes}}
+
!rowspan=6 style="border: 1px solid #000000;"|&nbsp;&nbsp;A&nbsp;&nbsp;<br>t<br>t<br>a<br>c<br>k<br>e<br>r
| {{Y}}
+
|rowspan=2 style='vertical-align: middle;' |{{f|Crusher|link}}
| {{N}}
+
|style="background:#e5e5e5;"|{{Tt|yes}}
| style='background: #fcc' | {{N}}
+
|style="background:#F0F0F0;"|{{Y}}
| style='background: #fcc' | {{N}}
+
|style="background:#F0F0F0;"|{{N}}
|- style='background: #fcc'
+
|style="background:#F0F0F0;"|{{N}}
| rowspan=2 | {{TTL|OmniCrusher}}
+
|style="background:#F0F0F0;"|
| {{Tt|no}}
+
|-
| Depends
+
|style="background:#e5e5e5"|{{Tt|no}}
| {{N}}
+
|style="background:#F0F0F0;"|{{N}}
| {{N}}
+
|style="background:#F0F0F0;"|{{N}}
| {{N}}
+
|style="background:#F0F0F0;"|{{N}}
|- style='background: #fcc'
+
|style="background:#F0F0F0;"|{{N}}
| {{Tt|yes}}
+
|-
| {{Y}}
+
|rowspan=2 |{{f|OmniCrusher|link}}
| {{Y}}
+
|style="background:#e5e5e5;"|{{Tt|yes}}
| {{Y}}
+
|style="background:#F0F0F0;"|{{Y}}
| {{N}}
+
|style="background:#F0F0F0;"|{{Y}}
 +
|style="background:#F0F0F0;"|{{N}}
 +
|style="background:#F0F0F0;"|{{Y}}
 +
|-
 +
|style="background:#e5e5e5;"|{{Tt|no}}
 +
|style="background:#F0F0F0;"|
 +
|style="background:#F0F0F0;"|{{N}}
 +
|style="background:#F0F0F0;"|{{N}}
 +
|style="background:#F0F0F0;"|{{N}}
 +
|-
 +
|rowspan=2 |{{f|IsTrain|link}}
 +
|style="background:#e5e5e5;"|{{Tt|yes}}
 +
|style="background:#F0F0F0;"|{{Y}}
 +
|style="background:#F0F0F0;"|{{Y}}
 +
|style="background:#F0F0F0;"|{{Y}}
 +
|style="background:#F0F0F0;"|{{Y}}
 
|}
 
|}
  
The {{Co|reddish|#000|#fcc}} background indicates options only available in [[YR]].
+
:<small>OmniCrusher and OmniCrushResistant are only available in [[Yuri's Revenge]].</small>
 +
:<small>Please see below for certain side effects of {{f|IsTrain|link}}.</small>
 +
</div>
 +
 
 +
Empty cells signal that one property does not influence the other, specifically:
 +
*{{tt|Crusher&#61;yes}} checks for {{tt|Crushable}} - it doesn't care whether the target can be crushed by OmniCrushers.
 +
*Just because a target is not an OmniCrusher, doesn't mean it can't crush a {{tt|Crushable&#61;yes}} - that's determined by {{tt|Crusher}}.
 +
 
 +
 
 +
'''The flags in detail:'''
 +
*{{f|Crusher|link}} determines if this VehicleType can crush objects.
 +
*{{f|Crushable|link}} determines if this object can be crushed by Crushers.
 +
:''Only if the Attacker is {{tt|Crusher&#61;yes}} and the Defender is {{tt|Crushable&#61;yes}}, the crushing can happen.''
 +
*{{f|OmniCrusher|link}}, if enabled, allows the VehicleType to crush objects who are set {{tt|Crushable&#61;no}}.
 +
*{{f|OmniCrushResistant|link}}, if enabled, prevents all crushing.
 +
*{{f|IsTrain|link}}, if enabled, basically nullifies all of the above, and has some additional effects, as detailed below.
  
In other words,
+
==IsTrain==
*{{TTL|Crusher|yes}} vehicles can crush standard infantry.
+
*A unit with {{f|IsTrain|yes|link}} will be able to crush <i>anything</i> regardless of {{f|Crushable|link}}, {{f|OmniCrushResistant|link}} or even {{f|Immune|link}}.<br />
*{{TTL|Crushable|no}} infantry is uncrushable by {{TTL|Crusher|yes}}.
+
*A unit with {{f|IsTrain|yes|link}} will also be able to "crush" any buildings that happen to occupy the same cell as the unit. This results in such a vehicle with this flag being unable to exit the War Factory that produced it, as it will destroy the building and itself upon creation.<br />
*{{TTL|OmniCrusher|yes}} crushes both {{TTL|Crushable|no}} infantry and standard vehicles. (YR only, vehicles always uncrushable previously.)
+
*{{f|IsTrain|link}} has no real effect when applied to [[InfantryTypes]] or [[AircraftTypes]].
*{{TTL|OmniCrushResistant|yes}} vehicles are uncrushable even by {{TTL|OmniCrusher|yes}}. (YR only.)
+
*<b>However</b>, a unit with {{f|IsTrain|yes|link}} produces some interesting behavious when it comes into contact with walls:
 +
**When travelling through a single wall cell, the unit will pass through as if the wall was not there, and no damage will be done to the wall.
 +
**But, if it encounters another wall cell immediately after, the unit will become 'stuck' on that wall cell. The wall cannot be sold, and the unit will be unable to move. Basically, don't combine train units with walls.
 +
**A similar effect can happen with terrain objects such as trees and rocks. The {{f|IsTrain|yes|link}} unit will be able to move through these, however if it stops on them, or attempts to move through a several-cells-thick group of them, it will become stuck on said terrain object.
  
 
[[Category: General Editing Information]]
 
[[Category: General Editing Information]]

Latest revision as of 10:55, 27 November 2009

This page details how the crushing system works. The table shows whether a defender can be crushed by an attacker, depending on how the flags Crusher, Crushable, OmniCrusher and OmniCrushResistant are set, and for reference, also shows the effect of IsTrain=yes.

Can Defender be crushed by Attacker?
Defender
Crushable OmniCrushResistant
yes no yes no
  A  
t
t
a
c
k
e
r
Crusher yes Cc apply.png Cc cancel.png Cc cancel.png
no Cc cancel.png Cc cancel.png Cc cancel.png Cc cancel.png
OmniCrusher yes Cc apply.png Cc apply.png Cc cancel.png Cc apply.png
no Cc cancel.png Cc cancel.png Cc cancel.png
IsTrain yes Cc apply.png Cc apply.png Cc apply.png Cc apply.png
OmniCrusher and OmniCrushResistant are only available in Yuri's Revenge.
Please see below for certain side effects of IsTrain.

Empty cells signal that one property does not influence the other, specifically:

  • Crusher=yes checks for Crushable - it doesn't care whether the target can be crushed by OmniCrushers.
  • Just because a target is not an OmniCrusher, doesn't mean it can't crush a Crushable=yes - that's determined by Crusher.


The flags in detail:

  • Crusher determines if this VehicleType can crush objects.
  • Crushable determines if this object can be crushed by Crushers.
Only if the Attacker is Crusher=yes and the Defender is Crushable=yes, the crushing can happen.
  • OmniCrusher, if enabled, allows the VehicleType to crush objects who are set Crushable=no.
  • OmniCrushResistant, if enabled, prevents all crushing.
  • IsTrain, if enabled, basically nullifies all of the above, and has some additional effects, as detailed below.

IsTrain

  • A unit with IsTrain=yes will be able to crush anything regardless of Crushable, OmniCrushResistant or even Immune.
  • A unit with IsTrain=yes will also be able to "crush" any buildings that happen to occupy the same cell as the unit. This results in such a vehicle with this flag being unable to exit the War Factory that produced it, as it will destroy the building and itself upon creation.
  • IsTrain has no real effect when applied to InfantryTypes or AircraftTypes.
  • However, a unit with IsTrain=yes produces some interesting behavious when it comes into contact with walls:
    • When travelling through a single wall cell, the unit will pass through as if the wall was not there, and no damage will be done to the wall.
    • But, if it encounters another wall cell immediately after, the unit will become 'stuck' on that wall cell. The wall cannot be sold, and the unit will be unable to move. Basically, don't combine train units with walls.
    • A similar effect can happen with terrain objects such as trees and rocks. The IsTrain=yes unit will be able to move through these, however if it stops on them, or attempts to move through a several-cells-thick group of them, it will become stuck on said terrain object.