From 5c8b0b9b35545ee2b087f4d5c72f6b62ee932df2 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 9 Nov 2013 15:47:44 +1300 Subject: [PATCH] Fix viceroid muzzle offsets and missing traits. --- mods/cnc/rules/civilian.yaml | 9 ++++- mods/cnc/sequences/infantry.yaml | 68 +++++++++++++++++++++++++++++--- 2 files changed, 70 insertions(+), 7 deletions(-) diff --git a/mods/cnc/rules/civilian.yaml b/mods/cnc/rules/civilian.yaml index b290b99e30..d1ab0e633a 100644 --- a/mods/cnc/rules/civilian.yaml +++ b/mods/cnc/rules/civilian.yaml @@ -441,8 +441,15 @@ VICE: Name: Viceroid Armament: Weapon: Chemspray + LocalOffset: 384,0,0 AttackFrontal: AttackWander: RenderUnit: WithMuzzleFlash: - BodyOrientation: \ No newline at end of file + SplitFacings: true + CombatDebugOverlay: + Guard: + Guardable: + UpdatesPlayerStatistics: + BodyOrientation: + QuantizedFacings: 8 \ No newline at end of file diff --git a/mods/cnc/sequences/infantry.yaml b/mods/cnc/sequences/infantry.yaml index b5e0560682..9b0014155f 100644 --- a/mods/cnc/sequences/infantry.yaml +++ b/mods/cnc/sequences/infantry.yaml @@ -2,10 +2,38 @@ vice: idle: Start: 0 Length: * - muzzle: chem + muzzle0: chem-n Start: 0 - Length: 13 - Facings: 8 + Length: * + Offset: 3,4 + muzzle1: chem-nw + Start: 0 + Length: * + Offset: 4,1 + muzzle2: chem-w + Start: 0 + Length: * + Offset: 7,-3 + muzzle3: chem-sw + Start: 0 + Length: * + Offset: 3,-6 + muzzle4: chem-s + Start: 0 + Length: * + Offset: 1,-6 + muzzle5: chem-se + Start: 0 + Length: * + Offset: -3,-5 + muzzle6: chem-e + Start: 0 + Length: * + Offset: -6,-3 + muzzle7: chem-ne + Start: 0 + Length: * + Offset: -1,0 icon: viceicnh Start: 0 @@ -13,10 +41,38 @@ pvice: idle: Start: 0 Length: * - muzzle: chem + muzzle0: chem-n Start: 0 - Length: 13 - Facings: 8 + Length: * + Offset: 3,4 + muzzle1: chem-nw + Start: 0 + Length: * + Offset: 4,1 + muzzle2: chem-w + Start: 0 + Length: * + Offset: 7,-3 + muzzle3: chem-sw + Start: 0 + Length: * + Offset: 3,-6 + muzzle4: chem-s + Start: 0 + Length: * + Offset: 1,-6 + muzzle5: chem-se + Start: 0 + Length: * + Offset: -3,-5 + muzzle6: chem-e + Start: 0 + Length: * + Offset: -6,-3 + muzzle7: chem-ne + Start: 0 + Length: * + Offset: -1,0 icon: viceicnh Start: 0