ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
BridgeStrength: Difference between revisions
Jump to navigation
Jump to search
Fixed the values to signed integers. Using maximum value of unsigned long integer appears to work like value of 1, going just slightly above the 2147483647 freezes the game if shoot bridges. |
It's a bit randomized. |
||
(One intermediate revision by one other user not shown) | |||
Line 13: | Line 13: | ||
}} | }} | ||
Bridge tiles are assumed to have {{f|Armor|none|link}} and this much {{f|Strength|link}} for damage calculation purposes | Bridge [[TileSets|tiles]] and [[OverlayTypes|overlay]] are assumed to have {{f|Armor|none|link}} and this much {{f|Strength|link}} for damage calculation purposes. Each bridge segment has a chance of collapsing after receiving damage, calculated as follows: | ||
([[Damage]] vs. [[verses|heavy]] armor / BridgeStrength) × 100% | |||
Furthermore, only damage from warheads with {{f|Wall|yes|link}} is taken into consideration. | |||
== See Also == | |||
* [[DestroyableBridges]] |
Latest revision as of 21:30, 7 June 2024
Flag: | BridgeStrength |
File(s): | Rules(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Default: | 0 ? |
Applicable to: | CombatDamage |
Bridge tiles and overlay are assumed to have Armor=none and this much Strength for damage calculation purposes. Each bridge segment has a chance of collapsing after receiving damage, calculated as follows:
(Damage vs. heavy armor / BridgeStrength) × 100%
Furthermore, only damage from warheads with Wall=yes is taken into consideration.