TSG S8a: updated gameplay

This commit is contained in:
nemaara 2018-11-06 03:06:31 -05:00 committed by pentarctagon
parent bfd7d5b7f1
commit c3a227a6e6

View file

@ -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,93 +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}
{ATTACK_DEPTH 3 4 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
@ -164,27 +179,152 @@
[/recall]
[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."
[/message]
[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]
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!"
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=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 <i>order</i> 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= _"<i>Ethiliel, what in the world is going on?</i>"
[/message]
[message]
id=Ethiliel
message= _"<i>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.</i>"
[/message]
[message]
id=Deoran
message= _"<i>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?</i>"
[/message]
[message]
id=Ethiliel
message= _"<i>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.</i>"
[/message]
[message]
id=Deoran
message= _"<i>What should we do?</i>"
[/message]
[message]
id=Ethiliel
message= _"<i>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.</i>"
[/message]
[message]
id=Deoran
message= _"<i>Very well.</i>"
[/message]
[/event]
@ -192,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]
[remove_item]
x,y=3,7
[/remove_item]
[message]
role=GarrisonCommander
message= _ "Halt! Who comes to the border of Wesnoth?"
[/message]
[unit]
side=4
type=Lieutenant
id=Liryn
name= _ "Liryn"
x,y=2,6
[/unit]
[message]
speaker="Deoran"
message= _ "It is I, Deoran, commander of the South Guard."
[/message]
[message]
role=Liryn
message= _ "Halt! Who comes to the border of Wesnoth?"
[/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= _ "It is I, Deoran, commander of the South Guard."
[/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= _ "Deoran? It truly is you? We had thought you had been lost to the undead."
[/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="Deoran"
message= _ "We and our elvish allies have won a great battle against a lich. The undead are no more."
[/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]
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="Deoran"
message= _ "Very well, let us make haste to Westin."
[/message]
[/then]
[/if]
[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
@ -261,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]