From 9280dd9f2f9300a1f6997007b3182792c053c90d Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 30 Jul 2010 20:58:28 +1200 Subject: [PATCH] Add some polish --- OpenRA.Mods.RA/Activities/Transform.cs | 5 +++++ mods/cnc/structures.yaml | 2 +- mods/cnc/vehicles.yaml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.RA/Activities/Transform.cs b/OpenRA.Mods.RA/Activities/Transform.cs index 5319dc451e..d4303926c0 100644 --- a/OpenRA.Mods.RA/Activities/Transform.cs +++ b/OpenRA.Mods.RA/Activities/Transform.cs @@ -39,6 +39,11 @@ namespace OpenRA.Mods.RA.Activities void DoTransform(Actor self) { + // Hack: repeat the first frame of the make anim instead + // of flashing the full structure for a frame + if (rb != null) + rb.PlayCustomAnim(self, "make"); + self.World.AddFrameEndTask(w => { var selected = w.Selection.Contains(self); diff --git a/mods/cnc/structures.yaml b/mods/cnc/structures.yaml index 0e6a3ccfd2..61ed3cfe0b 100644 --- a/mods/cnc/structures.yaml +++ b/mods/cnc/structures.yaml @@ -21,7 +21,7 @@ FACT: Transforms: IntoActor: mcv Offset:1,1 - Facing: 96 + Facing: 108 NUKE: Inherits: ^Building Buildable: diff --git a/mods/cnc/vehicles.yaml b/mods/cnc/vehicles.yaml index 2afffb6285..ffb967ef19 100644 --- a/mods/cnc/vehicles.yaml +++ b/mods/cnc/vehicles.yaml @@ -20,7 +20,7 @@ MCV: Transforms: IntoActor: fact Offset:-1,-1 - Facing: 96 + Facing: 108 TransformSounds: constru2.aud, hvydoor1.aud NoTransformSounds: deploy1.aud RenderUnit: