New animation scripting,

...and addition of team-color macros to the necromancer line.
This commit is contained in:
Richard Kettering 2006-06-27 12:16:54 +00:00
parent 46fe9dc681
commit 9bacd2fd37
4 changed files with 164 additions and 109 deletions

View file

@ -6,6 +6,7 @@
#ifdef CAMPAIGN_THE_RISE_OF_WESNOTH
profile=portraits/The_Rise_of_Wesnoth/jevyan.png
#endif
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=80
movement_type=undeadfoot
movement=6
@ -32,23 +33,6 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
deep_water=100
shallow_water=3
[/movement_costs]
[death]
[frame]
begin=0
end=200
image="units/undead-necromancers/ancient-lich-die-1.png"
[/frame]
[frame]
begin=200
end=400
image="units/undead-necromancers/ancient-lich-die-2.png"
[/frame]
[frame]
begin=400
end=600
image="units/undead-necromancers/ancient-lich-die-3.png"
[/frame]
[/death]
[attack]
name=touch
icon=attacks/touch-undead.png
@ -69,7 +53,7 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
[frame]
begin=-150
end=100
image="units/undead-necromancers/ancient-lich-attack.png"
image="units/undead-necromancers/ancient-lich-melee.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
@ -88,7 +72,7 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
[frame]
begin=-150
end=100
image="units/undead-necromancers/ancient-lich-attack.png"
image="units/undead-necromancers/ancient-lich-melee.png"
sound=wail-sml.wav
[/frame]
[frame]
@ -117,16 +101,26 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[frame]
begin=-250
begin=-300
end=-200
image="units/undead-necromancers/ancient-lich-attack.png"
image="units/undead-necromancers/ancient-lich-magic-1.png"
[/frame]
[frame]
begin=-200
end=0
image="units/undead-necromancers/ancient-lich-attack.png"
end=-100
image="units/undead-necromancers/ancient-lich-magic-2.png"
sound=magic-dark-big.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/ancient-lich-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/ancient-lich-magic-1.png"
[/frame]
[/animation]
[animation]
hits=no
@ -137,16 +131,26 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[frame]
begin=-250
begin=-300
end=-200
image="units/undead-necromancers/ancient-lich-attack.png"
image="units/undead-necromancers/ancient-lich-magic-1.png"
[/frame]
[frame]
begin=-200
end=0
image="units/undead-necromancers/ancient-lich-attack.png"
end=-100
image="units/undead-necromancers/ancient-lich-magic-2.png"
sound=magic-dark-big-miss.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/ancient-lich-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/ancient-lich-magic-1.png"
[/frame]
[/animation]
[/attack]
[/unit]

View file

@ -2,8 +2,8 @@
id=Dark Sorcerer
name= _ "Dark Sorcerer"
race=human
image="units/undead-necromancers/dark_sorcerer.png"
flag_rgb=156,206,239,107,123,239,57,66,148
image="units/undead-necromancers/dark-sorceror.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=48
movement_type=smallfoot
movement=5
@ -24,7 +24,7 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}
[frame]
begin=-150
end=150
image="units/undead-necromancers/dark_sorcerer-defend.png"
image="units/undead-necromancers/dark-sorceror-defend.png"
[/frame]
[/defend]
[attack]
@ -34,52 +34,42 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}
range=melee
damage=4
number=3
[animation]
hits=yes
[frame]
begin=-200
end=-100
image="units/undead-necromancers/dark_sorcerer.png"
[/frame]
[frame]
begin=-100
end=75
image="units/undead-necromancers/dark_sorcerer-attack.png"
sound=staff.wav
[/frame]
[frame]
begin=75
end=150
image="units/undead-necromancers/dark_sorcerer-defend.png"
[/frame]
[frame]
begin=75
end=200
image="units/undead-necromancers/dark_sorcerer.png"
[/frame]
[/animation]
[animation]
hits=no
[frame]
begin=-200
end=-100
image="units/undead-necromancers/dark_sorcerer.png"
end=-150
image="units/undead-necromancers/dark-sorceror.png"
[/frame]
[frame]
begin=-100
end=75
image="units/undead-necromancers/dark_sorcerer-attack.png"
begin=-150
end=100
image="units/undead-necromancers/dark-sorceror-melee.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=75
end=150
image="units/undead-necromancers/dark_sorcerer-defend.png"
begin=100
end=200
image="units/undead-necromancers/dark-sorceror.png"
[/frame]
[/animation]
[animation]
hits=yes
[frame]
begin=-200
end=-150
image="units/undead-necromancers/dark-sorceror.png"
[/frame]
[frame]
begin=75
begin=-150
end=100
image="units/undead-necromancers/dark-sorceror-melee.png"
sound=staff.wav
[/frame]
[frame]
begin=100
end=200
image="units/undead-necromancers/dark_sorcerer.png"
image="units/undead-necromancers/dark-sorceror.png"
[/frame]
[/animation]
[/attack]
@ -102,10 +92,25 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[frame]
sound=magic-dark.ogg
begin=-300
end=-200
image="units/undead-necromancers/dark-sorceror-magic-1.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/undead-necromancers/dark-sorceror-magic-2.png"
sound=magic-dark.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/dark_sorcerer-attack2.png"
image="units/undead-necromancers/dark-sorceror-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/dark-sorceror-magic-1.png"
[/frame]
[/animation]
[animation]
@ -117,10 +122,25 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[frame]
sound=magic-dark-miss.ogg
begin=-300
end=-200
image="units/undead-necromancers/dark-sorceror-magic-1.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/undead-necromancers/dark-sorceror-magic-2.png"
sound=magic-dark-miss.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/dark_sorcerer-attack2.png"
image="units/undead-necromancers/dark-sorceror-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/dark-sorceror-magic-1.png"
[/frame]
[/animation]
[/attack]

View file

@ -3,6 +3,7 @@
name= _ "Lich"
race=undead
image="units/undead-necromancers/lich.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=60
movement_type=undeadfoot
movement=6
@ -101,14 +102,24 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
[frame]
begin=-300
end=-200
image="units/undead-necromancers/lich-ranged1.png"
image="units/undead-necromancers/lich-magic-1.png"
[/frame]
[frame]
begin=-200
end=0
image="units/undead-necromancers/lich-ranged2.png"
end=-100
image="units/undead-necromancers/lich-magic-2.png"
sound=magic-dark-big.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/lich-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/lich-magic-1.png"
[/frame]
[/animation]
[animation]
hits=no
@ -121,14 +132,24 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
[frame]
begin=-300
end=-200
image="units/undead-necromancers/lich-ranged1.png"
image="units/undead-necromancers/lich-magic-1.png"
[/frame]
[frame]
begin=-200
end=0
image="units/undead-necromancers/lich-ranged2.png"
end=-100
image="units/undead-necromancers/lich-magic-2.png"
sound=magic-dark-big-miss.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/lich-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/lich-magic-1.png"
[/frame]
[/animation]
[/attack]
[/unit]

View file

@ -3,7 +3,7 @@
name= _ "Necromancer"
race=human
image="units/undead-necromancers/necromancer.png"
flag_rgb=214,247,239,156,181,173,107,123,239,57,66,148
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=70
movement_type=smallfoot
movement=5
@ -39,49 +39,39 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_PLAGUE}
{WEAPON_SPECIAL_PLAGUE_TYPE (Walking Corpse)}
[/specials]
[animation]
hits=yes
hits=no
[frame]
begin=-200
end=-100
image="units/undead-necromancers/necromancer-staff1.png"
end=-150
image="units/undead-necromancers/necromancer.png"
[/frame]
[frame]
begin=-100
end=50
image="units/undead-necromancers/necromancer-staff2.png"
sound=staff.wav
begin=-150
end=100
image="units/undead-necromancers/necromancer-melee.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=125
image="units/undead-necromancers/necromancer-staff1.png"
[/frame]
[frame]
begin=125
begin=100
end=200
image="units/undead-necromancers/necromancer.png"
[/frame]
[/animation]
[animation]
hits=no
hits=yes
[frame]
begin=-200
end=-100
image="units/undead-necromancers/necromancer-staff1.png"
end=-150
image="units/undead-necromancers/necromancer.png"
[/frame]
[frame]
begin=-100
end=50
image="units/undead-necromancers/necromancer-staff2.png"
sound={SOUND_LIST:MISS}
begin=-150
end=100
image="units/undead-necromancers/necromancer-melee.png"
sound=staff.wav
[/frame]
[frame]
begin=50
end=150
image="units/undead-necromancers/necromancer-staff1.png"
[/frame]
[frame]
begin=150
begin=100
end=200
image="units/undead-necromancers/necromancer.png"
[/frame]
@ -106,16 +96,26 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_PLAGUE}
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[frame]
begin=-400
begin=-300
end=-200
image="units/undead-necromancers/necromancer-ranged1.png"
image="units/undead-necromancers/necromancer-magic-1.png"
[/frame]
[frame]
begin=-200
end=0
image="units/undead-necromancers/necromancer-ranged2.png"
end=-100
image="units/undead-necromancers/necromancer-magic-2.png"
sound=magic-dark-big.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/necromancer-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/necromancer-magic-1.png"
[/frame]
[/animation]
[animation]
hits=no
@ -126,16 +126,26 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_PLAGUE}
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[frame]
begin=-400
begin=-300
end=-200
image="units/undead-necromancers/necromancer-ranged1.png"
image="units/undead-necromancers/necromancer-magic-1.png"
[/frame]
[frame]
begin=-200
end=0
image="units/undead-necromancers/necromancer-ranged2.png"
end=-100
image="units/undead-necromancers/necromancer-magic-2.png"
sound=magic-dark-big-miss.ogg
[/frame]
[frame]
begin=-100
end=0
image="units/undead-necromancers/necromancer-magic-3.png"
[/frame]
[frame]
begin=0
end=100
image="units/undead-necromancers/necromancer-magic-1.png"
[/frame]
[/animation]
[/attack]
[/unit]