A bunch of little fixes to the first three scenarios of SoF.

This commit is contained in:
Lari Nieminen 2007-10-10 11:15:08 +00:00
parent cc9afb8299
commit 2563b4e63e
5 changed files with 71 additions and 34 deletions

View file

@ -14,15 +14,15 @@ Mm , Mm , Aa^Fpa , Mm , Mm , Mm
Mm , Aa^Fpa , Aa^Fpa , Mm , Ha , Mm , Ha , Ha , Ha , Rr , Rr , Cud , Rr , Uu , Xu , Uu , Uu , Uu , Xu , Uu , Uu , Uu , Uu , Xu , Uu , Uu , Uu , Uu , Uu , Uu^Vud , Rr , Uu
Ha , Ha , Ha , Ha , Mm , Ha , Ha , Gg , Rr , Rr , Rr , Rr , Rr , Cud , Xu , Uu , Cud , Uu , Xu , Uu , Uu , Uu , Xu , Xu , Xu , Xu , Xu , Xu , Uu , Xu , Uu , Xu
Ha , Ha , Ha , Gg , Ha , Gg , Aa^Fpa , Rr , Rr , Rr , 1 Rr , Rr , Rr , Ha , Xu , Xu , Uu , Xu , Xu , Xu , Uu , Uu , Uu , Uu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu
Ha , Gg , Gg , Ha , Ha , Gg^Ve , Gg , Rr , Rr , Aa , Aa , Gg^Ve , Ha , Ha , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Uu , Uu^Vud , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu
Ha , Gg , Gg , Ha , Ha , Gg^Vh , Gg , Rr , Rr , Aa , Aa , Gg^Vh , Ha , Ha , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Uu , Uu^Vud , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu
Gg , Gg , Ha , Aa , Gg , Gg , Rr , Rr , Rr , Gg , Gg , Aa^Fpa , Gg , Ha , Mm , Mm , Xu , Xu , Xu , Xu , Xu , Xu , Uh , Uu , Uu , Xu , Xu , Xu , Xu , Uu , Xu , Xu
Gg , Ha , Aa , Aa , Aa^Fpa , Gg , Rr , Rr , Gg , Aa , Aa^Fpa , Aa^Fpa , Aa , Ha , Ha , Ha , Mm , Xu , Xu , Xu , Xu , Xu , Uh , Uh , Uu , Uu , Xu , Xu , Uu , Cud , Uu , Xu
Ha , Ha , Ha , Gg , Gg , Rr , Rr , Rr , Aa , Aa , Aa^Fpa , Gg , Aa , Ha , Mm , Ha , Ha , Mm , Xu , Xu , Xu , Xu , Xu , Xu , Uu , Uu , Xu , Uu^Vu , Uu , Uu , Uu , Xu
Gg , Gg^Ve , Gg , Rr , Rr , Rr , Rr , Ha , Ha , Ha , Aa , Aa^Fpa , Gg , Gg , Ha , Ha , Mm , Mm , Mm , Xu , Xu , Xu , Xu , Xu , Uu , Uh , Uh , Xu , Xu , Xu , Xu , Xu
Gg , Gg^Vh , Gg , Rr , Rr , Rr , Rr , Ha , Ha , Ha , Aa , Aa^Fpa , Gg , Gg , Ha , Ha , Mm , Mm , Mm , Xu , Xu , Xu , Xu , Xu , Uu , Uh , Uh , Xu , Xu , Xu , Xu , Xu
Gg , Rr , Rr , Rr , Rr , Cud , Cud , Cud , Mm , Ha , Gg , Aa^Fpa , Aa^Fpa , Ha , Aa , Aa^Vha , Ha , Ha , Mm , Mm , Xu , Xu , Xu , Xu , Uu , Uu , Uh , Xu , Xu , Xu , Xu , Xu
Rr , Rr , Rr , Aa , Gg , Cud , 2 Kud , Cud , Mm , Ha , Gg , Ha , Aa^Fpa , Gg , Aa , Ha , Ha , Mm , Mm , Mm , Xu , Uu , Uu , Uu , Uu^Vu , Uu , Uh , Uu , Xu , Xu , Xu , Xu
Rr , Gg , Gg , Aa , Aa , Ha , Cud , Mm , Mm , Ha , Ha , Mm , Ha , Ha , Gg , Ha , Mm , Mm , Mm , Mm , Cud , Uu , Cud , Uu , Xu , Xu , Uu , Uu , Uu , Uu , Xu , Xu
Rr , Gg , Gg , Aa^Fpa , Gg^Ve , Ha , Mm , Ha , Ha , Ha , Mm , Mm , Mm , Aa^Fpa , Ha , Mm , Mm , Mm , Mm , Mm , Xu , Xu , Uu , Xu , Xu , Xu , Xu , Xu , Uh , Uh , Uu , Xu
Rr , Gg , Gg , Aa^Fpa , Aa^Vha , Ha , Mm , Ha , Ha , Ha , Mm , Mm , Mm , Aa^Fpa , Ha , Mm , Mm , Mm , Mm , Mm , Xu , Xu , Uu , Xu , Xu , Xu , Xu , Xu , Uh , Uh , Uu , Xu
Gg , Aa , Aa^Fpa , Aa^Fpa , Aa^Fpa , Gg , Gg , Gg , Aa , Aa , Ha , Ha , Aa^Fpa , Aa^Fpa , Ha , Ha , Mm , Mm , Mm , Mm , Mm , Mm , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Uu , Uu , Uu^Vu
Aa , Aa , Gg , Gg , Gg , Gg , Aa^Fpa , Gg , Aa , Gg^Ve , Ha , Ha , Aa^Fpa , Ha , Aa^Vha , Ha , Mm , Mm , Mm , Mm , Mm , Mm , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Uu , Uu
Aa , Aa , Gg , Gg , Gg , Gg , Aa^Fpa , Gg , Aa , Gg^Vh , Ha , Ha , Aa^Fpa , Ha , Aa^Vha , Ha , Mm , Mm , Mm , Mm , Mm , Mm , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Uu , Uu
Aa , Aa , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Ha , Ha , Ha , Ha , Ha , Ha , Mm , Mm , Mm , Mm , Mm , Mm , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Uh , Uh

View file

@ -21,7 +21,7 @@
user_description= _ "Rugnur"
side=1
canrecruit=1
overlays=misc/hero-icon.png
facing=sw
profile=portraits/rugnur.png
controller=human
recruit=Dwarvish Fighter,Dwarvish Thunderer
@ -36,24 +36,33 @@
user_description= _ "Haldric II"
side=2
canrecruit=1
overlays=hero-icon.png
profile=portraits/haldric-ii.png
{RECRUIT (Swordsman,Longbowman,Dragoon,Cavalryman,Red Mage,Mage) (Swordsman,Longbowman,Cavalryman,Red Mage,Mage) (Swordsman,Longbowman,Cavalryman,Mage)}
{GOLD 300 250 200}
team_name=good
[ai]
turns=1-3
recruitment_pattern=fighter,archer
aggression=-0.5
aggression=1.0
caution=0.5
leader_value=0
{QUANTITY villages_per_scout 8 6 5}
village_value=0.0
[/ai]
[ai]
turns=4-99
recruitment_pattern=fighter,archer
aggression=0.5
caution=0.5
leader_value=0
village_value=0.0
[protect_unit]
type=Caravan
radius=1
value=5
value=7
[/protect_unit]
[avoid]
x=0-32,14-32
x=0-32,17-32
y=1-15,24-32
[/avoid]
[/ai]
@ -67,9 +76,9 @@
user_description= _ "Glildur"
side=3
canrecruit=1
facing=sw
{RECRUIT (Elvish Fighter,Elvish Scout,Elvish Archer) (Elvish Fighter,Elvish Scout,Elvish Archer,Elvish Shaman) (Elvish Fighter,Elvish Scout,Elvish Archer,Elvish Shaman)}
{GOLD 175 225 250}
{INCOME 5 7 9}
[ai]
grouping=offensive
[/ai]
@ -82,7 +91,7 @@
story= _ "Ay, the Sceptre of Fire. The sceptre has a long, glorious, and fearful history. But I am not here to tell you how the jewel within it was brought over the ocean by Haldric the Great. Nor will I tell the story of Garard I, and the challenge he set, or that of Konrad, king of Wesnoth by virtue of the Sceptre."
[/part]
[part]
story= _ "I am here to tell you of its making. Of its crafting, deep in the caverns of Dwarfdom. And of the dwarves who made it; for they were great, they were. They are counted among the greatest of the heroes of ancient Knalga."
story= _ "I am here to tell you of its making. Of its crafting, deep in the caverns of dwarfdom. And of the dwarves who made it; for they were great, they were. They are counted among the greatest of the heroes of ancient Knalga."
[/part]
[part]
story= _ "Our story begins in a small border outpost in the southern hills of Knalga, with a young dwarf, named Rugnur, in charge of it. And with the second king of Wesnoth, Haldric II, riding up the road with an army behind him..."
@ -102,14 +111,14 @@
side=1
[objective]
#ifdef HARD
description= _ "Transport 5 caravans full of silver back to the Dwarvish citadel"
description= _ "Transport 5 caravans full of silver back to the dwarvish castle"
#else
description= _ "Transport 4 caravans full of silver back to the Dwarvish citadel"
description= _ "Transport 4 caravans full of silver back to the dwarvish castle"
#endif
condition=win
[/objective]
[objective]
description= _ "Bring Alanin, who has the Ruby of Fire, to the Dwarvish citadel"
description= _ "Bring Alanin, who has the Ruby of Fire, to the dwarvish castle"
condition=win
[/objective]
[objective]
@ -270,6 +279,10 @@
user_description= _ "Alanin"
{IS_HERO}
profile=portraits/alanin.png
[modifications]
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
[message]
description=Alanin
@ -342,10 +355,6 @@
side=1
[/unit]
#endif
[item]
x,y=27,5
image=items/chest.png
[/item]
[/event]
# Alanin reaches the dwarvish citadel
@ -353,10 +362,11 @@
[event]
name=moveto
[filter]
x=26-30
y=3-5
side=1
description=Alanin
[filter_location]
terrain=Kud,Cud
[/filter_location]
[/filter]
[message]
description=Alanin

View file

@ -29,8 +29,8 @@
# Give Rugnur control of all the non-boneyard villages inside the cave.
# Trolls are going to take a couple of these fairly quickly.
{STARTING_VILLAGES 1 8}
{STARTING_VILLAGES_AREA 1 9 11 2}
{STARTING_VILLAGES_AREA 1 14 11 3}
{STARTING_VILLAGES_AREA 1 26 11 6}
[side]
type=Elvish Captain
@ -40,7 +40,6 @@
canrecruit=1
{RECRUIT (Elvish Fighter,Elvish Scout,Elvish Archer,Elvish Shaman) (Elvish Fighter,Elvish Hero,Elvish Scout,Elvish Archer,Elvish Shaman) (Elvish Fighter,Elvish Hero,Elvish Scout,Elvish Archer,Elvish Ranger,Elvish Shaman)}
{GOLD 200 250 300}
{INCOME 5 7 9}
[ai]
grouping=offensive
[/ai]
@ -74,7 +73,7 @@
condition=win
[/objective]
[objective]
description= _ "Kill all elves who are in the caves after the gates are closed"
description= _ "Kill all elves in the caves after the gates are closed"
condition=win
[/objective]
[objective]
@ -235,6 +234,7 @@
user_description= _ "Baglur"
{IS_HERO}
profile=portraits/baglur.png
facing=sw
[modifications]
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
@ -262,7 +262,7 @@
[/message]
[message]
description=Baglur
message= _ "Agh, well that's the difficulty. Its a magic gate. Indestructible. But that means it can only be closed by magic. You need to position a warrior on each of the six glyphs. When all are occupied, the gates will close. Then the elves will be shut out of the caves forever, at least through this entrance."
message= _ "Agh, well that's the difficulty. It's a magic gate. Indestructible. But that means it can only be closed by magic. You need to position a warrior on each of the six glyphs. When all are occupied, the gates will close. Then the elves will be shut out of the caves forever, at least through this entrance."
[/message]
[message]
description=Rugnur
@ -286,7 +286,7 @@
[/message]
[message]
description=Rugnur
message= _ "You may be more powerful than us, but I doubt even you can blast through Dwarf-made stonecraft. We refuse - now let's close these gates!"
message= _ "You may be more powerful than us, but I doubt even you can blast through dwarf-made stonecraft. We refuse - now let's close these gates!"
[/message]
[item]
x,y=9,11
@ -369,6 +369,10 @@
side=1
[/filter]
[if]
[variable]
name=gate_closed
not_equals=yes
[/variable]
[have_unit]
x,y=9,11
side=1
@ -394,6 +398,8 @@
side=1
[/have_unit]
[then]
{VARIABLE gate_closed yes}
[message]
description=Rugnur
message= _ "We have everyone positioned on the glyphs! What do we do now?"
@ -407,11 +413,16 @@
[/scroll_to]
[delay]
time=200
time=400
[/delay]
[sound]
name=explosion.ogg
[/sound]
[kill]
x,y=12,12
animate=yes
fire_event=yes
[/kill]
[removeitem]
x,y=12,12
[/removeitem]
@ -424,11 +435,16 @@
[/redraw]
[delay]
time=200
time=400
[/delay]
[sound]
name=explosion.ogg
[/sound]
[kill]
x,y=13,13
animate=yes
fire_event=yes
[/kill]
[removeitem]
x,y=13,13
[/removeitem]
@ -441,11 +457,16 @@
[/redraw]
[delay]
time=200
time=400
[/delay]
[sound]
name=explosion.ogg
[/sound]
[kill]
x,y=14,13
animate=yes
fire_event=yes
[/kill]
[removeitem]
x,y=14,13
[/removeitem]
@ -505,7 +526,7 @@
[objectives]
side=1
[objective]
description= _ "Kill all elves who are in the caves"
description= _ "Kill all elves in the caves"
condition=win
[/objective]
[objective]
@ -530,6 +551,10 @@
[if]
[have_unit]
side=2
[not]
x,y=$x1,$y1
[/not]
[/have_unit]
[then]
[/then]

View file

@ -31,6 +31,7 @@
side=2
canrecruit=1
profile=portraits/durstorn.png
facing=sw
recruit=Dwarvish Fighter
[/side]
@ -59,6 +60,7 @@
type=Dwarvish Stalwart
description=Neglur
user_description= _ "Neglur"
facing=sw
[modifications]
{TRAIT_LOYAL}
{TRAIT_RESILIENT}
@ -70,6 +72,7 @@
type=Dwarvish Runesmith
description=Glinar
user_description= _ "Glinar"
facing=sw
[modifications]
{TRAIT_LOYAL}
{TRAIT_QUICK}

View file

@ -27,8 +27,7 @@
fog=yes
[/side]
# Start Rugnur with all villages within the fortified area.
{STARTING_VILLAGES 1 10}
{STARTING_VILLAGES 1 3}
[side]
no_leader=yes