Animation style upgrade: use duration= for nagas

This commit is contained in:
Benoît Timbert 2007-11-09 23:04:11 +00:00
parent 9a5ed7f7b1
commit 8d71de86c2
3 changed files with 23 additions and 38 deletions

View file

@ -33,16 +33,15 @@
[attack_filter]
name=sword
[/attack_filter]
start_time=-200
[frame]
begin=-200
end=-100
duration=100
image="units/nagas/fighter.png"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
duration=200
image="units/nagas/fighter-attack.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
@ -50,15 +49,13 @@
[else]
hits=no
[frame]
begin=-100
end=100
duration=200
image="units/nagas/fighter-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=200
duration=100
image="units/nagas/fighter.png"
[/frame]
[/attack_anim]
@ -92,39 +89,33 @@
[/female]
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
begin=0
end=100
duration=100
image="units/nagas/fighter-idle-1.png"
[/frame]
[frame]
begin=100
end=500
duration=400
image="units/nagas/fighter-idle-2.png"
[/frame]
[frame]
begin=500
end=600
duration=100
image="units/nagas/fighter-idle-3.png"
[/frame]
[frame]
begin=600
end=700
duration=100
image="units/nagas/fighter-idle-1.png"
[/frame]
[frame]
begin=700
end=1000
duration=300
image="units/nagas/fighter-idle-4.png"
[/frame]
[frame]
begin=1000
end=1500
duration=400
image="units/nagas/fighter-idle-5.png"
[/frame]
[frame]
begin=1500
end=1600
duration=100
image="units/nagas/fighter-idle-4.png"
[/frame]
[/idle_anim]

View file

@ -37,16 +37,15 @@
[attack_filter]
name=sword
[/attack_filter]
start_time=-200
[frame]
begin=-200
end=-100
duration=100
image="units/nagas/myrmidon.png"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
duration=200
image="units/nagas/myrmidon-attack.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
@ -54,15 +53,13 @@
[else]
hits=no
[frame]
begin=-100
end=100
duration=200
image="units/nagas/myrmidon-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=200
duration=100
image="units/nagas/myrmidon.png"
[/frame]
[/attack_anim]

View file

@ -36,16 +36,15 @@
[attack_filter]
name=sword
[/attack_filter]
start_time=-200
[frame]
begin=-200
end=-100
duration=100
image="units/nagas/warrior.png"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
duration=200
image="units/nagas/warrior-attack.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
@ -53,15 +52,13 @@
[else]
hits=no
[frame]
begin=-100
end=100
duration=200
image="units/nagas/warrior-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=200
duration=100
image="units/nagas/warrior.png"
[/frame]
[/attack_anim]