Added a northwards melee animation for the Troll Hero...

...and fixed bugs in the existing ones.
This commit is contained in:
Lari Nieminen 2010-10-11 11:36:15 +00:00
parent ca3684a95f
commit 221d5dc360
6 changed files with 64 additions and 14 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -38,7 +38,7 @@
direction=se,sw
offset=0.0~0.1,0.1~0.0
start=-300
start_time=-300
[frame]
duration=100
@ -48,15 +48,11 @@
duration=100
image=units/trolls/troll-hero-attack-se-2.png
[/frame]
[frame]
duration=100
image=units/trolls/troll-hero-attack-se-3.png
[/frame]
[if]
hits=yes
[frame]
duration=100
image=units/trolls/troll-hero-attack-se-4.png
image=units/trolls/troll-hero-attack-se-3.png
sound=mace.wav
[/frame]
[/if]
@ -64,10 +60,14 @@
hits=no
[frame]
duration=100
image=units/trolls/troll-hero-attack-se-4.png
image=units/trolls/troll-hero-attack-se-3.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=100
image=units/trolls/troll-hero-attack-se-4.png
[/frame]
[frame]
duration=100
image=units/trolls/troll-hero-attack-se-5.png
@ -84,7 +84,7 @@
direction=s
offset=0.0~0.1:300,0.1~0.2:200,0.2~0.0:100
start=-300
start_time=-300
[frame]
duration=100
@ -94,15 +94,11 @@
duration=100
image=units/trolls/troll-hero-attack-se-2.png
[/frame]
[frame]
duration=100
image=units/trolls/troll-hero-attack-se-3.png
[/frame]
[if]
hits=yes
[frame]
duration=100
image=units/trolls/troll-hero-attack-s-4.png
image=units/trolls/troll-hero-attack-se-3.png
sound=mace.wav
[/frame]
[/if]
@ -110,10 +106,14 @@
hits=no
[frame]
duration=100
image=units/trolls/troll-hero-attack-s-4.png
image=units/trolls/troll-hero-attack-se-3.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=100
image=units/trolls/troll-hero-attack-s-4.png
[/frame]
[frame]
duration=100
image=units/trolls/troll-hero-attack-s-5.png
@ -123,4 +123,54 @@
image=units/trolls/troll-hero-attack-s-6.png
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=hammer
[/filter_attack]
direction=nw,n,ne
offset=0.0~0.1,0.1~0.0
start_time=-300
[frame]
duration=100
image=units/trolls/troll-hero-attack-se-1.png
[/frame]
[frame]
duration=100
image=units/trolls/troll-hero-attack-ne-2.png
[/frame]
[if]
hits=yes
[frame]
duration=100
image=units/trolls/troll-hero-attack-ne-3.png
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
duration=100
image=units/trolls/troll-hero-attack-ne-3.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=75
image=units/trolls/troll-hero-attack-ne-4.png
[/frame]
[frame]
duration=75
image=units/trolls/troll-hero-attack-ne-5.png
[/frame]
[frame]
duration=75
image=units/trolls/troll-hero-attack-ne-6.png
[/frame]
[frame]
duration=75
image=units/trolls/troll-hero-attack-se-1.png
[/frame]
[/attack_anim]
[/unit_type]