Touched up orcish grunt and warrior animations, added offset tweaks.

This commit is contained in:
Richard Kettering 2008-01-07 06:10:29 +00:00
parent 1650a2a910
commit bae200d575
2 changed files with 62 additions and 117 deletions

View file

@ -18,7 +18,7 @@
usage=fighter
unit_description= _ "Orcish Grunts form the core of the orcish forces. Although slower than human or elven fighters, Grunts can deliver much more powerful blows, and take more hits before falling."
die_sound={SOUND_LIST:ORC_DIE}
{DEFENSE_ANIM "units/orcs/grunt-defend.png" "units/orcs/grunt.png" {SOUND_LIST:ORC_HIT} }
{DEFENSE_ANIM "units/orcs/grunt-defend-2.png" "units/orcs/grunt-defend-1.png" {SOUND_LIST:ORC_HIT} }
[death]
start_time=0
[frame]
@ -67,122 +67,55 @@
[attack_filter]
name=sword
[/attack_filter]
direction=s
offset=0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75
start_time=-300
[frame]
begin=-300
end=-150
image="units/orcs/grunt-attack-w1.png"
duration=50
image="units/orcs/grunt.png"
[/frame]
[frame]
duration=50
image="units/orcs/grunt-defend-1.png"
[/frame]
[frame]
duration=100
image="units/orcs/grunt-attack-1.png"
[/frame]
[if]
hits=yes
[frame]
begin=-150
end=0
image="units/orcs/grunt-attack-w2.png"
duration=75
image="units/orcs/grunt-attack-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-150
end=0
image="units/orcs/grunt-attack-w2.png"
duration=75
image="units/orcs/grunt-attack-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=0
end=100
image="units/orcs/grunt-attack-w4.png"
duration=100
image="units/orcs/grunt-attack-3.png"
[/frame]
[frame]
begin=100
end=200
image="units/orcs/grunt-attack-w5.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=sword
[/attack_filter]
direction=n
[frame]
begin=-300
end=-150
image="units/orcs/grunt-attack.png"
[/frame]
[if]
hits=yes
[frame]
begin=-150
end=0
image="units/orcs/grunt-attack-w3.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-150
end=0
image="units/orcs/grunt-attack-w3.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=0
end=100
image="units/orcs/grunt-attack-w4.png"
duration=20
image="units/orcs/grunt-attack-4.png"
[/frame]
[frame]
begin=100
end=200
image="units/orcs/grunt-attack-w5.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=sword
[/attack_filter]
direction=ne,se,nw,sw
[frame]
begin=-300
end=-200
image="units/orcs/grunt-attack-w1.png"
duration=30
image="units/orcs/grunt-attack-4.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/orcs/grunt-attack-w2.png"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=0
image="units/orcs/grunt-attack-w3.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=0
image="units/orcs/grunt-attack-w3.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=0
end=100
image="units/orcs/grunt-attack-w4.png"
duration=75
image="units/orcs/grunt-attack-5.png"
[/frame]
[frame]
begin=100
end=200
image="units/orcs/grunt-attack-w5.png"
duration=75
image="units/orcs/grunt.png"
[/frame]
[/attack_anim]
[/unit]

View file

@ -17,7 +17,7 @@
usage=fighter
unit_description= _ "Having mastered the art of dual-sword fighting, Orcish Warriors are highly respected among the Orcs, and highly feared by their foes. Their only weakness is their inability to wield the bow."
die_sound={SOUND_LIST:ORC_DIE}
{DEFENSE_ANIM "units/orcs/warrior-defend.png" "units/orcs/warrior.png" {SOUND_LIST:ORC_HIT} }
{DEFENSE_ANIM "units/orcs/warrior-defend-2.png" "units/orcs/warrior-defend-1.png" {SOUND_LIST:ORC_HIT} }
[attack]
name=greatsword
description=_"greatsword"
@ -31,43 +31,55 @@
[attack_filter]
name=greatsword
[/attack_filter]
offset=0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75
start_time=-300
[frame]
begin=-225
end=-150
image="units/orcs/warrior-attack-w1.png"
duration=50
image="units/orcs/warrior.png"
[/frame]
[frame]
begin=-150
end=-50
image="units/orcs/warrior-attack-w2.png"
duration=50
image="units/orcs/warrior-defend-1.png"
[/frame]
[frame]
duration=100
image="units/orcs/warrior-attack-1.png"
[/frame]
[if]
hits=no
hits=yes
[frame]
begin=-50
end=50
image="units/orcs/warrior-attack-w3.png"
sound={SOUND_LIST:MISS}
duration=75
image="units/orcs/warrior-attack-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=yes
hits=no
[frame]
begin=-50
end=50
image="units/orcs/warrior-attack-w3.png"
sound={SOUND_LIST:SWORD_SWISH}
duration=75
image="units/orcs/warrior-attack-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=50
end=150
image="units/orcs/warrior-attack-w4.png"
duration=100
image="units/orcs/warrior-attack-3.png"
[/frame]
[frame]
begin=150
end=200
image="units/orcs/warrior-attack-w5.png"
duration=20
image="units/orcs/warrior-attack-4.png"
[/frame]
[frame]
duration=30
image="units/orcs/warrior-attack-4.png"
[/frame]
[frame]
duration=75
image="units/orcs/warrior-attack-5.png"
[/frame]
[frame]
duration=75
image="units/orcs/warrior.png"
[/frame]
[/attack_anim]
[/unit]