Fix some animation bugs.

This commit is contained in:
Lari Nieminen 2008-01-22 09:24:44 +00:00
parent cd05fc0e12
commit 740c116ad8
3 changed files with 43 additions and 65 deletions

View file

@ -38,6 +38,7 @@
range=ranged
damage=6
number=3
icon=attacks/sling.png
[/attack]
[attack_anim]
[attack_filter]
@ -75,7 +76,7 @@
[/attack_anim]
[attack_anim]
[attack_filter]
name=mace
name=staff
[/attack_filter]
[frame]
begin=-200
@ -88,7 +89,7 @@
begin=-100
end=50
image="units/human-outlaws/outlaw+female-melee-2.png"
sound=mace.wav
sound=staff.wav
[/frame]
[/if]
[else]

View file

@ -32,7 +32,6 @@
range=melee
damage=12
number=2
icon=attacks/mace.png
[/attack]
[attack]
name=sling
@ -47,19 +46,30 @@
[attack_filter]
name=sling
[/attack_filter]
hits=yes
[missile_frame]
begin=-150
end=0
image="projectiles/stone.png"
image_diagonal="projectiles/stone.png"
[/missile_frame]
[frame]
begin=-400
end=-100
image="units/human-outlaws/fugitive+female-ranged-1.png"
sound=sling.ogg
[/frame]
[if]
hits=yes
[frame]
begin=-400
end=-100
image="units/human-outlaws/fugitive+female-ranged-1.png"
sound=sling.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-400
end=-100
image="units/human-outlaws/fugitive+female-ranged-1.png"
sound=sling-miss.ogg
[/frame]
[/else]
[frame]
begin=-100
end=50
@ -68,69 +78,35 @@
[/attack_anim]
[attack_anim]
[attack_filter]
name=sling
name=staff
[/attack_filter]
hits=no
[missile_frame]
begin=-150
end=0
image="projectiles/stone.png"
image_diagonal="projectiles/stone.png"
[/missile_frame]
[frame]
begin=-400
end=-100
image="units/human-outlaws/fugitive+female-ranged-1.png"
sound=sling-miss.ogg
[/frame]
[frame]
begin=-100
end=50
image="units/human-outlaws/fugitive+female-ranged-2.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=mace
[/attack_filter]
hits=yes
[frame]
begin=-200
end=-100
image="units/human-outlaws/fugitive+female.png"
[/frame]
[frame]
begin=-100
end=50
image="units/human-outlaws/fugitive+female-melee-1.png"
sound=mace.wav
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=50
image="units/human-outlaws/fugitive+female-melee-2.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=50
image="units/human-outlaws/fugitive+female-melee-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=50
end=150
image="units/human-outlaws/fugitive+female.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=mace
[/attack_filter]
hits=no
[frame]
begin=-200
end=-100
image="units/human-outlaws/fugitive+female.png"
[/frame]
[frame]
begin=-100
end=50
image="units/human-outlaws/fugitive+female-melee-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=150
image="units/human-outlaws/fugitive+female.png"
image="units/human-outlaws/fugitive+female-melee-3.png"
[/frame]
[/attack_anim]
[/unit]

View file

@ -39,6 +39,7 @@
range=ranged
damage=4
number=3
icon=attacks/sling.png
[/attack]
[attack_anim]
[attack_filter]
@ -76,7 +77,7 @@
[/attack_anim]
[attack_anim]
[attack_filter]
name=club
name=staff
[/attack_filter]
[frame]
begin=-250