Add some polish
This commit is contained in:
@@ -39,6 +39,11 @@ namespace OpenRA.Mods.RA.Activities
|
|||||||
|
|
||||||
void DoTransform(Actor self)
|
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 =>
|
self.World.AddFrameEndTask(w =>
|
||||||
{
|
{
|
||||||
var selected = w.Selection.Contains(self);
|
var selected = w.Selection.Contains(self);
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ FACT:
|
|||||||
Transforms:
|
Transforms:
|
||||||
IntoActor: mcv
|
IntoActor: mcv
|
||||||
Offset:1,1
|
Offset:1,1
|
||||||
Facing: 96
|
Facing: 108
|
||||||
NUKE:
|
NUKE:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Buildable:
|
Buildable:
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ MCV:
|
|||||||
Transforms:
|
Transforms:
|
||||||
IntoActor: fact
|
IntoActor: fact
|
||||||
Offset:-1,-1
|
Offset:-1,-1
|
||||||
Facing: 96
|
Facing: 108
|
||||||
TransformSounds: constru2.aud, hvydoor1.aud
|
TransformSounds: constru2.aud, hvydoor1.aud
|
||||||
NoTransformSounds: deploy1.aud
|
NoTransformSounds: deploy1.aud
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
|
|||||||
Reference in New Issue
Block a user