Update deprecated AnimationWML practices and keys.

This commit is contained in:
Ignacio R. Morelle 2007-11-07 18:10:38 +00:00
parent 816421ae1a
commit 8e4ddeb049
5 changed files with 63 additions and 35 deletions

View file

@ -5,9 +5,16 @@
name= _ "Bone Knight"
race=undead
image=undead-boneknight.png
image_moving=undead-boneknight-move.png
hitpoints=48
movement_type=mounted
{DEFENSE_ANIM "undead-boneknight-defend.png" "undead-boneknight.png" skeleton-hit.1.wav }
[movement_anim]
[frame]
begin=0
end=150
image="undead-boneknight-move.png"
[/frame]
[/movement_anim]
[resistance]
blade=90
pierce=70
@ -24,14 +31,6 @@
cost=35
usage=scout
unit_description= _ "Once great warriors across the plains, these mounted riders atop their skeletal horses were raised from the ground by unholy magic to spread fear and destruction."
get_hit_sound=skeleton-hit-1.wav
[defend]
[frame]
begin=-100
end=100
image="undead-boneknight-defend.png"
[/frame]
[/defend]
[attack]
name=axe
description=_"axe"
@ -45,12 +44,30 @@
name=axe
[/attack_filter]
[frame]
begin=-100
end=0
begin=-150
end=-75
image=undead-boneknight-attack1.png
[/frame]
[if]
hits=no
[frame]
begin=-75
end=75
image=undead-boneknight-attack2.png
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=75
image=undead-boneknight-attack2.png
sound=axe.ogg
[frame]
[/else]
[frame]
begin=0
begin=75
end=100
image=undead-boneknight-attack2.png
[/frame]
@ -75,6 +92,7 @@
begin=-100
end=0
image=undead-boneknight-defend.png
sound=horse-canter.wav
[/frame]
[frame]
begin=0

View file

@ -16,15 +16,8 @@
cost=17
usage=mixed fighter
unit_description= _ "Some mages are thrown out of the mage's guild for attempting to practice forbidden arts. Now completely outside the law, these rogue mages do whatever necessary to support their study of black magic. Although not as skilled as mages with more formal training, their magic can be quite lethal, while their banditry has resulted in moderate skill with the short sword."
get_hit_sound={SOUND_LIST:HUMAN_OLD_HIT}
{DEFENSE_ANIM "rogue-mage-defend.png" "rogue-mage.png" {SOUND_LIST:HUMAN_OLD_HIT} }
die_sound={SOUND_LIST:HUMAN_DIE}
[defend]
[frame]
begin=-100
end=100
image="rogue-mage-defend.png"
[/frame]
[/defend]
[attack]
name=short sword
description= _ "short sword"

View file

@ -20,7 +20,6 @@
{AMLA_TOUGH 3}
usage=mixed fighter
unit_description= _ "Few humans fathom the secrets of light and dark magic and retain their sanity. Those that can master that balance become Shadow Lords, fully existing neither in the world of light nor the world of darkness. No longer needing physical weapons, they are fearsome to both their enemies and those they lord over."
get_hit_sound={SOUND_LIST:HUMAN_OLD_HIT}
die_sound={SOUND_LIST:HUMAN_DIE}
[defend]
hits=yes
@ -38,6 +37,7 @@
begin=-50
end=50
image="shadow-lord-defend-hit3.png"
sound={SOUND_LIST:HUMAN_OLD_HIT}
[/frame]
[frame]
begin=50

View file

@ -19,15 +19,8 @@
cost=52
usage=mixed fighter
unit_description= _ "Years of violence and brutality to support the study of forbidden magical arts have turned the shadow mages into feared fighters. Now completely enthralled with power, they have been known to command small followings of henchmen. They are outmatched in direct magical combat with their magic-using peers, instead channeling their energies into devestating melee attacks. Despite their offensive power, the corruption in their souls has begun to adversely affect their health."
get_hit_sound={SOUND_LIST:HUMAN_OLD_HIT}
die_sound={SOUND_LIST:HUMAN_DIE}
[defend]
[frame]
begin=-100
end=100
image="shadow-mage-defend.png"
[/frame]
[/defend]
{DEFENSE_ANIM "shadow-mage-defend.png" "shadow-mage.png" {SOUND_LIST:HUMAN_OLD_HIT} }
[attack]
name=short sword
description= _ "short sword"

View file

@ -5,7 +5,14 @@
name= _ "Skeleton Rider"
race=undead
image=undead-skeletonrider.png
image_moving=undead-skeletonrider-move.png
{DEFENSE_ANIM "undead-skeletonrider-defend.png" "undead-skeletonrider.png" skeleton-hit.1.wav }
[movement_anim]
[frame]
begin=0
end=150
image="undead-skeletonrider-move.png"
[/frame]
[/movement_anim]
hitpoints=36
movement_type=mounted
[resistance]
@ -24,7 +31,6 @@
cost=19
usage=scout
unit_description= _ "Once great warriors thundering across the plains, these mounted riders atop their skeletal horses were raised from the grave by unholy magic to spread fear and destruction."
get_hit_sound=skeleton-hit-1.wav
[defend]
[frame]
begin=-100
@ -42,15 +48,33 @@
[/attack]
[attack_anim]
[attack_filter]
range=melee
name=axe
[/attack_filter]
[frame]
begin=-100
end=0
begin=-150
end=-75
image=undead-skeletonrider-attack1.png
[/frame]
[if]
hits=no
[frame]
begin=-75
end=75
image=undead-skeletonrider-attack2.png
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=75
image=undead-skeletonrider-attack2.png
sound=axe.ogg
[frame]
[/else]
[frame]
begin=0
begin=75
end=100
image=undead-skeletonrider-attack2.png
[/frame]