Revert "LoW: Wrapped event actionWML into [command]."

This reverts commit 49f7103ad1.

# Conflicts:
#	data/campaigns/Legend_of_Wesmere/scenarios/chapter3/09_Bounty_Hunters.cfg
This commit is contained in:
Charles Dang 2016-08-07 10:23:02 +11:00
parent 31c31a674f
commit 40bc508f7f
13 changed files with 1584 additions and 1728 deletions

View file

@ -187,155 +187,151 @@ Chapter Two"
[event]
name=start
[command]
[objectives]
{OBJECTIVES}
[/objectives]
[objectives]
{OBJECTIVES}
[/objectives]
#ifdef MULTIPLAYER
[persistent_carryover_unstore]
scenario_id = LoW_Chapter_One
[/persistent_carryover_unstore]
[persistent_carryover_unstore]
scenario_id = LoW_Chapter_One
[/persistent_carryover_unstore]
#endif
# wmllint: who RECALL_LOYALS is Huraldur
#{RECALL_LOYALS}
# Kalenz's pals
[recall]
id=Huraldur
x=7
y=28
[/recall]
# wmllint: who RECALL_LOYALS is Huraldur
#{RECALL_LOYALS}
# Kalenz's pals
[recall]
id=Huraldur
x=7
y=28
[/recall]
[recall]
id=Anduilas
x=6
y=28
[/recall]
[recall]
id=Anduilas
x=6
y=28
[/recall]
# Landar's pals
[recall]
id=Arkildur
x=17
y=29
[/recall]
# Landar's pals
[recall]
id=Arkildur
x=17
y=29
[/recall]
[recall]
id=scout
x=16
y=28
[/recall]
[recall]
id=scout
x=16
y=28
[/recall]
#ifdef MULTIPLAYER
# TODO: this is the only unit that player3 controls until
# Cleodil is freed by the other players. We should make this
# scenario more intesting for player 3 during this time.
# Maybe give him some units that managed to escape and want to help?
{UNIT 3 (Elvish Ranger) 23 24 (role=liberator)}
# TODO: this is the only unit that player3 controls until
# Cleodil is freed by the other players. We should make this
# scenario more intesting for player 3 during this time.
# Maybe give him some units that managed to escape and want to help?
{UNIT 3 (Elvish Ranger) 23 24 (role=liberator)}
#endif
[allow_extra_recruit]
id=Kalenz,Landar
extra_recruit=Elvish Scout
[/allow_extra_recruit]
[allow_extra_recruit]
id=Kalenz,Landar
extra_recruit=Elvish Scout
[/allow_extra_recruit]
[redraw]
[/redraw]
[redraw]
[/redraw]
[message]
id=Kalenz
message= _ "It seems that we are too late. The Treasury has fallen to the Saurians..."
[/message]
[message]
id=Huraldur
message= _ "And I see the remains of the garrison has been taken prisoner."
[/message]
[message]
id=Kalenz
message= _ "It seems that we are too late. The Treasury has fallen to the Saurians..."
[/message]
[message]
id=Huraldur
message= _ "And I see the remains of the garrison has been taken prisoner."
[/message]
{HIGHLIGHT_IMAGE 11 11 items/cage.png ("units/elves-wood/shyde.png~RC(magenta>red)")}
[scroll_to_unit]
id=Kalenz
[/scroll_to_unit]
{HIGHLIGHT_IMAGE 11 11 items/cage.png ("units/elves-wood/shyde.png~RC(magenta>red)")}
[scroll_to_unit]
id=Kalenz
[/scroll_to_unit]
[message]
id=Kalenz
message= _ "We must free them and make these saurians pay. Attack and leave no one alive!"
[/message]
[message]
id=Kalenz
message= _ "We must free them and make these saurians pay. Attack and leave no one alive!"
[/message]
#ifdef MULTIPLAYER
[message]
role=liberator
message= _ "I will do as you say, sneak in and free them. Wish me good fortune and no discovery!"
[/message]
[message]
id=Kalenz
message= _ "Go swiftly and silently."
[/message]
[move_unit]
role=liberator
to_x=11
to_y=11
fire_event=yes
[/move_unit]
[message]
role=liberator
message= _ "I will do as you say, sneak in and free them. Wish me good fortune and no discovery!"
[/message]
[message]
id=Kalenz
message= _ "Go swiftly and silently."
[/message]
[move_unit]
role=liberator
to_x=11
to_y=11
fire_event=yes
[/move_unit]
#endif
[message]
id=Shurm
message= _ "More elves are coming! Too late, weve taken all your gold and well get more gold from the orcs for helping them out!"
[/message]
[message]
id=Kalenz
message= _ "You will not live to enjoy it!"
[/message]
[/command]
[message]
id=Shurm
message= _ "More elves are coming! Too late, weve taken all your gold and well get more gold from the orcs for helping them out!"
[/message]
[message]
id=Kalenz
message= _ "You will not live to enjoy it!"
[/message]
[/event]
[event]
name=free cleodil
[command]
{INCIDENTAL_MUSIC love_theme.ogg}
{INCIDENTAL_MUSIC love_theme.ogg}
[unit]
# wmllint: who CLEODIL is Cleodil
{CLEODIL}
[unit]
# wmllint: who CLEODIL is Cleodil
{CLEODIL}
#ifdef MULTIPLAYER
side=3
side=3
#else
side=1
side=1
#endif
x,y=11,11
[/unit]
x,y=11,11
[/unit]
[remove_item]
x,y=11,11
[/remove_item]
[remove_item]
x,y=11,11
[/remove_item]
[unit]
{LARIL}
[unit]
{LARIL}
#ifdef MULTIPLAYER
side=3
side=3
#else
side=1
side=1
#endif
x,y=11,11
[/unit]
[unit]
{TAMERIL_ISIMERIL}
x,y=11,11
[/unit]
[unit]
{TAMERIL_ISIMERIL}
#ifdef MULTIPLAYER
side=3
side=3
#else
side=1
side=1
#endif
x,y=11,11
[/unit]
x,y=11,11
[/unit]
[message]
id=Cleodil
message= _ "We are free! My lord Kalenz, from this day forward I and my men are your sworn followers. And there is that which you should know about the treasure the orcs seek..."
[/message]
[message]
id=Kalenz
message= _ "I accept your service gratefully, for I will need every sword and bow and spell with which to defeat these invaders. There will be time for talk later; now, we must fight."
[/message]
[/command]
[message]
id=Cleodil
message= _ "We are free! My lord Kalenz, from this day forward I and my men are your sworn followers. And there is that which you should know about the treasure the orcs seek..."
[/message]
[message]
id=Kalenz
message= _ "I accept your service gratefully, for I will need every sword and bow and spell with which to defeat these invaders. There will be time for talk later; now, we must fight."
[/message]
[/event]
[event]
@ -346,19 +342,17 @@ Chapter Two"
y=11
[/filter]
[command]
[fire_event]
name=free cleodil
[/fire_event]
[fire_event]
name=free cleodil
[/fire_event]
[objectives]
{OBJECTIVES}
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[/objectives]
[/command]
[objectives]
{OBJECTIVES}
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[/objectives]
[/event]
#undef OBJECTIVES
[event]
@ -368,44 +362,42 @@ Chapter Two"
[/proceed_to_next_scenario]
[/filter_condition]
[command]
[if]
[not]
[have_unit]
id=Cleodil
[/have_unit]
[/not]
[if]
[not]
[have_unit]
id=Cleodil
[/have_unit]
[/not]
[then]
[message]
id=Kalenz
message= _ "Without their leaders, the saurians flee in panic. Let us free the treasurys garrison before they can find it in them to rally and return."
[/message]
[then]
[message]
id=Kalenz
message= _ "Without their leaders, the saurians flee in panic. Let us free the treasurys garrison before they can find it in them to rally and return."
[/message]
[fire_event]
name=free cleodil
[/fire_event]
[/then]
[/if]
[fire_event]
name=free cleodil
[/fire_event]
[/then]
[/if]
[message]
id=Kalenz
message= _ "We have defeated the saurians and freed the garrison, and that is no small thing... but our gold is gone."
[/message]
[message]
id=Cleodil
# wmllint: directory spelling dastone
message= _ "The saurians happily carried away the treasury gold, but they had come here looking for something more specific... some individual object they called dastone. I am sorry, my lord Kalenz, I could not understand their distorted speech very well."
[/message]
[message]
race=elf
message= _ "The war with the Orcs goes poorly. The Kalian will need that gold back to buy arms and food, to hire artisans, to support its armies."
[/message]
[message]
id=Kalenz
message= _ "We will hunt down those saurians and retrieve our gold. More, we must teach them that it is lethal folly to raid us, else they will plague us like rats."
[/message]
[/command]
[message]
id=Kalenz
message= _ "We have defeated the saurians and freed the garrison, and that is no small thing... but our gold is gone."
[/message]
[message]
id=Cleodil
# wmllint: directory spelling dastone
message= _ "The saurians happily carried away the treasury gold, but they had come here looking for something more specific... some individual object they called dastone. I am sorry, my lord Kalenz, I could not understand their distorted speech very well."
[/message]
[message]
race=elf
message= _ "The war with the Orcs goes poorly. The Kalian will need that gold back to buy arms and food, to hire artisans, to support its armies."
[/message]
[message]
id=Kalenz
message= _ "We will hunt down those saurians and retrieve our gold. More, we must teach them that it is lethal folly to raid us, else they will plague us like rats."
[/message]
[/event]
[event]
@ -413,16 +405,14 @@ Chapter Two"
[filter]
id=Shurm
[/filter]
[command]
[message]
speaker=unit
message= _ "I am ashamed to die at the hands of tree-shaggers!"
[/message]
[message]
speaker=second_unit
message= _ "When you meet your kin in the dry hells, tell them you perished at the hands of Kalenzs elves!"
[/message]
[/command]
[message]
speaker=unit
message= _ "I am ashamed to die at the hands of tree-shaggers!"
[/message]
[message]
speaker=second_unit
message= _ "When you meet your kin in the dry hells, tell them you perished at the hands of Kalenzs elves!"
[/message]
[/event]
{DEFAULT_VICTORY 0.4}

View file

@ -197,96 +197,92 @@
[event]
name=prestart
[command]
[objectives]
side=0
[objectives]
side=0
#TODO maybe switch the both win objectivs
[objective]
description= _ "Enter the Saurian Treasury with a horse and leave with the gold"
condition=win
[/objective]
{ALTERNATIVE_OBJECTIVE (_ "Defeat all enemy leaders")}
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
#TODO maybe switch the both win objectivs
[objective]
description= _ "Enter the Saurian Treasury with a horse and leave with the gold"
condition=win
[/objective]
{ALTERNATIVE_OBJECTIVE (_ "Defeat all enemy leaders")}
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
{TURNS_RUN_OUT}
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[recall]
id=Arkildur
x=5
y=11
[/recall]
[recall]
id=Arkildur
x=5
y=11
[/recall]
[recall]
id=scout
x=4
y=10
[/recall]
[recall]
id=scout
x=4
y=10
[/recall]
[recall]
id=Tameril-Isimeril
x=2
y=14
[/recall]
[recall]
id=Tameril-Isimeril
x=2
y=14
[/recall]
[recall]
id=Laril
x=2
y=15
[/recall]
[recall]
id=Laril
x=2
y=15
[/recall]
[recall]
id=Huraldur
x=4
y=19
[/recall]
[recall]
id=Huraldur
x=4
y=19
[/recall]
[recall]
id=Anduilas
x=4
y=18
[/recall]
[/command]
[recall]
id=Anduilas
x=4
y=18
[/recall]
[/event]
[event]
name=start
[command]
[message]
id=Kalenz
message= _ "There they are. They have dumped our gold in their own treasury. We must strike quickly and leave with the gold before they can summon their full host."
[/message]
[message]
id=Cleodil
message= _ "Moving so much gold is no light matter. We will need horses to bear it back home."
[/message]
[message]
id=Hraurg
# wmllint: local spelling ussss
#po: Saurians often hiss their sibilants; do this in your language.
message= _ "The elves have followed ussss! We must hold the gold until reinforcements arrive."
[/message]
#TODO get rid of magic number
{HIGHLIGHT_IMAGE 20 21 items/chest.png ()}
[/command]
[message]
id=Kalenz
message= _ "There they are. They have dumped our gold in their own treasury. We must strike quickly and leave with the gold before they can summon their full host."
[/message]
[message]
id=Cleodil
message= _ "Moving so much gold is no light matter. We will need horses to bear it back home."
[/message]
[message]
id=Hraurg
# wmllint: local spelling ussss
#po: Saurians often hiss their sibilants; do this in your language.
message= _ "The elves have followed ussss! We must hold the gold until reinforcements arrive."
[/message]
#TODO get rid of magic number
{HIGHLIGHT_IMAGE 20 21 items/chest.png ()}
[/event]
#define TREASURE_CHEST POSITION
@ -303,38 +299,36 @@
type={ELVISH_MOUNTED_UNITS}
[/filter]
[command]
[object]
image=items/chest.png
name= _ "Treasure Chest"
description= _ "The bearer of this chest is slowed in movement and attack by the same effect as the slow weapon special. Slow halves the damage caused by attacks and the movement cost for a slowed unit is doubled. A unit that is slowed will feature a snail icon in its sidebar information when it is selected."
[effect]
apply_to=status
add=slowed
[filter]
type={ELVISH_MOUNTED_UNITS}
[/filter]
[/effect]
duration=scenario
[object]
image=items/chest.png
name= _ "Treasure Chest"
description= _ "The bearer of this chest is slowed in movement and attack by the same effect as the slow weapon special. Slow halves the damage caused by attacks and the movement cost for a slowed unit is doubled. A unit that is slowed will feature a snail icon in its sidebar information when it is selected."
[effect]
apply_to=status
add=slowed
[filter]
x,y={POSITION}
type={ELVISH_MOUNTED_UNITS}
[/filter]
[then]
[remove_item]
image=items/chest.png
x,y=$x1,$y1
[/remove_item]
[role]
x,y={POSITION}
role=gold_carrier
[/role]
[unit_overlay]
x,y={POSITION}
image=items/gold-coins-small.png
[/unit_overlay]
[/then]
[/object]
[/command]
[/effect]
duration=scenario
[filter]
x,y={POSITION}
[/filter]
[then]
[remove_item]
image=items/chest.png
x,y=$x1,$y1
[/remove_item]
[role]
x,y={POSITION}
role=gold_carrier
[/role]
[unit_overlay]
x,y={POSITION}
image=items/gold-coins-small.png
[/unit_overlay]
[/then]
[/object]
[/event]
#enddef
@ -342,9 +336,7 @@
[event]
name=side turn
first_time_only=no
[command]
{MODIFY_UNIT role=gold_carrier status.slowed yes }
[/command]
{MODIFY_UNIT role=gold_carrier status.slowed yes }
[/event]
[event]
@ -355,50 +347,48 @@
type={ELVISH_MOUNTED_UNITS}
[/filter]
[command]
[music]
name=vengeful.ogg
play_once=yes
[/music]
[music]
name=vengeful.ogg
play_once=yes
[/music]
[message]
speaker=unit
message= _ "We have reached the treasury. Guard me while I bring the pillage home."
[/message]
[message]
speaker=unit
message= _ "We have reached the treasury. Guard me while I bring the pillage home."
[/message]
[objectives]
side=0
[objective]
description= _ "New Objective: Transport the treasure with a rider to the signpost"
condition=win
[/objective]
{ALTERNATIVE_OBJECTIVE (_ "Defeat all enemy leaders")}
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objectives]
side=0
[objective]
description= _ "New Objective: Transport the treasure with a rider to the signpost"
condition=win
[/objective]
{ALTERNATIVE_OBJECTIVE (_ "Defeat all enemy leaders")}
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
{TURNS_RUN_OUT}
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
{HIGHLIGHT_IMAGE 1 22 scenery/signpost.png ()}
[scroll_to_unit]
role=gold_carrier
[/scroll_to_unit]
[/command]
{HIGHLIGHT_IMAGE 1 22 scenery/signpost.png ()}
[scroll_to_unit]
role=gold_carrier
[/scroll_to_unit]
[/event]
{TREASURE_CHEST {TREASURY_LOCATION}}
@ -408,12 +398,10 @@
[filter]
id=Spahr
[/filter]
[command]
[message]
speaker=unit
message= _ "Aargh! I shall never see the bright moons face again!"
[/message]
[/command]
[message]
speaker=unit
message= _ "Aargh! I shall never see the bright moons face again!"
[/message]
[/event]
[event]
@ -422,9 +410,7 @@
[filter]
role=gold_carrier
[/filter]
[command]
{TREASURE_CHEST ($x1,$y1)}
[/command]
{TREASURE_CHEST ($x1,$y1)}
[/event]
[event]
@ -435,21 +421,19 @@
y=22
[/filter]
[command]
[remove_unit_overlay]
role=gold_carrier
image=items/gold-coins-small.png
[/remove_unit_overlay]
[remove_unit_overlay]
role=gold_carrier
image=items/gold-coins-small.png
[/remove_unit_overlay]
[endlevel]
result=victory
[endlevel]
result=victory
#ifdef MULTIPLAYER
bonus=0.4
bonus=0.4
#else
bonus=yes
bonus=yes
#endif
[/endlevel]
[/command]
[/endlevel]
[/event]
[event]
@ -458,82 +442,80 @@
[proceed_to_next_scenario]
[/proceed_to_next_scenario]
[/filter_condition]
[command]
[remove_unit_overlay]
role=gold_carrier
image=items/gold-coins-small.png
[/remove_unit_overlay]
[message]
id=Kalenz
message= _ "We have recovered our gold; it is well."
[/message]
[if]
[not]
[remove_unit_overlay]
role=gold_carrier
image=items/gold-coins-small.png
[/remove_unit_overlay]
[message]
id=Kalenz
message= _ "We have recovered our gold; it is well."
[/message]
[if]
[not]
[have_unit]
role=gold_carrier
[/have_unit]
[/not]
[then]
[if]
[have_unit]
role=gold_carrier
id=Huraldur
[/have_unit]
[/not]
[then]
[if]
[have_unit]
[then]
[role]
id=Huraldur
[/have_unit]
[then]
[role]
id=Huraldur
role=gold_carrier
[/role]
[/then]
[else]
[role]
id=Landar
role=gold_carrier
[/role]
[/else]
[/if]
[/then]
[/if]
[message]
role=gold_carrier
message= _ "We have recovered much more than our own treasure. These saurians would seem to have taken up robbery as a vocation!"
[/message]
[message]
id=Spahr
message= _ "They took all our treasure! Quickly, place ambushers on all trails from here to Wesmere. I will give 500 gold to whoever kills their leader. They must not escape."
[/message]
[message]
id=Kalenz
#po: "fare" is an archaic English verb meaning to travel or move.
message= _ "Turnabout is fair play. Now that weve retrieved the gold, let us fare swiftly back to Wesmere and bring the gold back as Cleodil wishes. The Saurians will likely be infesting the direct route, so we will detour to the north."
[/message]
[message]
id=Landar
message= _ "But Kalenz, this is a boon unlooked for! With the surplus gold we could take the war immediately to the Orcs. We could come down upon them like thunder while they believe us still reeling from their invasion!"
[/message]
[message]
id=Cleodil
message= _ "But the Kalians gold is the Kalians. Would you have us divide our forces, some to return it to them while others attempt your thunder-stroke?"
[/message]
[message]
id=Kalenz
message= _ "Cleodils doubt is wise. Only a foolish commander divides his forces in the presence of superior numbers; to do so is to invite defeat in detail."
[/message]
[message]
id=Cleodil
message= _ "Landar, thoughts that brew in hot blood are seldom well-found."
[/message]
[message]
id=Landar
message= _ "It... is so. Again you speak wisdom. Very well; to the Kalian!"
[/message]
role=gold_carrier
[/role]
[/then]
[else]
[role]
id=Landar
role=gold_carrier
[/role]
[/else]
[/if]
[/then]
[/if]
[message]
role=gold_carrier
message= _ "We have recovered much more than our own treasure. These saurians would seem to have taken up robbery as a vocation!"
[/message]
[message]
id=Spahr
message= _ "They took all our treasure! Quickly, place ambushers on all trails from here to Wesmere. I will give 500 gold to whoever kills their leader. They must not escape."
[/message]
[message]
id=Kalenz
#po: "fare" is an archaic English verb meaning to travel or move.
message= _ "Turnabout is fair play. Now that weve retrieved the gold, let us fare swiftly back to Wesmere and bring the gold back as Cleodil wishes. The Saurians will likely be infesting the direct route, so we will detour to the north."
[/message]
[message]
id=Landar
message= _ "But Kalenz, this is a boon unlooked for! With the surplus gold we could take the war immediately to the Orcs. We could come down upon them like thunder while they believe us still reeling from their invasion!"
[/message]
[message]
id=Cleodil
message= _ "But the Kalians gold is the Kalians. Would you have us divide our forces, some to return it to them while others attempt your thunder-stroke?"
[/message]
[message]
id=Kalenz
message= _ "Cleodils doubt is wise. Only a foolish commander divides his forces in the presence of superior numbers; to do so is to invite defeat in detail."
[/message]
[message]
id=Cleodil
message= _ "Landar, thoughts that brew in hot blood are seldom well-found."
[/message]
[message]
id=Landar
message= _ "It... is so. Again you speak wisdom. Very well; to the Kalian!"
[/message]
#ifdef MULTIPLAYER
{LOOT 600 1}
{LOOT 600 2}
{LOOT 600 3}
{LOOT 600 1}
{LOOT 600 2}
{LOOT 600 3}
#else
{LOOT 1800 1}
{LOOT 1800 1}
#endif
[/command]
[/event]
{DEFAULT_VICTORY 0.4}

View file

@ -67,9 +67,7 @@
[/side]
[event]
name=prestart
[command]
{RECALL_LOYALS}
[/command]
{RECALL_LOYALS}
[/event]
# wmllint: skip-side
@ -216,82 +214,77 @@
[event]
name=prestart
[command]
{RECALL_LOYALS}
[/command]
{RECALL_LOYALS}
[/event]
[event]
name=prestart
[command]
[objectives]
side=0
[objective]
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[objectives]
side=0
[objective]
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
{TURNS_RUN_OUT}
[note]
description= _ "Try to save leveled dwarf units"
[/note]
[/objectives]
[/command]
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[note]
description= _ "Try to save leveled dwarf units"
[/note]
[/objectives]
[/event]
[event]
name=start
[command]
[message]
id=Kalenz
message= _ "Whats this? It appears the orcs have surrounded a dwarvish enclave. And by the sound of the bellowing I hear, I think our old friend, Olurf, is here."
[/message]
[message]
id=Olurf
message= _ "You again? Maybe ye were not completely wrong when ye predicted the orcs would attack us. We ha been forced from our home and are now surrounded."
[/message]
[message]
id=Cleodil
message= _ "Let us give them aid — its clear they need it!"
[/message]
[message]
id=Landar
message= _ "Help them? They would not even let us pass through their land to avoid the trolls. You remember, Kalenz?"
[/message]
[message]
id=Kalenz
message= _ "Our enemy is the orcs, not the dwarves. Besides, the orcs are in our way. Olurf, we cannot let you have all the fun here!"
[/message]
[message]
id=Olurf
message= _ "For an elf, you think like a dwarf! I think I like you! " + {WHISPER _"whisper^—For an elf..."}
[/message]
[message]
id=Kalenz
message= _ "Whats this? It appears the orcs have surrounded a dwarvish enclave. And by the sound of the bellowing I hear, I think our old friend, Olurf, is here."
[/message]
[message]
id=Olurf
message= _ "You again? Maybe ye were not completely wrong when ye predicted the orcs would attack us. We ha been forced from our home and are now surrounded."
[/message]
[message]
id=Cleodil
message= _ "Let us give them aid — its clear they need it!"
[/message]
[message]
id=Landar
message= _ "Help them? They would not even let us pass through their land to avoid the trolls. You remember, Kalenz?"
[/message]
[message]
id=Kalenz
message= _ "Our enemy is the orcs, not the dwarves. Besides, the orcs are in our way. Olurf, we cannot let you have all the fun here!"
[/message]
[message]
id=Olurf
message= _ "For an elf, you think like a dwarf! I think I like you! " + {WHISPER _"whisper^—For an elf..."}
[/message]
{AI_CONTROLLER_ALLOW_LEADER_CONTROL 1 2}
[/command]
{AI_CONTROLLER_ALLOW_LEADER_CONTROL 1 2}
[/event]
[event]
@ -300,63 +293,61 @@
[proceed_to_next_scenario]
[/proceed_to_next_scenario]
[/filter_condition]
[command]
[message]
id=Olurf
message= _ "The orcs ha been defeated. My lord, we are in your debt."
[/message]
[message]
id=Kalenz
message= _ "We must put aside our differences and ally against the orcish menace. Olurf, join us!"
[/message]
[message]
id=Olurf
message= _ "Dwarves, ally with elves? I owe ye a debt, but my kin willna be happy at the thought."
[/message]
[message]
id=Kalenz
message= _ "There will be a big fight with the orcs in Wesmere very soon. If you can cover our flank to the north, I will pay you 400 gold."
[/message]
[message]
id=Olurf
message= _ "A proper contract for good money? Thats a different matter; Im sure I can find some o my people willing to fight on those terms!"
[/message]
[message]
id=Landar
message= _ "What? Kalenz, are you out of your mind? Surely you will not throw away 400 gold on this scheming mercenary!"
[/message]
[message]
id=Olurf
message= _ "Where theres a contract, our honor is involved. We will be there to cover your northern flank or else I will return your gold!"
[/message]
[message]
id=Cleodil
message=_ "I sense no falsity behind his speech, my lord."
[/message]
[message]
id=Kalenz
message= _ "I, too, believe him. Dwarves may be... rough... by our standards, but they are not liars. I think he knows that if he does not honor his contract, next time we will not be there to come to his aid."
[/message]
[message]
id=Olurf
message= _ "The orcs ha been defeated. My lord, we are in your debt."
[/message]
[message]
id=Kalenz
message= _ "We must put aside our differences and ally against the orcish menace. Olurf, join us!"
[/message]
[message]
id=Olurf
message= _ "Dwarves, ally with elves? I owe ye a debt, but my kin willna be happy at the thought."
[/message]
[message]
id=Kalenz
message= _ "There will be a big fight with the orcs in Wesmere very soon. If you can cover our flank to the north, I will pay you 400 gold."
[/message]
[message]
id=Olurf
message= _ "A proper contract for good money? Thats a different matter; Im sure I can find some o my people willing to fight on those terms!"
[/message]
[message]
id=Landar
message= _ "What? Kalenz, are you out of your mind? Surely you will not throw away 400 gold on this scheming mercenary!"
[/message]
[message]
id=Olurf
message= _ "Where theres a contract, our honor is involved. We will be there to cover your northern flank or else I will return your gold!"
[/message]
[message]
id=Cleodil
message=_ "I sense no falsity behind his speech, my lord."
[/message]
[message]
id=Kalenz
message= _ "I, too, believe him. Dwarves may be... rough... by our standards, but they are not liars. I think he knows that if he does not honor his contract, next time we will not be there to come to his aid."
[/message]
#ifdef MULTIPLAYER
[gold]
side=1
amount=-200
[/gold]
[gold]
side=2
amount=-200
[/gold]
[gold]
side=1
amount=-200
[/gold]
[gold]
side=2
amount=-200
[/gold]
#else
[gold]
side=1
amount=-400
[/gold]
[gold]
side=1
amount=-400
[/gold]
#endif
[sound]
name=gold.ogg
[/sound]
[/command]
[sound]
name=gold.ogg
[/sound]
[/event]
{DEFAULT_VICTORY 0.4}

View file

@ -97,10 +97,8 @@
[event]
name=prestart
[command]
# the usual suspects
{RECALL_LOYALS}
[/command]
# the usual suspects
{RECALL_LOYALS}
[/event]
# wmllint: skip-side
@ -329,23 +327,19 @@
[event]
name=prestart
[command]
[objectives]
{OBJECTIVES}
[/objectives]
[/command]
[objectives]
{OBJECTIVES}
[/objectives]
[/event]
[event]
name=enemies defeated
[command]
[endlevel]
save=no
result=victory
bonus=no
carryover_percentage=0
[/endlevel]
[/command]
[endlevel]
save=no
result=victory
bonus=no
carryover_percentage=0
[/endlevel]
[/event]
#Let the orcs flee if their numbers go low and the elves go high
@ -360,55 +354,51 @@
[/variable]
[/filter_condition]
[command]
[if]
[have_unit]
side=7
count=1-15
[/have_unit]
[have_unit]
side=1,2,3,4
count=25-999
[/have_unit]
[then]
[message]
canrecruit=yes
[and]
race=orc
[or]
race=troll
[/or]
[/and]
message= _ "Flee! They have broken us!"
[/message]
[message]
id=Landar
message= _ "Hunt them down and kill every single one of them!"
[/message]
[message]
id=Cleodil
message= _ "It is not wise to put a wounded foe in a desperate situation; they will but fight harder for it. Break their will and let them flee, so they will spread fear of us among their kind."
[/message]
[message]
id=Galtrid
message= _ "She is right. Dont let them lure you away from the Kalian, preparations for when more of them arrive must be made."
[/message]
[fire_event]
name=enemies defeated
[/fire_event]
[/then]
[/if]
[/command]
[if]
[have_unit]
side=7
count=1-15
[/have_unit]
[have_unit]
side=1,2,3,4
count=25-999
[/have_unit]
[then]
[message]
canrecruit=yes
[and]
race=orc
[or]
race=troll
[/or]
[/and]
message= _ "Flee! They have broken us!"
[/message]
[message]
id=Landar
message= _ "Hunt them down and kill every single one of them!"
[/message]
[message]
id=Cleodil
message= _ "It is not wise to put a wounded foe in a desperate situation; they will but fight harder for it. Break their will and let them flee, so they will spread fear of us among their kind."
[/message]
[message]
id=Galtrid
message= _ "She is right. Dont let them lure you away from the Kalian, preparations for when more of them arrive must be made."
[/message]
[fire_event]
name=enemies defeated
[/fire_event]
[/then]
[/if]
[/event]
[event]
name=time over
[command]
[message]
id=Kalenz
message= _ "The orcs are not defeated, and our troops and supplies are exhausted. This is the end!"
[/message]
[/command]
[message]
id=Kalenz
message= _ "The orcs are not defeated, and our troops and supplies are exhausted. This is the end!"
[/message]
[/event]
#### /Objectives and corresponding events ####
@ -416,34 +406,32 @@
[event]
name=start
[command]
[message]
id=Kalenz
message= _ "The orcs have pushed us back to the Kalian. There is no way out. We must win here!"
[/message]
[message]
id=Galtrid
message= _ "This is our final stand. If they take the Kalian, all is lost!"
[/message]
[message]
id=Landar
# wmllint: local spelling Elvenkind
message= _ "Galtrid, speak not of defeat. Elvenkind shall rise! Our enemies shall perish in blood and fire!"
[/message]
[message]
id=Cleodil
message= _ "It is a dark day indeed when elves must steel themselves with dreams of slaughter."
[/message]
[message]
id=Urug-Pir
# wmllint: local spelling da
message= _ "Well crush those weak elves and Ill get da stone!"
[/message]
[message]
id=El_Isomithir
message= _ "These are hardened orc and troll veterans. Men, prepare for a long, difficult fight..."
[/message]
[/command]
[message]
id=Kalenz
message= _ "The orcs have pushed us back to the Kalian. There is no way out. We must win here!"
[/message]
[message]
id=Galtrid
message= _ "This is our final stand. If they take the Kalian, all is lost!"
[/message]
[message]
id=Landar
# wmllint: local spelling Elvenkind
message= _ "Galtrid, speak not of defeat. Elvenkind shall rise! Our enemies shall perish in blood and fire!"
[/message]
[message]
id=Cleodil
message= _ "It is a dark day indeed when elves must steel themselves with dreams of slaughter."
[/message]
[message]
id=Urug-Pir
# wmllint: local spelling da
message= _ "Well crush those weak elves and Ill get da stone!"
[/message]
[message]
id=El_Isomithir
message= _ "These are hardened orc and troll veterans. Men, prepare for a long, difficult fight..."
[/message]
[/event]
### /INTRO ####
@ -451,78 +439,76 @@
[event]
name=olurf
[command]
[unit]
[unit]
#ifndef MULTIPLAYER
side=1
side=1
#else
side=8
side=8
#endif
{OLURF}
canrecruit=yes
x=$olurf_entry.x
y=$olurf_entry.y
[/unit]
{OLURF}
canrecruit=yes
x=$olurf_entry.x
y=$olurf_entry.y
[/unit]
#ifndef MULTIPLAYER
{OLURF_PARTY 1}
{OLURF_PARTY 1}
#else
{OLURF_PARTY 8}
{OLURF_PARTY 8}
#endif
####ifndef MULTIPLAYER
#### {MODIFY_UNIT (side=8) side 1}
#### {TRANSFER_VILLAGE_OWNERSHIP 8 1}
######endif
####ifndef MULTIPLAYER
#### {MODIFY_UNIT (side=8) side 1}
#### {TRANSFER_VILLAGE_OWNERSHIP 8 1}
######endif
#TODO the next message doesn't fit if turns are over
[message]
id=Olurf
#name=_ "Olurf"
message= _ "Did ye think wed let you have all the fun wi the orcs by yerselves?"
[/message]
#TODO the next message doesn't fit if turns are over
[message]
id=Olurf
#name=_ "Olurf"
message= _ "Did ye think wed let you have all the fun wi the orcs by yerselves?"
[/message]
[message]
id=Landar
message= _ "Its not much of an army he is bringing with him, though."
[/message]
[message]
id=Olurf
message= _ "Not much of an army? These are dwarves with mighty axes, each worth three of you and your silly plinking bows!"
[/message]
[message]
id=Kalenz
message= _ "Olurf, is that all the dwarves you could find? Was the gold not enough?"
[/message]
[message]
id=Olurf
message= _ "They are no fighting for gold, theyre here for the fun. Id ha brought a lot more if my men ha all kept quiet about helping elves! But the rest o my clan should join us in a few days."
[/message]
[message]
id=Landar
message= _ "In a few days? Thats too late! We want our gold back!"
[/message]
[message]
id=Olurf
message= _ "Sure, minus expenses."
[/message]
[message]
id=Landar
message= _ "What expenses?"
[/message]
[message]
id=Olurf
message= _ "Its an ancient dwarvish custom to buy the warriors a few drinks before the battle... So minus expenses thats about even."
[/message]
[message]
id=Landar
message= _ "That explains why they are so reckless in battle..."
[/message]
[message]
id=Kalenz
message= _ "... Enough, gentlemen, we have a battle to fight!"
[/message]
[/command]
[message]
id=Landar
message= _ "Its not much of an army he is bringing with him, though."
[/message]
[message]
id=Olurf
message= _ "Not much of an army? These are dwarves with mighty axes, each worth three of you and your silly plinking bows!"
[/message]
[message]
id=Kalenz
message= _ "Olurf, is that all the dwarves you could find? Was the gold not enough?"
[/message]
[message]
id=Olurf
message= _ "They are no fighting for gold, theyre here for the fun. Id ha brought a lot more if my men ha all kept quiet about helping elves! But the rest o my clan should join us in a few days."
[/message]
[message]
id=Landar
message= _ "In a few days? Thats too late! We want our gold back!"
[/message]
[message]
id=Olurf
message= _ "Sure, minus expenses."
[/message]
[message]
id=Landar
message= _ "What expenses?"
[/message]
[message]
id=Olurf
message= _ "Its an ancient dwarvish custom to buy the warriors a few drinks before the battle... So minus expenses thats about even."
[/message]
[message]
id=Landar
message= _ "That explains why they are so reckless in battle..."
[/message]
[message]
id=Kalenz
message= _ "... Enough, gentlemen, we have a battle to fight!"
[/message]
[/event]
[event]
@ -531,14 +517,11 @@
[proceed_to_next_scenario]
[/proceed_to_next_scenario]
[/filter_condition]
[command]
{VARIABLE olurf_entry.x 40}
{VARIABLE olurf_entry.y 5}
[fire_event]
name=olurf
[/fire_event]
[/command]
{VARIABLE olurf_entry.x 40}
{VARIABLE olurf_entry.y 5}
[fire_event]
name=olurf
[/fire_event]
[/event]
### /OLURF ###
@ -548,59 +531,56 @@
[proceed_to_next_scenario]
[/proceed_to_next_scenario]
[/filter_condition]
[message]
id=Galtrid
message= _ "At last! The orcs are defeated."
[/message]
[command]
[message]
id=Galtrid
message= _ "At last! The orcs are defeated."
[/message]
[unit]
type=Orcish Warrior
id=Pirorr
name= _ "Pirorr"
side=7
x=1
y=43
facing=ne
profile=portraits/orcs/grunt-2.png
[/unit]
{MOVE_UNIT id=Pirorr 1 41}
[unit]
type=Orcish Warrior
id=Pirorr
name= _ "Pirorr"
side=7
x=1
y=43
facing=ne
profile=portraits/orcs/grunt-2.png
[/unit]
{MOVE_UNIT id=Pirorr 1 41}
[message]
id=Pirorr
message= _ "The elves have beaten us and they did not use da stone. Maybe they dont have it? Great Chief will not like bad news!"
[/message]
[kill]
id=Pirorr
animate=no
[/kill]
[message]
id=Pirorr
message= _ "The elves have beaten us and they did not use da stone. Maybe they dont have it? Great Chief will not like bad news!"
[/message]
[kill]
id=Pirorr
animate=no
[/kill]
[message]
id=Galtrid
message= _ "Kalenz, we are again in your debt. You returned just in time."
[/message]
[message]
id=Kalenz
message= _ "And we have whats left of the elvish treasury with us!"
[/message]
[message]
id=Landar
message= _ "Perhaps the gold will give our words more weight with the council."
[/message]
[message]
speaker=narrator
image=wesnoth-icon.png
side_for=1
message= _ "Kalenz" + _ " has returned any remaining gold into the elvish treasury. You will start the next scenario with a preset amount."
[/message]
[message]
speaker=narrator
image=wesnoth-icon.png
side_for=2
message= _ "Landar" + _ " has returned any remaining gold into the elvish treasury. You will start the next scenario with a preset amount."
[/message]
[/command]
[message]
id=Galtrid
message= _ "Kalenz, we are again in your debt. You returned just in time."
[/message]
[message]
id=Kalenz
message= _ "And we have whats left of the elvish treasury with us!"
[/message]
[message]
id=Landar
message= _ "Perhaps the gold will give our words more weight with the council."
[/message]
[message]
speaker=narrator
image=wesnoth-icon.png
side_for=1
message= _ "Kalenz" + _ " has returned any remaining gold into the elvish treasury. You will start the next scenario with a preset amount."
[/message]
[message]
speaker=narrator
image=wesnoth-icon.png
side_for=2
message= _ "Landar" + _ " has returned any remaining gold into the elvish treasury. You will start the next scenario with a preset amount."
[/message]
[/event]
###DEATH EVENTS###
@ -609,13 +589,10 @@
[filter]
id=Truugl
[/filter]
[command]
[message]
id=Truugl
message= _ "Aargh! I should have stayed in the mountains instead of joining the orcs!"
[/message]
[/command]
[message]
id=Truugl
message= _ "Aargh! I should have stayed in the mountains instead of joining the orcs!"
[/message]
[/event]
[event]
@ -623,13 +600,10 @@
[filter]
id=Mordrum
[/filter]
[command]
[message]
id=Kalenz
message= _ "Orcs, death is all you will find in this forest!"
[/message]
[/command]
[message]
id=Kalenz
message= _ "Orcs, death is all you will find in this forest!"
[/message]
[/event]
[event]
@ -637,13 +611,10 @@
[filter]
id=Urug-Pir
[/filter]
[command]
[message]
speaker=unit
message= _ "I die without getting da stone?"
[/message]
[/command]
[message]
speaker=unit
message= _ "I die without getting da stone?"
[/message]
[/event]
#Eradion death is split in two events.
@ -653,50 +624,46 @@
[filter]
id="Eradion"
[/filter]
[command]
{INCIDENTAL_MUSIC sad.ogg}
[message]
speaker=second_unit
message= _ "Be grateful, tree-shagger, for I have spared you the pain of seeing your precious citadel burned and razed."
[/message]
[message]
speaker=unit
message= _ "Galtrid, my friend. Do not let my death be in vain. Destroy these foul orcs, and sing for me in the green woods when we have won."
[/message]
[message]
id=Galtrid
message= _ "We shall avenge you tenfold!"
[/message]
[scroll_to_unit]
id="Eradion"
[/scroll_to_unit]
[/command]
{INCIDENTAL_MUSIC sad.ogg}
[message]
speaker=second_unit
message= _ "Be grateful, tree-shagger, for I have spared you the pain of seeing your precious citadel burned and razed."
[/message]
[message]
speaker=unit
message= _ "Galtrid, my friend. Do not let my death be in vain. Destroy these foul orcs, and sing for me in the green woods when we have won."
[/message]
[message]
id=Galtrid
message= _ "We shall avenge you tenfold!"
[/message]
[scroll_to_unit]
id="Eradion"
[/scroll_to_unit]
[/event]
[event]
name=die
[filter]
id="Eradion"
[/filter]
[command]
[message]
speaker=second_unit
message= _ "Dead he is. Too quick. His screams were sweet."
[/message]
[message]
side=4,5,6
[not]
id=Galtrid
[/not]
[not]
id="Eradion"
[/not]
message= _ "Let us pursue the orc who murdered $unit.name|!"
[/message]
[message]
[message]
speaker=second_unit
message= _ "Dead he is. Too quick. His screams were sweet."
[/message]
[message]
side=4,5,6
[not]
id=Galtrid
message= _ "No, dont leave your formation. An elf was slain by beast. What does it matter which beast it was? We must kill them all."
[/message]
[/command]
[/not]
[not]
id="Eradion"
[/not]
message= _ "Let us pursue the orc who murdered $unit.name|!"
[/message]
[message]
id=Galtrid
message= _ "No, dont leave your formation. An elf was slain by beast. What does it matter which beast it was? We must kill them all."
[/message]
[/event]
{DEFAULT_VICTORY 0.4}

View file

@ -127,15 +127,13 @@
[event]
name=prestart
[command]
[endlevel]
result=victory
linger_mode=no
bonus=no
{NEW_GOLD_CARRYOVER 100}
carryover_report=no
[/endlevel]
[/command]
[endlevel]
result=victory
linger_mode=no
bonus=no
{NEW_GOLD_CARRYOVER 100}
carryover_report=no
[/endlevel]
[/event]
[event]
@ -145,10 +143,8 @@
[/proceed_to_next_scenario]
[/filter_condition]
[command]
[persistent_carryover_store]
scenario_id = LoW_Chapter_Two
[/persistent_carryover_store]
[/command]
[persistent_carryover_store]
scenario_id = LoW_Chapter_Two
[/persistent_carryover_store]
[/event]
[/scenario]

View file

@ -469,101 +469,100 @@ Chapter Three"
y=8-11
[/filter]
[command]
{RANDOM_PLACEMENT 32 9 1 (
type=Water Serpent
id=Sealurr
name= _ "Sealurr"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
[message]
speaker=unit
message= _ "The legends are true! Sea creatures are upon us!"
[/message]
{RANDOM_PLACEMENT 32 9 1 (
type=Water Serpent
id=Sealurr
name= _ "Sealurr"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
[scroll_to_unit]
id=Sealurr
[/scroll_to_unit]
[message]
speaker=unit
message= _ "The legends are true! Sea creatures are upon us!"
[/message]
{RANDOM_PLACEMENT 3 10 2 (
type=Cuttle Fish
id=Kallub
name= _ "Kallub"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
[scroll_to_unit]
id=Sealurr
[/scroll_to_unit]
[message]
speaker=unit
message= _ "They are coming at us from all sides!"
[/message]
{RANDOM_PLACEMENT 3 10 2 (
type=Cuttle Fish
id=Kallub
name= _ "Kallub"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
[scroll_to_unit]
id=Kallub
[/scroll_to_unit]
[message]
speaker=unit
message= _ "They are coming at us from all sides!"
[/message]
[scroll_to_unit]
id=Kallub
[/scroll_to_unit]
#ifndef EASY
{RANDOM_PLACEMENT 3 11 2 (
type=Water Serpent
id=Scardeep
name= _ "Scardeep"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
{RANDOM_PLACEMENT 3 11 2 (
type=Water Serpent
id=Scardeep
name= _ "Scardeep"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
[message]
speaker=unit
message= _ "Watch for the serpent!"
[/message]
[message]
speaker=unit
message= _ "Watch for the serpent!"
[/message]
[scroll_to_unit]
id=Scardeep
[/scroll_to_unit]
[scroll_to_unit]
id=Scardeep
[/scroll_to_unit]
{RANDOM_PLACEMENT 16 8 2 (
type=Cuttle Fish
id=Kalimar
name= _ "Kalimar"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
{RANDOM_PLACEMENT 16 8 2 (
type=Cuttle Fish
id=Kalimar
name= _ "Kalimar"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
[scroll_to_unit]
id=Kalimar
[/scroll_to_unit]
[scroll_to_unit]
id=Kalimar
[/scroll_to_unit]
#endif
#ifdef HARD
{RANDOM_PLACEMENT 34 10 1 (
type=Cuttle Fish
id=Alkamar
name= _ "Alkamar"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
{RANDOM_PLACEMENT 34 10 1 (
type=Cuttle Fish
id=Alkamar
name= _ "Alkamar"
side=7
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
) }
[scroll_to_unit]
id=Alkamar
[/scroll_to_unit]
[scroll_to_unit]
id=Alkamar
[/scroll_to_unit]
#endif
[/command]
[/event]
{DEFAULT_VICTORY 0.3}

View file

@ -176,83 +176,76 @@
[event]
name=prestart
[command]
{RECALL_LOYALS}
[/command]
{RECALL_LOYALS}
[/event]
[event]
name=prestart
[command]
[objectives]
side=0
[objective]
description= _ "Reach the signpost with Kalenz"
condition=win
[/objective]
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objectives]
side=0
[objective]
description= _ "Reach the signpost with Kalenz"
condition=win
[/objective]
[objective]
{ALTERNATIVE_OBJECTIVE_CAPTION}
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
{TURNS_RUN_OUT}
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/command]
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[command]
[message]
id=Landar
message= _ "I can hardly see with all that mist around, but I can sense danger."
[/message]
[message]
id=Olurf
message= _ "Told ye it would be no picnic excursion, elf-boy. Are ye lily-livered to continue?"
[/message]
[message]
id=Kalenz
message= _ "Gentlemen, dont squabble. We cannot go back now. But be watchful; I dont like the feel of this country one bit."
[/message]
[message]
id=Cleodil
message= _ "I, too, feel we are in great danger."
[/message]
[message]
id=Kalenz
message= _ "Cleodil, stay close to me. If there is anything real behind this aura of dread, likely your keen senses will find it first and I will want to know what you discover immediately."
[/message]
[message]
id=Landar
message= _ "I can hardly see with all that mist around, but I can sense danger."
[/message]
[message]
id=Olurf
message= _ "Told ye it would be no picnic excursion, elf-boy. Are ye lily-livered to continue?"
[/message]
[message]
id=Kalenz
message= _ "Gentlemen, dont squabble. We cannot go back now. But be watchful; I dont like the feel of this country one bit."
[/message]
[message]
id=Cleodil
message= _ "I, too, feel we are in great danger."
[/message]
[message]
id=Kalenz
message= _ "Cleodil, stay close to me. If there is anything real behind this aura of dread, likely your keen senses will find it first and I will want to know what you discover immediately."
[/message]
{HIGHLIGHT_IMAGE 30 1 scenery/signpost.png ()}
{HIGHLIGHT_IMAGE 30 1 scenery/signpost.png ()}
[scroll_to_unit]
id=Kalenz
[/scroll_to_unit]
[/command]
[scroll_to_unit]
id=Kalenz
[/scroll_to_unit]
[/event]
[event]
@ -272,39 +265,34 @@
#endif
[/and]
[/filter]
[command]
[message]
speaker=unit
message= _ "Onwards!"
[/message]
[message]
id=Olurf
message= _ "Yer doing pretty well, elf-boy!"
[/message]
[endlevel]
result=victory
[message]
speaker=unit
message= _ "Onwards!"
[/message]
[message]
id=Olurf
message= _ "Yer doing pretty well, elf-boy!"
[/message]
[endlevel]
result=victory
#ifdef MULTIPLAYER
bonus=0.3
bonus=0.3
#else
bonus=yes
bonus=yes
#endif
[/endlevel]
[/command]
[/endlevel]
[/event]
[event]
name=victory
[command]
[message]
id=Cleodil
message= _ "There is some greasy-looking smoke rising ahead of us! Kalenz... my lord... I feel something terribly wrong is happening!"
[/message]
[message]
id=Olurf
message= _ "Crelanus place should be close now, as I remember. Quickly, this way!"
[/message]
[/command]
[message]
id=Cleodil
message= _ "There is some greasy-looking smoke rising ahead of us! Kalenz... my lord... I feel something terribly wrong is happening!"
[/message]
[message]
id=Olurf
message= _ "Crelanus place should be close now, as I remember. Quickly, this way!"
[/message]
[/event]
[event]
@ -315,93 +303,91 @@
y=16-25
[/filter]
[command]
{CLEAR_FOG 1,2,3,4 12 13 1}
{SCROLL_TO 13 17}
{CLEAR_FOG 1,2,3,4 12 13 1}
{SCROLL_TO 13 17}
[move_unit_fake]
type=Yeti
side=7
x=13-11,11,12
y=17-15,12,11
[/move_unit_fake]
[unit]
type=Yeti
id=Krulg
name= _ "Krulg"
side=7
x=12
y=11
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[move_unit_fake]
type=Yeti
side=7
x=13-11,11,12
y=17-15,12,11
[/move_unit_fake]
[unit]
type=Yeti
id=Krulg
name= _ "Krulg"
side=7
x=12
y=11
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[message]
id=Kalenz
message= _ "Watch out!"
[/message]
[message]
speaker=unit
message= _ "Its... its monstrous!"
[/message]
[message]
id=Cleodil
message= _ "I sense no malice in it; we are the interlopers here. Spare it if you can."
[/message]
[message]
id=Kalenz
message= _ "Do as Cleodil says. We have enemies sufficient without provoking new ones."
[/message]
[message]
id=Kalenz
message= _ "Watch out!"
[/message]
[message]
speaker=unit
message= _ "Its... its monstrous!"
[/message]
[message]
id=Cleodil
message= _ "I sense no malice in it; we are the interlopers here. Spare it if you can."
[/message]
[message]
id=Kalenz
message= _ "Do as Cleodil says. We have enemies sufficient without provoking new ones."
[/message]
[scroll_to_unit]
id=Krulg
[/scroll_to_unit]
[scroll_to_unit]
id=Krulg
[/scroll_to_unit]
[move_unit_fake]
type=Yeti
side=7
x=13,13,16
y=13,15,15
[/move_unit_fake]
[unit]
type=Yeti
id=Tralg
name= _ "Tralg"
side=7
x=16
y=15
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[move_unit_fake]
type=Yeti
side=7
x=13,13,16
y=13,15,15
[/move_unit_fake]
[unit]
type=Yeti
id=Tralg
name= _ "Tralg"
side=7
x=16
y=15
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[move_unit_fake]
type=Yeti
side=7
x=10,12,15
y=15,14,17
[/move_unit_fake]
[unit]
type=Yeti
id=Drolg
name= _ "Drolg"
side=7
x=15
y=17
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[move_unit_fake]
type=Yeti
side=7
x=10,12,15
y=15,14,17
[/move_unit_fake]
[unit]
type=Yeti
id=Drolg
name= _ "Drolg"
side=7
x=15
y=17
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[delay]
time=1500
[/delay]
{UNCLEAR_FOG}
[/command]
[delay]
time=1500
[/delay]
{UNCLEAR_FOG}
[/event]
{DEFAULT_VICTORY 0.3}

View file

@ -160,9 +160,7 @@
[event]
name=prestart
[command]
{RECALL_LOYALS}
[/command]
{RECALL_LOYALS}
[/event]
#TODO what if Crelanu moves into sight?
[event]
@ -173,100 +171,93 @@
[filter_second]
side=1,2,3,4
[/filter_second]
[command]
[message]
id=Crelanu
message= _ "I sense a presence that is not one of Aquagars creatures. Who are you, and what is your purpose here?"
[/message]
[message]
id=Cleodil
message= _ "That, I think, must be the mage of which Olurf spoke. But he is not the one I sensed as we approached this place..."
[/message]
[message]
id=Landar
message= _ "I feel the shadow of destiny on my soul. There is something I am fated to do here, but I know not what."
[/message]
[message]
id=Kalenz
message= _ "If you are the mage Crelanu, we have come to seek your help."
[/message]
[message]
id=Crelanu
message= _ "I am Crelanu... but if you want my help you must begin by helping me, for I am besieged here and in no state to aid anyone else."
[/message]
[message]
id=Landar
message= _ "Ahhh. A fight! Perhaps this is my fate. Come, Kalenz, let us make a rescue."
[/message]
[modify_side]
side=6
share_view=yes
[/modify_side]
[/command]
[message]
id=Crelanu
message= _ "I sense a presence that is not one of Aquagars creatures. Who are you, and what is your purpose here?"
[/message]
[message]
id=Cleodil
message= _ "That, I think, must be the mage of which Olurf spoke. But he is not the one I sensed as we approached this place..."
[/message]
[message]
id=Landar
message= _ "I feel the shadow of destiny on my soul. There is something I am fated to do here, but I know not what."
[/message]
[message]
id=Kalenz
message= _ "If you are the mage Crelanu, we have come to seek your help."
[/message]
[message]
id=Crelanu
message= _ "I am Crelanu... but if you want my help you must begin by helping me, for I am besieged here and in no state to aid anyone else."
[/message]
[message]
id=Landar
message= _ "Ahhh. A fight! Perhaps this is my fate. Come, Kalenz, let us make a rescue."
[/message]
[modify_side]
side=6
share_view=yes
[/modify_side]
[/event]
[event]
name=prestart
[objectives]
side=0
[objective]
description= _ "Defeat Aquagar"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Crelanu"
condition=lose
[/objective]
[command]
[objectives]
side=0
[objective]
description= _ "Defeat Aquagar"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Crelanu"
condition=lose
[/objective]
{TURNS_RUN_OUT}
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/command]
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/event]
[event]
name=start
[command]
[message]
id=Landar
message= _ "Looks like your mage friend is in trouble. There is a horde of drakes attacking him!"
[/message]
[message]
id=Kalenz
message= _ "Indeed. Before he can aid us, we will have to aid him."
[/message]
[message]
id=Aquagar
message= _ "Fools! The book will be mine!"
[/message]
[message]
id=Cleodil
message= _ "There... I sense magic emanating from that stone keep east of the lake. That is where we will find the mage."
[/message]
[/command]
[message]
id=Landar
message= _ "Looks like your mage friend is in trouble. There is a horde of drakes attacking him!"
[/message]
[message]
id=Kalenz
message= _ "Indeed. Before he can aid us, we will have to aid him."
[/message]
[message]
id=Aquagar
message= _ "Fools! The book will be mine!"
[/message]
[message]
id=Cleodil
message= _ "There... I sense magic emanating from that stone keep east of the lake. That is where we will find the mage."
[/message]
[/event]
[event]
@ -274,29 +265,26 @@
[filter]
id=Aquagar
[/filter]
[message]
speaker=unit
# wmllint: local spelling Morogoth
message= _ "I die, but I will not go unavenged! Cursed will you be Kalenz! You will never find lasting peace in all your years. You will lose your dearest. And you, Crelanu, your book will bring woe on you and haunt all its future owners to their graves! This will be the price for slaying me, Aquagar, great drake wizard of Morogoth."
[/message]
[command]
[message]
speaker=unit
# wmllint: local spelling Morogoth
message= _ "I die, but I will not go unavenged! Cursed will you be Kalenz! You will never find lasting peace in all your years. You will lose your dearest. And you, Crelanu, your book will bring woe on you and haunt all its future owners to their graves! This will be the price for slaying me, Aquagar, great drake wizard of Morogoth."
[/message]
[message]
id=Olurf
message= _ "Some scary fellow this Aquagar thinks he is! Come now, I think Crelanu owes us some drinks."
[/message]
[message]
id=Olurf
message= _ "Some scary fellow this Aquagar thinks he is! Come now, I think Crelanu owes us some drinks."
[/message]
[endlevel]
result=victory
save=no
[endlevel]
result=victory
save=no
#ifdef MULTIPLAYER
bonus=0.3
bonus=0.3
#else
bonus=yes
bonus=yes
#endif
[/endlevel]
[/command]
[/endlevel]
[/event]
[event]
@ -304,15 +292,13 @@
[filter]
id=Crelanu
[/filter]
[command]
[message]
id=Kalenz
message= _ "There goes our last hope!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/command]
[message]
id=Kalenz
message= _ "There goes our last hope!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
{DEFAULT_VICTORY 0.3}

View file

@ -250,16 +250,14 @@
[event]
name=prestart
[command]
[endlevel]
result=victory
save=no
linger_mode=no
bonus=no
carryover_report=no
carryover_percentage=100
[/endlevel]
[/command]
[endlevel]
result=victory
save=no
linger_mode=no
bonus=no
carryover_report=no
carryover_percentage=100
[/endlevel]
[/event]
#ifdef MULTIPLAYER
@ -293,11 +291,9 @@
[event]
name=victory
[command]
[persistent_carryover_store]
scenario_id = LoW_Chapter_Three
[/persistent_carryover_store]
[/command]
[persistent_carryover_store]
scenario_id = LoW_Chapter_Three
[/persistent_carryover_store]
[/event]
#endif
[/scenario]

View file

@ -106,126 +106,124 @@
[event]
name=start
[command]
#ifdef MULTIPLAYER
[persistent_carryover_unstore]
scenario_id = LoW_Chapter_Three
[/persistent_carryover_unstore]
[persistent_carryover_unstore]
scenario_id = LoW_Chapter_Three
[/persistent_carryover_unstore]
#endif
#TODO recall or create if not recallable
#TODO recall or create if not recallable
{RECALL_LOYALS}
{RECALL_LOYALS}
[message]
[message]
id=Landar
message= _ "Oh, no, I forgot my dose of Crelanus invisibility philter. Ill go back and get it. Ill catch up with you later!"
[/message]
[message]
id=Olurf
message= _ "Maybe some of my dwarves can escort you..."
[/message]
[message]
id=Kalenz
message= _ "Go, Landar, but be careful. We need you."
[/message]
[store_unit]
variable=landar_store
kill=yes
[filter]
id=Landar
message= _ "Oh, no, I forgot my dose of Crelanus invisibility philter. Ill go back and get it. Ill catch up with you later!"
[/message]
[message]
id=Olurf
message= _ "Maybe some of my dwarves can escort you..."
[/message]
[message]
id=Kalenz
message= _ "Go, Landar, but be careful. We need you."
[/message]
[/filter]
[/store_unit]
[store_unit]
variable=landar_store
kill=yes
[filter]
id=Landar
[/filter]
[/store_unit]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "Some weeks later, as Kalenz and his companions were working their way southwards from the high peaks of the Heart Mountains into its foothills..."
[/message]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "Some weeks later, as Kalenz and his companions were working their way southwards from the high peaks of the Heart Mountains into its foothills..."
[/message]
[sound]
name=horse-canter.wav
[/sound]
[sound]
name=horse-canter.wav
[/sound]
[move_unit_fake]
type=Elvish Scout
x=10,11,12,13,14,15
y=9,8,7,6,5,4
[/move_unit_fake]
[move_unit_fake]
type=Elvish Scout
x=10,11,12,13,14,15
y=9,8,7,6,5,4
[/move_unit_fake]
[unit]
id=Eonihar
name=_ "Eonihar"
type=Elvish Scout
side=1
x=15
y=4
facing=sw
[/unit]
[unit]
id=Eonihar
name=_ "Eonihar"
type=Elvish Scout
side=1
x=15
y=4
facing=sw
[/unit]
[message]
id=Eonihar
message= _ "At last I have found you, alive and well! We need you back at once! The orcs have attacked the humans."
[/message]
[message]
id=Kalenz
message= _ "This means we are safe for the time being, no?"
[/message]
[message]
id=Eonihar
message= _ "Whats more, King Haldric is dead. His successor wants to renew the treaty of alliance and has asked for our help."
[/message]
[message]
id=Eonihar
message= _ "At last I have found you, alive and well! We need you back at once! The orcs have attacked the humans."
[/message]
[message]
id=Kalenz
message= _ "This means we are safe for the time being, no?"
[/message]
[message]
id=Eonihar
message= _ "Whats more, King Haldric is dead. His successor wants to renew the treaty of alliance and has asked for our help."
[/message]
[unstore_unit]
variable=landar_store
find_vacant=yes
x=10
y=1
[/unstore_unit]
[unstore_unit]
variable=landar_store
find_vacant=yes
x=10
y=1
[/unstore_unit]
{CLEAR_VARIABLE landar_store}
{CLEAR_VARIABLE landar_store}
[move_unit]
id=Landar
to_x=14
to_y=1
[/move_unit]
[move_unit]
id=Landar
to_x=14
to_y=1
[/move_unit]
[message]
id=Landar
message= _ "How convenient! Now they need our help, they come running!"
[/message]
[message]
id=Kalenz
message= _ "Landar! Youre back! All is well?"
[/message]
[message]
id=Landar
message= _ "Yes, I have the philter of invisibility."
[/message]
[message]
id=Kalenz
message= _ "We face a difficult choice. I know humans did not help us when the orcs attacked, but the orcs are everybodys enemy. When humans fall, well be next."
[/message]
[message]
id=Eonihar
message= _ "The orcish forces are encamped south of the Great River, and have surrounded the fortified human settlement at Tath. The humans are sending all their forces there. We need to decide whether we will help them or not."
[/message]
[message]
id=Kalenz
message= _ "Go tell the council and the human king that we will be there! Now, lets hurry!"
[/message]
[kill]
id=Eonihar
[/kill]
[endlevel]
result=victory
bonus=no
linger_mode=no
carryover_report=no
carryover_percentage=100
[/endlevel]
[/command]
[message]
id=Landar
message= _ "How convenient! Now they need our help, they come running!"
[/message]
[message]
id=Kalenz
message= _ "Landar! Youre back! All is well?"
[/message]
[message]
id=Landar
message= _ "Yes, I have the philter of invisibility."
[/message]
[message]
id=Kalenz
message= _ "We face a difficult choice. I know humans did not help us when the orcs attacked, but the orcs are everybodys enemy. When humans fall, well be next."
[/message]
[message]
id=Eonihar
message= _ "The orcish forces are encamped south of the Great River, and have surrounded the fortified human settlement at Tath. The humans are sending all their forces there. We need to decide whether we will help them or not."
[/message]
[message]
id=Kalenz
message= _ "Go tell the council and the human king that we will be there! Now, lets hurry!"
[/message]
[kill]
id=Eonihar
[/kill]
[endlevel]
result=victory
bonus=no
linger_mode=no
carryover_report=no
carryover_percentage=100
[/endlevel]
[/event]
[/scenario]

View file

@ -102,9 +102,7 @@ Chapter Four"
[/side]
[event]
name=prestart
[command]
{RECALL_LOYALS}
[/command]
{RECALL_LOYALS}
[/event]
[side]
@ -249,139 +247,134 @@ Chapter Four"
[event]
name=prestart
[command]
[objectives]
side=0
[objective]
description= _ "Last for the end of turns"
condition=win
show_turn_counter=yes
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Aldar"
condition=lose
[/objective]
[objectives]
side=0
[objective]
description= _ "Last for the end of turns"
condition=win
show_turn_counter=yes
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Aldar"
condition=lose
[/objective]
[gold_carryover]
bonus=no
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/command]
[gold_carryover]
bonus=no
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/event]
[event]
name=side 1 turn 1
[message]
id=Kalenz
message= _ "Tremble, orcs! The vengeance of the Elves is upon you!!"
[/message]
[message]
id=Aldar
message= _ "So it is true! The elves have come to our aid!"
[/message]
[message]
id=Olurf
message= _ "Hey! Do I look like an elf?"
[/message]
[message]
id=Landar
message= _ "I can scarce believe I am fighting besides these betrayers."
[/message]
[message]
id=Cleodil
message= _ "We cannot be choosy about our allies when our need is dire."
[/message]
[message]
id=Kalenz
message= _ "Indeed not. Save your anger for our enemies, Landar."
[/message]
[message]
id=Landar
message= _ "I shall. But when our need is not so dire, there must be a reckoning..."
[/message]
[message]
id=Tan-Grub
#canrecruit=yes
#race=orc
message= _ "An elven army to the north? And they have dwarves with them? We must defeat them in detail before they combine, which means attacking before our reinforcements arrive. Maybe we can beat the humans before the elves can intervene. Overrun city and castle!"
[/message]
[command]
[message]
id=Kalenz
message= _ "Tremble, orcs! The vengeance of the Elves is upon you!!"
[/message]
[message]
id=Aldar
message= _ "So it is true! The elves have come to our aid!"
[/message]
[message]
id=Olurf
message= _ "Hey! Do I look like an elf?"
[/message]
[message]
id=Landar
message= _ "I can scarce believe I am fighting besides these betrayers."
[/message]
[message]
id=Cleodil
message= _ "We cannot be choosy about our allies when our need is dire."
[/message]
[message]
id=Kalenz
message= _ "Indeed not. Save your anger for our enemies, Landar."
[/message]
[message]
id=Landar
message= _ "I shall. But when our need is not so dire, there must be a reckoning..."
[/message]
[message]
id=Tan-Grub
#canrecruit=yes
#race=orc
message= _ "An elven army to the north? And they have dwarves with them? We must defeat them in detail before they combine, which means attacking before our reinforcements arrive. Maybe we can beat the humans before the elves can intervene. Overrun city and castle!"
[/message]
[message]
speaker=narrator
message= _ "The brazen cry of a war-horn is heard in the distance."
sound=horn-signals/horn-2.ogg
image="portraits/goblins/rouser-2.png"
[/message]
[message]
speaker=narrator
message= _ "The brazen cry of a war-horn is heard in the distance."
sound=horn-signals/horn-2.ogg
image="portraits/goblins/rouser-2.png"
[/message]
[unit]
id=Aldun
name= _ "Aldun"
type=Horseman
random_traits=yes
side=2
x=33
y=24
facing=sw
[/unit]
{MOVE_UNIT id=Aldun 21 16}
[unit]
id=Aldun
name= _ "Aldun"
type=Horseman
random_traits=yes
side=2
x=33
y=24
facing=sw
[/unit]
{MOVE_UNIT id=Aldun 21 16}
[message]
id=Aldun
message= _ "General Aldar has received your message. He asks that you engage the orcish reinforcements from the north, preventing them from joining with their fellows here. Those fresh troops must not be allowed to enter the battle! Our reinforcements should arrive in a few days."
[/message]
[message]
id=Kalenz
message= _ "Very well... But have you any word of the elvish troops marching to join us? We are too few to defeat the enemy without them."
[/message]
[message]
id=Aldun
message=_"We have no news from the Kalian."
[/message]
[message]
id=Aldun
message= _ "General Aldar has received your message. He asks that you engage the orcish reinforcements from the north, preventing them from joining with their fellows here. Those fresh troops must not be allowed to enter the battle! Our reinforcements should arrive in a few days."
[/message]
[message]
id=Kalenz
message= _ "Very well... But have you any word of the elvish troops marching to join us? We are too few to defeat the enemy without them."
[/message]
[message]
id=Aldun
message=_"We have no news from the Kalian."
[/message]
[message]
id=Galtrid
message= _ "Kalenz! We come to fight beside you!"
[/message]
[message]
id=Kalenz
message= _ "Where is the rest of the elvish army? They were promised and should be here!"
[/message]
[message]
id=Eradion
message= _ "The Great Council has decided it was too risky to send troops here. But some of us dissented and have come to fight beside you."
[/message]
[message]
id=Landar
message= _ "That is well! If the Kalian is too fearful or blind to see what is needed, we must do it ourselves."
[/message]
[message]
id=Cleodil
message= _ "It is not well that we have become so divided as this."
[/message]
[message]
id=Kalenz
message= _ "No, it is not. But if we do not defeat these orcs here and now our divisions will all be moot. I will take every sword-arm I can get and be glad of them."
[/message]
[/command]
[message]
id=Galtrid
message= _ "Kalenz! We come to fight beside you!"
[/message]
[message]
id=Kalenz
message= _ "Where is the rest of the elvish army? They were promised and should be here!"
[/message]
[message]
id=Eradion
message= _ "The Great Council has decided it was too risky to send troops here. But some of us dissented and have come to fight beside you."
[/message]
[message]
id=Landar
message= _ "That is well! If the Kalian is too fearful or blind to see what is needed, we must do it ourselves."
[/message]
[message]
id=Cleodil
message= _ "It is not well that we have become so divided as this."
[/message]
[message]
id=Kalenz
message= _ "No, it is not. But if we do not defeat these orcs here and now our divisions will all be moot. I will take every sword-arm I can get and be glad of them."
[/message]
[/event]
{MP_SIDE 5 (
@ -462,144 +455,140 @@ Chapter Four"
[event]
name=turn 9
[command]
[foreach]
array=l3_store_kalenz
[do]
[unstore_unit]
find_vacant=yes
variable=this_item
x=9
y=15
[/unstore_unit]
[role]
role=l3_store
id=$this_item.id
[/role]
{MODIFY_UNIT (id=$this_item.id) facing ne}
[/do]
[/foreach]
[foreach]
array=l3_store_kalenz
[do]
[unstore_unit]
find_vacant=yes
variable=this_item
x=9
y=15
[/unstore_unit]
[role]
role=l3_store
id=$this_item.id
[/role]
{MODIFY_UNIT (id=$this_item.id) facing ne}
[/do]
[/foreach]
#ifdef MULTIPLAYER
[foreach]
array=l3_store_landar
[do]
[unstore_unit]
find_vacant=yes
variable=this_item
x=9
y=15
[/unstore_unit]
[role]
role=l3_store
id=$this_item.id
[/role]
{MODIFY_UNIT (id=$this_item.id) facing ne}
{MODIFY_UNIT (id=$this_item.id) side 13}
[/do]
[/foreach]
[foreach]
array=l3_store_landar
[do]
[unstore_unit]
find_vacant=yes
variable=this_item
x=9
y=15
[/unstore_unit]
[role]
role=l3_store
id=$this_item.id
[/role]
{MODIFY_UNIT (id=$this_item.id) facing ne}
{MODIFY_UNIT (id=$this_item.id) side 13}
[/do]
[/foreach]
#endif
[if]
[if]
[not]
[variable]
name=l3_store_kalenz.length
numerical_equals=0
[/variable]
[/not]
#ifdef MULTIPLAYER
[or]
[not]
[variable]
name=l3_store_kalenz.length
name=l3_store_landar.length
numerical_equals=0
[/variable]
[/not]
#ifdef MULTIPLAYER
[or]
[not]
[variable]
name=l3_store_landar.length
numerical_equals=0
[/variable]
[/not]
[/or]
[/or]
#endif
[then]
[message]
role=l3_store
message= _ "Kalenz! We come to fight beside you!"
[/message]
[message]
id=Kalenz
message= _ "Where is the rest of the elvish army? They were promised and should be here!"
[/message]
[message]
role=l3_store
message= _ "The Great Council has decided it was too risky to send troops here. But some of us dissented and have come to fight beside you."
[/message]
[message]
id=Landar
message= _ "That is well! If the Kalian is too fearful or blind to see what is needed, we must do it ourselves."
[/message]
[message]
id=Cleodil
message= _ "It is not well that we have become so divided as this."
[/message]
[message]
id=Kalenz
message= _ "No, it is not. But if we do not defeat these orcs here and now our divisions will all be moot. I will take every sword-arm I can get and be glad of them."
[/message]
[/then]
[/if]
#TODO else -- the player has to know that the kalian refused help.
{CLEAR_VARIABLE l3_store_kalenz}
[then]
[message]
role=l3_store
message= _ "Kalenz! We come to fight beside you!"
[/message]
[message]
id=Kalenz
message= _ "Where is the rest of the elvish army? They were promised and should be here!"
[/message]
[message]
role=l3_store
message= _ "The Great Council has decided it was too risky to send troops here. But some of us dissented and have come to fight beside you."
[/message]
[message]
id=Landar
message= _ "That is well! If the Kalian is too fearful or blind to see what is needed, we must do it ourselves."
[/message]
[message]
id=Cleodil
message= _ "It is not well that we have become so divided as this."
[/message]
[message]
id=Kalenz
message= _ "No, it is not. But if we do not defeat these orcs here and now our divisions will all be moot. I will take every sword-arm I can get and be glad of them."
[/message]
[/then]
[/if]
#TODO else -- the player has to know that the kalian refused help.
{CLEAR_VARIABLE l3_store_kalenz}
#ifdef MULTIPLAYER
{CLEAR_VARIABLE l3_store_landar}
{CLEAR_VARIABLE l3_store_landar}
#endif
[/command]
[/event]
[event]
name=time over
[command]
[unit]
type=Paladin
id=Kulrad
name=_ "Kulrad"
side=2
x=38
y=30
[/unit]
[unit]
type=Paladin
id=Kulrad
name=_ "Kulrad"
side=2
x=38
y=30
[/unit]
{GENERIC_UNIT 2 Knight 43 33}
{GENERIC_UNIT 2 Knight 43 36}
{GENERIC_UNIT 2 Knight 43 33}
{GENERIC_UNIT 2 Knight 43 36}
{GENERIC_UNIT 2 Horseman 38 34}
{GENERIC_UNIT 2 Horseman 42 35}
{GENERIC_UNIT 2 Horseman 39 34}
{GENERIC_UNIT 2 Horseman 43 37}
{GENERIC_UNIT 2 Horseman 41 37}
{GENERIC_UNIT 2 Horseman 41 39}
{GENERIC_UNIT 2 Horseman 38 34}
{GENERIC_UNIT 2 Horseman 42 35}
{GENERIC_UNIT 2 Horseman 39 34}
{GENERIC_UNIT 2 Horseman 43 37}
{GENERIC_UNIT 2 Horseman 41 37}
{GENERIC_UNIT 2 Horseman 41 39}
[message]
id=Kulrad
message= _ "I see foul orcs to be ridden down! Charge!"
[/message]
[message]
race=orc
canrecruit=yes
message= _ "More of the cursed horse-pokers!! Run, lets get out of here!"
[/message]
[message]
id=Kulrad
message= _ "I see foul orcs to be ridden down! Charge!"
[/message]
[message]
race=orc
canrecruit=yes
message= _ "More of the cursed horse-pokers!! Run, lets get out of here!"
[/message]
#TODO move the message in a macro
[message]
speaker=narrator
message= _ "The not-at-all-brazen cry of a war-horn is heard in the distance."
#TODO rethink about which signal to use here
sound=horn-signals/horn-8.ogg
image="portraits/goblins/rouser-2.png"
[/message]
#TODO move the message in a macro
[message]
speaker=narrator
message= _ "The not-at-all-brazen cry of a war-horn is heard in the distance."
#TODO rethink about which signal to use here
sound=horn-signals/horn-8.ogg
image="portraits/goblins/rouser-2.png"
[/message]
[endlevel]
result=victory
bonus=no
save=no
[/endlevel]
[/command]
[endlevel]
result=victory
bonus=no
save=no
[/endlevel]
[/event]
# [event]
@ -616,33 +605,30 @@ Chapter Four"
[event]
name=victory
[command]
[message]
id=Kalenz
message= _ "We have thwarted the Orcs once again!"
[/message]
[message]
id=Cleodil
message= _ "And we revived the alliance with the Humans, which is no small thing."
[/message]
[message]
id=Kalenz
message= _ "Indeed it is not. As always, Cleodil, you speak with the wisdom and care that befits a healer. That is a good reminder for those who must walk the path of steel and warfare, and touches my heart."
[/message]
[message]
id=Olurf
message= _ "A good fight against foul enemies. These orcs make a dwarfs hackles rise; I might even fight them for free, next time."
[/message]
[message]
id=Aldar
message= _ "The King is here! Hail Haldric II, King of Wesnoth!"
[/message]
#TODO Landar is quiet?
[kill]
id=Aldun
[/kill]
[/command]
[message]
id=Kalenz
message= _ "We have thwarted the Orcs once again!"
[/message]
[message]
id=Cleodil
message= _ "And we revived the alliance with the Humans, which is no small thing."
[/message]
[message]
id=Kalenz
message= _ "Indeed it is not. As always, Cleodil, you speak with the wisdom and care that befits a healer. That is a good reminder for those who must walk the path of steel and warfare, and touches my heart."
[/message]
[message]
id=Olurf
message= _ "A good fight against foul enemies. These orcs make a dwarfs hackles rise; I might even fight them for free, next time."
[/message]
[message]
id=Aldar
message= _ "The King is here! Hail Haldric II, King of Wesnoth!"
[/message]
#TODO Landar is quiet?
[kill]
id=Aldun
[/kill]
[/event]
[event]
@ -650,15 +636,13 @@ Chapter Four"
[filter]
id=Aldar
[/filter]
[command]
[message]
speaker=unit
message= _ "Tath will fall! We have failed!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/command]
[message]
speaker=unit
message= _ "Tath will fall! We have failed!"
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
@ -666,12 +650,10 @@ Chapter Four"
[filter]
id=Grol
[/filter]
[command]
[message]
speaker=unit
message= _ "I die? Great Chief never said anything about fighting elves and dwarves!"
[/message]
[/command]
[message]
speaker=unit
message= _ "I die? Great Chief never said anything about fighting elves and dwarves!"
[/message]
[/event]
{DEFAULT_VICTORY 0.3}

View file

@ -92,15 +92,13 @@
[event]
name=prestart
[command]
[endlevel]
result=victory
linger_mode=no
carryover_report=no
bonus=no
carryover_percentage=100
[/endlevel]
[/command]
[endlevel]
result=victory
linger_mode=no
carryover_report=no
bonus=no
carryover_percentage=100
[/endlevel]
[/event]
#TODO save global variables?

View file

@ -76,9 +76,7 @@
# wmllint: validate-on
[event]
name=prestart
[command]
{RECALL_LOYALS}
[/command]
{RECALL_LOYALS}
[/event]
[side]
@ -249,91 +247,82 @@
[event]
name=prestart
[objectives]
side=1
[command]
[objectives]
side=1
[objective]
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Uradredia"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
[objective]
description= _ "Defeat all enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Kalenz"
condition=lose
[/objective]
[objective]
description= _ "Death of Landar"
condition=lose
[/objective]
[objective]
description= _ "Death of Cleodil"
condition=lose
[/objective]
[objective]
description= _ "Death of Uradredia"
condition=lose
[/objective]
[objective]
description= _ "Death of Olurf"
condition=lose
[/objective]
{TURNS_RUN_OUT}
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/command]
[gold_carryover]
bonus=yes
carryover_percentage=80
[/gold_carryover]
[/objectives]
[/event]
[event]
name=enemies defeated
[command]
[endlevel]
result=victory
save=no
bonus=yes
[/endlevel]
[/command]
[endlevel]
result=victory
save=no
bonus=yes
[/endlevel]
[/event]
#wmllint: recognize Uradredia
[event]
name=start
[command]
[message]
id=Kior-Pur
message= _ "I see troops coming from the south! It must be that our army has beaten these elves and humans and will now help us crush these remaining elves!"
[/message]
[message]
id=Uradredia
message= _ "Our defenses are stretched thin. Men, prepare to face another orcish attack!"
[/message]
[message]
id=Kalenz
message= _ "The North Elves still stand. Prepare for battle!"
[/message]
[message]
id=Kior-Pur
message= _ "I see troops coming from the south! It must be that our army has beaten these elves and humans and will now help us crush these remaining elves!"
[/message]
[message]
id=Uradredia
message= _ "Our defenses are stretched thin. Men, prepare to face another orcish attack!"
[/message]
[message]
id=Kalenz
message= _ "The North Elves still stand. Prepare for battle!"
[/message]
{AI_CONTROLLER_ALLOW_LEADER_CONTROL 1 2}
[/command]
{AI_CONTROLLER_ALLOW_LEADER_CONTROL 1 2}
[/event]
[event]
name=victory
[command]
[message]
id=Kalenz
message = _ "The North Elves are now free!"
[/message]
[message]
id=Uradredia
# wmllint: local spelling Kliada
message= _ "Our thanks to you, Kalenz, son of Kliada. Our troops are at your command."
[/message]
[/command]
[message]
id=Kalenz
message = _ "The North Elves are now free!"
[/message]
[message]
id=Uradredia
# wmllint: local spelling Kliada
message= _ "Our thanks to you, Kalenz, son of Kliada. Our troops are at your command."
[/message]
[/event]
[event]
@ -343,71 +332,69 @@
x=1-19
y=36-40
[/filter]
[command]
[message]
id=Kior-Pur
message= _ "The elves are attacking us! Reserves!"
[/message]
[message]
id=Kior-Pur
message= _ "The elves are attacking us! Reserves!"
[/message]
[move_unit_fake]
type=Goblin Impaler
x=4,5,6,6
y=35,36,36,37
[/move_unit_fake]
[unit]
type=Direwolf Rider
id=Zhuk
name= _ "Zhuk"
side=4
x=6
y=37
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[move_unit_fake]
type=Goblin Impaler
x=4,5,6,6
y=35,36,36,37
[/move_unit_fake]
[unit]
type=Direwolf Rider
id=Zhuk
name= _ "Zhuk"
side=4
x=6
y=37
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[scroll_to_unit]
id=Zhuk
[/scroll_to_unit]
[scroll_to_unit]
id=Zhuk
[/scroll_to_unit]
[unit]
type=Direwolf Rider
id=Dran
name= _ "Dran"
side=4
x=6
y=36
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[unit]
type=Direwolf Rider
id=Hrugt
name= _ "Hrugt"
side=4
x=5
y=37
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[unit]
type=Direwolf Rider
id=Orhtib
name= _ "Orhtib"
side=4
x=5
y=38
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[/command]
[unit]
type=Direwolf Rider
id=Dran
name= _ "Dran"
side=4
x=6
y=36
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[unit]
type=Direwolf Rider
id=Hrugt
name= _ "Hrugt"
side=4
x=5
y=37
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[unit]
type=Direwolf Rider
id=Orhtib
name= _ "Orhtib"
side=4
x=5
y=38
[modifications]
{TRAIT_RESILIENT}
{TRAIT_STRONG}
[/modifications]
[/unit]
[/event]
[event]
@ -415,12 +402,10 @@
[filter]
id=Kior-Pur
[/filter]
[command]
[message]
id=Kalenz
message= _ "Before you die, know that you lost in Wesmere, you lost at Tath, you will lose here and that your Great Chief is dead!"
[/message]
[/command]
[message]
id=Kalenz
message= _ "Before you die, know that you lost in Wesmere, you lost at Tath, you will lose here and that your Great Chief is dead!"
[/message]
[/event]
# wmllint: unwho "{OLURF}"