Animation style upgrade: use duration= for bats

This commit is contained in:
Benoît Timbert 2007-11-08 21:29:23 +00:00
parent 665d1f33bc
commit 7f137479df
2 changed files with 29 additions and 46 deletions

View file

@ -33,31 +33,28 @@ Special Notes:"+{SPECIAL_NOTES_DRAIN}
cold=70
[/resistance]
[movement_anim]
start_time=0
[frame]
begin=0
end=150
duration=150
image="units/undead/bloodbat-defend.png"
[/frame]
[/movement_anim]
[death]
start_time=0
[frame]
begin=0
end=150
duration=150
image="units/undead/bloodbat-die-1.png"
[/frame]
[frame]
begin=150
end=300
duration=150
image="units/undead/bloodbat-die-2.png"
[/frame]
[frame]
begin=300
end=450
duration=150
image="units/undead/bloodbat-die-3.png"
[/frame]
[frame]
begin=450
end=600
duration=150
image="units/undead/bloodbat-die-4.png"
[/frame]
[/death]
@ -77,17 +74,16 @@ Special Notes:"+{SPECIAL_NOTES_DRAIN}
[attack_filter]
name=fangs
[/attack_filter]
start_time=-200
[frame]
begin=-200
end=-100
duration=100
image="units/undead/bloodbat.png"
sound=bat-flapping.wav
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=50
duration=150
image="units/undead/bloodbat-attack.png"
sound=bite-small.ogg
[/frame]
@ -95,20 +91,17 @@ Special Notes:"+{SPECIAL_NOTES_DRAIN}
[else]
hits=no
[frame]
begin=-100
end=50
duration=150
image="units/undead/bloodbat-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=50
end=150
duration=100
image="units/undead/bloodbat-defend.png"
[/frame]
[frame]
begin=150
end=200
duration=50
image="units/undead/bloodbat.png"
[/frame]
[/attack_anim]

View file

@ -32,46 +32,40 @@ Special Notes:"+{SPECIAL_NOTES_DRAIN}
cold=70
[/resistance]
[movement_anim]
start_time=0
[frame]
begin=0
end=150
duration=150
image="units/undead/bat-defend.png"
[/frame]
[/movement_anim]
[death]
start_time=0
[frame]
begin=0
end=80
duration=80
image="units/undead/bat-die-1.png"
[/frame]
[frame]
begin=80
end=160
duration=80
image="units/undead/bat-die-2.png"
[/frame]
[frame]
begin=160
end=240
duration=80
image="units/undead/bat-die-3.png"
[/frame]
[frame]
begin=240
end=320
duration=80
image="units/undead/bat-die-4.png"
[/frame]
[frame]
begin=320
end=400
duration=80
image="units/undead/bat-die-5.png"
[/frame]
[frame]
begin=400
end=480
duration=80
image="units/undead/bat-die-6.png"
[/frame]
[frame]
begin=480
end=560
duration=80
image="units/undead/bat-die-7.png"
[/frame]
[/death]
@ -91,17 +85,16 @@ Special Notes:"+{SPECIAL_NOTES_DRAIN}
[attack_filter]
name=fangs
[/attack_filter]
start_time=-250
[frame]
begin=-250
end=-100
duration=150
image="units/undead/bat-die-1.png"
sound=bat-flapping.wav
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=50
duration=150
image="units/undead/bat-attack.png"
sound=bite-small.ogg
[/frame]
@ -109,20 +102,17 @@ Special Notes:"+{SPECIAL_NOTES_DRAIN}
[else]
hits=no
[frame]
begin=-100
end=50
duration=150
image="units/undead/bat-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=50
end=125
duration=75
image="units/undead/bat-defend.png"
[/frame]
[frame]
begin=125
end=200
duration=75
image="units/undead/bat.png"
[/frame]
[/attack_anim]