Reindent teleport-utils.cfg

This commit is contained in:
Alexander van Gessel 2013-07-31 12:56:06 +02:00
parent 2448d099f6
commit 1129ca1c53

View file

@ -49,75 +49,75 @@
#! {TELEPORT_OUT_ANIMATION}
#![/animation]
start_time=-1200
start_time=-1200
teleport_sparkle_1_start_time=-1200
teleport_sparkle_2_start_time=-1000
teleport_sparkle_3_start_time=-800
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,8,1~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,8,1~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,8,1~9].png,misc/blank-hex.png:1
halo_x=10
halo_y=30~-30
[/teleport_sparkle_3_frame]
[teleport_sparkle_1_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-[9,8,1~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,8,1~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,8,1~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]
[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
#define TELEPORT_IN_ANIMATION
@ -129,132 +129,130 @@
#! {TELEPORT_IN_ANIMATION}
#![/animation]
start_time=-1200
start_time=-1200
teleport_sparkle_1_start_time=-1200
teleport_sparkle_2_start_time=-1000
teleport_sparkle_3_start_time=-800
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,8,1~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,8,1~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,8,1~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]
[teleport_sparkle_1_frame]
duration=800
halo=misc/blank-hex.png:1,halo/teleport-[9,8,1~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,8,1~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,8,1~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
#define TELEPORT_EFFECT_OBJECT_ID _ID_
# Creates and assigns a temporary object which applies the generalized silver mage
# teleport animations to the unit with the matching ID
# Creates and assigns a temporary object which applies the generalized silver mage
# teleport animations to the unit with the matching ID
#
# For example, to apply teleport animations to the unit 'Bob':
#!{TELEPORT_EFFECT_OBJECT_ID Bob}
[object]
silent=yes
duration=turn
[object]
silent=yes
duration=turn
[filter]
id={_ID_}
[/filter]
[filter]
id={_ID_}
[/filter]
[effect]
apply_to=new_animation
[effect]
apply_to=new_animation
[animation]
apply_to=pre_teleport
{TELEPORT_OUT_ANIMATION}
[/animation]
[animation]
apply_to=pre_teleport
{TELEPORT_OUT_ANIMATION}
[/animation]
[animation]
apply_to=post_teleport
{TELEPORT_IN_ANIMATION}
[/animation]
[/effect]
[/object]
[animation]
apply_to=post_teleport
{TELEPORT_IN_ANIMATION}
[/animation]
[/effect]
[/object]
#enddef
#define TELEPORT_EFFECT_OBJECT
# Creates and assigns a temporary object which applies the generalized silver mage
# teleport animations to the primary unit
# Creates and assigns a temporary object which applies the generalized silver mage
# teleport animations to the primary unit
#
# For example, to apply teleport animations to the unit that triggered a 'move_to' event:
#!{TELEPORT_EFFECT_OBJECT}
[object]
silent=yes
duration=turn
[object]
silent=yes
duration=turn
[effect]
apply_to=new_animation
[effect]
apply_to=new_animation
[animation]
apply_to=pre_teleport
{TELEPORT_OUT_ANIMATION}
[/animation]
[animation]
apply_to=pre_teleport
{TELEPORT_OUT_ANIMATION}
[/animation]
[animation]
apply_to=post_teleport
{TELEPORT_IN_ANIMATION}
[/animation]
[/effect]
[/object]
[animation]
apply_to=post_teleport
{TELEPORT_IN_ANIMATION}
[/animation]
[/effect]
[/object]
#enddef