From bb79a69551711b9a0eca8f0c68ae55c1a8421f7a Mon Sep 17 00:00:00 2001 From: nemaara Date: Tue, 6 Nov 2018 03:06:31 -0500 Subject: [PATCH] TSG S8a: updated gameplay --- .../scenarios/08a_Return_to_Kerlath.cfg | 430 +++++++++++------- 1 file changed, 267 insertions(+), 163 deletions(-) diff --git a/data/campaigns/The_South_Guard/scenarios/08a_Return_to_Kerlath.cfg b/data/campaigns/The_South_Guard/scenarios/08a_Return_to_Kerlath.cfg index 1fc9261da9c5..5fc0f6cd8aa7 100644 --- a/data/campaigns/The_South_Guard/scenarios/08a_Return_to_Kerlath.cfg +++ b/data/campaigns/The_South_Guard/scenarios/08a_Return_to_Kerlath.cfg @@ -4,21 +4,14 @@ name= _ "Return to Kerlath" map_data="{campaigns/The_South_Guard/maps/08a_Return_to_Kerlath.map}" next_scenario=09a_Vengeance -#ifdef EASY - turns=22 -#endif -#ifdef NORMAL - turns=20 -#endif -#ifdef HARD - turns=18 -#endif + {TURNS 22 20 18} victory_when_enemies_defeated=no {SCENARIO_MUSIC wanderer.ogg} {EXTRA_SCENARIO_MUSIC knolls.ogg} + {EXTRA_SCENARIO_MUSIC silvan_sanctuary.ogg} -#define SG_DEATHS_HYLAS_LATE +#define SG_DEATHS_LAST_LEVEL #enddef {campaigns/The_South_Guard/utils/sg_deaths.cfg} @@ -53,6 +46,11 @@ [/objectives] [/event] + [label] + x,y=18,2 + text= _ "Westin" + [/label] + [side] side=1 type=Horseman Commander @@ -66,92 +64,110 @@ controller=human {CUSTOM_SG_FLAG} -#ifdef EASY + {GOLD 60 50 40} + {INCOME 6 4 2} + fog=yes shroud=no -#else - fog=yes - shroud=yes -#endif canrecruit=yes recruit=Bowman, Spearman, Cavalryman, Elvish Shaman, Elvish Fighter [/side] + {STARTING_VILLAGES 1 3} + [side] side=2 - type=Outlaw - id=Tharzo Kalain - # wmllint: local spelling Tharzo - name= _ "Tharzo Kalain" - - [modifications] - {TRAIT_STRONG} - {TRAIT_INTELLIGENT} - [/modifications] - - {GOLD 75 100 125} - {INCOME 3 6 8} - - team_name=bandits - user_team_name=_"Bandits" + no_leader=yes + team_name=elves + hidden=yes controller=ai + color=green - canrecruit=yes [ai] - passive_leader=yes -#ifdef EASY - recruitment_pattern=fighter -#endif -#ifdef NORMAL - recruitment_pattern=scout,fighter,fighter -#endif -#ifdef HARD - recruitment_pattern=scout,fighter,fighter,mixed fighter -#endif - {QUANTITY aggression 0.3 0.4 0.5} + aggression=0.7 + caution=0.4 + [goal] + name=target + [criteria] + side=1 + [/criteria] + value=5 + [/goal] [/ai] -#ifdef EASY - recruit=Thug -#endif -#ifdef NORMAL - recruit=Footpad, Thug -#endif -#ifdef HARD - recruit=Footpad, Thug, Outlaw, Bandit -#endif - {FLAG_VARIANT6 ragged} + {FLAG_VARIANT long} [/side] [side] + no_leader=yes side=3 - type=Lieutenant - id=Plynry - name= _ "Plynry" - unrenamable=yes - [ai] - passive_leader=yes - [/ai] + controller=ai + team_name=elves + hidden=yes + color=blue + defeat_condition=always + [/side] + + [side] + side=4 + no_leader=yes team_name=South_Guard - user_team_name=_"South Guard" + hidden=yes controller=ai {CUSTOM_SG_FLAG} - - fog=no - shroud=no - recruit= - canrecruit=yes [/side] + {STARTING_VILLAGES 4 10} + [event] name=start - {GENERIC_UNIT 2 Trapper 6 43} - {NAMED_GENERIC_UNIT 3 (Spearman) 8 6 () (_"Border Guard")} {GUARDIAN} - {NAMED_GENERIC_UNIT 3 (Spearman) 10 6 () (_"Border Guard")} {GUARDIAN} - {NAMED_GENERIC_UNIT 3 (Bowman) 10 2 () (_"Border Guard")} {GUARDIAN} - {NAMED_GENERIC_UNIT 3 (Bowman) 10 3 () (_"Border Guard")} {GUARDIAN} - {NAMED_GENERIC_UNIT 3 (Bowman) 11 3 () (_"Border Guard")} {GUARDIAN} + # the ogre + {NAMED_GENERIC_UNIT 3 (Ogre) 17 21 (Kramak) (_"Kramak")} {GUARDIAN} + + # enemy elvesk +#ifdef EASY + {GENERIC_UNIT 2 (Elvish Captain) 9 25} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 10 22} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Scout) 12 23} {GUARDIAN} + + {GENERIC_UNIT 2 (Elvish Hero) 6 18} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Archer) 7 20} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 11 18} {GUARDIAN} + + {GENERIC_UNIT 2 (Elvish Archer) 8 14} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 7 11} {GUARDIAN} +#endif +#ifdef NORMAL + {GENERIC_UNIT 2 (Elvish Captain) 9 25} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 10 22} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Scout) 12 23} {GUARDIAN} + + {GENERIC_UNIT 2 (Elvish Hero) 6 18} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Ranger) 7 20} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 11 18} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Archer) 12 14} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Scout) 10 19} {GUARDIAN} + + {GENERIC_UNIT 2 (Elvish Archer) 8 14} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 7 11} {GUARDIAN} +#endif +#ifdef HARD + {GENERIC_UNIT 2 (Elvish Captain) 9 25} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 10 22} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Scout) 12 23} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Archer) 15 24} {GUARDIAN} + + {GENERIC_UNIT 2 (Elvish Hero) 6 18} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Ranger) 7 20} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 11 18} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Marksman) 12 14} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Scout) 10 19} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Archer) 3 20} {GUARDIAN} + + {GENERIC_UNIT 2 (Elvish Archer) 8 14} {GUARDIAN} + {GENERIC_UNIT 2 (Elvish Fighter) 7 11} {GUARDIAN} +#endif [recall] id=Ethiliel @@ -163,27 +179,152 @@ [/recall] [redraw][/redraw] + [recall] + id=Sir Gerrick + [/recall] + [redraw][/redraw] + +#ifdef HARD + [recall] + type=Royal Guard, Pikeman, Swordsman, Javelineer, Master Bowman, Longbowman, Spearman, Bowman + [/recall] + [recall] + type=Royal Guard, Pikeman, Swordsman, Javelineer, Master Bowman, Longbowman, Spearman, Bowman + [/recall] +#else + [recall] + type=Royal Guard, Pikeman, Swordsman, Javelineer, Master Bowman, Longbowman, Spearman, Bowman + [/recall] + [recall] + type=Royal Guard, Pikeman, Swordsman, Javelineer, Master Bowman, Longbowman, Spearman, Bowman + [/recall] + [recall] + type=Royal Guard, Pikeman, Swordsman, Javelineer, Master Bowman, Longbowman, Spearman, Bowman + [/recall] +#endif + [redraw][/redraw] + [message] - side=2 - canrecruit=no - message= _ "Tharzo! That boy who killed the Urza brothers approaches from the south. His men and horses look worn out." + id=Deoran + message= _"We are finally back in familiar territory. Westin is no more than a couple days' journey from here. Let us make haste back to our homes." [/message] + {HIGHLIGHT_IMAGE 3 7 items/gohere.png ()} + [/event] + + # Kramak, the wild ogre + + [event] + name=sighted + [filter] + id=Kramak + [/filter] + [message] + speaker=Kramak + #po: The ogre purposely has very bad grammar, because he is very stupid. + message= _ "Oh! Me see human. Human tasty food?" + [/message] + [message] + speaker=Deoran + # wmllint: local spelling Mr. + message= _ "Err, Mr. Ogre, we are not very tasty." + [/message] + [message] + speaker=Kramak + message= _ "Oh. Me like only tasty meat. You go away." + [/message] + [message] + speaker=Kramak + message= _ "..." + [/message] [message] - speaker="Tharzo Kalain" - message= _ "The gods are gracious to have delivered this cretin into our lap. Kill them all before they reach the border fort!" + speaker=Kramak + message= _ "Wait! Me no believe! Me eat you!" [/message] [/event] [event] name=last breath [filter] - id="Tharzo Kalain" + id=Kramak + [/filter] + [message] + speaker=Kramak + message= _ "Bad food! It hurt me. Me no like. Me ouch..." + [/message] + [/event] + + [event] + name=sighted + + [filter] + side=2 [/filter] [message] - speaker="Tharzo Kalain" - message= _ "No! My... revenge..." + speaker=unit + message= _"Humans! Vile beasts!" + [/message] + [message] + id=Deoran + message= _"What? We are your friends, not your enemies! We mean no harm to you. My men and I are simply tired and wish to return to our homes." + [/message] + [message] + speaker=unit + message= _"Save those wishes for another life, cur! You kidnapped and slew the Sage Mebrin!" + [/message] + [message] + id=Deoran + message= _"We did no such thing! Mebrin adopted the dark arts of his own volition. He was consumed by it and twisted into a being of great evil!" + [/message] + [message] + speaker=unit + message= _"How dare you! To accuse our beloved sage of such things... does the stupidity of humanity know no bounds?" + [/message] + [message] + id=Ethiliel + message= _"The human speaks the truth. As much as my heart grieves for Mebrin, he was not innocent either." + [/message] + [message] + speaker=unit + message= _"Fine words for a traitor." + [/message] + [message] + id=Ethiliel + image=portraits/ethiliel-mad.png + message= _"You dare speak to me so? Have you forgotten who I am? I order you to stand down this instant, warrior!" + [/message] + [message] + speaker=unit + message= _"Your orders hold no longer hold any weight, friend of the tree-killers. If you will not withdraw, we will kill you along with them!" + [/message] + [message] + id=Deoran + message= _"Ethiliel, what in the world is going on?" + [/message] + [message] + id=Ethiliel + message= _"I am not sure. Mebrin was beloved by many of our people. His death must have angered some of them greatly, perhaps to the point that they have become utterly irrational. Even so, this seems like madness to me." + [/message] + [message] + id=Deoran + message= _"But to be angered enough to attack you? And besides, you were his student. You have the right to be the most angry of all, yet even you have made peace with us. Should they not recognize this?" + [/message] + [message] + id=Ethiliel + message= _"The events that transpired in those caves brought too much grief for me to be angry any longer. But, I am afraid the rest of my people did not see firsthand what Mebrin had become. As for attacking me, I am not usually the one in command of our warriors; that responsibility belongs to Ithelden, whom I very much doubt sent anyone to come hunt us down. Something else is going on." + [/message] + [message] + id=Deoran + message= _"What should we do?" + [/message] + [message] + id=Ethiliel + message= _"Fight past our foes, but if possible, fight to subdue and not to kill. We elves have suffered enough from this ordeal. I would not have our people be slaughtered needlessly as well." + [/message] + [message] + id=Deoran + message= _"Very well." [/message] [/event] @@ -191,68 +332,56 @@ name=moveto [filter] side=1 - x=1-19 - y=1-3 + x,y=3,7 id=Deoran [/filter] - [if] - [have_unit] - side=3 - [/have_unit] - [then] - [role] - role=GarrisonCommander - id=Plynry - search_recall_list=no - [else] - [role] - role=GarrisonCommander - side=3 - search_recall_list=no - type="Master Bowman,Royal Guard,Halberdier," + - "Longbowman,Swordsman,Pikeman,Javelineer," + - "Bowman,Spearman" - [/role] - [/else] - [/role] - - [message] - role=GarrisonCommander - message= _ "Halt! Who comes to the border of Wesnoth?" - [/message] - - [message] - speaker="Deoran" - message= _ "It is I, Deoran, commander of the South Guard." - [/message] - - [message] - role=GarrisonCommander - message= _ "Deoran? It truly is you? We had thought you had been lost to the undead." - [/message] - - [message] - speaker="Deoran" - message= _ "We and our elvish allies have won a great battle against a lich. The undead are no more." - [/message] - - [message] - role=GarrisonCommander - message= _ "This is wonderful news, commander! I shall spread word about your heroic deed! But... I am afraid there is another problem. There are rumors of trouble with the elves of the Aethenwood." - [/message] - - [message] - speaker="Ethiliel" - message= _ "Is there now? Deoran, we had best hurry back to your city. I will need to see what the circumstances are." - [/message] - - [message] - speaker="Deoran" - message= _ "Very well, let us make haste to Westin." - [/message] - [/then] - [/if] + [remove_item] + x,y=3,7 + [/remove_item] + + [unit] + side=4 + type=Lieutenant + id=Liryn + name= _ "Liryn" + x,y=2,6 + [/unit] + + [message] + role=Liryn + message= _ "Halt! Who comes to the border of Wesnoth?" + [/message] + + [message] + speaker="Deoran" + message= _ "It is I, Deoran, commander of the South Guard." + [/message] + + [message] + role=Liryn + message= _ "Deoran? It truly is you? We had thought you had been lost to the undead." + [/message] + + [message] + speaker="Deoran" + message= _ "We and our elvish allies have won a great battle against a lich. The undead are no more." + [/message] + + [message] + role=Liryn + message= _ "This is wonderful news, commander! I shall spread word about your heroic deed! But... I am afraid there is another problem. There are rumors of trouble with the elves of the Aethenwood." + [/message] + + [message] + speaker="Ethiliel" + message= _ "That does not surprise me, given our troubles in even getting here. Deoran, we had best hurry back to your city. I will need to see what the circumstances are." + [/message] + + [message] + speaker="Deoran" + message= _ "Very well, let us make haste to Westin." + [/message] [endlevel] result=victory @@ -260,29 +389,4 @@ {NEW_GOLD_CARRYOVER 40} [/endlevel] [/event] - - [event] - name=victory - - # Unstore Sir Gerrick and his troops back so that everyone will be happily - # reunited at the beginning of the next scenario. - - [unstore_unit] - variable=stored_Sir_Gerrick - x,y=recall,recall - [/unstore_unit] - - [foreach] - array=stored_Sir_Gerrick_army - [do] - [unstore_unit] - variable=this_item - x,y=recall,recall - [/unstore_unit] - [/do] - [/foreach] - - {CLEAR_VARIABLE stored_Sir_Gerrick_army} - {CLEAR_VARIABLE stored_Sir_Gerrick} - [/event] [/scenario]