Added macros for generic teleport animations...

...using the teleport masks, compatible with 72x72 units.
This commit is contained in:
Lari Nieminen 2012-08-24 23:16:43 +00:00
parent 746b2557f5
commit 426f9e37b3

View file

@ -1091,3 +1091,148 @@
[/else]
[/movement_anim]
#enddef
# Generic teleport out animation, compatible with units max 72x72 in size
#define TELEPORT_OUT_ANIMATION
start_time=-1200
teleport_sparkle_1_start_time=-1200
teleport_sparkle_2_start_time=-1000
teleport_sparkle_3_start_time=-800
[teleport_sparkle_1_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-9.png,halo/teleport-8.png,halo/teleport-1.png,halo/teleport-2.png,halo/teleport-3.png,halo/teleport-4.png,halo/teleport-5.png,halo/teleport-6.png,halo/teleport-7.png,halo/teleport-8.png,halo/teleport-9.png,misc/blank-hex.png:1
halo_x=-10
halo_y=30~-30
[/teleport_sparkle_1_frame]
[teleport_sparkle_2_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-9.png,halo/teleport-8.png,halo/teleport-1.png,halo/teleport-2.png,halo/teleport-3.png,halo/teleport-4.png,halo/teleport-5.png,halo/teleport-6.png,halo/teleport-7.png,halo/teleport-8.png,halo/teleport-9.png,misc/blank-hex.png:1
halo_x=0
halo_y=40~-40
[/teleport_sparkle_2_frame]
[teleport_sparkle_3_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-9.png,halo/teleport-8.png,halo/teleport-1.png,halo/teleport-2.png,halo/teleport-3.png,halo/teleport-4.png,halo/teleport-5.png,halo/teleport-6.png,halo/teleport-7.png,halo/teleport-8.png,halo/teleport-9.png,misc/blank-hex.png:1
halo_x=10
halo_y=30~-30
[/teleport_sparkle_3_frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-0.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-1.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-2.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-3.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-4.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-5.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-6.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-7.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-8.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-9.png)
[/frame]
[frame]
duration=200
image="misc/blank-hex.png"
[/frame]
#enddef
# Generic teleport in animation, compatible with units max 72x72 in size
#define TELEPORT_IN_ANIMATION
start_time=-1200
teleport_sparkle_1_start_time=-1200
teleport_sparkle_2_start_time=-1000
teleport_sparkle_3_start_time=-800
[teleport_sparkle_1_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-9.png,halo/teleport-8.png,halo/teleport-1.png,halo/teleport-2.png,halo/teleport-3.png,halo/teleport-4.png,halo/teleport-5.png,halo/teleport-6.png,halo/teleport-7.png,halo/teleport-8.png,halo/teleport-9.png,misc/blank-hex.png:1
halo_x=10
halo_y=-30~30
[/teleport_sparkle_1_frame]
[teleport_sparkle_2_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-9.png,halo/teleport-8.png,halo/teleport-1.png,halo/teleport-2.png,halo/teleport-3.png,halo/teleport-4.png,halo/teleport-5.png,halo/teleport-6.png,halo/teleport-7.png,halo/teleport-8.png,halo/teleport-9.png,misc/blank-hex.png:1
halo_x=0
halo_y=-40~40
[/teleport_sparkle_2_frame]
[teleport_sparkle_3_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-9.png,halo/teleport-8.png,halo/teleport-1.png,halo/teleport-2.png,halo/teleport-3.png,halo/teleport-4.png,halo/teleport-5.png,halo/teleport-6.png,halo/teleport-7.png,halo/teleport-8.png,halo/teleport-9.png,misc/blank-hex.png:1
halo_x=-10
halo_y=-30~30
[/teleport_sparkle_3_frame]
[frame]
duration=200
image="misc/blank-hex.png"
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-9.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-8.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-7.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-6.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-5.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-4.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-3.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-2.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-1.png)
[/frame]
[frame]
duration=100
image_mod=~MASK(masks/teleport-mask-0.png)
[/frame]
#enddef