wesnoth/data/tutorial/units/Commander.cfg
Jérémy Rosen 0b9b041025 change in sound handling WML within animations,
...sound are now part of the frame, and not a separate element
2006-03-02 23:33:46 +00:00

212 lines
4.5 KiB
INI

[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
[abilities]
{ABILITY_LEADERSHIP}
[/abilities]
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"
sound=sword-swish.wav
[/frame]
[frame]
begin=-100
end=100
image=""konrad-commander-attack.png""
[/frame]
[/animation]
[/attack]
[attack]
name=bow
type=pierce
range=ranged
damage=6
number=3
[animation]
hits=no
[missile_frame]
begin=-100
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-100
end=0
image=""konrad-commander-ranged.png""
sound=firearrow.wav
[/frame]
[frame]
sound=arrow-miss.wav
begin=0
end=1
image=""konrad-commander-ranged.png""
[/frame]
[frame]
begin=1
end=100
image=""konrad-commander-ranged.png""
[/frame]
[/animation]
[animation]
hits=yes
[missile_frame]
begin=-100
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-100
end=0
image=""konrad-commander-ranged.png""
sound=firearrow.wav
[/frame]
[frame]
sound=arrow-hit.wav
begin=0
end=1
image=""konrad-commander-ranged.png""
[/frame]
[frame]
begin=1
end=100
image=""konrad-commander-ranged.png""
[/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
[abilities]
{ABILITY_LEADERSHIP}
[/abilities]
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"
sound=sword-swish.wav
[/frame]
[frame]
begin=-100
end=100
image=""konrad-commander-attack.png""
[/frame]
[/animation]
[/attack]
[attack]
name=scepter of fire
type=fire
range=ranged
special=magical
icon=attacks/fireball.png
damage=16
number=4
[animation]
[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]
[frame]
sound=fire.wav
begin=-200
end=-199
[/frame]
[/animation]
[/attack]
[/variation]
[/unit]