New animations for the horseman.

This commit is contained in:
Richard Kettering 2011-07-10 07:06:06 +00:00
parent f8209c4e47
commit 49fcbbf92c
85 changed files with 319 additions and 60 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 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: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 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.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 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: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 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.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -326,6 +326,231 @@
[/else]
#enddef
#define ATTACK_ANIM_QUAD_DIRECTIONAL_12_FRAME BASE_IMAGE_NAME TAIL_IMAGE_NAME HIT_SOUND MISS_SOUND
start_time=-600
sound_start_time=-100
[if]
hits=no
[sound_frame]
sound={HIT_SOUND}
duration=100
[/sound_frame]
[/if]
[else]
hits=yes
[sound_frame]
sound={MISS_SOUND}
duration=100
[/sound_frame]
[/else]
[if]
direction=se,sw
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}1.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}2.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}3.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}4.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}5.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}6.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}7.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}8.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}9.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}10.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}11.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-se-{TAIL_IMAGE_NAME}12.png
[/frame]
[/if]
[else]
direction=s
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}1.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}2.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}3.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}4.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}5.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}6.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}7.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}8.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}9.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}10.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}11.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-s-{TAIL_IMAGE_NAME}12.png
[/frame]
[/else]
[else]
direction=n
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}1.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}2.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}3.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}4.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}5.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}6.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}7.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}8.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}9.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}10.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}11.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-n-{TAIL_IMAGE_NAME}12.png
[/frame]
[/else]
[else]
direction=ne,nw
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}1.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}2.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}3.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}4.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}5.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}6.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}7.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}8.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}9.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}10.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}11.png
[/frame]
[frame]
duration=100
image={BASE_IMAGE_NAME}-ne-{TAIL_IMAGE_NAME}12.png
[/frame]
[/else]
#enddef
#define DEATH_ANIM_DIRECTIONAL_4_FRAME BASE_IMAGE_NAME
[death]
start_time=0
@ -446,6 +671,83 @@
[/standing_anim]
#enddef
#define MOVING_ANIM_DIRECTIONAL_8_FRAME BASE_IMAGE_NAME
[movement_anim]
start_time=0
[if]
direction=s,se,sw
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run1.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run2.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run3.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run4.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run5.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run6.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run7.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-se-run8.png
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run1.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run2.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run3.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run4.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run5.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run6.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run7.png
[/frame]
[frame]
duration=50
image={BASE_IMAGE_NAME}-ne-run8.png
[/frame]
[/else]
[/movement_anim]
#enddef
#define MOVING_ANIM_DIRECTIONAL_12_FRAME BASE_IMAGE_NAME
[movement_anim]
start_time=0

View file

@ -51,70 +51,27 @@
[/frame]
[/movement_anim]
{DEFENSE_ANIM "units/human-loyalists/horseman-defend.png" "units/human-loyalists/horseman.png" {SOUND_LIST:HORSE_HIT} }
{DEFENSE_ANIM_DIRECTIONAL "units/human-loyalists/horseman-se-defend2.png" "units/human-loyalists/horseman-se-defend1.png" "units/human-loyalists/horseman-ne-defend2.png" "units/human-loyalists/horseman-ne-defend1.png" {SOUND_LIST:HORSE_HIT} }
#{STANDING_ANIM_DIRECTIONAL_6_FRAME "units/human-loyalists/horseman"} waiting on NE frames.
{MOVING_ANIM_DIRECTIONAL_8_FRAME "units/human-loyalists/horseman"}
[attack_anim]
[filter_attack]
name=spear
[/filter_attack]
hits=no
[frame]
begin=-250
end=-225
image="units/human-loyalists/horseman.png"
[sound_frame]
begin=-450
end=-350
sound=horse-canter.wav
[/frame]
[frame]
begin=-225
end=-150
image="units/human-loyalists/horseman-moving.png"
[/frame]
[frame]
begin=-150
end=100
image="units/human-loyalists/horseman-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=100
end=175
image="units/human-loyalists/horseman-moving.png"
[/frame]
[frame]
begin=175
end=200
image="units/human-loyalists/horseman.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=spear
[/filter_attack]
hits=yes
[frame]
begin=-250
end=-200
image="units/human-loyalists/horseman.png"
sound=horse-canter.wav
[/frame]
[frame]
begin=-200
end=-150
image="units/human-loyalists/horseman-moving.png"
[/frame]
[frame]
begin=-150
end=100
image="units/human-loyalists/horseman-attack.png"
sound=spear.ogg
[/frame]
[frame]
begin=100
end=150
image="units/human-loyalists/horseman-moving.png"
[/frame]
[frame]
begin=150
end=200
image="units/human-loyalists/horseman.png"
[/frame]
[/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" "attack" {SOUND_LIST:MISS} spear.ogg}
[/attack_anim]
[/unit_type]