Rewired animations for new TC death knight,

...changed hit sound to match draug rather than lich.
This commit is contained in:
Richard Kettering 2008-01-20 05:05:57 +00:00
parent 5fd49798c2
commit a3aec9c2bb

View file

@ -4,14 +4,22 @@
name= _ "Death Knight"
race=undead
image="units/undead-skeletal/deathknight.png"
{MAGENTA_IS_THE_TEAM_COLOR}
[leading_anim]
start_time=-150
[frame]
begin=-150
end=150
image="units/undead-skeletal/deathknight-leading.png"
duration=100
image="units/undead-skeletal/deathknight-defend-1.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/deathknight-defend-2.png"
[/frame]
[frame]
duration=100
image="units/undead-skeletal/deathknight-defend-1.png"
[/frame]
[/leading_anim]
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=66
movement_type=undeadfoot
movement=5
@ -33,18 +41,6 @@
[abilities]
{ABILITY_LEADERSHIP_LEVEL_3}
[/abilities]
[death]
[frame]
begin=0
end=200
image="units/undead-skeletal/deathknight-die-1.png"
[/frame]
[frame]
begin=200
end=400
image="units/undead-skeletal/deathknight-die-2.png"
[/frame]
[/death]
[attack]
name=battle axe
description=_"battle axe"
@ -63,12 +59,13 @@
damage=6
number=2
[/attack]
{DEFENSE_ANIM_RANGE "units/undead-skeletal/deathknight-defend.png" "units/undead-skeletal/deathknight.png" {SOUND_LIST:LICH_HIT} melee}
{DEFENSE_ANIM_RANGE "units/undead-skeletal/deathknight-crossbow-defend.png" "units/undead-skeletal/deathknight-crossbow.png" {SOUND_LIST:LICH_HIT} ranged}
[attack_anim]
{DEFENSE_ANIM_RANGE "units/undead-skeletal/deathknight-defend-2.png" "units/undead-skeletal/deathknight-defend-1.png" {SOUND_LIST:SKELETON_BIG_HIT} melee}
{DEFENSE_ANIM_RANGE "units/undead-skeletal/deathknight-crossbow-defend.png" "units/undead-skeletal/deathknight-crossbow.png" {SOUND_LIST:SKELETON_BIG_HIT} ranged}
[attack_anim]
[attack_filter]
name=crossbow
[/attack_filter]
start_time=-400
[missile_frame]
begin=-150
end=0
@ -76,70 +73,59 @@
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-350
end=-300
duration=100
image="units/undead-skeletal/deathknight-crossbow.png"
[/frame]
[if]
hits=yes
[frame]
begin=-300
end=-100
image="units/undead-skeletal/deathknight-crossbow.png"
duration=150
image="units/undead-skeletal/deathknight-crossbow-attack1.png"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-300
end=-100
image="units/undead-skeletal/deathknight-crossbow.png"
duration=150
image="units/undead-skeletal/deathknight-crossbow-attack1.png"
sound=crossbow-miss.ogg
[/frame]
[/else]
[frame]
begin=-100
end=0
image="units/undead-skeletal/deathknight-crossbow-1.png"
duration=150
image="units/undead-skeletal/deathknight-crossbow-attack2.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=battle axe
[/attack_filter]
start_time=-200
[frame]
begin=-200
end=-100
image="units/undead-skeletal/deathknight-attack-1.png"
duration=100
image="units/undead-skeletal/deathknight.png"
[/frame]
[if]
hits=no
[frame]
begin=-100
end=50
image="units/undead-skeletal/deathknight-attack-2.png"
duration=200
image="units/undead-skeletal/deathknight-defend-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-100
end=50
image="units/undead-skeletal/deathknight-attack-2.png"
duration=200
image="units/undead-skeletal/deathknight-defend-1.png"
sound=axe.ogg
[/frame]
[/else]
[frame]
begin=50
end=125
image="units/undead-skeletal/deathknight-attack-3.png"
[/frame]
[frame]
begin=125
end=200
image="units/undead-skeletal/deathknight-attack-4.png"
duration=100
image="units/undead-skeletal/deathknight.png"
[/frame]
[/attack_anim]
[/unit]