From 59e4c5b065acdd4f37677df30a67e6b86dd1c853 Mon Sep 17 00:00:00 2001 From: nemaara Date: Wed, 9 Jan 2019 03:21:06 -0500 Subject: [PATCH] DiD S6: updated scenario --- .../scenarios/06_Return_to_Parthyn.cfg | 373 ++++++++++++++---- 1 file changed, 307 insertions(+), 66 deletions(-) diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg index 5dd2a148a2a2..3ce3e4032420 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/06_Return_to_Parthyn.cfg @@ -4,7 +4,7 @@ id=06_Return_to_Parthyn name= _ "Return to Parthyn" map_data="{campaigns/Descent_Into_Darkness/maps/06_Return_to_Parthyn.map}" - turns=unlimited + {TURNS 15 14 13} victory_when_enemies_defeated=no next_scenario=07_A_Small_Favor @@ -17,11 +17,16 @@ [story] [part] music=breaking_the_chains.ogg - story= _ "Two days travel south of the previous battle, Malin loses the trail of the regrouped orcish warriors, but soon picks it up again. The trail moves unfailingly south for several days. As soon as it crosses the Great River it immediately turns west." + story= _ "Two days travel south of the previous battle, Malin picks up the trail of the regrouped orcish warriors. He follows them down the western bank of the river Listra, past the Whitefang Mountains. He wonders why they continue rushing toward the Great River instead of calling for reinforcements, but after a bit of thought, he realizes where the orcs are headed. It is, after all, the season when they usually raid human towns." {STORYTXT_BACKGROUND parthyn.jpg} [/part] [part] - story= _ "Within a few days, Malin recognizes some familiar surroundings..." + music=breaking_the_chains.ogg + story= _ "‘This chieftain has no intention of warning the rest of his clan about me. I suppose he must think that I intend to attack the rest of the Whitefangs rather than pursue him this far; with the rest of his brethren occupied against me, he will be able to raid more human towns undisturbed. Selfish creature. Exactly what one would expect from an orc. I, however, know the terrain better than he does.’ Malin thinks carefully and quickly realizes what he should do." + {STORYTXT_BACKGROUND parthyn.jpg} + [/part] + [part] + story= _ "He shifts course and takes a shortcut closer to the river, hoping to cut the orcs off before they can reach the Great River. Malin tramps through the woods tirelessly, forsaking several days’ sleep as he and his servants draw closer to the Great River. Soon, he recognizes some familiar surroundings..." {STORYTXT_BACKGROUND parthyn.jpg} [/part] [/story] @@ -33,7 +38,7 @@ side=1 controller=human recruit=Walking Corpse,Vampire Bat,Ghost,Ghoul,Skeleton Archer,Skeleton,Dark Adept DiD - {GOLD 200 150 100} + {GOLD 110 100 90} team_name=good user_team_name= _ "Malin Keshar" {FLAG_VARIANT undead} @@ -56,7 +61,7 @@ #else recruit=Wolf Rider,Goblin Knight,Orcish Archer,Orcish Crossbowman,Orcish Grunt,Troll Whelp #endif - {GOLD 120 160 200} + {GOLD 90 120 150} team_name=orcs user_team_name= _ "Orcs" {FLAG_VARIANT6 ragged} @@ -79,8 +84,9 @@ [side] side=3 controller=ai - recruit=Spearman,Bowman - {GOLD 16 30 45} + recruit= + gold=0 + village_gold=0 team_name=guardsmen user_team_name= _ "Guardsmen" {FLAG_VARIANT loyalist} @@ -91,16 +97,16 @@ profile=portraits/drogan.png canrecruit=yes - facing=se + facing=nw # Drogan has some guards at the river fort - {NAMED_LOYAL_UNIT 3 (Spearman) 32 11 () ( _ "River fort guard")} - {NAMED_LOYAL_UNIT 3 (Bowman) 33 13 () ( _ "River fort guard")} - {NAMED_LOYAL_UNIT 3 (Spearman) 31 13 () ( _ "River fort guard")} + {NAMED_LOYAL_UNIT 3 (Spearman) 22 18 () ( _ "River fort guard")} {GUARDIAN} + {NAMED_LOYAL_UNIT 3 (Bowman) 23 19 () ( _ "River fort guard")} {GUARDIAN} + {NAMED_LOYAL_UNIT 3 (Spearman) 28 17 () ( _ "River fort guard")} {GUARDIAN} [ai] - aggression=0.2 - caution=0.5 + aggression=0.1 + caution=0.9 [/ai] [/side] @@ -109,8 +115,8 @@ side=4 controller=ai recruit=Spearman,Bowman,Swordsman,Pikeman,Longbowman,Thug,Poacher,Footpad - gold=200 - income=25 + {GOLD 175 200 225} + {INCOME 15 20 25} team_name=guardsmen user_team_name= _ "Defenders" {FLAG_VARIANT loyalist} @@ -139,11 +145,12 @@ [/side] # wmllint: validate-on + {STARTING_VILLAGES 1 4} {STARTING_VILLAGES 3 6} - {STARTING_VILLAGES 4 10} + {STARTING_VILLAGES 4 15} # Signpost - {PLACE_IMAGE scenery/signpost.png 30 14} + {PLACE_IMAGE scenery/signpost.png 17 16} #define DID_RTP_HAS_ORC_LEADER [have_unit] @@ -190,39 +197,35 @@ description= _ "Death of Malin Keshar" [/objective] + {TURNS_RUN_OUT} + [gold_carryover] - bonus=no + bonus=yes carryover_percentage=40 [/gold_carryover] [/objectives] - # Replace the fallback orcish leader with the stored one from the - # previous scenario - [lua] - code = << - local saved_orc_leader = wml.variables.orc_leader_store - - if saved_orc_leader ~= nil then - saved_orc_leader.side = 2 - saved_orc_leader.facing = "se" - - local loc = wesnoth.get_starting_location(2) - wesnoth.put_unit(saved_orc_leader, loc[1], loc[2]) + [store_unit] + [filter] + id=Borth + [/filter] + variable=fallback_orc_leader + kill=yes + [/store_unit] - wml.variables.orc_leader_store = nil - end - >> - [/lua] + {CREATE_ADVISOR} + [move_unit] + role=advisor + to_x,to_y=20,9 + [/move_unit] [/event] [event] name=start - {CREATE_ADVISOR} - [message] speaker=Malin Keshar - message= _ "I bring word of a great victory against the orcs, Drogan!" + message= _ "I bring word from the north, Drogan! Orcs march on Parthyn, no more than a few hours’ journey away. They mean to raid the village tonight!" [/message] [if] @@ -233,22 +236,37 @@ [then] [message] speaker=Drogan - message= _ "I had hoped never to see you again, Malin. You have been banished, and now return. You give me no choice but to order my soldiers to attack you." + message= _ "I hoped that I would never see you again, Malin. I see that you did not take your banishment seriously, so I will make this clear: no matter what the reason you have returned, you are not welcome here. Take one step closer to Parthyn and I will order my soldiers to attack you." [/message] [message] - role=advisor - message=_ "Master, do not listen to the lies he tells. There is always a choice, and he chooses to attack you. He jeopardizes the safety of Parthyn!" + speaker=Malin Keshar + message= _ "Banishment or not, I am here to help defend the town against the orcs!" [/message] [message] - speaker=Malin Keshar - message= _ "Silence from you." + speaker=Drogan + message= _ "Orcs or not, you must leave!" [/message] [message] speaker=Malin Keshar - message= _ "I have eliminated two orc chieftains! I doubt that we will see any orc raids this summer. The beasts will be too busy trying to regroup." + message= _ "Dela, help me! You, at least, must see reason!" + [/message] + + [message] + speaker=Dela Keshar + message= _ "You chose the path of darkness on your own. We will not be dragged into it with you." + [/message] + + [message] + speaker=Drogan + message= _ "If you continue to be stubborn, we will attack you. It is your choice." + [/message] + + [message] + role=advisor + message=_ "Master, do not listen to them! He, too, has a choice, but he foolishly spurns your aid! He jeopardizes the safety of Parthyn!" [/message] [/then] [else] @@ -259,53 +277,163 @@ [message] speaker=Malin Keshar - message= _ "A spirit I raised with the arts taught to me by Darken Volk. With his help, I have slain two orcish chieftains!" + message= _ "It is of little concern to you. It is merely the byproduct of the new magical arts that I have learned." + [/message] + + [message] + speaker=Drogan + message= _ "It does not take a trained mage to realize that those ‘magical arts’ refer to necromancy! That creature stinks of death!" + [/message] + + [message] + speaker=Malin Keshar + message= _ "And why should you care about such things? Orcs march on Parthyn! I am here to help defend the town!" [/message] [message] speaker=Drogan - message= _ "You allowed yourself to be corrupted by the foul taint of the necromancer? Better to face the orcish menace than even dabble in dark magic! People would have rebuilt the town, just as they always have in the past. Your father would be ashamed to see the end to which you’ve come." + message= _ "Better to face the orcish menace alone than to dabble in dark magic! I warned you about this before, yet you failed to heed my advice. Your father would be ashamed to see the end to which you’ve come." [/message] [message] speaker=Malin Keshar - message= _ "I doubt that we will see any orc raids this summer. The beasts will be too busy trying to regroup! Is this how you repay me?" + message= _ "How dare you bring my father into this, Drogan! I have fought with every fiber of my being against these foul orcs, and I have done it to protect my country and kinsmen. Is this how you repay me? With scorn and disdain?" + [/message] + + [message] + role=advisor + message=_ "Master, do not listen to him! He is clearly blinded by his own prejudice! He jeopardizes the safety of Parthyn!" [/message] [/else] [/if] [message] - speaker=Dela Keshar - message= _ "You are mistaken, brother. Even now the orcs camp north of the river." + speaker=Malin Keshar + message= _ "Silence from you." [/message] [message] speaker=Malin Keshar - message= _ "I have been tracking that band since they fled the field at my great victory! But how did they get north of the river? Let my forces be and I will deal with them." + message= _ "Drogan! With my newfound powers, I have already eliminated two orc chieftains! If you will allow me to help, I will crush the one who comes here as well!" [/message] [message] speaker=Drogan - message= _ "A nice story. I find it more likely that you brought your orcish allies here with you to take your revenge upon the city. If we stand down your undead will no doubt kill us where we stand. Watching you grow up, I never could have believed you would turn into a traitor." + message= _ "A fine tale. I find it more likely that you brought your orcish allies here with you to take your revenge upon the city. If we stand down, your undead will no doubt kill us where we stand. Watching you grow up, I never could have believed you would turn into such a traitor." [/message] - + + [message] + speaker=Malin Keshar + message= _ "Dela, you do not believe that, do you?" + [/message] + + [message] + speaker=Drogan + message= _ "Stop looking to your sister, Malin. The fact that even she rebuffs you so should tell you how much of a traitor you are." + [/message] + [message] role=advisor - message= _ "Master, he threatens the safety of the city by standing in your way." + message= _ "Master, he threatens the safety of the city by choosing to fight you." + [/message] + + [message] + speaker=Malin Keshar + message= _ "You are the traitor, Drogan, for preventing me from protecting Parthyn. I will defend my home no matter the cost, even if it means I must cut you down first." [/message] [message] speaker=Malin Keshar - message= _ "Then you are the traitor, Drogan, for preventing me from protecting the city. I will defend Parthyn, and if you stand in my way I will cut you down for the treason you commit." + message= _ "If I want the people of Parthyn to accept me back, I must be cautious. I must not harm any of them besides Drogan, or they will surely out me for good." [/message] [/event] + # Placing the orc leader + + [event] + name=turn 4 + + [scroll_to] + x,y=29,1 + [/scroll_to] + + [move_unit_fake] + type="Orcish Warlord" + side=2 + x=29,29,28,28,29,30 + y=1,2,2,3,4,4 + [/move_unit_fake] + + # Replace the fallback orcish leader with the stored one from the + # previous scenario + [lua] + code = << + local saved_orc_leader = wml.variables.orc_leader_store + local fallback_orc_leader = wml.variables.fallback_orc_leader + + if saved_orc_leader ~= nil then + saved_orc_leader.side = 2 + saved_orc_leader.facing = "se" + + local loc = wesnoth.get_starting_location(2) + wesnoth.put_unit(saved_orc_leader, loc[1], loc[2]) + + wml.variables.orc_leader_store = nil + else + local loc = wesnoth.get_starting_location(2) + wesnoth.put_unit(fallback_orc_leader, loc[1], loc[2]) + end + >> + [/lua] + + [terrain] + x,y=30,4 + terrain=Ke + [/terrain] + [terrain] + x=30,30,29,29 + y=3,5,4,5 + terrain=Ce + [/terrain] + [redraw][/redraw] + + [if] + {DID_RTP_HAS_DROGAN} + [then] + [message] + side=2 + canrecruit=yes + message= _ "Grunts! Prepare the camp! We attack the city tonight— wait. You! Necromancer, you followed us all the way here?!" + [/message] + + [message] + speaker=Malin Keshar + message= _ "Did you really think you could outrun the dead, who need no rest nor sleep? Prepare to meet your makers, orc. Drogan, I will show you what my new powers are capable of. You will see how foolish you are to oppose me." + [/message] + [/then] + [else] + [message] + side=2 + canrecruit=yes + message= _ "Grunts! Prepare the camp! We attack the city tonight—wait. You! Necromancer, you followed us all the way here?!" + [/message] + + [message] + speaker=Malin Keshar + message= _ "Did you really think you could outrun the dead, who need no rest nor sleep? Prepare to meet your makers, orc." + [/message] + [/else] + [/if] + + [show_objectives][/show_objectives] + [/event] + # In-scenario Events [event] name=moveto [filter] side=1 - x,y=30,14 + x,y=17,16 [/filter] [message] @@ -330,17 +458,27 @@ [then] [message] speaker=Malin Keshar - message= _ "Behold, Drogan! I have slain the last orc chieftain. Do you trust my word now?" + message= _ "Behold, Drogan! I have slain the orc chieftain. Do you trust me now?" + [/message] + + [message] + speaker=Drogan + message= _ "At least you have not completely lost your humanity by allying yourself with the orcs. But you cannot return to Parthyn, Malin. No necromancer will ever be welcome here." + [/message] + + [message] + speaker=Malin Keshar + message= _ "What! You ungrateful cur! You would sack the city and let all of our people die, and for what? Only to spurn something you do not understand? You are a fool. Parthyn will only be under greater danger with you leading it. If the town is to survive, you are the one who must leave!" [/message] [message] speaker=Drogan - message= _ "You have saved us the trouble of killing those worthless orcs ourselves; for that I thank you. But you cannot return to Parthyn, Malin." + message= _ "Have you lost your mind, Malin? In truth, I did not want to fight you as one of my former friends, but you leave me little choice if you will so brazenly attack Parthyn." [/message] [message] speaker=Malin Keshar - message= _ "What! You still do not trust my word? Well, perhaps you have lost sight of the true threat. The orcs will not be gone forever, and without me, how will the town stand? You jeopardize its very safety. Attack him!" + message= _ "Your choice, not mine. If you refuse to leave by your own volition, then it will have to be by force. Attack him!" [/message] [show_objectives][/show_objectives] @@ -385,6 +523,9 @@ name=die [filter] side=3,4 + [not] + id=Drogan + [/not] [/filter] [filter_second] side=1 @@ -425,7 +566,27 @@ [message] speaker=Dela Keshar - message= _ "You will pay for Drogan’s death. Now that I have seen the true evil to which you have come, I will commit every guardsman to your demise. It pains me to think that you were once my brother." + message= _ "Drogan, no! Malin, you monster, how could you just murder Drogan in cold blood?" + [/message] + + [message] + speaker=Malin Keshar + message= _ "He chose this fate for himself! I merely retaliated in turn!" + [/message] + + [message] + speaker=Dela Keshar + message= _ "How could you possibly think Drogan was the traitor when you are the one attacking Parthyn?" + [/message] + + [message] + speaker=Malin Keshar + message= _ "What? I have not even harmed a single villager or guardsman besides Drogan! I am only trying to help, but none of you will listen to reason!" + [/message] + + [message] + speaker=Dela Keshar + message= _ "There is no reason to be had with someone who embraces evil so shamelessly! You will pay for Drogan’s death! It pains me to think that you were once my brother." [/message] [if] @@ -433,18 +594,18 @@ [then] [message] speaker=Malin Keshar - message= _ "Even with my new power, I cannot fight the entire town as well as the orcs. I must flee to the west to find Darken Volk!" + message= _ "Even with my new powers, I cannot fight the entire town as well as the orcs. I must flee to the west to find Darken Volk!" [/message] [/then] [else] [message] speaker=Malin Keshar - message= _ "Even with my new power, I cannot fight the entire town. I must flee to the west to find Darken Volk!" + message= _ "Even with my new powers, I cannot fight the entire town on my own. I must flee to the west to find Darken Volk!" [/message] [/else] [/if] - {HIGHLIGHT_IMAGE 13 1 scenery/signpost.png ()} + {HIGHLIGHT_IMAGE 16 1 scenery/signpost.png ()} [objectives] side=1 @@ -468,11 +629,15 @@ {INCIDENTAL_MUSIC loyalists.ogg} + {PLACE_IMAGE "items/bones.png" $x1 $y1} + {VARIABLE loc.x $x1} + {VARIABLE loc.y $y1} + [event] name=moveto [filter] id=Malin Keshar - x,y=13,1 + x,y=16,1 [/filter] [endlevel] @@ -481,8 +646,81 @@ {NEW_GOLD_CARRYOVER 40} [/endlevel] [/event] + + [event] + name=moveto + [filter] + id=Malin Keshar + x,y=$loc.x,$loc.y + [/filter] + + [animate_unit] + [filter] + id=Malin Keshar + [/filter] + [primary_attack] + range=ranged + [/primary_attack] + flag=attack + [/animate_unit] + + [delay] + time=400 + [/delay] + + {REMOVE_IMAGE $loc.x $loc.y} + + [unit] + type=Ghoul + x,y=$loc.x,$loc.y + side=1 + animate=yes + [/unit] + + [message] + speaker=Malin Keshar + message= _ "As ugly in death as he was in life. This is proof that Drogan was evil!" + [/message] + + [message] + speaker=Dela Keshar + message= _ "What have you done?! Killing Drogan was not enough — you had to defile his body as well? How could you turn him into such a... a twisted, abominable thing? I cannot believe how depraved you have become!" + [/message] + + [message] + speaker=Malin Keshar + message= _ "What you see on the outside reflects the inside. It is an ugly truth, but it is not my fault if you cannot accept it!" + [/message] + [/event] [/event] + [event] + name=time over + + [unit] + type=Orcish Warlord + side=2 + x,y=17,2 + id=OWarlord + canrecruit=yes + animate=yes + facing=se + [/unit] + {GENERIC_UNIT 3 (Orcish Slurbow) 16 1} {FACING se} + {GENERIC_UNIT 3 (Direwolf Rider) 15 2} {FACING se} + {GENERIC_UNIT 3 (Goblin Pillager) 17 1} {FACING se} + {GENERIC_UNIT 3 (Goblin Knight) 16 2} {FACING se} + + [message] + speaker=OWarlord + message= _ "Look what we have here! A human city, crippled without its commander and a necromancer with only a few paltry minions at his command. The wolves will feed well tonight!" + [/message] + [message] + speaker=Malin Keshar + message= _ "More orcs, and powerful ones at that! Alas, it will be impossible for me to outrun their riders..." + [/message] + [/event] + [event] name=victory @@ -491,13 +729,13 @@ [then] [message] speaker=Dela Keshar - message= _ "While our forces must stay here to fight off your pet orcs, when we are done I shall come after you. You are my brother no longer." + message= _ "Flee while you still can, Malin the Damned! When I have defeated these orcs and secured Parthyn against further raids, you can be sure that I will hunt you down. You are my brother no longer." [/message] [/then] [else] [message] speaker=Dela Keshar - message= _ "While our forces must stay here and make sure the orcs are routed, when we are done I shall come after you. You are my brother no longer." + message= _ "Flee while you still can, Malin the Damned! When I have secured Parthyn against further raids, you can be sure that I will hunt you down. You are my brother no longer." [/message] [/else] [/if] @@ -505,15 +743,18 @@ [message] speaker=Malin Keshar # wmllint: local spelling Zephrin - message= _ "Gods of Darkness, how did it come to this? My own sister determined on my death. Nothing has gone right since... since that day the fat toad Zephrin mocked my up-country accent and I lost my temper and cursed him with boils. “A life curse goes beyond a joke,” they said. “Poor judgment,” they said, and expelled me from the Academy." + message= _ "O Gods, how did it come to this? My own sister determined to personally see to my demise. Banished from Parthyn, my country, my home... spurned by my people, whom I have given everything for... nothing has gone right ever since I tried to curse that fat toad Zephrin for mocking my up-country accent. I was only testing my new spell on him! It was only supposed to be a simple curse! How was I supposed to know it would kill him? Damned Academy." [/message] [message] speaker=Malin Keshar - message= _ "Now the only being who still wants to keep me alive is a necromancer. Curse them all! Live or die, I’ll have my revenge on those that have wronged me." + message= _ "... Now the only being who still wants to see me alive is a necromancer. I’m beginning to think that I’m the one who was cursed..." [/message] {CLEAR_VARIABLE malin_used_necromancy} + {CLEAR_VARIABLE orc_leader_store} + {CLEAR_VARIABLE fallback_orc_leader} + {CLEAR_VARIABLE loc} [/event] {HERODEATH_MALIN}