Make northern-facing animations functional

This commit is contained in:
Ignacio R. Morelle 2008-04-24 19:55:03 +00:00
parent 3ef12e6eb6
commit bdc16c67fa

View file

@ -49,7 +49,7 @@
[/specials]
[/attack]
[defend]
#direction=s,sw,se
direction=s,sw,se
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
@ -83,43 +83,43 @@
image="units/undead/dreadbat-se-3.png"
[/frame]
[/defend]
# [defend]
# direction=n,nw,ne
# [if]
# hits=miss
# offset=0.0~-0.15,-0.15~0.0
# [/if]
# start_time=-126
# [frame]
# duration=1
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [frame]
# duration=100
# image="units/undead/dreadbat-ne-4.png"
# [/frame]
# [if]
# hits=hit
# [frame]
# duration=150
# image="units/undead/dreadbat-ne-4.png"
# sound={SOUND_LIST:BAT_HIT}
# [/frame]
# [/if]
# [else]
# hits=miss,kill
# [frame]
# duration=150
# image="units/undead/dreadbat-ne-4.png"
# [/frame]
# [/else]
# [frame]
# duration=1
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [/defend]
[defend]
direction=n,nw,ne
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
[/if]
start_time=-126
[frame]
duration=1
image="units/undead/dreadbat-ne-3.png"
[/frame]
[frame]
duration=100
image="units/undead/dreadbat-ne-4.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/dreadbat-ne-4.png"
sound={SOUND_LIST:BAT_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/dreadbat-ne-4.png"
[/frame]
[/else]
[frame]
duration=1
image="units/undead/dreadbat-ne-3.png"
[/frame]
[/defend]
[standing_anim]
#direction=s,se,sw
direction=s,se,sw
start_time=0
[frame]
duration=50
@ -154,44 +154,44 @@
image="units/undead/dreadbat-se-4.png"
[/frame]
[/standing_anim]
# [standing_anim]
# direction=n,ne,nw
# start_time=0
# [frame]
# duration=50
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-2.png"
# [/frame]
# [frame]
# duration=80
# image="units/undead/dreadbat-ne-1.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-2.png"
# [/frame]
# [frame]
# duration=50
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-4.png"
# [/frame]
# [frame]
# duration=80
# image="units/undead/dreadbat-ne-5.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-4.png"
# [/frame]
# [/standing_anim]
[standing_anim]
direction=n,ne,nw
start_time=0
[frame]
duration=50
image="units/undead/dreadbat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-2.png"
[/frame]
[frame]
duration=80
image="units/undead/dreadbat-ne-1.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-2.png"
[/frame]
[frame]
duration=50
image="units/undead/dreadbat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-4.png"
[/frame]
[frame]
duration=80
image="units/undead/dreadbat-ne-5.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-4.png"
[/frame]
[/standing_anim]
[movement_anim]
#direction=s,se,sw
direction=s,se,sw
start_time=0
[frame]
duration=50
@ -226,47 +226,47 @@
image="units/undead/dreadbat-se-4.png"
[/frame]
[/movement_anim]
# [movement_anim]
# direction=n,ne,nw
# start_time=0
# [frame]
# duration=50
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-2.png"
# [/frame]
# [frame]
# duration=80
# image="units/undead/dreadbat-ne-1.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-2.png"
# [/frame]
# [frame]
# duration=50
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-4.png"
# [/frame]
# [frame]
# duration=80
# image="units/undead/dreadbat-ne-5.png"
# [/frame]
# [frame]
# duration=60
# image="units/undead/dreadbat-ne-4.png"
# [/frame]
# [/movement_anim]
[movement_anim]
direction=n,ne,nw
start_time=0
[frame]
duration=50
image="units/undead/dreadbat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-2.png"
[/frame]
[frame]
duration=80
image="units/undead/dreadbat-ne-1.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-2.png"
[/frame]
[frame]
duration=50
image="units/undead/dreadbat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-4.png"
[/frame]
[frame]
duration=80
image="units/undead/dreadbat-ne-5.png"
[/frame]
[frame]
duration=60
image="units/undead/dreadbat-ne-4.png"
[/frame]
[/movement_anim]
[attack_anim]
[attack_filter]
name=fangs
[/attack_filter]
#direction=s,se,sw
direction=s,se,sw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
@ -319,61 +319,61 @@
image="units/undead/dreadbat-se-3.png"
[/frame]
[/attack_anim]
# [attack_anim]
# [attack_filter]
# name=fangs
# [/attack_filter]
# direction=n,ne,nw
# offset=0.0~0.9:200,0.9~0.0:160
# start_time=-200
# [frame]
# duration=30
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [frame]
# duration=30
# image="units/undead/dreadbat-ne-2.png"
# [/frame]
# [frame]
# duration=30
# image="units/undead/dreadbat-ne-1.png"
# sound=bat-flapping.wav
# [/frame]
# [frame]
# duration=30
# image="units/undead/dreadbat-ne-2.png"
# [/frame]
# [frame]
# duration=30
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [if]
# hits=yes
# [frame]
# duration=70
# image="units/undead/dreadbat-ne-4.png"
# sound=bite-small.ogg
# [/frame]
# [/if]
# [else]
# hits=no
# [frame]
# duration=70
# image="units/undead/dreadbat-ne-4.png"
# sound={SOUND_LIST:MISS}
# [/frame]
# [/else]
# [frame]
# duration=50
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [frame]
# duration=50
# image="units/undead/dreadbat-ne-2.png"
# [/frame]
# [frame]
# duration=40
# image="units/undead/dreadbat-ne-3.png"
# [/frame]
# [/attack_anim]
[attack_anim]
[attack_filter]
name=fangs
[/attack_filter]
direction=n,ne,nw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
duration=30
image="units/undead/dreadbat-ne-3.png"
[/frame]
[frame]
duration=30
image="units/undead/dreadbat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/dreadbat-ne-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
duration=30
image="units/undead/dreadbat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/dreadbat-ne-3.png"
[/frame]
[if]
hits=yes
[frame]
duration=70
image="units/undead/dreadbat-ne-4.png"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
duration=70
image="units/undead/dreadbat-ne-4.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=50
image="units/undead/dreadbat-ne-3.png"
[/frame]
[frame]
duration=50
image="units/undead/dreadbat-ne-2.png"
[/frame]
[frame]
duration=40
image="units/undead/dreadbat-ne-3.png"
[/frame]
[/attack_anim]
[/unit]