From 13983765d689b801e0db317cce335efbe7b2d1be Mon Sep 17 00:00:00 2001 From: reaperrr Date: Fri, 23 Jun 2017 20:57:20 +0200 Subject: [PATCH] Tweak RA naval vessel target types The extremely coarse, shared with terrain Ground and Water types make it hard to distinguish between different actor categories, so we add Ship to all non-submerged vessels. Additionally, we add 'Water' to submerged subs to prevent players from finding them by moving the cursor of a ship with DepthCharge over the suspected sub position. The latter also allows force-firing DepthCharge at empty water cells. --- mods/ra/rules/defaults.yaml | 2 +- mods/ra/rules/ships.yaml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index c50262a9a9..27c23784a3 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -452,7 +452,7 @@ Selectable: Bounds: 24,24 Targetable: - TargetTypes: Ground, Water, Repair + TargetTypes: Ground, Water, Ship, Repair HiddenUnderFog: AttackMove: ActorLostNotification: diff --git a/mods/ra/rules/ships.yaml b/mods/ra/rules/ships.yaml index 27215a99dc..d366908d4d 100644 --- a/mods/ra/rules/ships.yaml +++ b/mods/ra/rules/ships.yaml @@ -23,10 +23,9 @@ SS: RevealsShroud@GAPGEN: Range: 5c0 Targetable: - TargetTypes: Ground, Water, Repair RequiresCondition: !underwater Targetable@UNDERWATER: - TargetTypes: Underwater, Repair + TargetTypes: Water, Underwater, Repair RequiresCondition: underwater Cloak: CloakTypes: Underwater @@ -87,10 +86,9 @@ MSUB: RevealsShroud@GAPGEN: Range: 5c0 Targetable: - TargetTypes: Ground, Water, Repair RequiresCondition: !underwater Targetable@UNDERWATER: - TargetTypes: Underwater, Repair + TargetTypes: Water, Underwater, Repair RequiresCondition: underwater Cloak: CloakTypes: Underwater