A full set of animations for the skeleton.

This commit is contained in:
Richard Kettering 2012-08-08 04:43:17 +00:00
parent d522897442
commit 7ba00c58b7
77 changed files with 214 additions and 76 deletions

View file

Before

Width:  |  Height:  |  Size: 893 B

After

Width:  |  Height:  |  Size: 893 B

View file

Before

Width:  |  Height:  |  Size: 882 B

After

Width:  |  Height:  |  Size: 882 B

View file

Before

Width:  |  Height:  |  Size: 867 B

After

Width:  |  Height:  |  Size: 867 B

View file

Before

Width:  |  Height:  |  Size: 785 B

After

Width:  |  Height:  |  Size: 785 B

View file

Before

Width:  |  Height:  |  Size: 751 B

After

Width:  |  Height:  |  Size: 751 B

View file

Before

Width:  |  Height:  |  Size: 644 B

After

Width:  |  Height:  |  Size: 644 B

View file

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 706 B

View file

Before

Width:  |  Height:  |  Size: 941 B

After

Width:  |  Height:  |  Size: 941 B

View file

Before

Width:  |  Height:  |  Size: 934 B

After

Width:  |  Height:  |  Size: 934 B

View file

Before

Width:  |  Height:  |  Size: 923 B

After

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 928 B

After

Width:  |  Height:  |  Size: 928 B

View file

Before

Width:  |  Height:  |  Size: 888 B

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

View file

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 950 B

After

Width:  |  Height:  |  Size: 950 B

View file

@ -137,6 +137,114 @@
[/else]
#enddef
#define ATTACK_ANIM_DIRECTIONAL_10_FRAME BASE_IMAGE_NAME TAIL_IMAGE_NAME HIT_SOUND MISS_SOUND
start_time=-450
sound_start_time=-101
[sound_frame]
duration=1
[/sound_frame]
[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=s,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]
[/if]
[else]
direction=n,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]
[/else]
#enddef
#define ATTACK_ANIM_QUAD_DIRECTIONAL_10_FRAME BASE_IMAGE_NAME TAIL_IMAGE_NAME HIT_SOUND MISS_SOUND
start_time=-500
sound_start_time=-101
@ -679,6 +787,82 @@
[/standing_anim]
#enddef
#define STANDING_ANIM_DIRECTIONAL_8_FRAME BASE_IMAGE_NAME
[standing_anim]
start_time=0
[if]
direction=s,se,sw
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob1.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob2.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob3.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob4.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob5.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob6.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob7.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-se-bob8.png
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob1.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob2.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob3.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob4.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob5.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob6.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob7.png
[/frame]
[frame]
duration=200
image={BASE_IMAGE_NAME}-ne-bob8.png
[/frame]
[/else]
[/standing_anim]
#enddef
#define MOVING_ANIM_DIRECTIONAL_8_FRAME BASE_IMAGE_NAME
[movement_anim]
start_time=0

View file

@ -3,7 +3,7 @@
id=Skeleton
name= _ "Skeleton"
race=undead
image="units/undead-skeletal/skeleton.png"
image="units/undead-skeletal/skeleton/skeleton.png"
profile="portraits/undead/skeleton.png"
ellipse="misc/ellipse"
{MAGENTA_IS_THE_TEAM_COLOR}
@ -18,7 +18,10 @@
usage=fighter
description= _ "Skeletons are warriors who have been slain in battle and brought back by dark magics. Nearly mindless, and unwavering in their purpose, they fear neither pain, nor death, and their mere presence will often frighten away any who would challenge their master."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SUBMERGE}
die_sound={SOUND_LIST:SKELETON_DIE}
{DEFENSE_ANIM "units/undead-skeletal/skeleton-defend-2.png" "units/undead-skeletal/skeleton-defend-1.png" {SOUND_LIST:SKELETON_HIT} }
{DEFENSE_ANIM_DIRECTIONAL "units/undead-skeletal/skeleton/skeleton-se-defend2.png" "units/undead-skeletal/skeleton/skeleton-se-defend1.png" "units/undead-skeletal/skeleton/skeleton-ne-defend2.png" "units/undead-skeletal/skeleton/skeleton-ne-defend1.png" {SOUND_LIST:SKELETON_HIT} }
{STANDING_ANIM_DIRECTIONAL_8_FRAME "units/undead-skeletal/skeleton/skeleton"}
{MOVING_ANIM_DIRECTIONAL_12_FRAME "units/undead-skeletal/skeleton/skeleton"}
[portrait]
size=400
side="left"
@ -38,75 +41,75 @@
[frame]
begin=-200
end=100
image="units/undead-skeletal/skeleton-dying-7.png"
image="units/undead-skeletal/skeleton/skeleton-dying-7.png"
alpha="0~1:300"
[/frame]
[frame]
begin=100
end=200
image="units/undead-skeletal/skeleton-dying-6.png"
image="units/undead-skeletal/skeleton/skeleton-dying-6.png"
[/frame]
[frame]
begin=200
end=300
image="units/undead-skeletal/skeleton-dying-5.png"
image="units/undead-skeletal/skeleton/skeleton-dying-5.png"
[/frame]
[frame]
begin=300
end=400
image="units/undead-skeletal/skeleton-dying-4.png"
image="units/undead-skeletal/skeleton/skeleton-dying-4.png"
[/frame]
[frame]
begin=400
end=500
image="units/undead-skeletal/skeleton-dying-3.png"
image="units/undead-skeletal/skeleton/skeleton-dying-3.png"
[/frame]
[frame]
begin=500
end=600
image="units/undead-skeletal/skeleton-dying-2.png"
image="units/undead-skeletal/skeleton/skeleton-dying-2.png"
[/frame]
[frame]
begin=600
end=700
image="units/undead-skeletal/skeleton-dying-1.png"
image="units/undead-skeletal/skeleton/skeleton-dying-1.png"
[/frame]
[/recruit_anim]
[death]
[frame]
begin=0
end=100
image="units/undead-skeletal/skeleton-dying-1.png"
image="units/undead-skeletal/skeleton/skeleton-dying-1.png"
[/frame]
[frame]
begin=100
end=200
image="units/undead-skeletal/skeleton-dying-2.png"
image="units/undead-skeletal/skeleton/skeleton-dying-2.png"
[/frame]
[frame]
begin=200
end=300
image="units/undead-skeletal/skeleton-dying-3.png"
image="units/undead-skeletal/skeleton/skeleton-dying-3.png"
[/frame]
[frame]
begin=300
end=400
image="units/undead-skeletal/skeleton-dying-4.png"
image="units/undead-skeletal/skeleton/skeleton-dying-4.png"
[/frame]
[frame]
begin=400
end=500
image="units/undead-skeletal/skeleton-dying-5.png"
image="units/undead-skeletal/skeleton/skeleton-dying-5.png"
[/frame]
[frame]
begin=500
end=600
image="units/undead-skeletal/skeleton-dying-6.png"
image="units/undead-skeletal/skeleton/skeleton-dying-6.png"
[/frame]
[frame]
begin=600
end=700
image="units/undead-skeletal/skeleton-dying-7.png"
image="units/undead-skeletal/skeleton/skeleton-dying-7.png"
[/frame]
[/death]
[resistance]
@ -128,98 +131,49 @@
start_time=0
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-1.png"
image="units/undead-skeletal/skeleton/skeleton-idle-1.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-2.png"
image="units/undead-skeletal/skeleton/skeleton-idle-2.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-3.png"
image="units/undead-skeletal/skeleton/skeleton-idle-3.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-2.png"
image="units/undead-skeletal/skeleton/skeleton-idle-2.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-3.png"
image="units/undead-skeletal/skeleton/skeleton-idle-3.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-2.png"
image="units/undead-skeletal/skeleton/skeleton-idle-2.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-3.png"
image="units/undead-skeletal/skeleton/skeleton-idle-3.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-2.png"
image="units/undead-skeletal/skeleton/skeleton-idle-2.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-3.png"
image="units/undead-skeletal/skeleton/skeleton-idle-3.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/skeleton-idle-2.png"
image="units/undead-skeletal/skeleton/skeleton-idle-2.png"
[/frame]
[/idle_anim]
[attack_anim]
[filter_attack]
name=axe
[/filter_attack]
offset=0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0
start_time=-300
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-1.png"
[/frame]
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-2.png"
[/frame]
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-3.png"
[/frame]
[if]
hits=yes
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-4.png"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-4.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-5.png"
[/frame]
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-6.png"
[/frame]
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-7.png"
[/frame]
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-8.png"
[/frame]
[frame]
duration=70
image="units/undead-skeletal/skeleton-attack-9.png"
[/frame]
{ATTACK_ANIM_DIRECTIONAL_10_FRAME "units/undead-skeletal/skeleton/skeleton" "melee" {SOUND_LIST:MISS} axe.ogg}
[/attack_anim]
[/unit_type]