Apply wmlindent to The South Guard, after removing two unbalanced macros.
This commit is contained in:
parent
bde964a109
commit
ff5f33a1ae
25 changed files with 6190 additions and 6286 deletions
|
@ -1,65 +1,64 @@
|
|||
[textdomain]
|
||||
name="wesnoth-tsg"
|
||||
name="wesnoth-tsg"
|
||||
[/textdomain]
|
||||
|
||||
[campaign]
|
||||
#textdomain wesnoth-tsg
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
id=The_South_Guard
|
||||
name= _ "The South Guard"
|
||||
id=The_South_Guard
|
||||
name= _ "The South Guard"
|
||||
|
||||
define=CAMPAIGN_THE_SOUTH_GUARD
|
||||
rank=5
|
||||
define=CAMPAIGN_THE_SOUTH_GUARD
|
||||
rank=5
|
||||
|
||||
icon=TSG_campaign_icon.png
|
||||
image=TSG_campaign_image.png
|
||||
description= _ "A young Knight, Deoran, is dispatched to take command of the South Guard... Note: This campaign is designed as an introduction to Wesnoth. The 'Civilian' difficulty level is aimed at first-time players.
|
||||
icon=TSG_campaign_icon.png
|
||||
image=TSG_campaign_image.png
|
||||
description= _ "A young Knight, Deoran, is dispatched to take command of the South Guard... Note: This campaign is designed as an introduction to Wesnoth. The 'Civilian' difficulty level is aimed at first-time players.
|
||||
|
||||
(Novice level, 8 scenarios.)"
|
||||
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions="*" + {MENU_IMG_TXT2 "units/human-peasants/peasant.png~TC(1,magenta)" _"Civilian" _"(Beginner)"} + ";" + {MENU_IMG_TXT2 "units/human-loyalists/spearman.png~TC(1,magenta)" _"Recruit" _"(Easy)"} + ";" + {MENU_IMG_TXT2 "units/human-loyalists/javelineer.png~TC(1,magenta)" _"Soldier" _"(Normal)"}
|
||||
difficulties=EASY,NORMAL,HARD
|
||||
difficulty_descriptions="*" + {MENU_IMG_TXT2 "units/human-peasants/peasant.png~TC(1,magenta)" _"Civilian" _"(Beginner)"} + ";" + {MENU_IMG_TXT2 "units/human-loyalists/spearman.png~TC(1,magenta)" _"Recruit" _"(Easy)"} + ";" + {MENU_IMG_TXT2 "units/human-loyalists/javelineer.png~TC(1,magenta)" _"Soldier" _"(Normal)"}
|
||||
|
||||
first_scenario=1_Born_To_The_Banner
|
||||
first_scenario=1_Born_To_The_Banner
|
||||
|
||||
#textdomain wesnoth
|
||||
[about]
|
||||
title = _ "Campaign Designer"
|
||||
text = "William Carey (aelius)"
|
||||
[/about]
|
||||
[about]
|
||||
title = _ "Current Maintainer"
|
||||
text = "Wintermute"
|
||||
[/about]
|
||||
[about]
|
||||
title = _ "Artwork and Graphics Designers"
|
||||
text = "William Carey (aelius)
|
||||
#textdomain wesnoth
|
||||
[about]
|
||||
title = _ "Campaign Designer"
|
||||
text = "William Carey (aelius)"
|
||||
[/about]
|
||||
[about]
|
||||
title = _ "Current Maintainer"
|
||||
text = "Wintermute"
|
||||
[/about]
|
||||
[about]
|
||||
title = _ "Artwork and Graphics Designers"
|
||||
text = "William Carey (aelius)
|
||||
Shadow
|
||||
J.W. Bjerk (eleazar)"
|
||||
[/about]
|
||||
[about]
|
||||
title = _ "Miscellaneous"
|
||||
text = "and other people
|
||||
[/about]
|
||||
[about]
|
||||
title = _ "Miscellaneous"
|
||||
text = "and other people
|
||||
this list is very incomplete
|
||||
"
|
||||
[/about]
|
||||
|
||||
[/about]
|
||||
[/campaign]
|
||||
|
||||
[binary_path]
|
||||
path=data/campaigns/The_South_Guard/external_binary_data
|
||||
path=data/campaigns/The_South_Guard/external_binary_data
|
||||
[/binary_path]
|
||||
|
||||
#ifdef CAMPAIGN_THE_SOUTH_GUARD
|
||||
|
||||
[binary_path]
|
||||
path=data/campaigns/The_South_Guard
|
||||
path=data/campaigns/The_South_Guard
|
||||
[/binary_path]
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_unit_utils.cfg}
|
||||
|
||||
[+units]
|
||||
{campaigns/The_South_Guard/units}
|
||||
{campaigns/The_South_Guard/units}
|
||||
[/units]
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_story.cfg}
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,348 +1,343 @@
|
|||
[scenario]
|
||||
id=3_A_Desperate_Errand
|
||||
#textdomain wesnoth-tsg
|
||||
id=3_A_Desperate_Errand
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "A Desperate Errand"
|
||||
next_scenario=4_Vale_of_Tears
|
||||
[music]
|
||||
name=revelation.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=loyalists.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
[music]
|
||||
name=wanderer.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
name= _ "A Desperate Errand"
|
||||
next_scenario=4_Vale_of_Tears
|
||||
[music]
|
||||
name=revelation.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=loyalists.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
[music]
|
||||
name=wanderer.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/3_A_Desperate_Errand.map}"
|
||||
map_data="{campaigns/The_South_Guard/maps/3_A_Desperate_Errand.map}"
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
|
||||
victory_when_enemies_defeated=no
|
||||
{TURNS 30 24 20}
|
||||
victory_when_enemies_defeated=no
|
||||
{TURNS 30 24 20}
|
||||
|
||||
# The South Guard
|
||||
|
||||
# The South Guard
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
{GOLD 120 105 75}
|
||||
|
||||
{GOLD 120 105 75}
|
||||
canrecruit=1
|
||||
recruit= Peasant,Bowman,Spearman
|
||||
[/side]
|
||||
|
||||
canrecruit=1
|
||||
recruit= Peasant,Bowman,Spearman
|
||||
[/side]
|
||||
# The Bandit Armies
|
||||
|
||||
# The Bandit Armies
|
||||
[side]
|
||||
side=2
|
||||
type=Rogue
|
||||
description=Urza Fastik
|
||||
user_description= _ "Urza Fastik"
|
||||
|
||||
[side]
|
||||
side=2
|
||||
type=Rogue
|
||||
description=Urza Fastik
|
||||
user_description= _ "Urza Fastik"
|
||||
team_name=bandits
|
||||
controller=ai
|
||||
|
||||
team_name=bandits
|
||||
controller=ai
|
||||
{GOLD 20 40 70}
|
||||
{INCOME 2 4 7}
|
||||
|
||||
{GOLD 20 40 70}
|
||||
{INCOME 2 4 7}
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=fighter,scout,archer,scout
|
||||
{QUANTITY aggression 0.55 0.75 0.85}
|
||||
{ATTACK_DEPTH 3 4 5}
|
||||
[target]
|
||||
description=Deoran
|
||||
value=10.0
|
||||
[/target]
|
||||
[/ai]
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=fighter,scout,archer,scout
|
||||
{QUANTITY aggression 0.55 0.75 0.85}
|
||||
{ATTACK_DEPTH 3 4 5}
|
||||
[target]
|
||||
description=Deoran
|
||||
value=10.0
|
||||
[/target]
|
||||
[/ai]
|
||||
#ifdef EASY
|
||||
recruit=Ruffian,Thug,Footpad,Vampire Bat
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
recruit=Ruffian,Thug,Thief,Poacher,Vampire Bat,Skeleton
|
||||
#endif
|
||||
#ifdef HARD
|
||||
recruit=Footpad,Thief,Poacher,Vampire Bat,Skeleton,Skeleton Archer
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
#ifdef EASY
|
||||
recruit=Ruffian,Thug,Footpad,Vampire Bat
|
||||
#endif
|
||||
#ifdef NORMAL
|
||||
recruit=Ruffian,Thug,Thief,Poacher,Vampire Bat,Skeleton
|
||||
#endif
|
||||
#ifdef HARD
|
||||
recruit=Footpad,Thief,Poacher,Vampire Bat,Skeleton,Skeleton Archer
|
||||
#endif
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
[/side]
|
||||
# The Bandit Armies control several villages.
|
||||
{STARTING_VILLAGES 2 15}
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
# Modify the map to add the target location for Deoran to move towards.
|
||||
{PLACE_IMAGE (items/gohere.png) 17 7}
|
||||
|
||||
# The Bandit Armies control several villages.
|
||||
{STARTING_VILLAGES 2 15}
|
||||
# Reduce the size of the enemy camp on 'trivial' difficulty
|
||||
#ifdef EASY
|
||||
{SG_CHANGE_TERRAIN 8 18 Gg}
|
||||
{SG_CHANGE_TERRAIN 10 19 Gg}
|
||||
#endif
|
||||
[/event]
|
||||
|
||||
# Modify the map to add the target location for Deoran to move towards.
|
||||
{PLACE_IMAGE (items/gohere.png) 17 7}
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Sir Gerrick
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
|
||||
# Reduce the size of the enemy camp on 'trivial' difficulty
|
||||
#ifdef EASY
|
||||
{SG_CHANGE_TERRAIN 8 18 Gg}
|
||||
{SG_CHANGE_TERRAIN 10 19 Gg}
|
||||
#endif
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Deoran and his men came to the border of the elvish woods..."
|
||||
[/message]
|
||||
|
||||
[/event]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Look, men! There is the forest of the Elves to the north west. Let us hasten across the river and the hills."
|
||||
[/message]
|
||||
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Sir Gerrick
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "Be careful, Deoran. No man has set foot in the Elvish woods for many a year. We do not know how they will receive us. Sir Loris thought that it was some trick of theirs trying to bring him into the woods..."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Deoran and his men came to the border of the elvish woods..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "But if we do not discover the source of these undead warriors, the whole province shall surely be swallowed up by them, and then their bandit masters will fare no better. We cannot allow it!"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Look, men! There is the forest of the Elves to the north west. Let us hasten across the river and the hills."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Fastik
|
||||
message= _ "I have lost two brothers to Deoran - I shall not allow him to reach the accursed elves! Deoran will die before he reaches the western forest!"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "Be careful, Deoran. No man has set foot in the Elvish woods for many a year. We do not know how they will receive us. Sir Loris thought that it was some trick of theirs trying to bring him into the woods..."
|
||||
[/message]
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Move Deoran to the Elvish city in the northern woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "But if we do not discover the source of these undead warriors, the whole province shall surely be swallowed up by them, and then their bandit masters will fare no better. We cannot allow it!"
|
||||
[/message]
|
||||
#ifdef EASY
|
||||
[scroll_to]
|
||||
x=17
|
||||
y=7
|
||||
[/scroll_to]
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "You must move Deoran to the center of the elvish citadel. Be sure to recruit a force strong enough to drive off the bandits before moving Deoran from his encampment!"
|
||||
[/message]
|
||||
#endif
|
||||
[/event]
|
||||
|
||||
[message]
|
||||
speaker=Urza Fastik
|
||||
message= _ "I have lost two brothers to Deoran - I shall not allow him to reach the accursed elves! Deoran will die before he reaches the western forest!"
|
||||
[/message]
|
||||
[event]
|
||||
name=turn 1
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Move Deoran to the Elvish city in the northern woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "There is so much ground to cover. If only our riders would arrive!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
#ifdef EASY
|
||||
[scroll_to]
|
||||
x=17
|
||||
y=7
|
||||
[/scroll_to]
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "You must move Deoran to the center of the elvish citadel. Be sure to recruit a force strong enough to drive off the bandits before moving Deoran from his encampment!"
|
||||
[/message]
|
||||
#endif
|
||||
[/event]
|
||||
[event]
|
||||
name=turn 2
|
||||
|
||||
[event]
|
||||
name=turn 1
|
||||
[unit]
|
||||
side=1
|
||||
description=Jarek
|
||||
user_description= _ "Jarek"
|
||||
{QUANTITY type Cavalier Dragoon Cavalryman}
|
||||
x,y=41,33
|
||||
traits_description=_"strong," + _"quick"
|
||||
upkeep=full
|
||||
[modifications]
|
||||
{SG_STRONG}
|
||||
{SG_QUICK}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "There is so much ground to cover. If only our riders would arrive!"
|
||||
[/message]
|
||||
[/event]
|
||||
[message]
|
||||
speaker=Jarek
|
||||
message= _ "Commander, I received your request for reinforcements, and I have brought my riders with me!"
|
||||
[/message]
|
||||
|
||||
[event]
|
||||
name=turn 2
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-loyalists/cavalryman-attack.png~TC(1,magenta)"
|
||||
message= _ "You may now recruit Cavalrymen. They are fast and deadly on grassland, but weak in forests and hills. They can keep up with Deoran, so use them to guard him!"
|
||||
[/message]
|
||||
|
||||
[unit]
|
||||
side=1
|
||||
description=Jarek
|
||||
user_description= _ "Jarek"
|
||||
{QUANTITY type Cavalier Dragoon Cavalryman}
|
||||
x,y=41,33
|
||||
traits_description=_"strong," + _"quick"
|
||||
upkeep=full
|
||||
[modifications]
|
||||
{SG_STRONG}
|
||||
{SG_QUICK}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
[allow_recruit]
|
||||
side=1
|
||||
type=Cavalryman
|
||||
[/allow_recruit]
|
||||
[/event]
|
||||
|
||||
[message]
|
||||
speaker=Jarek
|
||||
message= _ "Commander, I received your request for reinforcements, and I have brought my riders with me!"
|
||||
[/message]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
speaker=Urza Fastik
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-loyalists/cavalryman-attack.png~TC(1,magenta)"
|
||||
message= _ "You may now recruit Cavalrymen. They are fast and deadly on grassland, but weak in forests and hills. They can keep up with Deoran, so use them to guard him!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "What have we done?! Even our undead allies cannot stand against this commander!"
|
||||
[/message]
|
||||
|
||||
[allow_recruit]
|
||||
side=1
|
||||
type=Cavalryman
|
||||
[/allow_recruit]
|
||||
[/event]
|
||||
[role]
|
||||
role=second
|
||||
type=Spearman, Swordsman, Pikeman, Javelineer, Bowman, Longbowman,Cavalryman,Dragoon
|
||||
[/role]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
speaker=Urza Fastik
|
||||
[/filter]
|
||||
[message]
|
||||
role=second
|
||||
message= _ "I hope that's the last of the bandits! How many more of these foul undead must we fight?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "What have we done?! Even our undead allies cannot stand against this commander!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "If we are to check the advance of the dead, I must reach the home of the elves!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[role]
|
||||
role=second
|
||||
type=Spearman, Swordsman, Pikeman, Javelineer, Bowman, Longbowman,Cavalryman,Dragoon
|
||||
[/role]
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Deoran
|
||||
x,y=17,7
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
role=second
|
||||
message= _ "I hope that's the last of the bandits! How many more of these foul undead must we fight?"
|
||||
[/message]
|
||||
{SG_UNIT (Elvish Ranger) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 15 4}
|
||||
{SG_UNIT (Elvish Marksman) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 19 4}
|
||||
{SG_UNIT (Elvish Ranger) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 13 7}
|
||||
{SG_UNIT (Elvish Avenger) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 21 7}
|
||||
{SG_UNIT (Elvish Hero) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 15 10}
|
||||
{SG_UNIT (Elvish Outrider) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 19 10}
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "If we are to check the advance of the dead, I must reach the home of the elves!"
|
||||
[/message]
|
||||
[/event]
|
||||
[unit]
|
||||
#ifdef EASY
|
||||
type=Elvish Shyde
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
type=Elvish Druid
|
||||
#endif
|
||||
#ifdef HARD
|
||||
type=Elvish Druid
|
||||
#endif
|
||||
description=Ethiliel
|
||||
user_description= _ "Ethiliel"
|
||||
profile=portraits/ethiliel.png
|
||||
{IS_HERO}
|
||||
side=1
|
||||
x,y=18,6
|
||||
[modifications]
|
||||
{SG_LOYAL}
|
||||
{SG_QUICK}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Deoran
|
||||
x,y=17,7
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Ethiliel's Guard
|
||||
message= _ "Halt! Who has entered our citadel without leave?"
|
||||
[/message]
|
||||
|
||||
{SG_UNIT (Elvish Ranger) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 15 4}
|
||||
{SG_UNIT (Elvish Marksman) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 19 4}
|
||||
{SG_UNIT (Elvish Ranger) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 13 7}
|
||||
{SG_UNIT (Elvish Avenger) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 21 7}
|
||||
{SG_UNIT (Elvish Hero) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 15 10}
|
||||
{SG_UNIT (Elvish Outrider) (Ethiliel's Guard) (_"Ethiliel's Guard") 1 19 10}
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "De..."
|
||||
[/message]
|
||||
|
||||
[unit]
|
||||
#ifdef EASY
|
||||
type=Elvish Shyde
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
type=Elvish Druid
|
||||
#endif
|
||||
#ifdef HARD
|
||||
type=Elvish Druid
|
||||
#endif
|
||||
description=Ethiliel
|
||||
user_description= _ "Ethiliel"
|
||||
profile=portraits/ethiliel.png
|
||||
{IS_HERO}
|
||||
side=1
|
||||
x,y=18,6
|
||||
[modifications]
|
||||
{SG_LOYAL}
|
||||
{SG_QUICK}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
[message]
|
||||
speaker=Ethiliel's Guard
|
||||
message= _ "Speak carefully, for the penalty for trespass on our lands is death, and your life is thus forfeit."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Ethiliel's Guard
|
||||
message= _ "Halt! Who has entered our citadel without leave?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
image=portraits/deoran-mad.png
|
||||
message= _ "Deora..."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "De..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Stay a moment. This man wears the colors of Wesnoth, and Kalenz told us not all the folk of Wesnoth are foes of the elves. Tell us, then, what brings you to the hallowed citadel of Elrath?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Ethiliel's Guard
|
||||
message= _ "Speak carefully, for the penalty for trespass on our lands is death, and your life is thus forfeit."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "My lady, we have come to the elves to seek guidance. Bandits and criminals in our land have summoned the dead to help them plunder our farms and villages. They are coming across the river from the great forest to the south of our lands, where no man has yet traveled."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
image=portraits/deoran-mad.png
|
||||
message= _ "Deora..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "The elves know of the great southern forest, and have walked its paths many times. What would you do, Deoran?"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Stay a moment. This man wears the colors of Wesnoth, and Kalenz told us not all the folk of Wesnoth are foes of the elves. Tell us, then, what brings you to the hallowed citadel of Elrath?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "I would lead my men south of the river to find the source of these beings of Darkness that we might destroy it. For surely, ere that be done, we cannot stand against them for long."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "My lady, we have come to the elves to seek guidance. Bandits and criminals in our land have summoned the dead to help them plunder our farms and villages. They are coming across the river from the great forest to the south of our lands, where no man has yet traveled."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Indeed you are brave to face such foes. But I fear that alone you will fail and fall. One elf now lives who remembers the secrets of the undead that we learned when Haldric I came to our land. His name is Mebrin, and he lives, secluded in the hills, near here. I will take you to him."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "The elves know of the great southern forest, and have walked its paths many times. What would you do, Deoran?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
image=portraits/deoran-glad.png
|
||||
message= _ "My thanks, lady."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "I would lead my men south of the river to find the source of these beings of Darkness that we might destroy it. For surely, ere that be done, we cannot stand against them for long."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Indeed you are brave to face such foes. But I fear that alone you will fail and fall. One elf now lives who remembers the secrets of the undead that we learned when Haldric I came to our land. His name is Mebrin, and he lives, secluded in the hills, near here. I will take you to him."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
image=portraits/deoran-glad.png
|
||||
message= _ "My thanks, lady."
|
||||
[/message]
|
||||
|
||||
[kill]
|
||||
type=Elvish Ranger,Elvish Avenger,Elvish Outrider,Elvish Hero,Elvish Marksman
|
||||
animate=no
|
||||
fire_event=no
|
||||
[/kill]
|
||||
|
||||
[endlevel]
|
||||
bonus=yes
|
||||
result=victory
|
||||
[/endlevel]
|
||||
|
||||
[/event]
|
||||
[kill]
|
||||
type=Elvish Ranger,Elvish Avenger,Elvish Outrider,Elvish Hero,Elvish Marksman
|
||||
animate=no
|
||||
fire_event=no
|
||||
[/kill]
|
||||
|
||||
[endlevel]
|
||||
bonus=yes
|
||||
result=victory
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,403 +1,393 @@
|
|||
[scenario]
|
||||
id=6a_Tidings_Good_And_Ill
|
||||
#textdomain wesnoth-tsg
|
||||
id=6a_Tidings_Good_And_Ill
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "Tidings, Good and Ill"
|
||||
next_scenario=7a_Into_The_Depths
|
||||
[music]
|
||||
name=battle.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=loyalists.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
name= _ "Tidings, Good and Ill"
|
||||
next_scenario=7a_Into_The_Depths
|
||||
[music]
|
||||
name=battle.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=loyalists.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/6a_Tidings_Good_And_Ill.map}"
|
||||
map_data="{campaigns/The_South_Guard/maps/6a_Tidings_Good_And_Ill.map}"
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
{campaigns/The_South_Guard/utils/sg_help.cfg}
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
{campaigns/The_South_Guard/utils/sg_help.cfg}
|
||||
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
|
||||
turns=18
|
||||
victory_when_enemies_defeated=no
|
||||
turns=18
|
||||
victory_when_enemies_defeated=no
|
||||
|
||||
# Sir Gerrick's Men
|
||||
|
||||
# Sir Gerrick's Men
|
||||
[side]
|
||||
side=1
|
||||
type=Elvish Ranger
|
||||
description=Ithelden
|
||||
user_description= _ "Ithelden"
|
||||
unrenamable=yes
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Elvish Ranger
|
||||
description=Ithelden
|
||||
user_description= _ "Ithelden"
|
||||
unrenamable=yes
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
gold=0
|
||||
income=0
|
||||
|
||||
shroud=yes
|
||||
fog=yes
|
||||
|
||||
gold=0
|
||||
income=0
|
||||
canrecruit=1
|
||||
[/side]
|
||||
|
||||
shroud=yes
|
||||
fog=yes
|
||||
# Miscellaneous Enemy Combatants
|
||||
|
||||
canrecruit=1
|
||||
[/side]
|
||||
[side]
|
||||
side=2
|
||||
|
||||
# Miscellaneous Enemy Combatants
|
||||
team_name=Various_Baddies
|
||||
no_leader=yes
|
||||
|
||||
[side]
|
||||
side=2
|
||||
controller=ai
|
||||
|
||||
team_name=Various_Baddies
|
||||
no_leader=yes
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 8 21}
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 17 16}
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 8 16}
|
||||
|
||||
controller=ai
|
||||
{SG_GUARD (Giant Scorpion) (Scorpion) (_"Scorpion") 2 14 16}
|
||||
{SG_GUARD (Ogre) (Wild Ogre) (_"Wild Ogre") 2 4 10}
|
||||
|
||||
{SG_GUARD (Naga Fighter) (Naga) (_"Naga") 2 13 9}
|
||||
{SG_GUARD (Naga Fighter) (Naga) (_"Naga") 2 14 9}
|
||||
|
||||
#ifdef EASY
|
||||
{SG_GUARD (Dark Adept) (Abdur) (_"Abdur") 2 8 1}
|
||||
{SG_GUARD (Naga Fighter) (Naga Queen) (_"Naga Queen") 2 12 8}
|
||||
#endif
|
||||
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 8 21}
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 17 16}
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 8 16}
|
||||
#ifdef MEDIUM
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 9 14}
|
||||
{SG_GUARD (Dark Adept) (Abdur) (_"Abdur") 2 8 1}
|
||||
{SG_GUARD (Naga Warrior) (Naga Queen) (_"Naga Queen") 2 12 8}
|
||||
{SG_GUARD (Naga Fighter) (Naga) (_"Naga") 2 13 7}
|
||||
#endif
|
||||
|
||||
{SG_GUARD (Giant Scorpion) (Scorpion) (_"Scorpion") 2 14 16}
|
||||
{SG_GUARD (Ogre) (Wild Ogre) (_"Wild Ogre") 2 4 10}
|
||||
#ifdef HARD
|
||||
{SG_GUARD (Saurian Ambusher) (S'ssth) (_"S'ssth") 2 9 14}
|
||||
{SG_GUARD (Dark Adept) (Abdur) (_"Abdur") 2 8 1}
|
||||
{SG_GUARD (Dark Adept) (Kallen) (_"Kallen") 2 7 1}
|
||||
{SG_GUARD (Naga Myrmidon) (Naga Queen) (_"Naga Queen") 2 12 8}
|
||||
{SG_GUARD (Naga Warrior) (Naga) (_"Naga") 2 13 7}
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
{SG_GUARD (Naga Fighter) (Naga) (_"Naga") 2 13 9}
|
||||
{SG_GUARD (Naga Fighter) (Naga) (_"Naga") 2 14 9}
|
||||
#prestart
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
# Add the target location for Sir Gerrick to move to.
|
||||
|
||||
#ifdef EASY
|
||||
{SG_GUARD (Dark Adept) (Abdur) (_"Abdur") 2 8 1}
|
||||
{SG_GUARD (Naga Fighter) (Naga Queen) (_"Naga Queen") 2 12 8}
|
||||
#endif
|
||||
{PLACE_IMAGE (items/gohere.png) 9 1}
|
||||
|
||||
#ifdef MEDIUM
|
||||
{SG_GUARD (Saurian Skirmisher) (S'ssth) (_"S'ssth") 2 9 14}
|
||||
{SG_GUARD (Dark Adept) (Abdur) (_"Abdur") 2 8 1}
|
||||
{SG_GUARD (Naga Warrior) (Naga Queen) (_"Naga Queen") 2 12 8}
|
||||
{SG_GUARD (Naga Fighter) (Naga) (_"Naga") 2 13 7}
|
||||
#endif
|
||||
# Switch the leader from Ithelden to Sir Gerrick
|
||||
# Thanks to "shade" for help with this!
|
||||
|
||||
#ifdef HARD
|
||||
{SG_GUARD (Saurian Ambusher) (S'ssth) (_"S'ssth") 2 9 14}
|
||||
{SG_GUARD (Dark Adept) (Abdur) (_"Abdur") 2 8 1}
|
||||
{SG_GUARD (Dark Adept) (Kallen) (_"Kallen") 2 7 1}
|
||||
{SG_GUARD (Naga Myrmidon) (Naga Queen) (_"Naga Queen") 2 12 8}
|
||||
{SG_GUARD (Naga Warrior) (Naga) (_"Naga") 2 13 7}
|
||||
#endif
|
||||
[store_unit]
|
||||
variable=leader_store
|
||||
[filter]
|
||||
description=Ithelden
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
{VARIABLE leader_store.canrecruit 0}
|
||||
[unstore_unit]
|
||||
variable=leader_store
|
||||
[/unstore_unit]
|
||||
|
||||
[/side]
|
||||
{VARIABLE Sir_Gerrick_Store.x 17}
|
||||
{VARIABLE Sir_Gerrick_Store.y 24}
|
||||
{VARIABLE Sir_Gerrick_Store.canrecruit 1}
|
||||
[unstore_unit]
|
||||
variable=Sir_Gerrick_Store
|
||||
[/unstore_unit]
|
||||
{CLEAR_VARIABLE Sir_Gerrick_Store}
|
||||
|
||||
#prestart
|
||||
# Recall up to four elvish fighters and three elvish shamans
|
||||
# This is an ugly hack, and I need to figure out how to do it right,
|
||||
# but for the life of me, I can't get setting their x and y positions
|
||||
# to the results of a [store_starting_location] to work.
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
# Add the target location for Sir Gerrick to move to.
|
||||
{FOREACH elvish_fighters X}
|
||||
[if]
|
||||
[variable]
|
||||
name=X
|
||||
less_than=4
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE elvish_fighters[$X].x 16}
|
||||
{VARIABLE elvish_fighters[$X].y 24}
|
||||
{VARIABLE elvish_fighters[$X].moves 5}
|
||||
|
||||
{PLACE_IMAGE (items/gohere.png) 9 1}
|
||||
[unstore_unit]
|
||||
variable=elvish_fighters[$X]
|
||||
find_vacant=yes
|
||||
[/unstore_unit]
|
||||
[/then]
|
||||
[/if]
|
||||
{NEXT X}
|
||||
{CLEAR_VARIABLE elvish_fighers}
|
||||
|
||||
# Switch the leader from Ithelden to Sir Gerrick
|
||||
# Thanks to "shade" for help with this!
|
||||
{FOREACH elvish_healers X}
|
||||
[if]
|
||||
[variable]
|
||||
name=X
|
||||
less_than=4
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE elvish_healers[$X].x 16}
|
||||
{VARIABLE elvish_healers[$X].y 24}
|
||||
{VARIABLE elvish_healers[$X].moves 5}
|
||||
[unstore_unit]
|
||||
variable=elvish_healers[$X]
|
||||
find_vacant=yes
|
||||
[/unstore_unit]
|
||||
[/then]
|
||||
[/if]
|
||||
{NEXT X}
|
||||
{CLEAR_VARIABLE elvish_healers}
|
||||
[/event]
|
||||
|
||||
[store_unit]
|
||||
variable=leader_store
|
||||
[filter]
|
||||
description=Ithelden
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
{VARIABLE leader_store.canrecruit 0}
|
||||
[unstore_unit]
|
||||
variable=leader_store
|
||||
[/unstore_unit]
|
||||
#start
|
||||
|
||||
{VARIABLE Sir_Gerrick_Store.x 17}
|
||||
{VARIABLE Sir_Gerrick_Store.y 24}
|
||||
{VARIABLE Sir_Gerrick_Store.canrecruit 1}
|
||||
[unstore_unit]
|
||||
variable=Sir_Gerrick_Store
|
||||
[/unstore_unit]
|
||||
{CLEAR_VARIABLE Sir_Gerrick_Store}
|
||||
[event]
|
||||
name=start
|
||||
|
||||
# Recall up to four elvish fighters and three elvish shamans
|
||||
# This is an ugly hack, and I need to figure out how to do it right,
|
||||
# but for the life of me, I can't get setting their x and y positions
|
||||
# to the results of a [store_starting_location] to work.
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "Sir Gerrick, you must make it back to Kerlath and warn your people of the danger from the south. We will lead you through the forest and clear any foes from your path."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "With the bandits and undead vanquished behind us, what foes can there be ahead? Let us hope this is a speedy journey, for the spectre of winter looms."
|
||||
[/message]
|
||||
[remove_shroud]
|
||||
side=1
|
||||
x=8-10
|
||||
y=0-2
|
||||
[/remove_shroud]
|
||||
|
||||
{FOREACH elvish_fighters X}
|
||||
[if]
|
||||
[variable]
|
||||
name=X
|
||||
less_than=4
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE elvish_fighters[$X].x 16}
|
||||
{VARIABLE elvish_fighters[$X].y 24}
|
||||
{VARIABLE elvish_fighters[$X].moves 5}
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Move Sir Gerrick to the north end of the woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Ithelden"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[unstore_unit]
|
||||
variable=elvish_fighters[$X]
|
||||
find_vacant=yes
|
||||
[/unstore_unit]
|
||||
[/then]
|
||||
[/if]
|
||||
{NEXT X}
|
||||
{CLEAR_VARIABLE elvish_fighers}
|
||||
# The nagas are sighted, and move to defend their home. They are enraged if you allied with the mermen in "Born to the Banner"
|
||||
|
||||
{FOREACH elvish_healers X}
|
||||
[if]
|
||||
[variable]
|
||||
name=X
|
||||
less_than=4
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE elvish_healers[$X].x 16}
|
||||
{VARIABLE elvish_healers[$X].y 24}
|
||||
{VARIABLE elvish_healers[$X].moves 5}
|
||||
[unstore_unit]
|
||||
variable=elvish_healers[$X]
|
||||
find_vacant=yes
|
||||
[/unstore_unit]
|
||||
[/then]
|
||||
[/if]
|
||||
{NEXT X}
|
||||
{CLEAR_VARIABLE elvish_healers}
|
||||
[event]
|
||||
name=sighted
|
||||
[filter]
|
||||
description=Naga Queen
|
||||
[/filter]
|
||||
|
||||
[/event]
|
||||
[if]
|
||||
[variable]
|
||||
name=has_mermen
|
||||
equals="Yes"
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... Here are the humans who have made a pact with the cursed mermen! Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "We have stumbled into a den of nagas!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... We will kill them all, my brood. Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "We must clear this road for Deoran and Ethiliel! We must destroy the naga lair!"
|
||||
[/message]
|
||||
[/then]
|
||||
[else]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... elves! Are they friends or enemies? Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "We are weary travelers, seeking our homes. If you but let us pass..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... And humans! Humans drained our swamps and made them fields for farms, and now they have found my winter nest. The Land-Walkers must die! Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "She won't listen. If we leave these nagas here, they will ambush Deoran and Ethiliel! We must destroy them!"
|
||||
[/message]
|
||||
[/else]
|
||||
[/if]
|
||||
|
||||
#start
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Move Sir Gerrick to the north end of the woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Defeat the Naga Queen"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Ithelden"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=start
|
||||
# The Naga Queen dies...
|
||||
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "Sir Gerrick, you must make it back to Kerlath and warn your people of the danger from the south. We will lead you through the forest and clear any foes from your path."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "With the bandits and undead vanquished behind us, what foes can there be ahead? Let us hope this is a speedy journey, for the spectre of winter looms."
|
||||
[/message]
|
||||
[remove_shroud]
|
||||
side=1
|
||||
x=8-10
|
||||
y=0-2
|
||||
[/remove_shroud]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Naga Queen
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... Who will watch over my brood now? Hss..."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Move Sir Gerrick to the north end of the woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Ithelden"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
# The Wild Ogre Translators: The ogre purposely has very bad grammer, because he's very stupid.
|
||||
|
||||
# The nagas are sighted, and move to defend their home. They are enraged if you allied with the mermen in "Born to the Banner"
|
||||
[event]
|
||||
name=sighted
|
||||
[filter]
|
||||
description=Wild Ogre
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "Ho! Me see elves. Elves tasty? Me take elves to eat."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "Err, Mr. Ogre, we are not very tasty."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "Oh. Me only want tasty food. Go away."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "Wait! Me not believe you. Me eat you!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=sighted
|
||||
[filter]
|
||||
description=Naga Queen
|
||||
[/filter]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Wild Ogre
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Ogre
|
||||
message= _ "Bad food! It hurt me. Arrrrggghhhh!!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=has_mermen
|
||||
equals="Yes"
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... Here are the humans who have made a pact with the cursed mermen! Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "We have stumbled into a den of nagas!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... We will kill them all, my brood. Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "We must clear this road for Deoran and Ethiliel! We must destroy the naga lair!"
|
||||
[/message]
|
||||
[/then]
|
||||
[else]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... elves! Are they friends or enemies? Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "We are weary travelers, seeking our homes. If you but let us pass..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... And humans! Humans drained our swamps and made them fields for farms, and now they have found my winter nest. The Land-Walkers must die! Hss..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "She won't listen. If we leave these nagas here, they will ambush Deoran and Ethiliel! We must destroy them!"
|
||||
[/message]
|
||||
[/else]
|
||||
[/if]
|
||||
# The Dark Adept's Story
|
||||
[event]
|
||||
name=sighted
|
||||
[filter]
|
||||
description=Abdur
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Abdur
|
||||
message= _ "Travelers in this desolate land! I seek that dark Sage who is rumored to dwell in these lands. Surely you have come from him?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Indeed! I just left my comrades, who were preparing to kill the vile Necromancer."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Abdur
|
||||
message= _ "Unworthy fools! I'll kill you for this sacrilege!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Move Sir Gerrick to the north end of the woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Defeat the Naga Queen"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Ithelden"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
# Sir Gerrick moves to the head of the road
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
x,y=9,1
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "I will hasten back to Kerlath now and seek the advice of the Council of Westin..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "We too will return to our councils. We have much to tell them... Much indeed."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "While the council debated the best course of action, Deoran and Ethiliel prepared to enter the caves under Mebrin's fortress..."
|
||||
[/message]
|
||||
|
||||
# The Naga Queen dies...
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Naga Queen
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Naga Queen
|
||||
message= _ "Hss... Who will watch over my brood now? Hss..."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
# The Wild Ogre Translators: The ogre purposely has very bad grammer, because he's very stupid.
|
||||
|
||||
[event]
|
||||
name=sighted
|
||||
[filter]
|
||||
description=Wild Ogre
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "Ho! Me see elves. Elves tasty? Me take elves to eat."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "Err, Mr. Ogre, we are not very tasty."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "Oh. Me only want tasty food. Go away."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Wild Ogre
|
||||
message= _ "Wait! Me not believe you. Me eat you!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Wild Ogre
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Ogre
|
||||
message= _ "Bad food! It hurt me. Arrrrggghhhh!!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
||||
# The Dark Adept's Story
|
||||
[event]
|
||||
name=sighted
|
||||
[filter]
|
||||
description=Abdur
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Abdur
|
||||
message= _ "Travelers in this desolate land! I seek that dark Sage who is rumored to dwell in these lands. Surely you have come from him?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Indeed! I just left my comrades, who were preparing to kill the vile Necromancer."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Abdur
|
||||
message= _ "Unworthy fools! I'll kill you for this sacrilege!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
# Sir Gerrick moves to the head of the road
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
x,y=9,1
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "I will hasten back to Kerlath now and seek the advice of the Council of Westin..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "We too will return to our councils. We have much to tell them... Much indeed."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "While the council debated the best course of action, Deoran and Ethiliel prepared to enter the caves under Mebrin's fortress..."
|
||||
[/message]
|
||||
|
||||
[store_unit]
|
||||
variable=sir_gerrick_store
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
[endlevel]
|
||||
bonus=no
|
||||
result=continue
|
||||
[/endlevel]
|
||||
|
||||
[/event]
|
||||
[store_unit]
|
||||
variable=sir_gerrick_store
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
[endlevel]
|
||||
bonus=no
|
||||
result=continue
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -1,461 +1,453 @@
|
|||
[scenario]
|
||||
id=6b_The_Long_March
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "The Long March"
|
||||
next_scenario=7b_Pebbles_In_The_Flood
|
||||
[music]
|
||||
name=revelation.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=northerners.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/6b_The_Long_March.map}"
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
|
||||
victory_when_enemies_defeated=no
|
||||
turns=24
|
||||
|
||||
|
||||
# The South Guard
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
|
||||
fog=no
|
||||
shroud=yes
|
||||
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 6 4 2}
|
||||
|
||||
canrecruit=1
|
||||
recruit=Peasant, Bowman, Spearman, Cavalryman, Thug, Footpad, Poacher
|
||||
[/side]
|
||||
|
||||
#Urza Afalas
|
||||
|
||||
[side]
|
||||
side=2
|
||||
|
||||
team_name=South_Guard
|
||||
no_leader=yes
|
||||
|
||||
controller=ai
|
||||
[/side]
|
||||
|
||||
# The Undead Hordes (Part II)
|
||||
|
||||
[side]
|
||||
side=3
|
||||
no_leader=yes
|
||||
|
||||
team_name=the_undead_hordes
|
||||
controller=ai
|
||||
|
||||
{GOLD 10 20 30}
|
||||
{INCOME 1 2 3}
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=scout
|
||||
aggression=-0.25
|
||||
[/ai]
|
||||
#ifdef EASY
|
||||
recruit=Vampire Bat
|
||||
#endif
|
||||
|
||||
#ifdef NORMAL
|
||||
recruit=Vampire Bat
|
||||
#endif
|
||||
|
||||
#ifdef HARD
|
||||
recruit=Vampire Bat, Blood Bat
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
#prestart
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
{PLACE_IMAGE (items/gohere.png) 16 3}
|
||||
|
||||
{SG_GUARD (Naga Warrior) (Fssth) (_"Fssth") 3 9 14}
|
||||
|
||||
[recall]
|
||||
description=Sir Gerrick
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Jarek
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Urza Afalas
|
||||
[/recall]
|
||||
|
||||
{SG_CHANGE_TERRAIN 28 46 Gg}
|
||||
[/event]
|
||||
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
|
||||
[store_unit]
|
||||
variable=afalas_store
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
{VARIABLE afalas_store.side 2}
|
||||
[unstore_unit]
|
||||
variable=afalas_store
|
||||
[/unstore_unit]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Deoran and Urza Afalas led their men quickly from the ruins of Mal M'brin's fortress..."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Will this forest ever end? How can we know what path to take?!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "You have to follow me! There are many false paths in these woods. Some are dead ends, others are even worse!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Can we trust him? His people are murderers and thieves!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "Do we have any choice? Our food is running out, and it will be winter soon..."
|
||||
[/message]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 20 47}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "This way! The only ford is a bit west of here, and the path to the north will lead you into trouble!"
|
||||
[/message]
|
||||
{PLACE_IMAGE (items/gohere.png) 21 48}
|
||||
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "I think we should head north. The road leads north, and the ford is north. Why does he want us to head west?"
|
||||
[/message]
|
||||
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Make your way to the north edge of the woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Urza Afalas"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
image=portraits/urza-afalas.png
|
||||
message= _ "Now I pay for my crimes. But how many others will also suffer for them?"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
# Urza's first leg/
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=21,48
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 13 45}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "We have to go even further west. There are elves living to the north, and I don't think they'll receive us too kindly!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Jarek
|
||||
message= _ "Maybe the elves will have food we can buy - we should head north to meet them!"
|
||||
[/message]
|
||||
[removeitem]
|
||||
x,y=21,48
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 14 45}
|
||||
[/event]
|
||||
|
||||
# Urza Afalas moves north - choice two.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=14,45
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 8 41}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Come on! Hurry!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=14,45
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 9 42}
|
||||
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "If there are elves to the north we must head north! We can't follow this bandit to who knows where... The elves have been our friends!"
|
||||
[/message]
|
||||
|
||||
[/event]
|
||||
|
||||
# Urza Afalas moves north - choice two.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=9,42
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 3 39}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Keep moving!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=9,42
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 3 40}
|
||||
[/event]
|
||||
|
||||
# Urza Afalas moves north - choice two.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=3,40
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 3 34}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "We're almost there!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=3,40
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 3 35}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=3,35
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 5 29}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Just a little further!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=3,35
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 5 30}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=5,30
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 9 25}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Hurry! There are bandits in these woods!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Why should that worry us?! Aren't you their leader?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "We're bandits, after all. Not all of them are loyal to me."
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=5,30
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 9 26}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=9,26
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 10 18}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "The river is just ahead!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=9,26
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 10 19}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=10,19
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "From here you can see the banks of the river! Across it we will find the sun again, and an end to these cursed trees!"
|
||||
[/message]
|
||||
|
||||
[store_unit]
|
||||
variable=afalas_store
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
{VARIABLE afalas_store.side 1}
|
||||
[unstore_unit]
|
||||
variable=afalas_store
|
||||
[/unstore_unit]
|
||||
|
||||
[removeitem]
|
||||
x,y=10,19
|
||||
[/removeitem]
|
||||
[/event]
|
||||
|
||||
# Elvish Ambush
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
side=1
|
||||
x,y=12-15,31-33
|
||||
[/filter]
|
||||
|
||||
{SG_GUARD (Elvish Fighter) (Urien) (_"Urien") 3 12 34}
|
||||
{SG_GUARD (Elvish Archer) (Jesa) (_"Jesa") 3 15 31}
|
||||
{SG_GUARD (Elvish Archer) (Plinth) (_"Plinth") 3 15 34}
|
||||
|
||||
[message]
|
||||
speaker=Plinth
|
||||
message= _ "We cannot allow you bandits and criminals to pass through our lands!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "But we have slain the undead - we wish only to return to our homes!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Plinth
|
||||
message= _ "Nevertheless, we will have vengeance for Mebrin!!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
||||
# Deoran exits the forest.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Deoran
|
||||
x,y=16,3
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Thank heaven we have escaped that awful forest!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Indeed, Afalas, you've earned my trust today."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "I can only hope for mercy when I return to Westin."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "But there was a dark cloud looming behind Deoran and his men..."
|
||||
[/message]
|
||||
|
||||
[endlevel]
|
||||
bonus=yes
|
||||
result=victory
|
||||
[/endlevel]
|
||||
[/event]
|
||||
id=6b_The_Long_March
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "The Long March"
|
||||
next_scenario=7b_Pebbles_In_The_Flood
|
||||
[music]
|
||||
name=revelation.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=northerners.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/6b_The_Long_March.map}"
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
|
||||
victory_when_enemies_defeated=no
|
||||
turns=24
|
||||
|
||||
# The South Guard
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
fog=no
|
||||
shroud=yes
|
||||
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 6 4 2}
|
||||
|
||||
canrecruit=1
|
||||
recruit=Peasant, Bowman, Spearman, Cavalryman, Thug, Footpad, Poacher
|
||||
[/side]
|
||||
|
||||
#Urza Afalas
|
||||
|
||||
[side]
|
||||
side=2
|
||||
|
||||
team_name=South_Guard
|
||||
no_leader=yes
|
||||
|
||||
controller=ai
|
||||
[/side]
|
||||
|
||||
# The Undead Hordes (Part II)
|
||||
|
||||
[side]
|
||||
side=3
|
||||
no_leader=yes
|
||||
|
||||
team_name=the_undead_hordes
|
||||
controller=ai
|
||||
|
||||
{GOLD 10 20 30}
|
||||
{INCOME 1 2 3}
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=scout
|
||||
aggression=-0.25
|
||||
[/ai]
|
||||
#ifdef EASY
|
||||
recruit=Vampire Bat
|
||||
#endif
|
||||
|
||||
#ifdef NORMAL
|
||||
recruit=Vampire Bat
|
||||
#endif
|
||||
|
||||
#ifdef HARD
|
||||
recruit=Vampire Bat, Blood Bat
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
#prestart
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
{PLACE_IMAGE (items/gohere.png) 16 3}
|
||||
|
||||
{SG_GUARD (Naga Warrior) (Fssth) (_"Fssth") 3 9 14}
|
||||
|
||||
[recall]
|
||||
description=Sir Gerrick
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Jarek
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Urza Afalas
|
||||
[/recall]
|
||||
|
||||
{SG_CHANGE_TERRAIN 28 46 Gg}
|
||||
[/event]
|
||||
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
|
||||
[store_unit]
|
||||
variable=afalas_store
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
{VARIABLE afalas_store.side 2}
|
||||
[unstore_unit]
|
||||
variable=afalas_store
|
||||
[/unstore_unit]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Deoran and Urza Afalas led their men quickly from the ruins of Mal M'brin's fortress..."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Will this forest ever end? How can we know what path to take?!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "You have to follow me! There are many false paths in these woods. Some are dead ends, others are even worse!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Can we trust him? His people are murderers and thieves!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "Do we have any choice? Our food is running out, and it will be winter soon..."
|
||||
[/message]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 20 47}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "This way! The only ford is a bit west of here, and the path to the north will lead you into trouble!"
|
||||
[/message]
|
||||
{PLACE_IMAGE (items/gohere.png) 21 48}
|
||||
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "I think we should head north. The road leads north, and the ford is north. Why does he want us to head west?"
|
||||
[/message]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Make your way to the north edge of the woods"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Sir Gerrick"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Urza Afalas"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
image=portraits/urza-afalas.png
|
||||
message= _ "Now I pay for my crimes. But how many others will also suffer for them?"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
# Urza's first leg/
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=21,48
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 13 45}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "We have to go even further west. There are elves living to the north, and I don't think they'll receive us too kindly!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Jarek
|
||||
message= _ "Maybe the elves will have food we can buy - we should head north to meet them!"
|
||||
[/message]
|
||||
[removeitem]
|
||||
x,y=21,48
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 14 45}
|
||||
[/event]
|
||||
|
||||
# Urza Afalas moves north - choice two.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=14,45
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 8 41}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Come on! Hurry!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=14,45
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 9 42}
|
||||
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "If there are elves to the north we must head north! We can't follow this bandit to who knows where... The elves have been our friends!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
# Urza Afalas moves north - choice two.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=9,42
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 3 39}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Keep moving!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=9,42
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 3 40}
|
||||
[/event]
|
||||
|
||||
# Urza Afalas moves north - choice two.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=3,40
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 3 34}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "We're almost there!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=3,40
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 3 35}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=3,35
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 5 29}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Just a little further!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=3,35
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 5 30}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=5,30
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 9 25}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Hurry! There are bandits in these woods!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Why should that worry us?! Aren't you their leader?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "We're bandits, after all. Not all of them are loyal to me."
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=5,30
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 9 26}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=9,26
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
{MOVE_EXISTING_UNIT (description=Urza Afalas) 10 18}
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "The river is just ahead!"
|
||||
[/message]
|
||||
|
||||
[removeitem]
|
||||
x,y=9,26
|
||||
[/removeitem]
|
||||
{PLACE_IMAGE (items/gohere.png) 10 19}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=10,19
|
||||
description=Deoran
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "From here you can see the banks of the river! Across it we will find the sun again, and an end to these cursed trees!"
|
||||
[/message]
|
||||
|
||||
[store_unit]
|
||||
variable=afalas_store
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
{VARIABLE afalas_store.side 1}
|
||||
[unstore_unit]
|
||||
variable=afalas_store
|
||||
[/unstore_unit]
|
||||
|
||||
[removeitem]
|
||||
x,y=10,19
|
||||
[/removeitem]
|
||||
[/event]
|
||||
|
||||
# Elvish Ambush
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
side=1
|
||||
x,y=12-15,31-33
|
||||
[/filter]
|
||||
|
||||
{SG_GUARD (Elvish Fighter) (Urien) (_"Urien") 3 12 34}
|
||||
{SG_GUARD (Elvish Archer) (Jesa) (_"Jesa") 3 15 31}
|
||||
{SG_GUARD (Elvish Archer) (Plinth) (_"Plinth") 3 15 34}
|
||||
|
||||
[message]
|
||||
speaker=Plinth
|
||||
message= _ "We cannot allow you bandits and criminals to pass through our lands!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "But we have slain the undead - we wish only to return to our homes!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Plinth
|
||||
message= _ "Nevertheless, we will have vengeance for Mebrin!!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
# Deoran exits the forest.
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Deoran
|
||||
x,y=16,3
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Thank heaven we have escaped that awful forest!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Indeed, Afalas, you've earned my trust today."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "I can only hope for mercy when I return to Westin."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "But there was a dark cloud looming behind Deoran and his men..."
|
||||
[/message]
|
||||
|
||||
[endlevel]
|
||||
bonus=yes
|
||||
result=victory
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,345 +1,339 @@
|
|||
[scenario]
|
||||
id=7b_Pebbles_In_The_Flood
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "Pebbles in the Flood"
|
||||
next_scenario=8b_The_Tides_of_War
|
||||
[music]
|
||||
name=main_menu.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/7b_Pebbles_In_The_Flood.map}"
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_help.cfg}
|
||||
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
|
||||
{SG_PEBBLES_IN_THE_FLOOD}
|
||||
|
||||
turns=-1
|
||||
victory_when_enemies_defeated=no
|
||||
disallow_recall=yes
|
||||
|
||||
|
||||
# The South Guard
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
|
||||
{GOLD 250 200 125}
|
||||
{INCOME 4 2 0}
|
||||
|
||||
fog=yes
|
||||
shroud=no
|
||||
|
||||
canrecruit=1
|
||||
recruit=Peasant, Bowman, Spearman, Cavalryman, Footpad, Thug
|
||||
[/side]
|
||||
|
||||
# The Undead Hordes
|
||||
|
||||
[side]
|
||||
side=2
|
||||
type=Ancient Lich
|
||||
description=Mal M'Brin
|
||||
user_description= _ "Mal M'Brin"
|
||||
|
||||
team_name=The_Undead_Hordes
|
||||
controller=ai
|
||||
|
||||
{GOLD 150 250 350}
|
||||
{INCOME 50 75 100}
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=scout, fighter, fighter, archer, scout, fighter, archer
|
||||
aggression=1.0
|
||||
caution=0.0
|
||||
[target]
|
||||
description=Sir Gerrick
|
||||
value=10.0
|
||||
[/target]
|
||||
[/ai]
|
||||
recruit=Wraith, Shadow, Skeleton, Revenant, Draug, Bone Shooter, Blood Bat, Chocobone
|
||||
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
side=3
|
||||
type=Lich
|
||||
description=Mal Tera
|
||||
user_description= _ "Mal Tera"
|
||||
|
||||
team_name=The_Undead_Hordes
|
||||
controller=ai
|
||||
|
||||
{GOLD 200 250 300}
|
||||
{INCOME 0 0 0}
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=fighter
|
||||
aggression=0.95
|
||||
[/ai]
|
||||
#ifdef EASY
|
||||
recruit=Walking Corpse
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
recruit=Walking Corpse, Soulless
|
||||
#endif
|
||||
#ifdef HARD
|
||||
recruit=Walking Corpse, Soulless, Ghoul
|
||||
#endif
|
||||
|
||||
[/side]
|
||||
|
||||
#prestart
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
[store_side]
|
||||
side=1
|
||||
[/store_side]
|
||||
{VARIABLE_OP pebbles_starting_gold to_variable side.gold}
|
||||
{CLEAR_VARIABLE side}
|
||||
{VARIABLE_OP pebbles_starting_gold multiply -1}
|
||||
[gold]
|
||||
side=1
|
||||
amount=$pebbles_starting_gold
|
||||
[/gold]
|
||||
[gold]
|
||||
side=1
|
||||
amount=200
|
||||
[/gold]
|
||||
{VARIABLE_OP pebbles_starting_gold multiply -1}
|
||||
|
||||
# Sgt. Finde's Section
|
||||
|
||||
{SG_GUARD Sergeant (Sgt. Finde) (_"Sgt. Finde") 1 5 11}
|
||||
{SG_GUARD Spearman (Maelvas) (_"Maelvas") 1 4 10}
|
||||
{SG_GUARD Spearman (Orome) (_"Orome") 1 5 10}
|
||||
{SG_GUARD Peasant (Mitche) (_"Mitche") 1 6 10}
|
||||
|
||||
# Lt. Illan's Section
|
||||
|
||||
{SG_GUARD (Lieutenant) (Lt. Illan) (_"Lt. Illan") 1 13 12}
|
||||
{SG_GUARD (Heavy Infantryman) (Rheban) (_"Rheban") 1 13 13}
|
||||
{SG_GUARD (Horseman) (Jul) (_"Jul") 1 14 12}
|
||||
|
||||
# Lt. Meris' Section
|
||||
|
||||
{SG_GUARD (Lieutenant) (Lt. Meris) (_"Lt. Meris") 1 35 11}
|
||||
{SG_GUARD (Peasant) (Findlas) (_"Findlas") 1 34 10}
|
||||
{SG_GUARD (Bowman) (Chumet) (_"Chumet") 1 33 10}
|
||||
{SG_GUARD (Heavy Infantryman) (Neras) (_"Neras") 1 33 11}
|
||||
{SG_GUARD (Bowman) (Eera) (_"Eera") 1 34 11}
|
||||
|
||||
# Ancient Lich's Guards
|
||||
|
||||
{SG_GUARD Draug (Death Guard) (_"Death Guard") 2 26 23}
|
||||
{SG_GUARD Draug (Death Guard) (_"Death Guard") 2 29 22}
|
||||
|
||||
[/event]
|
||||
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Sir Gerrick
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Urza Afalas
|
||||
[/recall]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "We have escaped the great forest, but look! The undead are chasing us - we must not have rooted them all out of the wood."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "My lord, you must hasten back to Westin to prepare a defense against them. I will command the defense of the border forts."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "I too will make my stand here - I owe you my life and must atone for my crimes. Together we will hold off the foul undead as long as we can."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "I will ride to Westin and summon the council. We shall return as soon as we can in force and relieve you."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Make no promises you know you cannot keep. Organize the defense of Westin, and if you survive, remember those who fell here."
|
||||
[/message]
|
||||
|
||||
# Switch the leader from Deoran to Sir Gerrick
|
||||
# Thanks to "shade" for help with this!
|
||||
|
||||
[store_unit]
|
||||
variable=deoran_store
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
{VARIABLE deoran_store.canrecruit 0}
|
||||
|
||||
[move_unit_fake]
|
||||
type=$deoran_store.type
|
||||
x=19,19,19,19,19,18,18,18,18,17,17
|
||||
y=10,9,8,7,6,5,4,3,2,2,1
|
||||
[/move_unit_fake]
|
||||
|
||||
[unstore_unit]
|
||||
variable=deoran_store
|
||||
[/unstore_unit]
|
||||
|
||||
[hide_unit]
|
||||
x=19
|
||||
y=10
|
||||
[/hide_unit]
|
||||
|
||||
[teleport]
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
x,y=17,1
|
||||
[/teleport]
|
||||
|
||||
[unhide_unit]
|
||||
[/unhide_unit]
|
||||
|
||||
[store_unit]
|
||||
variable=Sir_Gerrick_Store
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
kill=no
|
||||
[/store_unit]
|
||||
|
||||
{VARIABLE Sir_Gerrick_Store.canrecruit 1}
|
||||
|
||||
[unstore_unit]
|
||||
variable=Sir_Gerrick_Store
|
||||
[/unstore_unit]
|
||||
|
||||
{CLEAR_VARIABLE Sir_Gerrick_Store}
|
||||
|
||||
[message]
|
||||
id=sg_7_intro_6
|
||||
speaker=Deoran
|
||||
message= _ "Your name will be sounded in the roll of heroes, and you will be avenged. Thank you, my friend."
|
||||
[/message]
|
||||
|
||||
[store_unit]
|
||||
variable=deoran_store
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
[message]
|
||||
speaker=Lt. Illan
|
||||
message= _ "We are yours to command, Sir Gerrick. Our men are not the great warriors that you and Deoran are, but we will hold our lines staunchly, until the bitter end."
|
||||
[/message]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Hold the line: Keep Sir Gerrick alive as long as possible"
|
||||
condition=win
|
||||
[/objective]
|
||||
[/objectives]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "There is no way to win this scenario, and no way to lose. Hold off the undead hordes as long as you can. Keep Sir Gerrick alive as long as you can. Every turn that passes strengthens the defenses of Westin."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
side=2
|
||||
[/filter]
|
||||
[gold]
|
||||
side=2
|
||||
#ifdef EASY
|
||||
amount=50
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
amount=75
|
||||
#endif
|
||||
#ifdef HARD
|
||||
amount=125
|
||||
#endif
|
||||
[/gold]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Now I will never see my home again... Hold back the undead, Gerrick!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "I only hope we have bought Deoran enough time to secure Westin for the onslaught!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Mal M'Brin
|
||||
message= _ "We will crush Westin as we have crushed you! No one shall stand between us and our home."
|
||||
[/message]
|
||||
|
||||
{VARIABLE sg_length_of_defense $turn_number}
|
||||
|
||||
#make all units unrecruitable for the next scenario
|
||||
|
||||
[store_unit]
|
||||
[filter]
|
||||
side=1
|
||||
x=1-40
|
||||
y=1-25
|
||||
[/filter]
|
||||
|
||||
kill=yes
|
||||
variable=temp
|
||||
[/store_unit]
|
||||
|
||||
{CLEAR_VARIABLE temp}
|
||||
|
||||
[endlevel]
|
||||
result=continue
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
id=7b_Pebbles_In_The_Flood
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "Pebbles in the Flood"
|
||||
next_scenario=8b_The_Tides_of_War
|
||||
[music]
|
||||
name=main_menu.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/7b_Pebbles_In_The_Flood.map}"
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_help.cfg}
|
||||
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
|
||||
{SG_PEBBLES_IN_THE_FLOOD}
|
||||
|
||||
turns=-1
|
||||
victory_when_enemies_defeated=no
|
||||
disallow_recall=yes
|
||||
|
||||
# The South Guard
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
{GOLD 250 200 125}
|
||||
{INCOME 4 2 0}
|
||||
|
||||
fog=yes
|
||||
shroud=no
|
||||
|
||||
canrecruit=1
|
||||
recruit=Peasant, Bowman, Spearman, Cavalryman, Footpad, Thug
|
||||
[/side]
|
||||
|
||||
# The Undead Hordes
|
||||
|
||||
[side]
|
||||
side=2
|
||||
type=Ancient Lich
|
||||
description=Mal M'Brin
|
||||
user_description= _ "Mal M'Brin"
|
||||
|
||||
team_name=The_Undead_Hordes
|
||||
controller=ai
|
||||
|
||||
{GOLD 150 250 350}
|
||||
{INCOME 50 75 100}
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=scout, fighter, fighter, archer, scout, fighter, archer
|
||||
aggression=1.0
|
||||
caution=0.0
|
||||
[target]
|
||||
description=Sir Gerrick
|
||||
value=10.0
|
||||
[/target]
|
||||
[/ai]
|
||||
recruit=Wraith, Shadow, Skeleton, Revenant, Draug, Bone Shooter, Blood Bat, Chocobone
|
||||
[/side]
|
||||
|
||||
[side]
|
||||
side=3
|
||||
type=Lich
|
||||
description=Mal Tera
|
||||
user_description= _ "Mal Tera"
|
||||
|
||||
team_name=The_Undead_Hordes
|
||||
controller=ai
|
||||
|
||||
{GOLD 200 250 300}
|
||||
{INCOME 0 0 0}
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=fighter
|
||||
aggression=0.95
|
||||
[/ai]
|
||||
#ifdef EASY
|
||||
recruit=Walking Corpse
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
recruit=Walking Corpse, Soulless
|
||||
#endif
|
||||
#ifdef HARD
|
||||
recruit=Walking Corpse, Soulless, Ghoul
|
||||
#endif
|
||||
[/side]
|
||||
|
||||
#prestart
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
[store_side]
|
||||
side=1
|
||||
[/store_side]
|
||||
{VARIABLE_OP pebbles_starting_gold to_variable side.gold}
|
||||
{CLEAR_VARIABLE side}
|
||||
{VARIABLE_OP pebbles_starting_gold multiply -1}
|
||||
[gold]
|
||||
side=1
|
||||
amount=$pebbles_starting_gold
|
||||
[/gold]
|
||||
[gold]
|
||||
side=1
|
||||
amount=200
|
||||
[/gold]
|
||||
{VARIABLE_OP pebbles_starting_gold multiply -1}
|
||||
|
||||
# Sgt. Finde's Section
|
||||
|
||||
{SG_GUARD Sergeant (Sgt. Finde) (_"Sgt. Finde") 1 5 11}
|
||||
{SG_GUARD Spearman (Maelvas) (_"Maelvas") 1 4 10}
|
||||
{SG_GUARD Spearman (Orome) (_"Orome") 1 5 10}
|
||||
{SG_GUARD Peasant (Mitche) (_"Mitche") 1 6 10}
|
||||
|
||||
# Lt. Illan's Section
|
||||
|
||||
{SG_GUARD (Lieutenant) (Lt. Illan) (_"Lt. Illan") 1 13 12}
|
||||
{SG_GUARD (Heavy Infantryman) (Rheban) (_"Rheban") 1 13 13}
|
||||
{SG_GUARD (Horseman) (Jul) (_"Jul") 1 14 12}
|
||||
|
||||
# Lt. Meris' Section
|
||||
|
||||
{SG_GUARD (Lieutenant) (Lt. Meris) (_"Lt. Meris") 1 35 11}
|
||||
{SG_GUARD (Peasant) (Findlas) (_"Findlas") 1 34 10}
|
||||
{SG_GUARD (Bowman) (Chumet) (_"Chumet") 1 33 10}
|
||||
{SG_GUARD (Heavy Infantryman) (Neras) (_"Neras") 1 33 11}
|
||||
{SG_GUARD (Bowman) (Eera) (_"Eera") 1 34 11}
|
||||
|
||||
# Ancient Lich's Guards
|
||||
|
||||
{SG_GUARD Draug (Death Guard) (_"Death Guard") 2 26 23}
|
||||
{SG_GUARD Draug (Death Guard) (_"Death Guard") 2 29 22}
|
||||
[/event]
|
||||
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Sir Gerrick
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Urza Afalas
|
||||
[/recall]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "We have escaped the great forest, but look! The undead are chasing us - we must not have rooted them all out of the wood."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "My lord, you must hasten back to Westin to prepare a defense against them. I will command the defense of the border forts."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "I too will make my stand here - I owe you my life and must atone for my crimes. Together we will hold off the foul undead as long as we can."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "I will ride to Westin and summon the council. We shall return as soon as we can in force and relieve you."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Make no promises you know you cannot keep. Organize the defense of Westin, and if you survive, remember those who fell here."
|
||||
[/message]
|
||||
|
||||
# Switch the leader from Deoran to Sir Gerrick
|
||||
# Thanks to "shade" for help with this!
|
||||
|
||||
[store_unit]
|
||||
variable=deoran_store
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
{VARIABLE deoran_store.canrecruit 0}
|
||||
|
||||
[move_unit_fake]
|
||||
type=$deoran_store.type
|
||||
x=19,19,19,19,19,18,18,18,18,17,17
|
||||
y=10,9,8,7,6,5,4,3,2,2,1
|
||||
[/move_unit_fake]
|
||||
|
||||
[unstore_unit]
|
||||
variable=deoran_store
|
||||
[/unstore_unit]
|
||||
|
||||
[hide_unit]
|
||||
x=19
|
||||
y=10
|
||||
[/hide_unit]
|
||||
|
||||
[teleport]
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
x,y=17,1
|
||||
[/teleport]
|
||||
|
||||
[unhide_unit]
|
||||
[/unhide_unit]
|
||||
|
||||
[store_unit]
|
||||
variable=Sir_Gerrick_Store
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
kill=no
|
||||
[/store_unit]
|
||||
|
||||
{VARIABLE Sir_Gerrick_Store.canrecruit 1}
|
||||
|
||||
[unstore_unit]
|
||||
variable=Sir_Gerrick_Store
|
||||
[/unstore_unit]
|
||||
|
||||
{CLEAR_VARIABLE Sir_Gerrick_Store}
|
||||
|
||||
[message]
|
||||
id=sg_7_intro_6
|
||||
speaker=Deoran
|
||||
message= _ "Your name will be sounded in the roll of heroes, and you will be avenged. Thank you, my friend."
|
||||
[/message]
|
||||
|
||||
[store_unit]
|
||||
variable=deoran_store
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
[message]
|
||||
speaker=Lt. Illan
|
||||
message= _ "We are yours to command, Sir Gerrick. Our men are not the great warriors that you and Deoran are, but we will hold our lines staunchly, until the bitter end."
|
||||
[/message]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Hold the line: Keep Sir Gerrick alive as long as possible"
|
||||
condition=win
|
||||
[/objective]
|
||||
[/objectives]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "There is no way to win this scenario, and no way to lose. Hold off the undead hordes as long as you can. Keep Sir Gerrick alive as long as you can. Every turn that passes strengthens the defenses of Westin."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
side=2
|
||||
[/filter]
|
||||
[gold]
|
||||
side=2
|
||||
#ifdef EASY
|
||||
amount=50
|
||||
#endif
|
||||
#ifdef MEDIUM
|
||||
amount=75
|
||||
#endif
|
||||
#ifdef HARD
|
||||
amount=125
|
||||
#endif
|
||||
[/gold]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Urza Afalas
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=Urza Afalas
|
||||
message= _ "Now I will never see my home again... Hold back the undead, Gerrick!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "I only hope we have bought Deoran enough time to secure Westin for the onslaught!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Mal M'Brin
|
||||
message= _ "We will crush Westin as we have crushed you! No one shall stand between us and our home."
|
||||
[/message]
|
||||
|
||||
{VARIABLE sg_length_of_defense $turn_number}
|
||||
|
||||
#make all units unrecruitable for the next scenario
|
||||
|
||||
[store_unit]
|
||||
[filter]
|
||||
side=1
|
||||
x=1-40
|
||||
y=1-25
|
||||
[/filter]
|
||||
|
||||
kill=yes
|
||||
variable=temp
|
||||
[/store_unit]
|
||||
|
||||
{CLEAR_VARIABLE temp}
|
||||
|
||||
[endlevel]
|
||||
result=continue
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -1,367 +1,359 @@
|
|||
[scenario]
|
||||
id=8a_Vengeance
|
||||
#textdomain wesnoth-tsg
|
||||
id=8a_Vengeance
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "Vengeance"
|
||||
next_scenario=9a_Elf_Epilogue
|
||||
[music]
|
||||
name=main_menu.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=knolls.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
name= _ "Vengeance"
|
||||
next_scenario=9a_Elf_Epilogue
|
||||
[music]
|
||||
name=main_menu.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=knolls.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/8a_Vengeance.map}"
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/8a_Vengeance.map}"
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
|
||||
turns=-1
|
||||
victory_when_enemies_defeated=no
|
||||
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
{DAWN}
|
||||
# The South Guard
|
||||
|
||||
turns=-1
|
||||
victory_when_enemies_defeated=no
|
||||
[side]
|
||||
side=1
|
||||
type=Dismounted Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
# The South Guard
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 4 2 0}
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Dismounted Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
fog=no
|
||||
shroud=no
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
canrecruit=1
|
||||
recruit=Peasant, Bowman, Spearman, Cavalryman
|
||||
|
||||
{SG_GUARD (Javelineer) (Westin Guard) (_"Westin Guard") 1 22 12}
|
||||
{SG_GUARD (Heavy Infantryman) (Westin Guard) (_"Westin Guard") 1 19 14}
|
||||
{SG_GUARD (Heavy Infantryman) (Westin Guard) (_"Westin Guard") 1 17 15}
|
||||
{SG_GUARD (Heavy Infantryman) (Westin Guard) (_"Westin Guard") 1 17 17}
|
||||
{SG_GUARD (Spearman) (Westin Guard) (_"Westin Guard") 1 16 19}
|
||||
{SG_GUARD (Spearman) (Westin Guard) (_"Westin Guard") 1 15 21}
|
||||
[/side]
|
||||
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 4 2 0}
|
||||
# The Enraged Elves
|
||||
|
||||
fog=no
|
||||
shroud=no
|
||||
[side]
|
||||
side=2
|
||||
type=Elvish Marshal
|
||||
description=Ithelden
|
||||
user_description= _ "Ithelden"
|
||||
|
||||
canrecruit=1
|
||||
recruit=Peasant, Bowman, Spearman, Cavalryman
|
||||
team_name=The_Enraged Elves
|
||||
controller=ai
|
||||
|
||||
{SG_GUARD (Javelineer) (Westin Guard) (_"Westin Guard") 1 22 12}
|
||||
{SG_GUARD (Heavy Infantryman) (Westin Guard) (_"Westin Guard") 1 19 14}
|
||||
{SG_GUARD (Heavy Infantryman) (Westin Guard) (_"Westin Guard") 1 17 15}
|
||||
{SG_GUARD (Heavy Infantryman) (Westin Guard) (_"Westin Guard") 1 17 17}
|
||||
{SG_GUARD (Spearman) (Westin Guard) (_"Westin Guard") 1 16 19}
|
||||
{SG_GUARD (Spearman) (Westin Guard) (_"Westin Guard") 1 15 21}
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 4 2 0}
|
||||
|
||||
[/side]
|
||||
canrecruit=0
|
||||
[ai]
|
||||
passive_leader=yes
|
||||
aggression=0.0
|
||||
caution=1.0
|
||||
[target]
|
||||
description=Ethiliel
|
||||
value=2.0
|
||||
[/target]
|
||||
[/ai]
|
||||
[ai]
|
||||
passive_leader=yes
|
||||
time_of_day=dusk,first_watch,second_watch
|
||||
aggression=1.0
|
||||
caution=0
|
||||
grouping=no
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
# The Enraged Elves
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Ethiliel
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
|
||||
[side]
|
||||
side=2
|
||||
type=Elvish Marshal
|
||||
description=Ithelden
|
||||
user_description= _ "Ithelden"
|
||||
{VARIABLE sir_gerrick_store.canrecruit 0}
|
||||
{VARIABLE sir_gerrick_store.x 21}
|
||||
{VARIABLE sir_gerrick_store.y 16}
|
||||
|
||||
team_name=The_Enraged Elves
|
||||
controller=ai
|
||||
[unstore_unit]
|
||||
variable=sir_gerrick_store
|
||||
find_vacant=yes
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/unstore_unit]
|
||||
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 4 2 0}
|
||||
[store_unit]
|
||||
variable=deoran_store
|
||||
kill=yes
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
[/store_unit]
|
||||
|
||||
canrecruit=0
|
||||
[ai]
|
||||
passive_leader=yes
|
||||
aggression=0.0
|
||||
caution=1.0
|
||||
[target]
|
||||
description=Ethiliel
|
||||
value=2.0
|
||||
[/target]
|
||||
[/ai]
|
||||
[ai]
|
||||
passive_leader=yes
|
||||
time_of_day=dusk,first_watch,second_watch
|
||||
aggression=1.0
|
||||
caution=0
|
||||
grouping=no
|
||||
[/ai]
|
||||
[/side]
|
||||
[set_variable]
|
||||
name=deoran_store.hitpoints
|
||||
value=38
|
||||
[/set_variable]
|
||||
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Ethiliel
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
[set_variable]
|
||||
name=deoran_store.type
|
||||
value=Horseman Commander
|
||||
[/set_variable]
|
||||
|
||||
{VARIABLE sir_gerrick_store.canrecruit 0}
|
||||
{VARIABLE sir_gerrick_store.x 21}
|
||||
{VARIABLE sir_gerrick_store.y 16}
|
||||
[unstore_unit]
|
||||
variable=deoran_store
|
||||
find_vacant=yes
|
||||
[/unstore_unit]
|
||||
|
||||
[unstore_unit]
|
||||
variable=sir_gerrick_store
|
||||
find_vacant=yes
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/unstore_unit]
|
||||
{CLEAR_VARIABLE deoran_store}
|
||||
|
||||
[store_unit]
|
||||
variable=deoran_store
|
||||
kill=yes
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
[/store_unit]
|
||||
[disallow_recruit]
|
||||
side=1
|
||||
type=Elvish Fighter, Elvish Shaman
|
||||
[/disallow_recruit]
|
||||
|
||||
[set_variable]
|
||||
name=deoran_store.hitpoints
|
||||
value=38
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Commander! I took your message to the council, and your deeds have pleased them. Are the undead finally gone from our lands?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "The undead are gone! Perhaps now there will be peace for a time in Westin. You have our thanks Lady Ethiliel."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Though the undead are vanquished, they have brought us much sorrow. Deoran, your people have restored their honor. Let us part in peace."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Indeed. Neither the bandits nor the undead will trouble us for some time. We will tend our wounds and you yours."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Help!"
|
||||
[/message]
|
||||
|
||||
[set_variable]
|
||||
name=deoran_store.type
|
||||
value=Horseman Commander
|
||||
[/set_variable]
|
||||
[scroll_to_unit]
|
||||
description=Ithelden
|
||||
[/scroll_to_unit]
|
||||
|
||||
[unstore_unit]
|
||||
variable=deoran_store
|
||||
find_vacant=yes
|
||||
[/unstore_unit]
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Help!"
|
||||
[/message]
|
||||
[move_unit_fake]
|
||||
type=Peasant
|
||||
x= 1, 2, 2, 2, 3, 4
|
||||
y=11,11,12,13,14, 14
|
||||
[/move_unit_fake]
|
||||
[unit]
|
||||
type=Peasant
|
||||
description=Poor Farmer
|
||||
user_description= _ "Poor Farmer"
|
||||
side=2
|
||||
x=4
|
||||
y=14
|
||||
[/unit]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "You must pay for killing Mebrin!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Poor Farmer
|
||||
message= _ "I am just a farmer! What did I do?!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "What did you do?! Your people kidnapped and murdered our greatest leader! And now you will pay!"
|
||||
[/message]
|
||||
[colour_adjust]
|
||||
red=255
|
||||
green=0
|
||||
blue=0
|
||||
[/colour_adjust]
|
||||
[sound]
|
||||
name=human-die-1.ogg
|
||||
[/sound]
|
||||
[colour_adjust]
|
||||
red=0
|
||||
green=0
|
||||
blue=0
|
||||
[/colour_adjust]
|
||||
[kill]
|
||||
description=Poor Farmer
|
||||
fire_event=no
|
||||
[/kill]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "He just killed that innocent farmer! We must stop him!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Stop, Ithelden! I have traveled with these humans, and they are not the ones who harmed Mebrin. They are our allies!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "You too, Ethiliel? All these menfolk are the same! They fell trees to till the earth; now they have felled our leader! We cannot brook such deeds! You will die with them!"
|
||||
[/message]
|
||||
[music]
|
||||
name=revelation.ogg
|
||||
[/music]
|
||||
|
||||
{CLEAR_VARIABLE deoran_store}
|
||||
{SG_UNIT (Elvish Fighter) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 3 17}
|
||||
{SG_UNIT (Elvish Fighter) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 7 15}
|
||||
{SG_UNIT (Elvish Druid) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 6 19}
|
||||
{SG_UNIT (Elvish Ranger) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 8 15}
|
||||
{SG_UNIT (Elvish Druid) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 4 22}
|
||||
{SG_UNIT (Elvish Hero) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 6 23}
|
||||
{SG_UNIT (Elvish Rider) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 11 13}
|
||||
|
||||
[disallow_recruit]
|
||||
side=1
|
||||
type=Elvish Fighter, Elvish Shaman
|
||||
[/disallow_recruit]
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Keep the enraged elves from sacking Westin"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Ethiliel"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "Commander! I took your message to the council, and your deeds have pleased them. Are the undead finally gone from our lands?"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "The undead are gone! Perhaps now there will be peace for a time in Westin. You have our thanks Lady Ethiliel."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Though the undead are vanquished, they have brought us much sorrow. Deoran, your people have restored their honor. Let us part in peace."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Indeed. Neither the bandits nor the undead will trouble us for some time. We will tend our wounds and you yours."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Help!"
|
||||
[/message]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
side=2
|
||||
[/filter]
|
||||
first_time_only=no
|
||||
|
||||
[scroll_to_unit]
|
||||
description=Ithelden
|
||||
[/scroll_to_unit]
|
||||
[set_variable]
|
||||
name=how_many_elves
|
||||
random=1..6
|
||||
[/set_variable]
|
||||
[set_variable]
|
||||
name=number_of_elves
|
||||
value=1
|
||||
[/set_variable]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
message= _ "Help!"
|
||||
[/message]
|
||||
[move_unit_fake]
|
||||
type=Peasant
|
||||
x= 1, 2, 2, 2, 3, 4
|
||||
y=11,11,12,13,14, 14
|
||||
[/move_unit_fake]
|
||||
[unit]
|
||||
type=Peasant
|
||||
description=Poor Farmer
|
||||
user_description= _ "Poor Farmer"
|
||||
side=2
|
||||
x=4
|
||||
y=14
|
||||
[/unit]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "You must pay for killing Mebrin!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Poor Farmer
|
||||
message= _ "I am just a farmer! What did I do?!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "What did you do?! Your people kidnapped and murdered our greatest leader! And now you will pay!"
|
||||
[/message]
|
||||
[colour_adjust]
|
||||
red=255
|
||||
green=0
|
||||
blue=0
|
||||
[/colour_adjust]
|
||||
[sound]
|
||||
name=human-die-1.ogg
|
||||
[/sound]
|
||||
[colour_adjust]
|
||||
red=0
|
||||
green=0
|
||||
blue=0
|
||||
[/colour_adjust]
|
||||
[kill]
|
||||
description=Poor Farmer
|
||||
fire_event=no
|
||||
[/kill]
|
||||
[message]
|
||||
speaker=Sir Gerrick
|
||||
message= _ "He just killed that innocent farmer! We must stop him!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Stop, Ithelden! I have traveled with these humans, and they are not the ones who harmed Mebrin. They are our allies!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ithelden
|
||||
message= _ "You too, Ethiliel? All these menfolk are the same! They fell trees to till the earth; now they have felled our leader! We cannot brook such deeds! You will die with them!"
|
||||
[/message]
|
||||
[music]
|
||||
name=revelation.ogg
|
||||
[/music]
|
||||
[while]
|
||||
[variable]
|
||||
name=number_of_elves
|
||||
less_than=$how_many_elves
|
||||
[/variable]
|
||||
[do]
|
||||
[set_variable]
|
||||
name=unit_type
|
||||
random=Elvish Fighter,Elvish Archer,Elvish Ranger,Elvish Shaman,Elvish Druid,Elvish Hero,Elvish Avenger,Elvish Rider,Elvish Fighter,Elvish Archer,Elvish Shaman
|
||||
[/set_variable]
|
||||
[unit]
|
||||
type=$unit_type
|
||||
description=Disciple of Mebrin
|
||||
user_description= _ "Disciple of Mebrin"
|
||||
side=2
|
||||
x,y=1,12
|
||||
[/unit]
|
||||
[set_variable]
|
||||
name=number_of_elves
|
||||
add=1
|
||||
[/set_variable]
|
||||
[/do]
|
||||
[/while]
|
||||
|
||||
{SG_UNIT (Elvish Fighter) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 3 17}
|
||||
{SG_UNIT (Elvish Fighter) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 7 15}
|
||||
{SG_UNIT (Elvish Druid) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 6 19}
|
||||
{SG_UNIT (Elvish Ranger) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 8 15}
|
||||
{SG_UNIT (Elvish Druid) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 4 22}
|
||||
{SG_UNIT (Elvish Hero) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 6 23}
|
||||
{SG_UNIT (Elvish Rider) (Disciple of Mebrin) (_"Disciple of Mebrin") 2 11 13}
|
||||
[message]
|
||||
speaker=Disciple of Mebrin
|
||||
message= _ "For every one of us you strike down, more will rise!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Keep the enraged elves from sacking Westin"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Ethiliel"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
side=1
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "We won't be able to hold them off for long. I should go reason with them! They won't dare attack me."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Are you sure that the elves will greet you any more kindly than they have met us? After all, you did lead us into the forests..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Perhaps not, but it is your only hope. I must reach Ithelden!"
|
||||
[/message]
|
||||
|
||||
[/event]
|
||||
{PLACE_IMAGE (items/gohere.png) 6 15}
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
side=2
|
||||
[/filter]
|
||||
first_time_only=no
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Bring Ethiliel to the Great Tree and parlay with Ithelden"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[set_variable]
|
||||
name=how_many_elves
|
||||
random=1..6
|
||||
[/set_variable]
|
||||
[set_variable]
|
||||
name=number_of_elves
|
||||
value=1
|
||||
[/set_variable]
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Ethiliel
|
||||
[/filter]
|
||||
|
||||
[while]
|
||||
[variable]
|
||||
name=number_of_elves
|
||||
less_than=$how_many_elves
|
||||
[/variable]
|
||||
[do]
|
||||
[set_variable]
|
||||
name=unit_type
|
||||
random=Elvish Fighter,Elvish Archer,Elvish Ranger,Elvish Shaman,Elvish Druid,Elvish Hero,Elvish Avenger,Elvish Rider,Elvish Fighter,Elvish Archer,Elvish Shaman
|
||||
[/set_variable]
|
||||
[unit]
|
||||
type=$unit_type
|
||||
description=Disciple of Mebrin
|
||||
user_description= _ "Disciple of Mebrin"
|
||||
side=2
|
||||
x,y=1,12
|
||||
[/unit]
|
||||
[set_variable]
|
||||
name=number_of_elves
|
||||
add=1
|
||||
[/set_variable]
|
||||
[/do]
|
||||
[/while]
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[message]
|
||||
speaker=Disciple of Mebrin
|
||||
message= _ "For every one of us you strike down, more will rise!"
|
||||
[/message]
|
||||
[/event]
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Ethiliel
|
||||
x=6
|
||||
y=15
|
||||
[/filter]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
side=1
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "We won't be able to hold them off for long. I should go reason with them! They won't dare attack me."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Are you sure that the elves will greet you any more kindly than they have met us? After all, you did lead us into the forests..."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Ethiliel
|
||||
message= _ "Perhaps not, but it is your only hope. I must reach Ithelden!"
|
||||
[/message]
|
||||
|
||||
{PLACE_IMAGE (items/gohere.png) 6 15}
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Bring Ethiliel to the Great Tree and parlay with Ithelden"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Ethiliel
|
||||
[/filter]
|
||||
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
description=Ethiliel
|
||||
x=6
|
||||
y=15
|
||||
[/filter]
|
||||
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
|
||||
[/event]
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -1,262 +1,289 @@
|
|||
[scenario]
|
||||
id=8b_The_Tides_of_War
|
||||
#textdomain wesnoth-tsg
|
||||
id=8b_The_Tides_of_War
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "The Tides of War"
|
||||
next_scenario=9b_Bandit_Epilogue
|
||||
[music]
|
||||
name=main_menu_new.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=battle.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
name= _ "The Tides of War"
|
||||
next_scenario=9b_Bandit_Epilogue
|
||||
[music]
|
||||
name=main_menu_new.ogg
|
||||
ms_before=500
|
||||
[/music]
|
||||
[music]
|
||||
name=battle.ogg
|
||||
ms_before=500
|
||||
append=yes
|
||||
[/music]
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/8b_The_Tides_of_War.map}"
|
||||
|
||||
map_data="{campaigns/The_South_Guard/maps/8b_The_Tides_of_War.map}"
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
|
||||
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
|
||||
{DAWN}
|
||||
{MORNING}
|
||||
{AFTERNOON}
|
||||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
victory_when_enemies_defeated=yes
|
||||
turns=60
|
||||
|
||||
victory_when_enemies_defeated=yes
|
||||
turns=60
|
||||
# The South Guard
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
|
||||
# The South Guard
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
unrenamable=yes
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 4 2 0}
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
{CUSTOM_SG_FLAG}
|
||||
fog=no
|
||||
shroud=no
|
||||
|
||||
canrecruit=1
|
||||
recruit=Peasant,Bowman,Spearman,Cavalryman,Footpad,Thug
|
||||
[/side]
|
||||
|
||||
{GOLD 125 100 80}
|
||||
{INCOME 4 2 0}
|
||||
# The Undead Hordes
|
||||
|
||||
fog=no
|
||||
shroud=no
|
||||
[side]
|
||||
side=2
|
||||
type=Ancient Lich
|
||||
description=Mal Feras
|
||||
user_description= _ "Mal Feras"
|
||||
|
||||
canrecruit=1
|
||||
recruit=Peasant,Bowman,Spearman,Cavalryman,Footpad,Thug
|
||||
[/side]
|
||||
team_name=The_Undead_Hordes
|
||||
controller=ai
|
||||
|
||||
# The Undead Hordes
|
||||
{GOLD 150 250 350}
|
||||
{INCOME 30 40 50}
|
||||
|
||||
[side]
|
||||
side=2
|
||||
type=Ancient Lich
|
||||
description=Mal Feras
|
||||
user_description= _ "Mal Feras"
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=scout,fighter,fighter,archer,scout,fighter,archer
|
||||
aggression=1.0
|
||||
caution=0.0
|
||||
[target]
|
||||
description=Deoran
|
||||
value=6.0
|
||||
[/target]
|
||||
[/ai]
|
||||
recruit=Ghost,Wraith,Shadow,Skeleton,Revenant,Draug,Skeleton Archer,Bone Shooter,Vampire Bat,Blood Bat,Chocobone,Dark Adept,Dark Sorcerer
|
||||
[/side]
|
||||
|
||||
team_name=The_Undead_Hordes
|
||||
controller=ai
|
||||
#prestart
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
{GOLD 150 250 350}
|
||||
{INCOME 30 40 50}
|
||||
#Set the amount of gold that the player has to what it was before Pebbles.
|
||||
[gold]
|
||||
side=1
|
||||
amount=$pebbles_starting_gold
|
||||
[/gold]
|
||||
{CLEAR_VARIABLE pebbles_starting_gold}
|
||||
|
||||
canrecruit=1
|
||||
[ai]
|
||||
recruitment_pattern=scout,fighter,fighter,archer,scout,fighter,archer
|
||||
aggression=1.0
|
||||
caution=0.0
|
||||
[target]
|
||||
description=Deoran
|
||||
value=6.0
|
||||
[/target]
|
||||
[/ai]
|
||||
recruit=Ghost,Wraith,Shadow,Skeleton,Revenant,Draug,Skeleton Archer,Bone Shooter,Vampire Bat,Blood Bat,Chocobone,Dark Adept,Dark Sorcerer
|
||||
# Make Deoran the leader again.
|
||||
# Thanks to "shade" for help with this!
|
||||
|
||||
[/side]
|
||||
[store_unit]
|
||||
variable=sir_gerrick_store
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
|
||||
#prestart
|
||||
[event]
|
||||
name=prestart
|
||||
{VARIABLE deoran_store.canrecruit 1}
|
||||
{VARIABLE deoran_store.x 22}
|
||||
{VARIABLE deoran_store.y 16}
|
||||
|
||||
#Set the amount of gold that the player has to what it was before Pebbles.
|
||||
[gold]
|
||||
side=1
|
||||
amount=$pebbles_starting_gold
|
||||
[/gold]
|
||||
{CLEAR_VARIABLE pebbles_starting_gold}
|
||||
[unstore_unit]
|
||||
variable=deoran_store
|
||||
[/unstore_unit]
|
||||
|
||||
# Make Deoran the leader again.
|
||||
# Thanks to "shade" for help with this!
|
||||
{CLEAR_VARIABLE deoran_store}
|
||||
|
||||
[store_unit]
|
||||
variable=sir_gerrick_store
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
kill=yes
|
||||
[/store_unit]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than_equal_to=8
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_short_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than_equal_to=12
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_medium_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than_equal_to=18
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_long_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than=32
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_heroic_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{VARIABLE deoran_store.canrecruit 1}
|
||||
{VARIABLE deoran_store.x 22}
|
||||
{VARIABLE deoran_store.y 16}
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_heroic_defense
|
||||
equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
{STARTING_VILLAGES 1 20}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[unstore_unit]
|
||||
variable=deoran_store
|
||||
[/unstore_unit]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_long_defense
|
||||
equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
{SG_GUARD (Bowman) (Provincial Guard) (_"Provincial Guard") 1 25 22}
|
||||
{SG_GUARD (Lieutenant) (Lt. Nilaf) (_"Lt. Nilaf") 1 26 21}
|
||||
{SG_GUARD (Heavy Infantryman) (Provincial Guard) (_"Provincial Guard") 1 28 20}
|
||||
|
||||
{CLEAR_VARIABLE deoran_store}
|
||||
{SG_CHANGE_TERRAIN 25 22 Ce}
|
||||
{SG_CHANGE_TERRAIN 28 20 Ce}
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than_equal_to=8
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_short_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than_equal_to=12
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_medium_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than_equal_to=18
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_long_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_length_of_defense
|
||||
greater_than=32
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE sg_heroic_defense true}
|
||||
[/then]
|
||||
[/if]
|
||||
{STARTING_VILLAGES 1 9}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{SG_IF sg_heroic_defense}
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_medium_defense
|
||||
equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
{SG_GUARD (Heavy Infantryman) (Provincial Guard) (_"Provincial Guard") 1 25 21}
|
||||
{SG_GUARD (Spearman) (Provincial Guard) (_"Provincial Guard") 1 28 21}
|
||||
|
||||
{STARTING_VILLAGES 1 20}
|
||||
{SG_CHANGE_TERRAIN 25 21 Ce}
|
||||
|
||||
{SG_END_IF}
|
||||
{STARTING_VILLAGES 1 5}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{SG_IF sg_long_defense}
|
||||
{SG_GUARD (Bowman) (Provincial Guard) (_"Provincial Guard") 1 25 22}
|
||||
{SG_GUARD (Lieutenant) (Lt. Nilaf) (_"Lt. Nilaf") 1 26 21}
|
||||
{SG_GUARD (Heavy Infantryman) (Provincial Guard) (_"Provincial Guard") 1 28 20}
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_short_defense
|
||||
equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
{STARTING_VILLAGES 1 3}
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
{SG_CHANGE_TERRAIN 25 22 Ce}
|
||||
{SG_CHANGE_TERRAIN 28 20 Ce}
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Jarek
|
||||
[/recall]
|
||||
|
||||
{STARTING_VILLAGES 1 9}
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Look! The undead army has broken through Sir Gerrick's lines! Alas, he is lost!"
|
||||
[/message]
|
||||
|
||||
{SG_END_IF}
|
||||
[message]
|
||||
speaker=Moreth
|
||||
message= _ "Since I was a boy, Gerrick was my leader, and there was no one braver. Today we shall defend our homes, and avenge him!"
|
||||
[/message]
|
||||
|
||||
{SG_IF sg_medium_defense}
|
||||
{SG_GUARD (Heavy Infantryman) (Provincial Guard) (_"Provincial Guard") 1 25 21}
|
||||
{SG_GUARD (Spearman) (Provincial Guard) (_"Provincial Guard") 1 28 21}
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_long_defense
|
||||
equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=Jarek
|
||||
message= _ "But in the narrow window his valiant stand gave us, we have roused the whole provincial guard!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Lt. Nilaf
|
||||
message= _ "Indeed, Lord, we are ready to defend our homes!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{SG_CHANGE_TERRAIN 25 21 Ce}
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_heroic_defense
|
||||
equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "And I have summoned the great council of Westin! They will battle with all their might!"
|
||||
[/message]
|
||||
{SG_GUARD (Silver Mage) (Minister Mefel) (_"Minister Mefel") 1 19 18}
|
||||
{SG_GUARD (Red Mage) (Minister Romand) (_"Minister Romand") 1 20 18}
|
||||
{SG_GUARD (White Mage) (Minister Alanafel) (_"Minister Alanafel") 1 22 18}
|
||||
[message]
|
||||
speaker=Minister Mefel
|
||||
message= _ "Hylas, we have heard your summons, and we shall send these dark foes back to the abyss that spawned them!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Your aid will be most welcome."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{STARTING_VILLAGES 1 5}
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "We have rallied all the forces that we will be able to! Let us not make Sir Gerrick's sacrifice a vain one. For Wesnoth!"
|
||||
[/message]
|
||||
|
||||
{SG_END_IF}
|
||||
|
||||
{SG_IF sg_short_defense}
|
||||
{STARTING_VILLAGES 1 3}
|
||||
{SG_END_IF}
|
||||
|
||||
[/event]
|
||||
|
||||
#start
|
||||
[event]
|
||||
name=start
|
||||
[recall]
|
||||
description=Minister Hylas
|
||||
[/recall]
|
||||
[recall]
|
||||
description=Jarek
|
||||
[/recall]
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Look! The undead army has broken through Sir Gerrick's lines! Alas, he is lost!"
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=Moreth
|
||||
message= _ "Since I was a boy, Gerrick was my leader, and there was no one braver. Today we shall defend our homes, and avenge him!"
|
||||
[/message]
|
||||
|
||||
{SG_IF sg_long_defense}
|
||||
[message]
|
||||
speaker=Jarek
|
||||
message= _ "But in the narrow window his valiant stand gave us, we have roused the whole provincial guard!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Lt. Nilaf
|
||||
message= _ "Indeed, Lord, we are ready to defend our homes!"
|
||||
[/message]
|
||||
{SG_END_IF}
|
||||
|
||||
{SG_IF sg_heroic_defense}
|
||||
[message]
|
||||
speaker=Minister Hylas
|
||||
message= _ "And I have summoned the great council of Westin! They will battle with all their might!"
|
||||
[/message]
|
||||
{SG_GUARD (Silver Mage) (Minister Mefel) (_"Minister Mefel") 1 19 18}
|
||||
{SG_GUARD (Red Mage) (Minister Romand) (_"Minister Romand") 1 20 18}
|
||||
{SG_GUARD (White Mage) (Minister Alanafel) (_"Minister Alanafel") 1 22 18}
|
||||
[message]
|
||||
speaker=Minister Mefel
|
||||
message= _ "Hylas, we have heard your summons, and we shall send these dark foes back to the abyss that spawned them!"
|
||||
[/message]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "Your aid will be most welcome."
|
||||
[/message]
|
||||
{SG_END_IF}
|
||||
|
||||
[message]
|
||||
speaker=Deoran
|
||||
message= _ "We have rallied all the forces that we will be able to! Let us not make Sir Gerrick's sacrifice a vain one. For Wesnoth!"
|
||||
[/message]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Crush the undead"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Minister Hylas"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
description= _ "Crush the undead"
|
||||
condition=win
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Deoran"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Death of Minister Hylas"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[objective]
|
||||
description= _ "Time runs out"
|
||||
condition=lose
|
||||
[/objective]
|
||||
[/objectives]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -1,33 +1,31 @@
|
|||
[scenario]
|
||||
id=9a_Elf_Epilogue
|
||||
#textdomain wesnoth-tsg
|
||||
id=9a_Elf_Epilogue
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "Epilogue"
|
||||
next_scenario=null
|
||||
name= _ "Epilogue"
|
||||
next_scenario=null
|
||||
|
||||
turns=10
|
||||
map_data="1 Kh, 2 Kh"
|
||||
turns=10
|
||||
map_data="1 Kh, 2 Kh"
|
||||
|
||||
{SG_ELF_EPILOGUE}
|
||||
{SG_ELF_EPILOGUE}
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
|
||||
canrecruit=1
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
[/event]
|
||||
canrecruit=1
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -1,33 +1,31 @@
|
|||
[scenario]
|
||||
id=9b_Bandit_Epilogue
|
||||
#textdomain wesnoth-tsg
|
||||
id=9b_Bandit_Epilogue
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
name= _ "Epilogue"
|
||||
next_scenario=null
|
||||
name= _ "Epilogue"
|
||||
next_scenario=null
|
||||
|
||||
turns=10
|
||||
map_data="1 Kh, 2 Kh"
|
||||
turns=10
|
||||
map_data="1 Kh, 2 Kh"
|
||||
|
||||
{SG_BANDIT_EPILOGUE}
|
||||
{SG_BANDIT_EPILOGUE}
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
|
||||
[side]
|
||||
side=1
|
||||
type=Horseman Commander
|
||||
description=Deoran
|
||||
user_description= _ "Deoran"
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
|
||||
team_name=South_Guard
|
||||
controller=human
|
||||
|
||||
canrecruit=1
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
[/event]
|
||||
canrecruit=1
|
||||
[/side]
|
||||
|
||||
[event]
|
||||
name=prestart
|
||||
[endlevel]
|
||||
result=continue_no_save
|
||||
[/endlevel]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -1,81 +1,81 @@
|
|||
[unit]
|
||||
#textdomain wesnoth-tsg
|
||||
id=Junior Commander
|
||||
name= _ "Junior Commander"
|
||||
race=human
|
||||
image=deoran/junior-commander.png
|
||||
ellipse="misc/ellipse-leader"
|
||||
image_leading=deoran/junior-commander-defend.png
|
||||
profile=portraits/deoran.png
|
||||
hitpoints=32
|
||||
alignment=lawful
|
||||
cost=17
|
||||
movement_type=mounted
|
||||
movement=6
|
||||
level=1
|
||||
experience=34
|
||||
advanceto=Horseman Commander
|
||||
usage=fighter
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_1}
|
||||
[/abilities]
|
||||
unit_description= _ "Scarcely 17 or 18 years old, the sons of knights and lords were given mounts and swords and told to become leaders of men. Those whose mettle was strong enough for the task became the commanders of the armies of Wesnoth."
|
||||
die_sound=horse-die.ogg
|
||||
[attack]
|
||||
name=spear
|
||||
description= _"spear"
|
||||
type=pierce
|
||||
range=melee
|
||||
damage=4
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/junior-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/junior-commander-moving.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/junior-commander-attack.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/junior-commander-attack.png
|
||||
sound=spear.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/junior-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/junior-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=150
|
||||
image=deoran/junior-commander-moving.png
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
{DEFENSE_ANIM "deoran/junior-commander-defend.png" "deoran/junior-commander.png" {SOUND_LIST:HORSE_HIT} }
|
||||
#textdomain wesnoth-tsg
|
||||
id=Junior Commander
|
||||
name= _ "Junior Commander"
|
||||
race=human
|
||||
image=deoran/junior-commander.png
|
||||
ellipse="misc/ellipse-leader"
|
||||
image_leading=deoran/junior-commander-defend.png
|
||||
profile=portraits/deoran.png
|
||||
hitpoints=32
|
||||
alignment=lawful
|
||||
cost=17
|
||||
movement_type=mounted
|
||||
movement=6
|
||||
level=1
|
||||
experience=34
|
||||
advanceto=Horseman Commander
|
||||
usage=fighter
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_1}
|
||||
[/abilities]
|
||||
unit_description= _ "Scarcely 17 or 18 years old, the sons of knights and lords were given mounts and swords and told to become leaders of men. Those whose mettle was strong enough for the task became the commanders of the armies of Wesnoth."
|
||||
die_sound=horse-die.ogg
|
||||
[attack]
|
||||
name=spear
|
||||
description= _"spear"
|
||||
type=pierce
|
||||
range=melee
|
||||
damage=4
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/junior-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/junior-commander-moving.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/junior-commander-attack.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/junior-commander-attack.png
|
||||
sound=spear.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/junior-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/junior-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=150
|
||||
image=deoran/junior-commander-moving.png
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
{DEFENSE_ANIM "deoran/junior-commander-defend.png" "deoran/junior-commander.png" {SOUND_LIST:HORSE_HIT} }
|
||||
[/unit]
|
||||
|
|
|
@ -1,87 +1,87 @@
|
|||
[unit]
|
||||
#textdomain wesnoth-tsg
|
||||
id=Horseman Commander
|
||||
name= _ "Horseman Commander"
|
||||
race=human
|
||||
image=deoran/horseman-commander.png
|
||||
ellipse="misc/ellipse-leader"
|
||||
image_leading=deoran/horseman-commander-defend.png
|
||||
profile=portraits/deoran.png
|
||||
hitpoints=38
|
||||
alignment=lawful
|
||||
cost=32
|
||||
movement_type=mounted
|
||||
movement=7
|
||||
level=2
|
||||
advanceto=null
|
||||
{AMLA_TOUGH 4}
|
||||
{AMLA_BARBED_LANCE lance}
|
||||
{AMLA_MACE}
|
||||
experience=40
|
||||
usage=fighter
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_2}
|
||||
[/abilities]
|
||||
unit_description= _ "Leaders of the border guards, mounted commanders are trained not only to ride and fight, but to lead. They command the garrisons that keep peace in the provinces of Wesnoth."
|
||||
die_sound=horse-die.ogg
|
||||
[attack]
|
||||
name=lance
|
||||
description= _"lance"
|
||||
type=pierce
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_CHARGE}
|
||||
[/specials]
|
||||
range=melee
|
||||
damage=6
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/horseman-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/horseman-commander-attack.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/horseman-commander-attack.png
|
||||
sound=spear.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/horseman-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=150
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
{DEFENSE_ANIM "deoran/horseman-commander-defend.png" "deoran/horseman-commander.png" {SOUND_LIST:HORSE_HIT} }
|
||||
#textdomain wesnoth-tsg
|
||||
id=Horseman Commander
|
||||
name= _ "Horseman Commander"
|
||||
race=human
|
||||
image=deoran/horseman-commander.png
|
||||
ellipse="misc/ellipse-leader"
|
||||
image_leading=deoran/horseman-commander-defend.png
|
||||
profile=portraits/deoran.png
|
||||
hitpoints=38
|
||||
alignment=lawful
|
||||
cost=32
|
||||
movement_type=mounted
|
||||
movement=7
|
||||
level=2
|
||||
advanceto=null
|
||||
{AMLA_TOUGH 4}
|
||||
{AMLA_BARBED_LANCE lance}
|
||||
{AMLA_MACE}
|
||||
experience=40
|
||||
usage=fighter
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_2}
|
||||
[/abilities]
|
||||
unit_description= _ "Leaders of the border guards, mounted commanders are trained not only to ride and fight, but to lead. They command the garrisons that keep peace in the provinces of Wesnoth."
|
||||
die_sound=horse-die.ogg
|
||||
[attack]
|
||||
name=lance
|
||||
description= _"lance"
|
||||
type=pierce
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_CHARGE}
|
||||
[/specials]
|
||||
range=melee
|
||||
damage=6
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/horseman-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/horseman-commander-attack.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/horseman-commander-attack.png
|
||||
sound=spear.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/horseman-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
end=150
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[/movement_anim]
|
||||
{DEFENSE_ANIM "deoran/horseman-commander-defend.png" "deoran/horseman-commander.png" {SOUND_LIST:HORSE_HIT} }
|
||||
[/unit]
|
||||
|
|
|
@ -1,72 +1,72 @@
|
|||
[unit]
|
||||
#textdomain wesnoth-tsg
|
||||
id=Dismounted Commander
|
||||
name= _ "Dismounted Commander"
|
||||
race=human
|
||||
image=deoran/dismounted-commander.png
|
||||
ellipse="misc/ellipse-leader"
|
||||
#FIXME: There is supposed to be a leading image. There isn't.
|
||||
#image_leading=deoran/dismounted-commander-leading.png
|
||||
profile=portraits/deoran.png
|
||||
hitpoints=60
|
||||
alignment=lawful
|
||||
cost=40
|
||||
movement_type=smallfoot
|
||||
movement=6
|
||||
level=3
|
||||
experience=500
|
||||
advanceto=null
|
||||
usage=fighter
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_3}
|
||||
[/abilities]
|
||||
unit_description= _ "Deoran was still a dangerous commander, even without his horse."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
[attack]
|
||||
name=lance
|
||||
description= _"lance"
|
||||
type=pierce
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_FIRSTSTRIKE}
|
||||
[/specials]
|
||||
range=melee
|
||||
damage=15
|
||||
number=2
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-175
|
||||
image=deoran/dismounted-commander.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-175
|
||||
end=-100
|
||||
image=deoran/dismounted-commander-attack1.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/dismounted-commander-attack2.png
|
||||
sound=spear-miss.ogg
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/dismounted-commander-attack2.png
|
||||
sound=spear.ogg
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/dismounted-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
{DEFENSE_ANIM "deoran/dismounted-commander-defend.png" "deoran/dismounted-commander.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
#textdomain wesnoth-tsg
|
||||
id=Dismounted Commander
|
||||
name= _ "Dismounted Commander"
|
||||
race=human
|
||||
image=deoran/dismounted-commander.png
|
||||
ellipse="misc/ellipse-leader"
|
||||
#FIXME: There is supposed to be a leading image. There isn't.
|
||||
#image_leading=deoran/dismounted-commander-leading.png
|
||||
profile=portraits/deoran.png
|
||||
hitpoints=60
|
||||
alignment=lawful
|
||||
cost=40
|
||||
movement_type=smallfoot
|
||||
movement=6
|
||||
level=3
|
||||
experience=500
|
||||
advanceto=null
|
||||
usage=fighter
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_3}
|
||||
[/abilities]
|
||||
unit_description= _ "Deoran was still a dangerous commander, even without his horse."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
[attack]
|
||||
name=lance
|
||||
description= _"lance"
|
||||
type=pierce
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_FIRSTSTRIKE}
|
||||
[/specials]
|
||||
range=melee
|
||||
damage=15
|
||||
number=2
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-175
|
||||
image=deoran/dismounted-commander.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-175
|
||||
end=-100
|
||||
image=deoran/dismounted-commander-attack1.png
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/dismounted-commander-attack2.png
|
||||
sound=spear-miss.ogg
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image=deoran/dismounted-commander-attack2.png
|
||||
sound=spear.ogg
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/dismounted-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
{DEFENSE_ANIM "deoran/dismounted-commander-defend.png" "deoran/dismounted-commander.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
[/unit]
|
||||
|
|
|
@ -1,69 +1,69 @@
|
|||
[unit]
|
||||
#textdomain wesnoth-tsg
|
||||
id=South Guard Captain
|
||||
name= _ "Infantry Lieutenant"
|
||||
race=human
|
||||
image="gerrick/infantry-commander.png"
|
||||
ellipse="misc/ellipse-hero"
|
||||
image_leading="gerrick/infantry-commander-leading.png"
|
||||
profile=portraits/sir-gerrick.png
|
||||
hitpoints=48
|
||||
alignment=lawful
|
||||
cost=35
|
||||
movement_type=armoredfoot
|
||||
movement=5
|
||||
level=2
|
||||
experience=55
|
||||
advanceto=South Guard Commander
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_2}
|
||||
[/abilities]
|
||||
usage=fighter
|
||||
unit_description= _ "Commanders of the infantry of Wesnoth are responsible for the garrison and defense of the border towns and villages. They are drawn from the ranks of veteran soldiers, not nobility, and all have shown leadership and courage in battle."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
[attack]
|
||||
name=glaive
|
||||
description= _"glaive"
|
||||
icon=attacks/glaive.png
|
||||
type=blade
|
||||
range=melee
|
||||
damage=8
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-150
|
||||
image="gerrick/infantry-commander.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/infantry-commander-attack.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/infantry-commander-attack.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=50
|
||||
end=150
|
||||
image="gerrick/infantry-commander-attack-shield.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=200
|
||||
image="gerrick/infantry-commander.png"
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
{DEFENSE_ANIM "gerrick/infantry-commander-defend.png" "gerrick/infantry-commander.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
#textdomain wesnoth-tsg
|
||||
id=South Guard Captain
|
||||
name= _ "Infantry Lieutenant"
|
||||
race=human
|
||||
image="gerrick/infantry-commander.png"
|
||||
ellipse="misc/ellipse-hero"
|
||||
image_leading="gerrick/infantry-commander-leading.png"
|
||||
profile=portraits/sir-gerrick.png
|
||||
hitpoints=48
|
||||
alignment=lawful
|
||||
cost=35
|
||||
movement_type=armoredfoot
|
||||
movement=5
|
||||
level=2
|
||||
experience=55
|
||||
advanceto=South Guard Commander
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_2}
|
||||
[/abilities]
|
||||
usage=fighter
|
||||
unit_description= _ "Commanders of the infantry of Wesnoth are responsible for the garrison and defense of the border towns and villages. They are drawn from the ranks of veteran soldiers, not nobility, and all have shown leadership and courage in battle."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
[attack]
|
||||
name=glaive
|
||||
description= _"glaive"
|
||||
icon=attacks/glaive.png
|
||||
type=blade
|
||||
range=melee
|
||||
damage=8
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-150
|
||||
image="gerrick/infantry-commander.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/infantry-commander-attack.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/infantry-commander-attack.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=50
|
||||
end=150
|
||||
image="gerrick/infantry-commander-attack-shield.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=200
|
||||
image="gerrick/infantry-commander.png"
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
{DEFENSE_ANIM "gerrick/infantry-commander-defend.png" "gerrick/infantry-commander.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
[/unit]
|
||||
|
|
|
@ -1,113 +1,113 @@
|
|||
[unit]
|
||||
#textdomain wesnoth-tsg
|
||||
id=South Guard Commander
|
||||
name= _ "Infantry Commander"
|
||||
race=human
|
||||
image="gerrick/assault-commander.png"
|
||||
ellipse="misc/ellipse-hero"
|
||||
image_leading="gerrick/assault-commander-leading.png"
|
||||
profile=portraits/sir-gerrick.png
|
||||
hitpoints=54
|
||||
alignment=lawful
|
||||
cost=70
|
||||
movement_type=armoredfoot
|
||||
movement=5
|
||||
level=3
|
||||
advanceto=null
|
||||
{AMLA_TOUGH 5}
|
||||
{AMLA_COURAGEOUS glaive}
|
||||
experience=50
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_3}
|
||||
[/abilities]
|
||||
usage=fighter
|
||||
unit_description= _ "Veteran commanders have faced battle many times and led their men with steady hands and calm determination."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
[attack]
|
||||
name=glaive
|
||||
description= _"glaive"
|
||||
icon=attacks/glaive.png
|
||||
type=blade
|
||||
range=melee
|
||||
damage=11
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-150
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/assault-commander-attack.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/assault-commander-attack.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=50
|
||||
end=150
|
||||
image="gerrick/assault-commander-attack-shield.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=200
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
[attack]
|
||||
name=shield
|
||||
description= _"shield"
|
||||
type=impact
|
||||
range=melee
|
||||
damage=11
|
||||
number=1
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_SLOW}
|
||||
[/specials]
|
||||
icon=attacks/rectangular-shield.png
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-125
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-125
|
||||
end=100
|
||||
image="gerrick/assault-commander-attack-shield.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-125
|
||||
end=100
|
||||
image="gerrick/assault-commander-attack-shield.png"
|
||||
sound=mace.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
{DEFENSE_ANIM "gerrick/assault-commander-defend.png" "gerrick/assault-commander.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
#textdomain wesnoth-tsg
|
||||
id=South Guard Commander
|
||||
name= _ "Infantry Commander"
|
||||
race=human
|
||||
image="gerrick/assault-commander.png"
|
||||
ellipse="misc/ellipse-hero"
|
||||
image_leading="gerrick/assault-commander-leading.png"
|
||||
profile=portraits/sir-gerrick.png
|
||||
hitpoints=54
|
||||
alignment=lawful
|
||||
cost=70
|
||||
movement_type=armoredfoot
|
||||
movement=5
|
||||
level=3
|
||||
advanceto=null
|
||||
{AMLA_TOUGH 5}
|
||||
{AMLA_COURAGEOUS glaive}
|
||||
experience=50
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_3}
|
||||
[/abilities]
|
||||
usage=fighter
|
||||
unit_description= _ "Veteran commanders have faced battle many times and led their men with steady hands and calm determination."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
[attack]
|
||||
name=glaive
|
||||
description= _"glaive"
|
||||
icon=attacks/glaive.png
|
||||
type=blade
|
||||
range=melee
|
||||
damage=11
|
||||
number=3
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-150
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/assault-commander-attack.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-150
|
||||
end=50
|
||||
image="gerrick/assault-commander-attack.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=50
|
||||
end=150
|
||||
image="gerrick/assault-commander-attack-shield.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=200
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
[attack]
|
||||
name=shield
|
||||
description= _"shield"
|
||||
type=impact
|
||||
range=melee
|
||||
damage=11
|
||||
number=1
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_SLOW}
|
||||
[/specials]
|
||||
icon=attacks/rectangular-shield.png
|
||||
[animation]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-125
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-125
|
||||
end=100
|
||||
image="gerrick/assault-commander-attack-shield.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-125
|
||||
end=100
|
||||
image="gerrick/assault-commander-attack-shield.png"
|
||||
sound=mace.wav
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image="gerrick/assault-commander.png"
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/attack]
|
||||
{DEFENSE_ANIM "gerrick/assault-commander-defend.png" "gerrick/assault-commander.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
[/unit]
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
[unit]
|
||||
#textdomain wesnoth-tsg
|
||||
id=Invisible
|
||||
name= _ "Invisible"
|
||||
alpha=0.0
|
||||
hitpoints=1
|
||||
experience=500
|
||||
level=0
|
||||
alignment=neutral
|
||||
advanceto=null
|
||||
cost=0
|
||||
usage=null
|
||||
hide_help=true
|
||||
[attack]
|
||||
name=dummy
|
||||
description= _"dummy"
|
||||
type=impact
|
||||
range=melee
|
||||
damage=0
|
||||
number=0
|
||||
[/attack]
|
||||
#textdomain wesnoth-tsg
|
||||
id=Invisible
|
||||
name= _ "Invisible"
|
||||
alpha=0.0
|
||||
hitpoints=1
|
||||
experience=500
|
||||
level=0
|
||||
alignment=neutral
|
||||
advanceto=null
|
||||
cost=0
|
||||
usage=null
|
||||
hide_help=true
|
||||
[attack]
|
||||
name=dummy
|
||||
description= _"dummy"
|
||||
type=impact
|
||||
range=melee
|
||||
damage=0
|
||||
number=0
|
||||
[/attack]
|
||||
[/unit]
|
||||
|
|
|
@ -3,84 +3,84 @@
|
|||
#textdomain wesnoth-tsg
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
image=portraits/deoran-sad.png
|
||||
message= _ "I have failed my kingdom and duty..."
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
name=die
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
image=portraits/deoran-sad.png
|
||||
message= _ "I have failed my kingdom and duty..."
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
image=portraits/deoran-mad.png
|
||||
message= _ "Taste cold steel!"
|
||||
[/message]
|
||||
name=attack
|
||||
[filter]
|
||||
description=Deoran
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Deoran
|
||||
image=portraits/deoran-mad.png
|
||||
message= _ "Taste cold steel!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Ethiliel
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "I have lost all helping the humans... Now they will surely perish!"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
name=die
|
||||
[filter]
|
||||
description=Ethiliel
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "I have lost all helping the humans... Now they will surely perish!"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "I have given my all for my kingdom! Avenge me, Deoran!"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
name=die
|
||||
[filter]
|
||||
description=Sir Gerrick
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "I have given my all for my kingdom! Avenge me, Deoran!"
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Minister Hylas
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
image=portraits/hylas.png
|
||||
message= _ "Now I will never see Westin free again..."
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
name=die
|
||||
[filter]
|
||||
description=Minister Hylas
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
image=portraits/hylas.png
|
||||
message= _ "Now I will never see Westin free again..."
|
||||
[/message]
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
description=Jarek
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Far from home I fall - but not in vain! Guard our people, Deoran!"
|
||||
[/message]
|
||||
name=die
|
||||
[filter]
|
||||
description=Jarek
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Far from home I fall - but not in vain! Guard our people, Deoran!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
# Brigands and Enemies
|
||||
|
|
|
@ -7,139 +7,138 @@
|
|||
#ifdef EASY
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Thug
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_thug_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_thug_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image=human-outlaws/thug-attack.png
|
||||
message= _ "Thugs are the mainstay of the bandit armies. They do not have a ranged attack, and are vulnerable to your archers. Deoran's lance will also strike fear into their hearts! Like all of the bandit units, they are much more dangerous at night."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Thug
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_thug_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_thug_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image=human-outlaws/thug-attack.png
|
||||
message= _ "Thugs are the mainstay of the bandit armies. They do not have a ranged attack, and are vulnerable to your archers. Deoran's lance will also strike fear into their hearts! Like all of the bandit units, they are much more dangerous at night."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Thief
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_thief_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_thief_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-outlaws/thief-defend-2-2.png"
|
||||
message= _ "Thieves are more subtle than thugs. They try to surround your units and stab them in the back. Make sure that thieves never have an opportunity to attack when they have an ally directly behind the unit they are attacking - they'll do double damage! Like thugs, thieves are vulnerable to the ranged attacks of your archers."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Thief
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_thief_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_thief_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-outlaws/thief-defend-2-2.png"
|
||||
message= _ "Thieves are more subtle than thugs. They try to surround your units and stab them in the back. Make sure that thieves never have an opportunity to attack when they have an ally directly behind the unit they are attacking - they'll do double damage! Like thugs, thieves are vulnerable to the ranged attacks of your archers."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Footpad
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_footpad_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_footpad_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-outlaws/footpad+female-attack1.png"
|
||||
message= _ "Footpads are the scouts of the bandit armies. They are quick, and have both a melee attack and a ranged attack. Neither of their attacks is very strong, however, and your spearmen will make quick work of them during the day."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Footpad
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_footpad_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_footpad_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-outlaws/footpad+female-attack1.png"
|
||||
message= _ "Footpads are the scouts of the bandit armies. They are quick, and have both a melee attack and a ranged attack. Neither of their attacks is very strong, however, and your spearmen will make quick work of them during the day."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Skeleton
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_skeleton_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_skeleton_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="undead-skeletal/skeleton-attackb.png"
|
||||
message= _ "Skeletons are the bones of fallen warriors raised by some dark magic. They are almost immune to piercing weapons like arrows and spears. Bladed attacks like swords will injure them, and Minister Hylas's arcane attack is deadly against them. Like the rest of the bandits, they are more dangerous at night!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Skeleton
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_skeleton_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_skeleton_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="undead-skeletal/skeleton-attackb.png"
|
||||
message= _ "Skeletons are the bones of fallen warriors raised by some dark magic. They are almost immune to piercing weapons like arrows and spears. Bladed attacks like swords will injure them, and Minister Hylas's arcane attack is deadly against them. Like the rest of the bandits, they are more dangerous at night!"
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Walking Corpse
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_walking_corpse_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_walking_corpse_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="undead/zombie-attack.png"
|
||||
message= _ "Walking corpses are the bodies of slain warriors, filled with some black magic. They are slow and weak - any of your units is more than a match for them. They are only dangerous in packs..."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
name=attack
|
||||
[filter]
|
||||
type=Walking Corpse
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
[if]
|
||||
[variable]
|
||||
name=sg_walking_corpse_info
|
||||
not_equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
[set_variable]
|
||||
name=sg_walking_corpse_info
|
||||
value=true
|
||||
[/set_variable]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="undead/zombie-attack.png"
|
||||
message= _ "Walking corpses are the bodies of slain warriors, filled with some black magic. They are slow and weak - any of your units is more than a match for them. They are only dangerous in packs..."
|
||||
[/message]
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,170 +1,166 @@
|
|||
#textdomain wesnoth-tsg
|
||||
|
||||
#define SG_BORN_TO_THE_BANNER
|
||||
[story]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "During the reign of Haldric VII, Wesnoth was secure. Konrad I had driven off the orcs in the north. The eastern forts were quiet and almost deserted. The elves in the western forest kept to their own affairs. In the prosperous south men built new towns and farms."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "For eight years the South Guard had defended the farms and homes surrounding the city of Westin. The fiercest foes they faced were the occasional bandit. The orcs were far to the north. Nothing lived in the forest beyond the river."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "In the spring of the ninth year the reports from Sir Loris stopped suddenly. King Haldric decided to send someone to investigate."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "A young commander, Deoran, son of one of the horsemen who rode with Konrad I, was summoned by Haldric. The king had a mission for him."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "He was ordered to ride south towards Westin, the capital of the province of Kerlath and replace Sir Loris as commander of the South Guard..."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/bigmap.jpg
|
||||
show_title=yes
|
||||
{DOT 222 17}
|
||||
{DOT 223 34}
|
||||
{DOT 224 51}
|
||||
{DOT 226 68}
|
||||
{DOT 225 85}
|
||||
{DOT 214 99}
|
||||
{DOT 200 109}
|
||||
{CROSS 187 117}
|
||||
[/part]
|
||||
[/story]
|
||||
[story]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "During the reign of Haldric VII, Wesnoth was secure. Konrad I had driven off the orcs in the north. The eastern forts were quiet and almost deserted. The elves in the western forest kept to their own affairs. In the prosperous south men built new towns and farms."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "For eight years the South Guard had defended the farms and homes surrounding the city of Westin. The fiercest foes they faced were the occasional bandit. The orcs were far to the north. Nothing lived in the forest beyond the river."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "In the spring of the ninth year the reports from Sir Loris stopped suddenly. King Haldric decided to send someone to investigate."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "A young commander, Deoran, son of one of the horsemen who rode with Konrad I, was summoned by Haldric. The king had a mission for him."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "He was ordered to ride south towards Westin, the capital of the province of Kerlath and replace Sir Loris as commander of the South Guard..."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/bigmap.jpg
|
||||
show_title=yes
|
||||
{DOT 222 17}
|
||||
{DOT 223 34}
|
||||
{DOT 224 51}
|
||||
{DOT 226 68}
|
||||
{DOT 225 85}
|
||||
{DOT 214 99}
|
||||
{DOT 200 109}
|
||||
{CROSS 187 117}
|
||||
[/part]
|
||||
[/story]
|
||||
#enddef
|
||||
|
||||
#define SG_PROVEN_BY_THE_SWORD
|
||||
[story]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "Having defeated Urza Mathin, Deoran immediately sent scouts out into the whole countryside. His men reported bandits roaming freely over the border, terrorizing the peasants and villagers. Nowhere did they find soldiers of the South Guard."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "Deoran decided to take action and wipe out the bandits. He gathered the men of Sir Gerrick's command and whatever peasants were of strong body and fighting age. With this small force he rode in haste to Westin, capital of the province."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "Deoran and his men approached the old city, and they saw that their fears were well founded..."
|
||||
[/part]
|
||||
[story]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "Having defeated Urza Mathin, Deoran immediately sent scouts out into the whole countryside. His men reported bandits roaming freely over the border, terrorizing the peasants and villagers. Nowhere did they find soldiers of the South Guard."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "Deoran decided to take action and wipe out the bandits. He gathered the men of Sir Gerrick's command and whatever peasants were of strong body and fighting age. With this small force he rode in haste to Westin, capital of the province."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/summer.jpg
|
||||
story= _ "Deoran and his men approached the old city, and they saw that their fears were well founded..."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/bigmap.jpg
|
||||
show_title=yes
|
||||
{DOT 187 117}
|
||||
{DOT 172 128}
|
||||
{DOT 157 139}
|
||||
{DOT 142 150}
|
||||
{DOT 127 159}
|
||||
{DOT 112 168}
|
||||
{CROSS 99 183}
|
||||
[/part]
|
||||
[/story]
|
||||
[part]
|
||||
background=story/bigmap.jpg
|
||||
show_title=yes
|
||||
{DOT 187 117}
|
||||
{DOT 172 128}
|
||||
{DOT 157 139}
|
||||
{DOT 142 150}
|
||||
{DOT 127 159}
|
||||
{DOT 112 168}
|
||||
{CROSS 99 183}
|
||||
[/part]
|
||||
[/story]
|
||||
#enddef
|
||||
|
||||
#define SG_CHOICE_IN_THE_FOG
|
||||
[story]
|
||||
[part]
|
||||
background=story/fall.jpg
|
||||
story= _ "Ethiliel led the men of the South Guard into the southern forest. Shadows soon covered their paths day and night, and a thick fog filled the air."
|
||||
[/part]
|
||||
[story]
|
||||
[part]
|
||||
background=story/fall.jpg
|
||||
story= _ "Ethiliel led the men of the South Guard into the southern forest. Shadows soon covered their paths day and night, and a thick fog filled the air."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/fall.jpg
|
||||
story= _ "For many weeks they marched down nameless paths that no man had trod before. From time to time they saw ghostly images of elven villages and halls in the deep woods, but as they advanced, even those became scarce."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/fall.jpg
|
||||
story= _ "For many weeks they marched down nameless paths that no man had trod before. From time to time they saw ghostly images of elven villages and halls in the deep woods, but as they advanced, even those became scarce."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/fall.jpg
|
||||
story= _ "Finally Ethiliel told the men to halt and pitch camp - they had reached the great river, beyond which no elf or man would willingly pass."
|
||||
[/part]
|
||||
|
||||
[/story]
|
||||
[part]
|
||||
background=story/fall.jpg
|
||||
story= _ "Finally Ethiliel told the men to halt and pitch camp - they had reached the great river, beyond which no elf or man would willingly pass."
|
||||
[/part]
|
||||
[/story]
|
||||
#enddef
|
||||
|
||||
#define SG_PEBBLES_IN_THE_FLOOD
|
||||
[story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Snow fell as Deoran, Sir Gerrick and Urza Afalas emerged from the great southern forest. A great hush fell over the land, and an ominous gloom followed close behind the men of the South Guard."
|
||||
[/part]
|
||||
[story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Snow fell as Deoran, Sir Gerrick and Urza Afalas emerged from the great southern forest. A great hush fell over the land, and an ominous gloom followed close behind the men of the South Guard."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Finally they arrived at the southern border of Wesnoth and the forts that guarded it. The undead were close on their heels..."
|
||||
[/part]
|
||||
|
||||
[/story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Finally they arrived at the southern border of Wesnoth and the forts that guarded it. The undead were close on their heels..."
|
||||
[/part]
|
||||
[/story]
|
||||
#enddef
|
||||
|
||||
#define SG_ELF_EPILOGUE
|
||||
[story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Finally the sun broke the horizon and its rays breathed new life into the weary defenders of Westin. A great cry echoed through the valley as the men of the South Guard pressed their elven foes back from the walls. Suddenly the field was covered in a great fog..."
|
||||
music=revelation.ogg
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "When the fog broke, Ethiliel stood alone, facing the wall of spears. Bathed in light, she spoke to the men of Wesnoth, saying, 'Stop! Enough blood has been spilled before the walls of this city! The injury you menfolk have done to the elves is great, but your service also was worthy.'"
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "These are the terms of the peace between us: any man found in the forest or hills that belong to the elves will taste death. No more will the elves send ambassadors or councilors to Westin, and no more will men wander the green woods."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Thus an uneasy peace was consummated between man and elf. For many weeks the South Guard patrolled the borders of the elven woods and watched over the growing farms and villages. Finally, as the snow melted and the roads bore their burdens again, a messenger came from king Haldric."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Sir Deoran, Knight of Wesnoth, was summoned to Weldyn for a council with King Haldric himself. Storm clouds were brewing throughout the realm, and every commander would be needed to weather the storm..."
|
||||
music=loyalists.ogg
|
||||
[/part]
|
||||
|
||||
[/story]
|
||||
[story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Finally the sun broke the horizon and its rays breathed new life into the weary defenders of Westin. A great cry echoed through the valley as the men of the South Guard pressed their elven foes back from the walls. Suddenly the field was covered in a great fog..."
|
||||
music=revelation.ogg
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "When the fog broke, Ethiliel stood alone, facing the wall of spears. Bathed in light, she spoke to the men of Wesnoth, saying, 'Stop! Enough blood has been spilled before the walls of this city! The injury you menfolk have done to the elves is great, but your service also was worthy.'"
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "These are the terms of the peace between us: any man found in the forest or hills that belong to the elves will taste death. No more will the elves send ambassadors or councilors to Westin, and no more will men wander the green woods."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Thus an uneasy peace was consummated between man and elf. For many weeks the South Guard patrolled the borders of the elven woods and watched over the growing farms and villages. Finally, as the snow melted and the roads bore their burdens again, a messenger came from king Haldric."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Sir Deoran, Knight of Wesnoth, was summoned to Weldyn for a council with King Haldric himself. Storm clouds were brewing throughout the realm, and every commander would be needed to weather the storm..."
|
||||
music=loyalists.ogg
|
||||
[/part]
|
||||
[/story]
|
||||
#enddef
|
||||
|
||||
#define SG_BANDIT_EPILOGUE
|
||||
[story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "With bitter spears and grim expression, the men of Wesnoth launched the last assault on the undead. As they cut through lifeless flesh and shattered chill bones a ray of sunlight pierced the clouds. The winds died and the men were filled with new life. A great cry they let out as they stormed the encampment of Mal M'brin himself, and threw down the mighty wizard."
|
||||
music=revelation.ogg
|
||||
[/part]
|
||||
[story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "With bitter spears and grim expression, the men of Wesnoth launched the last assault on the undead. As they cut through lifeless flesh and shattered chill bones a ray of sunlight pierced the clouds. The winds died and the men were filled with new life. A great cry they let out as they stormed the encampment of Mal M'brin himself, and threw down the mighty wizard."
|
||||
music=revelation.ogg
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Exhausted, Deoran dropped his lance to the ground. The men around him slowly lifted their helmets from their brows. The moans of the wounded overshadowed the rustling of the north wind in the distance. The undead were gone."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Exhausted, Deoran dropped his lance to the ground. The men around him slowly lifted their helmets from their brows. The moans of the wounded overshadowed the rustling of the north wind in the distance. The undead were gone."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "For days the healers of Westin worked feverishly to save as many of the valiant soldiers as they were able. Many mounds, though, were raised as homes for the fallen in the fields north of the city, and to the roll of fallen heroes many names were added."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "For days the healers of Westin worked feverishly to save as many of the valiant soldiers as they were able. Many mounds, though, were raised as homes for the fallen in the fields north of the city, and to the roll of fallen heroes many names were added."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "The loftiest mound belonged to Sir Gerrick. After the battle, Deoran led an expedition to the southern border posts, and there he found Sir Gerrick's sword and shield. Those he placed atop Gerrick's mound, and they were a symbol of loyalty and valor to all the people of Westin."
|
||||
[/part]
|
||||
[part]
|
||||
story= _ "Gerrick's name was added at the top of the roll of fallen heroes, and read aloud at the beginning of every great council. The memory of his desperate last stand at the border posts passed into song, and was not forgotten for many lives of men."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "The loftiest mound belonged to Sir Gerrick. After the battle, Deoran led an expedition to the southern border posts, and there he found Sir Gerrick's sword and shield. Those he placed atop Gerrick's mound, and they were a symbol of loyalty and valor to all the people of Westin."
|
||||
[/part]
|
||||
[part]
|
||||
story= _ "Gerrick's name was added at the top of the roll of fallen heroes, and read aloud at the beginning of every great council. The memory of his desperate last stand at the border posts passed into song, and was not forgotten for many lives of men."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Deoran spent his days visiting the wounded and directing the men as they rebuilt the shattered walls and ramparts of the city. Finally, as the snow melted and the roads bore their burdens again, a messenger came from king Haldric."
|
||||
[/part]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Deoran spent his days visiting the wounded and directing the men as they rebuilt the shattered walls and ramparts of the city. Finally, as the snow melted and the roads bore their burdens again, a messenger came from king Haldric."
|
||||
[/part]
|
||||
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Sir Deoran, Knight of Wesnoth, was summoned to Weldyn for a council with King Haldric himself. Storm clouds were brewing throughout the realm, and every commander would be needed to weather the onslaught..."
|
||||
music=loyalists.ogg
|
||||
[/part]
|
||||
|
||||
[/story]
|
||||
[part]
|
||||
background=story/winter.jpg
|
||||
story= _ "Sir Deoran, Knight of Wesnoth, was summoned to Weldyn for a council with King Haldric himself. Storm clouds were brewing throughout the realm, and every commander would be needed to weather the onslaught..."
|
||||
music=loyalists.ogg
|
||||
[/part]
|
||||
[/story]
|
||||
#enddef
|
||||
|
|
|
@ -4,239 +4,235 @@
|
|||
|
||||
#textdomain wesnoth-tsg
|
||||
|
||||
|
||||
#define AMLA_BARBED_LANCE ATTACK
|
||||
[advancement]
|
||||
max_times=1
|
||||
id=sg_barbs
|
||||
description= _ "Place barbs on your weapon. (slow)"
|
||||
[effect]
|
||||
apply_to=attack
|
||||
name={ATTACK}
|
||||
[set_specials]
|
||||
{WEAPON_SPECIAL_CHARGE}
|
||||
{WEAPON_SPECIAL_SLOW}
|
||||
[/set_specials]
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=12
|
||||
[/effect]
|
||||
[/advancement]
|
||||
[advancement]
|
||||
max_times=1
|
||||
id=sg_barbs
|
||||
description= _ "Place barbs on your weapon. (slow)"
|
||||
[effect]
|
||||
apply_to=attack
|
||||
name={ATTACK}
|
||||
[set_specials]
|
||||
{WEAPON_SPECIAL_CHARGE}
|
||||
{WEAPON_SPECIAL_SLOW}
|
||||
[/set_specials]
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=12
|
||||
[/effect]
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define AMLA_MACE
|
||||
[advancement]
|
||||
max_times=1
|
||||
id=sg_mace
|
||||
description= _ "Wield a mace. (impact)"
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=mace
|
||||
icon=attacks/mace.png
|
||||
[advancement]
|
||||
max_times=1
|
||||
id=sg_mace
|
||||
description= _ "Wield a mace. (impact)"
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=mace
|
||||
icon=attacks/mace.png
|
||||
|
||||
range=melee
|
||||
type=impact
|
||||
range=melee
|
||||
type=impact
|
||||
|
||||
damage=7
|
||||
number=2
|
||||
damage=7
|
||||
number=2
|
||||
|
||||
[animation]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/horseman-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
# we probably need an mace attack frame for Deoran
|
||||
image=deoran/horseman-commander-defend.png
|
||||
sound=mace.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/horseman-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[animation]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/horseman-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
# we probably need an mace attack frame for Deoran
|
||||
image=deoran/horseman-commander-defend.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/horseman-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=12
|
||||
[/effect]
|
||||
|
||||
[/advancement]
|
||||
[animation]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/horseman-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
# we probably need an mace attack frame for Deoran
|
||||
image=deoran/horseman-commander-defend.png
|
||||
sound=mace.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/horseman-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[animation]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-200
|
||||
image=deoran/horseman-commander.png
|
||||
sound=horse-canter.wav
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
# we probably need an mace attack frame for Deoran
|
||||
image=deoran/horseman-commander-defend.png
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image=deoran/horseman-commander-moving.png
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
end=200
|
||||
image=deoran/horseman-commander.png
|
||||
[/frame]
|
||||
[/animation]
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=12
|
||||
[/effect]
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define AMLA_COURAGEOUS ATTACK
|
||||
[advancement]
|
||||
max_times=2
|
||||
id=sg_courageous
|
||||
description= _ "Add a swing to your attack."
|
||||
[effect]
|
||||
apply_to=attack
|
||||
name={ATTACK}
|
||||
increase_attacks=1
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=6
|
||||
[/effect]
|
||||
[/advancement]
|
||||
[advancement]
|
||||
max_times=2
|
||||
id=sg_courageous
|
||||
description= _ "Add a swing to your attack."
|
||||
[effect]
|
||||
apply_to=attack
|
||||
name={ATTACK}
|
||||
increase_attacks=1
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=6
|
||||
[/effect]
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define SG_STRONG
|
||||
[trait]
|
||||
id=strong
|
||||
male_name= _ "strong"
|
||||
female_name= _ "female^strong"
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
increase_damage=2
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
increase_total=2
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/trait]
|
||||
[trait]
|
||||
id=strong
|
||||
male_name= _ "strong"
|
||||
female_name= _ "female^strong"
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
increase_damage=2
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
increase_total=2
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/trait]
|
||||
#enddef
|
||||
|
||||
#define SG_RESILIENT
|
||||
[trait]
|
||||
id=resilient
|
||||
male_name= _ "resilient"
|
||||
female_name= _ "female^resilient"
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
increase_total=7
|
||||
#make sure the unit starts at full health
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/trait]
|
||||
[trait]
|
||||
id=resilient
|
||||
male_name= _ "resilient"
|
||||
female_name= _ "female^resilient"
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
increase_total=7
|
||||
#make sure the unit starts at full health
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/trait]
|
||||
#enddef
|
||||
|
||||
#define SG_QUICK
|
||||
[trait]
|
||||
id=quick
|
||||
male_name= _ "quick"
|
||||
female_name= _ "female^quick"
|
||||
[effect]
|
||||
apply_to=movement
|
||||
increase=1
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
increase_total=-10%
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/trait]
|
||||
[trait]
|
||||
id=quick
|
||||
male_name= _ "quick"
|
||||
female_name= _ "female^quick"
|
||||
[effect]
|
||||
apply_to=movement
|
||||
increase=1
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
increase_total=-10%
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[/trait]
|
||||
#enddef
|
||||
|
||||
#define SG_INTELLIGENT
|
||||
[trait]
|
||||
id=intelligent
|
||||
male_name= _ "intelligent"
|
||||
female_name= _ "female^intelligent"
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=-20%
|
||||
[/effect]
|
||||
[/trait]
|
||||
[trait]
|
||||
id=intelligent
|
||||
male_name= _ "intelligent"
|
||||
female_name= _ "female^intelligent"
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=-20%
|
||||
[/effect]
|
||||
[/trait]
|
||||
#enddef
|
||||
|
||||
#define SG_LOYAL
|
||||
[trait]
|
||||
id=loyal
|
||||
male_name= _ "loyal"
|
||||
female_name= _ "female^loyal"
|
||||
[effect]
|
||||
apply_to=loyal
|
||||
[/effect]
|
||||
[/trait]
|
||||
[trait]
|
||||
id=loyal
|
||||
male_name= _ "loyal"
|
||||
female_name= _ "female^loyal"
|
||||
[effect]
|
||||
apply_to=loyal
|
||||
[/effect]
|
||||
[/trait]
|
||||
#enddef
|
||||
|
||||
#define SG_UNIT TYPE DESCRIPTION USER_DESCRIPTION SIDE X Y
|
||||
[unit]
|
||||
type={TYPE}
|
||||
side={SIDE}
|
||||
description={DESCRIPTION}
|
||||
user_description={USER_DESCRIPTION}
|
||||
x,y={X},{Y}
|
||||
traits_description= _ "loyal"
|
||||
[modifications]
|
||||
{SG_LOYAL}
|
||||
[/modifications]
|
||||
|
||||
[/unit]
|
||||
[unit]
|
||||
type={TYPE}
|
||||
side={SIDE}
|
||||
description={DESCRIPTION}
|
||||
user_description={USER_DESCRIPTION}
|
||||
x,y={X},{Y}
|
||||
traits_description= _ "loyal"
|
||||
[modifications]
|
||||
{SG_LOYAL}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
#enddef
|
||||
|
||||
#define SG_AMBUSHER TYPE DESCRIPTION USER_DESCRIPTION SIDE X Y
|
||||
[unit]
|
||||
type={TYPE}
|
||||
side={SIDE}
|
||||
description={DESCRIPTION}
|
||||
user_description={USER_DESCRIPTION}
|
||||
x,y={X},{Y}
|
||||
[status]
|
||||
ambush=on
|
||||
[/status]
|
||||
[/unit]
|
||||
[unit]
|
||||
type={TYPE}
|
||||
side={SIDE}
|
||||
description={DESCRIPTION}
|
||||
user_description={USER_DESCRIPTION}
|
||||
x,y={X},{Y}
|
||||
[status]
|
||||
ambush=on
|
||||
[/status]
|
||||
[/unit]
|
||||
#enddef
|
||||
|
||||
#define SG_GUARD TYPE DESCRIPTION USER_DESCRIPTION SIDE X Y
|
||||
[unit]
|
||||
type={TYPE}
|
||||
description={DESCRIPTION}
|
||||
user_description={USER_DESCRIPTION}
|
||||
side={SIDE}
|
||||
x,y={X},{Y}
|
||||
ai_special=guardian
|
||||
[/unit]
|
||||
[unit]
|
||||
type={TYPE}
|
||||
description={DESCRIPTION}
|
||||
user_description={USER_DESCRIPTION}
|
||||
side={SIDE}
|
||||
x,y={X},{Y}
|
||||
ai_special=guardian
|
||||
[/unit]
|
||||
#enddef
|
||||
|
|
|
@ -4,35 +4,20 @@
|
|||
# and the generous advice of the collected fora.
|
||||
|
||||
#define CUSTOM_SG_FLAG
|
||||
flag=flag/SGflag-1.png:200,flag/SGflag-2.png:125,flag/SGflag-3.png:400,flag/SGflag-2.png:200
|
||||
flag_icon=flag/SGflag-icon.png
|
||||
flag=flag/SGflag-1.png:200,flag/SGflag-2.png:125,flag/SGflag-3.png:400,flag/SGflag-2.png:200
|
||||
flag_icon=flag/SGflag-icon.png
|
||||
#enddef
|
||||
|
||||
#define SG_IF VAR
|
||||
[if]
|
||||
[variable]
|
||||
name={VAR}
|
||||
equals=true
|
||||
[/variable]
|
||||
[then]
|
||||
#enddef
|
||||
|
||||
#define SG_END_IF
|
||||
[/then]
|
||||
[/if]
|
||||
#enddef
|
||||
|
||||
|
||||
#define SG_CHANGE_TERRAIN X Y LETTER
|
||||
[terrain]
|
||||
x={X}
|
||||
y={Y}
|
||||
letter={LETTER}
|
||||
[/terrain]
|
||||
[terrain]
|
||||
x={X}
|
||||
y={Y}
|
||||
letter={LETTER}
|
||||
[/terrain]
|
||||
#enddef
|
||||
|
||||
#define MOVE_EXISTING_UNIT FILTER X Y
|
||||
{_MOVE_EXISTING_UNIT ({FILTER}) ({X}) ({Y}) ( )}
|
||||
{_MOVE_EXISTING_UNIT ({FILTER}) ({X}) ({Y}) ( )}
|
||||
#enddef
|
||||
|
||||
#This is in case you need to make another unit type to display moving.
|
||||
|
@ -41,132 +26,132 @@
|
|||
#which would have a [movement costs] tag with cavewall=1. Skirmisher ability is also useful to give here.
|
||||
#HINT: undeadfly movetype takes only 1 move through anything except cavewall.
|
||||
#define MOVE_EXISTING_UNIT_WITH_FAKE_VERSION FILTER X Y
|
||||
{_MOVE_EXISTING_UNIT ({FILTER}) ({X}) ({Y}) ([set_variable]
|
||||
name=mover_type
|
||||
format="Fake $mover_type"
|
||||
{_MOVE_EXISTING_UNIT ({FILTER}) ({X}) ({Y}) ([set_variable]
|
||||
name=mover_type
|
||||
format="Fake $mover_type"
|
||||
[/set_variable])}
|
||||
#enddef
|
||||
|
||||
#don't use this directly, unless you really need to
|
||||
#define _MOVE_EXISTING_UNIT FILTER X Y EXTRA_COMMANDS
|
||||
[store_unit]
|
||||
[filter]
|
||||
{FILTER}
|
||||
[/filter]
|
||||
[store_unit]
|
||||
[filter]
|
||||
{FILTER}
|
||||
[/filter]
|
||||
variable=mover_store
|
||||
[/store_unit]
|
||||
{VARIABLE_OP temp_x1 to_variable mover_store.x}
|
||||
{VARIABLE_OP temp_y1 to_variable mover_store.y}
|
||||
#if it's really a unit on the map, never mind whether it has HP<=0
|
||||
#(in which case [have_unit] wouldn't detect it)
|
||||
[if]
|
||||
[/store_unit]
|
||||
{VARIABLE_OP temp_x1 to_variable mover_store.x}
|
||||
{VARIABLE_OP temp_y1 to_variable mover_store.y}
|
||||
#if it's really a unit on the map, never mind whether it has HP<=0
|
||||
#(in which case [have_unit] wouldn't detect it)
|
||||
[if]
|
||||
[variable]
|
||||
name=temp_x1
|
||||
greater_than=0
|
||||
name=temp_x1
|
||||
greater_than=0
|
||||
[/variable]
|
||||
[variable]
|
||||
name=temp_y1
|
||||
greater_than=0
|
||||
name=temp_y1
|
||||
greater_than=0
|
||||
[/variable]
|
||||
[then]
|
||||
#kill the original
|
||||
[kill]
|
||||
[then]
|
||||
#kill the original
|
||||
[kill]
|
||||
x=$temp_x1
|
||||
y=$temp_y1
|
||||
[/kill]
|
||||
[unit]
|
||||
[/kill]
|
||||
[unit]
|
||||
type=Invisible
|
||||
x={X}
|
||||
y={Y}
|
||||
side=1
|
||||
role=temp_location_tester
|
||||
[/unit]
|
||||
[store_unit]
|
||||
[filter]
|
||||
role=temp_location_tester
|
||||
[/filter]
|
||||
[/unit]
|
||||
[store_unit]
|
||||
[filter]
|
||||
role=temp_location_tester
|
||||
[/filter]
|
||||
kill=yes
|
||||
variable=temp_store
|
||||
[/store_unit]
|
||||
{VARIABLE_OP temp_x2 to_variable temp_store.x}
|
||||
{VARIABLE_OP temp_y2 to_variable temp_store.y}
|
||||
{VARIABLE_OP mover_store.x to_variable temp_x2}
|
||||
{VARIABLE_OP mover_store.y to_variable temp_y2}
|
||||
#make it face the right direction
|
||||
#this may be unnecessary/bad; I don't think it's totally reliable
|
||||
#if a unit goes a long way around
|
||||
[if]
|
||||
[/store_unit]
|
||||
{VARIABLE_OP temp_x2 to_variable temp_store.x}
|
||||
{VARIABLE_OP temp_y2 to_variable temp_store.y}
|
||||
{VARIABLE_OP mover_store.x to_variable temp_x2}
|
||||
{VARIABLE_OP mover_store.y to_variable temp_y2}
|
||||
#make it face the right direction
|
||||
#this may be unnecessary/bad; I don't think it's totally reliable
|
||||
#if a unit goes a long way around
|
||||
[if]
|
||||
[variable]
|
||||
name=temp_x1
|
||||
greater_than=$temp_x2
|
||||
name=temp_x1
|
||||
greater_than=$temp_x2
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE mover_store.facing reverse}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=temp_x2
|
||||
greater_than=$temp_x1
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE mover_store.facing normal}
|
||||
[/then]
|
||||
[/if]
|
||||
#don't move to the same place!
|
||||
#it would go one hex away and back
|
||||
[if]
|
||||
[or]
|
||||
[variable]
|
||||
name=temp_x1
|
||||
not_equals=$temp_x2
|
||||
[/variable]
|
||||
[/or]
|
||||
[or]
|
||||
[variable]
|
||||
name=temp_y1
|
||||
not_equals=$temp_y2
|
||||
[/variable]
|
||||
[/or]
|
||||
[then]
|
||||
{VARIABLE_OP mover_type to_variable mover_store.type}
|
||||
{VARIABLE_OP mover_side to_variable mover_store.side}
|
||||
{VARIABLE_OP mover_gender to_variable mover_store.side}
|
||||
{VARIABLE_OP movement_x format (|$temp_x1|,$temp_x2)}
|
||||
{VARIABLE_OP movement_y format (|$temp_y1|,$temp_y2)}
|
||||
{EXTRA_COMMANDS}
|
||||
[move_unit_fake]
|
||||
type=$mover_type
|
||||
side=$mover_side
|
||||
gender=$mover_gender
|
||||
x=$movement_x
|
||||
y=$movement_y
|
||||
[/move_unit_fake]
|
||||
[unstore_unit]
|
||||
variable=mover_store
|
||||
[/unstore_unit]
|
||||
[redraw]
|
||||
[/redraw]
|
||||
{CLEAR_VARIABLE mover_type}
|
||||
{CLEAR_VARIABLE mover_side}
|
||||
{CLEAR_VARIABLE mover_gender}
|
||||
{CLEAR_VARIABLE movement_y}
|
||||
{CLEAR_VARIABLE movement_x}
|
||||
[/then]
|
||||
[else]
|
||||
[unstore_unit]
|
||||
variable=mover_store
|
||||
[/unstore_unit]
|
||||
[redraw]
|
||||
[/redraw]
|
||||
[/else]
|
||||
[/if]
|
||||
{CLEAR_VARIABLE temp_x2}
|
||||
{CLEAR_VARIABLE temp_y2}
|
||||
{CLEAR_VARIABLE temp_store}
|
||||
[then]
|
||||
{VARIABLE mover_store.facing reverse}
|
||||
[/then]
|
||||
[/if]
|
||||
{CLEAR_VARIABLE temp_x1}
|
||||
{CLEAR_VARIABLE temp_y1}
|
||||
{CLEAR_VARIABLE mover_store}
|
||||
#enddef
|
||||
[/if]
|
||||
[if]
|
||||
[variable]
|
||||
name=temp_x2
|
||||
greater_than=$temp_x1
|
||||
[/variable]
|
||||
[then]
|
||||
{VARIABLE mover_store.facing normal}
|
||||
[/then]
|
||||
[/if]
|
||||
#don't move to the same place!
|
||||
#it would go one hex away and back
|
||||
[if]
|
||||
[or]
|
||||
[variable]
|
||||
name=temp_x1
|
||||
not_equals=$temp_x2
|
||||
[/variable]
|
||||
[/or]
|
||||
[or]
|
||||
[variable]
|
||||
name=temp_y1
|
||||
not_equals=$temp_y2
|
||||
[/variable]
|
||||
[/or]
|
||||
[then]
|
||||
{VARIABLE_OP mover_type to_variable mover_store.type}
|
||||
{VARIABLE_OP mover_side to_variable mover_store.side}
|
||||
{VARIABLE_OP mover_gender to_variable mover_store.side}
|
||||
{VARIABLE_OP movement_x format (|$temp_x1|,$temp_x2)}
|
||||
{VARIABLE_OP movement_y format (|$temp_y1|,$temp_y2)}
|
||||
{EXTRA_COMMANDS}
|
||||
[move_unit_fake]
|
||||
type=$mover_type
|
||||
side=$mover_side
|
||||
gender=$mover_gender
|
||||
x=$movement_x
|
||||
y=$movement_y
|
||||
[/move_unit_fake]
|
||||
[unstore_unit]
|
||||
variable=mover_store
|
||||
[/unstore_unit]
|
||||
[redraw]
|
||||
[/redraw]
|
||||
{CLEAR_VARIABLE mover_type}
|
||||
{CLEAR_VARIABLE mover_side}
|
||||
{CLEAR_VARIABLE mover_gender}
|
||||
{CLEAR_VARIABLE movement_y}
|
||||
{CLEAR_VARIABLE movement_x}
|
||||
[/then]
|
||||
[else]
|
||||
[unstore_unit]
|
||||
variable=mover_store
|
||||
[/unstore_unit]
|
||||
[redraw]
|
||||
[/redraw]
|
||||
[/else]
|
||||
[/if]
|
||||
{CLEAR_VARIABLE temp_x2}
|
||||
{CLEAR_VARIABLE temp_y2}
|
||||
{CLEAR_VARIABLE temp_store}
|
||||
[/then]
|
||||
[/if]
|
||||
{CLEAR_VARIABLE temp_x1}
|
||||
{CLEAR_VARIABLE temp_y1}
|
||||
{CLEAR_VARIABLE mover_store}
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue