From 60ad19b625d7b3165e2df2bed33eca4779fff2c5 Mon Sep 17 00:00:00 2001 From: DArcy Rush Date: Fri, 23 Oct 2015 17:37:09 +0100 Subject: [PATCH] Fake structures use 'DamageThreshold' under 'Explodes'. This change means that fake structures take damage at the same rate as their real counterparts, but explode at 90% of their max health. MSLF and PDOF have been given a health buff as only one fake version of each can be built. Also fixed mission Monster Tank Madness. Actor v19.Husk required HealthInfo. --- mods/ra/rules/civilian.yaml | 1 - mods/ra/rules/defaults.yaml | 3 +++ mods/ra/rules/fakes.yaml | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/mods/ra/rules/civilian.yaml b/mods/ra/rules/civilian.yaml index f7e01e7ef0..8a61005f49 100644 --- a/mods/ra/rules/civilian.yaml +++ b/mods/ra/rules/civilian.yaml @@ -237,7 +237,6 @@ V19.Husk: WithIdleOverlay: StartSequence: fire-start Sequence: fire-loop - -Health: -Selectable: -Targetable: -Demolishable: diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 3d5c27613d..c7ea447fc4 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -504,6 +504,9 @@ -GivesBuildableArea: Health: HP: 100 + Explodes: + Weapon: Demolish + DamageThreshold: 90 RevealsShroud: Range: 4c0 Fake: diff --git a/mods/ra/rules/fakes.yaml b/mods/ra/rules/fakes.yaml index 03156e202c..a511369158 100644 --- a/mods/ra/rules/fakes.yaml +++ b/mods/ra/rules/fakes.yaml @@ -19,6 +19,10 @@ FACF: Image: FACT Valued: Cost: 250 + Health: + HP: 1500 + Armor: + Type: Wood WEAF: Inherits: ^FakeBuilding @@ -43,6 +47,10 @@ WEAF: Sequence: build-top Valued: Cost: 200 + Health: + HP: 1500 + Armor: + Type: Wood SYRF: Inherits: ^FakeBuilding @@ -68,6 +76,10 @@ SYRF: Image: SYRD Valued: Cost: 100 + Health: + HP: 1000 + Armor: + Type: Light EditorTilesetFilter: ExcludeTilesets: INTERIOR @@ -95,6 +107,10 @@ SPEF: Image: SPEN Valued: Cost: 100 + Health: + HP: 1000 + Armor: + Type: Light EditorTilesetFilter: ExcludeTilesets: INTERIOR @@ -119,6 +135,10 @@ DOMF: Image: DOME Valued: Cost: 180 + Health: + HP: 1000 + Armor: + Type: Wood RequiresPower: DisabledOverlay: @@ -143,6 +163,10 @@ ATEF: Image: ATEK Valued: Cost: 150 + Health: + HP: 400 + Armor: + Type: Wood RequiresPower: DisabledOverlay: @@ -169,6 +193,12 @@ PDOF: HasMinibib: Yes Valued: Cost: 150 + Health: + HP: 1000 + Armor: + Type: Wood + Explodes: + DamageThreshold: 50 RequiresPower: DisabledOverlay: @@ -193,6 +223,12 @@ MSLF: Image: MSLO Valued: Cost: 250 + Health: + HP: 1000 + Armor: + Type: Wood + Explodes: + DamageThreshold: 50 RequiresPower: DisabledOverlay: