From 26e6d868210490ca509acd31d309f39b31803982 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 11 Jun 2017 23:09:35 +0200 Subject: [PATCH] Make RA artillery actors attack the target center Instead of closest targetable position/offset. Applies to: -Artillery -Cruiser -Missile Sub --- mods/ra/rules/ships.yaml | 2 ++ mods/ra/rules/vehicles.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/mods/ra/rules/ships.yaml b/mods/ra/rules/ships.yaml index 27215a99dc..68cc39b1f7 100644 --- a/mods/ra/rules/ships.yaml +++ b/mods/ra/rules/ships.yaml @@ -113,6 +113,7 @@ MSUB: LocalOffset: 0,-171,0, 0,171,0 FireDelay: 2 AttackFrontal: + AttackTargetCenter: true SelectionDecorations: VisualBounds: 44,44 AutoTarget: @@ -225,6 +226,7 @@ CA: RecoilRecovery: 34 MuzzleSequence: muzzle AttackTurreted: + AttackTargetCenter: true WithMuzzleOverlay: SelectionDecorations: VisualBounds: 44,44 diff --git a/mods/ra/rules/vehicles.yaml b/mods/ra/rules/vehicles.yaml index 2ac32e40d5..9ee00f83da 100644 --- a/mods/ra/rules/vehicles.yaml +++ b/mods/ra/rules/vehicles.yaml @@ -243,6 +243,7 @@ ARTY: LocalOffset: 624,0,208 MuzzleSequence: muzzle AttackFrontal: + AttackTargetCenter: true WithMuzzleOverlay: Explodes: Weapon: ArtilleryExplode