From 492efcc9cd011be785d3c5ccedff37464851cd5e Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 2 Feb 2017 21:33:23 +0100 Subject: [PATCH 1/3] Enable RevealOnFire in D2k --- mods/d2k/rules/aircraft.yaml | 1 + mods/d2k/rules/defaults.yaml | 3 +++ mods/d2k/rules/infantry.yaml | 3 +++ mods/d2k/rules/vehicles.yaml | 2 ++ 4 files changed, 9 insertions(+) diff --git a/mods/d2k/rules/aircraft.yaml b/mods/d2k/rules/aircraft.yaml index 9b0aadbf34..a5daacf147 100644 --- a/mods/d2k/rules/aircraft.yaml +++ b/mods/d2k/rules/aircraft.yaml @@ -91,6 +91,7 @@ ornithopter: SpawnActorOnDeath: Actor: ornithopter.husk RejectsOrders: + RevealOnFire: ornithopter.husk: Inherits: ^AircraftHusk diff --git a/mods/d2k/rules/defaults.yaml b/mods/d2k/rules/defaults.yaml index 01ce63a580..1628622ee1 100644 --- a/mods/d2k/rules/defaults.yaml +++ b/mods/d2k/rules/defaults.yaml @@ -166,6 +166,7 @@ Sequence: pickup-indicator Offset: -12, -12 RequiresCondition: carryall-reserved + RevealOnFire: ^Tank: Inherits: ^Vehicle @@ -292,6 +293,7 @@ Rough: 80 Voiced: VoiceSet: InfantryVoice + RevealOnFire: ^Plane: Inherits@1: ^ExistsInWorld @@ -386,3 +388,4 @@ Range: 2c0, 4c0 MustBeDestroyed: RequiredForShortGame: false + RevealOnFire: diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index 481cc33259..4e53a40a1c 100644 --- a/mods/d2k/rules/infantry.yaml +++ b/mods/d2k/rules/infantry.yaml @@ -44,6 +44,7 @@ engineer: CaptureTypes: building, husk PlayerExperience: 50 -AutoTarget: + -RevealOnFire: Voiced: VoiceSet: EngineerVoice @@ -78,6 +79,7 @@ trooper: thumper: Inherits: ^Infantry -AutoTarget: + -RevealOnFire: Buildable: Queue: Infantry BuildPaletteOrder: 60 @@ -239,6 +241,7 @@ saboteur: Flashes: 0 EnterBehaviour: Suicide -AutoTarget: + -RevealOnFire: Cloak: InitialDelay: 85 CloakDelay: 85 diff --git a/mods/d2k/rules/vehicles.yaml b/mods/d2k/rules/vehicles.yaml index 02328e8745..4a75087fbf 100644 --- a/mods/d2k/rules/vehicles.yaml +++ b/mods/d2k/rules/vehicles.yaml @@ -45,6 +45,7 @@ mcv: Step: 5 Delay: 3 HealIfBelow: 50 + -RevealOnFire: harvester: Inherits: ^Vehicle @@ -95,6 +96,7 @@ harvester: Step: 5 Delay: 3 HealIfBelow: 50 + -RevealOnFire: trike: Inherits: ^Vehicle From 6ebdac1d30ba63279550da370c3e1e7a0066600e Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 19 Feb 2017 18:09:51 +0100 Subject: [PATCH 2/3] Remove bogus Buildable trait from D2k sandworm --- mods/d2k/rules/arrakis.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/mods/d2k/rules/arrakis.yaml b/mods/d2k/rules/arrakis.yaml index 847a948f1e..c34d5c6baf 100644 --- a/mods/d2k/rules/arrakis.yaml +++ b/mods/d2k/rules/arrakis.yaml @@ -115,8 +115,6 @@ sandworm: MovingInterval: 3 RequiresCondition: !attacking ConditionManager: - Buildable: - Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite. sietch: Inherits: ^Building From 3e2431971ccdcd1f61689bbc3436d305bf089a48 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 19 Feb 2017 18:13:51 +0100 Subject: [PATCH 3/3] Make worms reveal shroud when swallowing friendly units --- mods/d2k/rules/arrakis.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/d2k/rules/arrakis.yaml b/mods/d2k/rules/arrakis.yaml index c34d5c6baf..3d53db7f44 100644 --- a/mods/d2k/rules/arrakis.yaml +++ b/mods/d2k/rules/arrakis.yaml @@ -115,6 +115,9 @@ sandworm: MovingInterval: 3 RequiresCondition: !attacking ConditionManager: + RevealOnFire: + Duration: 50 + Radius: 2c512 sietch: Inherits: ^Building