make sure that all needed units are in the tutorial and found correctly

This commit is contained in:
Nils Kneuper 2006-01-10 10:20:42 +00:00
parent 41b615e013
commit fcebcac625
4 changed files with 469 additions and 0 deletions

View file

@ -501,6 +501,10 @@ default=yes
[binary_path]
path=data/tutorial
[/binary_path]
[+units]
{tutorial/units}
[/units]
{tutorial/units}
#endif
{scenario-test.cfg}

188
data/tutorial/units/Commander.cfg Executable file
View file

@ -0,0 +1,188 @@
[unit]
id=Commander
name= _ "Commander"
race=human
image="konrad-commander.png"
[defend]
range=melee
[frame]
begin=-150
end=150
image="konrad-commander-defend.png"
[/frame]
[/defend]
[defend]
range=ranged
[frame]
begin=-150
end=150
image="konrad-commander-ranged-defend.png"
[/frame]
[/defend]
image_leading="konrad-commander-leading.png"
profile=portraits/konrad.png
hitpoints=45
ability=leadership
movement_type=smallfoot
movement=6
experience=60
level=2
alignment=lawful
advanceto=Lord
cost=36
usage=mixed fighter
unit_description= _ "The rank of Commander is held by those who lead battle groups into combat. Possessing leadership skills, they give lower-level units in adjacent hexes improved performance in combat. Commanders are best skilled with the sword, although they also carry a bow to use when necessary. If the Commander is lost, so is the battle."
get_hit_sound=groan.wav
[death]
[frame]
begin=0
end=200
image="konrad-commander-die-1.png"
[/frame]
[frame]
begin=200
end=400
image="konrad-commander-die-2.png"
[/frame]
[/death]
[attack]
name=sword
type=blade
range=melee
damage=8
number=4
[animation]
[frame]
begin=-250
end=-200
image="konrad-commander.png"
[/frame]
[frame]
begin=-100
end=100
image=""konrad-commander-attack.png""
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/animation]
[/attack]
[attack]
name=bow
type=pierce
range=ranged
damage=6
number=3
[animation]
[frame]
begin=-100
end=100
image=""konrad-commander-ranged.png""
[/frame]
[sound]
time=-100
sound=firearrow.wav
[/sound]
[sound]
time=0
sound=arrow-hit.wav
sound_miss=arrow-miss.wav
[/sound]
[missile_frame]
begin=-100
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[/animation]
[/attack]
[variation]
variation_name=scepter
id=Commander
name= _ "Commander"
race=human
image="konrad-commander.png"
[defend]
range=melee
[frame]
begin=-150
end=150
image="konrad-commander-defend.png"
[/frame]
[/defend]
[defend]
range=ranged
[frame]
begin=-150
end=150
image="konrad-commander-ranged-defend.png"
[/frame]
[/defend]
image_leading="konrad-commander-leading.png"
profile=portraits/konrad.png
hitpoints=45
ability=leadership
movement_type=smallfoot
movement=6
experience=60
level=2
alignment=lawful
advanceto=Lord
cost=42
usage=mixed fighter
unit_description= _ "The rank of Commander is held by those who lead battle groups into combat. Possessing leadership skills, they give lower-level units in adjacent hexes improved performance in combat. Commanders are best skilled with the sword, although they also carry a bow to use when necessary. If the Commander is lost, so is the battle."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=melee
damage=8
number=4
[animation]
[frame]
begin=-250
end=-200
image="konrad-commander.png"
[/frame]
[frame]
begin=-100
end=100
image=""konrad-commander-attack.png""
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/animation]
[/attack]
[attack]
name=scepter of fire
type=fire
range=ranged
special=magical
icon=attacks/fireball.png
damage=16
number=4
[animation]
[sound]
time=-200
sound=fire.wav
[/sound]
[missile_frame]
begin=-100
end=0
halo=halo/fireball-halo1.png:30,halo/fireball-halo2.png:30,halo/fireball-halo3.png:30,halo/fireball-halo4.png:30,halo/fireball-halo5.png:30,halo/fireball-halo6.png:30,halo/fireball-halo7.png:30,halo/fireball-halo8.png:30,halo/fireball-halo1.png:30,halo/fireball-halo2.png:30
image="projectiles/fireball-n.png"
image_diagonal="projectiles/fireball-nw.png"
[/missile_frame]
[/animation]
[/attack]
[/variation]
[/unit]

121
data/tutorial/units/Fighter.cfg Executable file
View file

@ -0,0 +1,121 @@
[unit]
id=Fighter
name= _ "Fighter"
race=human
image="konrad-fighter.png"
[defend]
[frame]
begin=-150
end=150
image="konrad-fighter-defend.png"
[/frame]
[/defend]
profile=portraits/konrad.png
hitpoints=32
movement_type=smallfoot
movement=6
experience=28
level=1
alignment=lawful
advanceto=Commander
cost=18
usage=mixed fighter
unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to attack from enemies. However they have the potential to become great warriors one day."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=melee
damage=6
number=3
[animation]
[frame]
begin=-250
end=-100
image="konrad-fighter.png"
[/frame]
[frame]
begin=-100
end=50
image=""konrad-fighter-attack.png""
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/animation]
[/attack]
[variation]
variation_name=scepter
id=Fighter
name= _ "Fighter"
race=human
image="konrad-fighter.png"
[defend]
[frame]
begin=-150
end=150
image="konrad-fighter-defend.png"
[/frame]
[/defend]
profile=portraits/konrad.png
hitpoints=32
movement_type=smallfoot
movement=6
experience=28
level=1
alignment=lawful
advanceto=Commander
cost=35
usage=mixed fighter
unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to attack from enemies. However they have the potential to become great warriors one day."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=melee
damage=6
number=3
[animation]
[frame]
begin=-250
end=-100
image="konrad-fighter.png"
[/frame]
[frame]
begin=-100
end=50
image=""konrad-fighter-attack.png""
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/animation]
[/attack]
[attack]
name=scepter of fire
type=fire
range=ranged
special=magical
icon=attacks/fireball.png
damage=12
number=3
[animation]
[sound]
time=-200
sound=fire.wav
[/sound]
[missile_frame]
begin=-100
end=0
halo=halo/fireball-halo1.png:30,halo/fireball-halo2.png:30,halo/fireball-halo3.png:30,halo/fireball-halo4.png:30,halo/fireball-halo5.png:30,halo/fireball-halo6.png:30,halo/fireball-halo7.png:30,halo/fireball-halo8.png:30,halo/fireball-halo1.png:30,halo/fireball-halo2.png:30
image="projectiles/fireball-n.png"
image_diagonal="projectiles/fireball-nw.png"
[/missile_frame]
[/animation]
[/attack]
[/variation]
[/unit]

156
data/tutorial/units/Lord.cfg Executable file
View file

@ -0,0 +1,156 @@
[unit]
id=Lord
name= _ "Lord"
race=human
image="konrad-lord.png"
[defend]
[frame]
begin=-150
end=150
image="konrad-lord-defend.png"
[/frame]
[/defend]
image_leading="konrad-lord-leading.png"
profile=portraits/konrad.png
hitpoints=68
ability=leadership
movement_type=smallfoot
movement=6
experience=100
level=3
alignment=lawful
advanceto=null
{AMLA_TOUGH 3}
cost=65
usage=mixed fighter
unit_description= _ "The noble leaders of many troops, Lords are especially strong in melee combat, and also possess skill with the bow. Like Commanders, Lords possess leadership skills, and improve the fighting ability of all adjacent lower-level units."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=melee
damage=12
number=4
[animation]
[frame]
begin=-100
end=100
image="konrad-lord-attack.png"
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/animation]
[/attack]
[attack]
name=bow
type=pierce
range=ranged
damage=9
number=3
[animation]
[frame]
begin=-200
end=-100
image="konrad-lord-bow1.png"
[/frame]
[frame]
begin=-100
end=-0
image="konrad-lord-bow2.png"
[/frame]
[sound]
time=-100
sound=firearrow.wav
[/sound]
[sound]
time=0
sound=arrow-hit.wav
sound_miss=arrow-miss.wav
[/sound]
[missile_frame]
begin=-100
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[/animation]
[/attack]
[variation]
variation_name=scepter
id=Lord
name= _ "Lord"
race=human
image="konrad-lord.png"
[defend]
[frame]
begin=-150
end=150
image="konrad-lord-defend.png"
[/frame]
[/defend]
image_leading="konrad-lord-leading.png"
profile=portraits/konrad.png
hitpoints=68
ability=leadership
movement_type=smallfoot
movement=6
experience=100
level=3
alignment=lawful
advanceto=null
{AMLA_TOUGH 3}
cost=150
usage=mixed fighter
unit_description= _ "The noble leaders of many troops, Lords are especially strong in melee combat, and also possess skill with the bow. Like Commanders, Lords possess leadership skills, and improve the fighting ability of all adjacent lower-level units."
get_hit_sound=groan.wav
[attack]
name=sword
type=blade
range=melee
damage=12
number=4
[animation]
[frame]
begin=-100
end=100
image="konrad-lord-attack.png"
[/frame]
[sound]
time=-250
sound=sword-swish.wav
[/sound]
[/animation]
[/attack]
[attack]
name=scepter of fire
type=fire
range=ranged
special=magical
icon=attacks/fireball.png
damage=18
number=4
[animation]
[sound]
time=-200
sound=fire.wav
[/sound]
[missile_frame]
begin=-100
end=0
halo=halo/fireball-halo1.png:30,halo/fireball-halo2.png:30,halo/fireball-halo3.png:30,halo/fireball-halo4.png:30,halo/fireball-halo5.png:30,halo/fireball-halo6.png:30,halo/fireball-halo7.png:30,halo/fireball-halo8.png:30,halo/fireball-halo1.png:30,halo/fireball-halo2.png:30
image="projectiles/fireball-n.png"
image_diagonal="projectiles/fireball-nw.png"
[/missile_frame]
[/animation]
[/attack]
[/variation]
[/unit]