From ce396e840de8c169db6c734fbdec50a603a43883 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sat, 10 Mar 2018 01:49:49 +0100 Subject: [PATCH] Improve RA service depot hitshape + target offsets --- mods/ra/rules/fakes.yaml | 11 +++-------- mods/ra/rules/structures.yaml | 11 +++-------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/mods/ra/rules/fakes.yaml b/mods/ra/rules/fakes.yaml index 021042882b..f93ab48155 100644 --- a/mods/ra/rules/fakes.yaml +++ b/mods/ra/rules/fakes.yaml @@ -206,14 +206,9 @@ FIXF: Valued: Cost: 120 HitShape: - Type: Rectangle - TopLeft: -1536, -683 - BottomRight: 1536, 853 - HitShape@TOPANDBOTTOM: - TargetableOffsets: 840,0,0, -1060,0,0 - Type: Rectangle - TopLeft: -640, -768 - BottomRight: 640, 1024 + TargetableOffsets: 840,0,0, 598,-640,0, 598,640,0, -1060,0,0, -768,-640,0, -768,640,0 + Type: Polygon + Points: -1536,-300, -640,-811, 640,-811, 1536,-300, 1536,555, 640,1110, -640,1110, -1536,555 FAPW: Inherits: ^FakeBuilding diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 44cb99e84e..3166a1870b 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -1821,14 +1821,9 @@ FIX: Amount: -30 ProvidesPrerequisite@buildingname: HitShape: - Type: Rectangle - TopLeft: -1536, -683 - BottomRight: 1536, 853 - HitShape@TOPANDBOTTOM: - TargetableOffsets: 840,0,0, -1060,0,0 - Type: Rectangle - TopLeft: -640, -768 - BottomRight: 640, 1024 + TargetableOffsets: 840,0,0, 598,-640,0, 598,640,0, -1060,0,0, -768,-640,0, -768,640,0 + Type: Polygon + Points: -1536,-300, -640,-811, 640,-811, 1536,-300, 1536,555, 640,1110, -640,1110, -1536,555 SBAG: Inherits: ^Wall