From 5ce454ce7bb2fc25a09ac81ff5c62ea8d2b068d2 Mon Sep 17 00:00:00 2001 From: Alexandre Oliveira Date: Fri, 15 Jan 2016 13:35:44 -0200 Subject: [PATCH] Decrease Engineer, Medic and Mechanic priority Fixes the issue that engineers would just run straight at the target while mixed with a group and attack moved. --- mods/cnc/rules/infantry.yaml | 2 ++ mods/d2k/rules/infantry.yaml | 2 ++ mods/ra/rules/infantry.yaml | 6 ++++++ mods/ts/rules/gdi-infantry.yaml | 2 ++ mods/ts/rules/nod-vehicles.yaml | 2 ++ mods/ts/rules/shared-infantry.yaml | 2 ++ 6 files changed, 16 insertions(+) diff --git a/mods/cnc/rules/infantry.yaml b/mods/cnc/rules/infantry.yaml index dbf50f99a9..1c7e1b39c9 100644 --- a/mods/cnc/rules/infantry.yaml +++ b/mods/cnc/rules/infantry.yaml @@ -148,6 +148,8 @@ E6: CaptureTypes: building, husk -AutoTarget: -GainsExperience: + Selectable: + Priority: 5 RMBO: Inherits: ^Soldier diff --git a/mods/d2k/rules/infantry.yaml b/mods/d2k/rules/infantry.yaml index dc9f4fe5f9..e26935b66e 100644 --- a/mods/d2k/rules/infantry.yaml +++ b/mods/d2k/rules/infantry.yaml @@ -47,6 +47,8 @@ engineer: -AutoTarget: Voiced: VoiceSet: EngineerVoice + Selectable: + Priority: 5 trooper: Inherits: ^Infantry diff --git a/mods/ra/rules/infantry.yaml b/mods/ra/rules/infantry.yaml index 92a9cdb7a7..fcdf783e3d 100644 --- a/mods/ra/rules/infantry.yaml +++ b/mods/ra/rules/infantry.yaml @@ -182,6 +182,8 @@ E6: -AutoTarget: Voiced: VoiceSet: EngineerVoice + Selectable: + Priority: 5 SPY: Inherits: ^Soldier @@ -320,6 +322,8 @@ MEDI: AttackSequence: heal Voiced: VoiceSet: MedicVoice + Selectable: + Priority: 5 MECH: Inherits: ^Soldier @@ -357,6 +361,8 @@ MECH: StandSequences: stand Voiced: VoiceSet: MechanicVoice + Selectable: + Priority: 5 EINSTEIN: Inherits: ^CivInfantry diff --git a/mods/ts/rules/gdi-infantry.yaml b/mods/ts/rules/gdi-infantry.yaml index 59617084f0..adb0806fea 100644 --- a/mods/ts/rules/gdi-infantry.yaml +++ b/mods/ts/rules/gdi-infantry.yaml @@ -54,6 +54,8 @@ MEDIC: Ticks: 60 Passenger: PipType: Red + Selectable: + Priority: 5 JUMPJET: Inherits: ^Soldier diff --git a/mods/ts/rules/nod-vehicles.yaml b/mods/ts/rules/nod-vehicles.yaml index a211a49bb9..122a5541c1 100644 --- a/mods/ts/rules/nod-vehicles.yaml +++ b/mods/ts/rules/nod-vehicles.yaml @@ -162,6 +162,8 @@ REPAIR: ForceTargetStances: None AttackFrontal: Voice: Attack + Selectable: + Priority: 5 WEED: Inherits: ^VoxelTank diff --git a/mods/ts/rules/shared-infantry.yaml b/mods/ts/rules/shared-infantry.yaml index 2ec9812a30..21334c45f5 100644 --- a/mods/ts/rules/shared-infantry.yaml +++ b/mods/ts/rules/shared-infantry.yaml @@ -64,3 +64,5 @@ ENGINEER: FactionImages: gdi: engineer.gdi nod: engineer.nod + Selectable: + Priority: 5