From 6b5747f017399519dc1ed53ec7152f52068e2d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 13 Aug 2013 16:15:59 +0200 Subject: [PATCH] light and fans animation for the construction yard --- mods/ts/rules/structures.yaml | 6 ++++++ mods/ts/sequences/structures.yaml | 17 ++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/mods/ts/rules/structures.yaml b/mods/ts/rules/structures.yaml index c446623d7e..4b1c18f454 100644 --- a/mods/ts/rules/structures.yaml +++ b/mods/ts/rules/structures.yaml @@ -31,6 +31,12 @@ GACNST: Facing: 96 ProductionBar: -Sellable: + WithIdleOverlay@TOP: + Sequence: idle-top + WithIdleOverlay@SIDE: + Sequence: idle-side + WithIdleOverlay@FRONT: + Sequence: idle-front GAPOWR: Inherits: ^Building diff --git a/mods/ts/sequences/structures.yaml b/mods/ts/sequences/structures.yaml index 34ed469bb4..e2c58a8857 100644 --- a/mods/ts/sequences/structures.yaml +++ b/mods/ts/sequences/structures.yaml @@ -1,21 +1,21 @@ -gacnst: # TODO: write a render trait for the overlays +gacnst: idle: gtcnst Start: 0 ShadowStart: 3 - medium-damaged-idle: gtcnst + damaged-idle: gtcnst Start: 1 ShadowStart: 4 - damaged-idle: gtcnst + critical-idle: gtcnst Start: 2 ShadowStart: 5 make: gtcnstmk Start: 0 Length: 24 ShadowStart: 24 - build-front: gtcnst_d + build-front: gtcnst_d # TODO: needs a render overlay trait Start: 0 Length: 20 - damaged-build-front: gtcnst_d + damaged-build-front: gtcnst_d # TODO: needs a render overlay trait Start: 0 Length: 20 idle-top: gtcnst_c @@ -26,7 +26,7 @@ gacnst: # TODO: write a render trait for the overlays Start: 15 Length: 15 Tick: 200 - heavy-damaged-idle-top: gtcnst_c + critical-idle-top: gtcnst_c Start: 30 idle-side: gtcnst_a Start: 0 @@ -34,7 +34,7 @@ gacnst: # TODO: write a render trait for the overlays damaged-idle-side: gtcnst_a Start: 10 Length: 10 - heavy-damaged-idle-side: gtcnst_a + critical-idle-side: gtcnst_a Start: 20 Length: 10 idle-front: gtcnst_b @@ -43,6 +43,9 @@ gacnst: # TODO: write a render trait for the overlays damaged-idle-front: gtcnst_b Start: 0 Length: 10 + critical-idle-front: gtcnst_b + Start: 0 + Length: 10 gapowr: # TODO: shadow, plugs idle: gtpowr