Added some animations for the Horseman and updated animationwml

This commit is contained in:
Bär Halberkamp 2013-11-18 00:58:35 +01:00
parent ac81de69b5
commit 8e46916d7a
12 changed files with 48 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -19,6 +19,7 @@
usage=fighter
description= _ "Often hailing from the wilder and untamed regions of Wesnoth, Horsemen are trained from childhood to ride and to follow a strict code of honor. A charge made by a horseman is a powerful though risky tactic, the worth of which has been proven time and time again on the battlefield. Horsemen excel against most infantry, especially those who have fallen out of line, but must take care against both spearmen and archers for whom their large size provide inviting targets."+{SPECIAL_NOTES}+{SPECIAL_NOTES_CHARGE}
die_sound=horse-die.ogg
[portrait]
size=400
side="left"
@ -45,7 +46,23 @@
{DEFENSE_ANIM_DIRECTIONAL "units/human-loyalists/horseman/horseman-se-defend2.png" "units/human-loyalists/horseman/horseman-se-defend1.png" "units/human-loyalists/horseman/horseman-ne-defend2.png" "units/human-loyalists/horseman/horseman-ne-defend1.png" {SOUND_LIST:HORSE_HIT} }
#{STANDING_ANIM_DIRECTIONAL_6_FRAME "units/human-loyalists/horseman/horseman"} waiting on NE frames.
[death]
start_time=0
[if]
direction=sw,s,se
[frame]
image="units/human-loyalists/horseman/horseman-se-die[1~5].png:100"
[/frame]
[/if]
[else]
direction=nw,n,ne
[frame]
image="units/human-loyalists/horseman/horseman-ne-die[1~5].png:100"
[/frame]
[/else]
[/death]
{STANDING_ANIM_DIRECTIONAL_6_FRAME "units/human-loyalists/horseman/horseman"}
{MOVING_ANIM_DIRECTIONAL_8_FRAME "units/human-loyalists/horseman/horseman"}
@ -54,13 +71,39 @@
name=spear
[/filter_attack]
sound_start_time=-450
start_time=-400
sound_start_time=-400
offset=0.0~0.3:300,0.3~0.45:210,0.45~0.0:420
[sound_frame]
sound=horse-canter.wav
[/sound_frame]
offset=0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0
start_time=0
{ATTACK_ANIM_QUAD_DIRECTIONAL_12_FRAME "units/human-loyalists/horseman/horseman" "attack" spear.ogg {SOUND_LIST:MISS}}
[if]
direction=n
[frame]
image="units/human-loyalists/horseman/horseman-n-attack[1~12].png:[100*3,70*9]"
[/frame]
[/if]
[else]
direction=nw,ne
[frame]
image="units/human-loyalists/horseman/horseman-ne-attack[1~12].png:[100*3,70*9]"
[/frame]
[/else]
[else]
direction=sw,se
[frame]
image="units/human-loyalists/horseman/horseman-se-attack[1~12].png:[100*3,70*9]"
[/frame]
[/else]
[else]
direction=s
[frame]
image="units/human-loyalists/horseman/horseman-s-attack[1~12].png:[100*3,70*9]"
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]