/
06a_Old_Friend.cfg
620 lines (505 loc) · 21 KB
/
06a_Old_Friend.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
#textdomain wesnoth-nr
[scenario]
id=06a_Old_Friend
name= _ "Old Friend"
map_data="{campaigns/Northern_Rebirth/maps/06a_Old_Friend.map}"
turns=18
next_scenario=07a_Settling_Disputes
{DEFAULT_SCHEDULE}
{SCENARIO_MUSIC breaking_the_chains.ogg}
{EXTRA_SCENARIO_MUSIC knalgan_theme.ogg}
{EXTRA_SCENARIO_MUSIC wanderer.ogg}
# Scenario story, some parts have character portraits as background
[story]
[part]
music=loyalists.ogg
story= _ "Laden with gold, and filled with an elation at their victory that was tempered with sadness at the death of their friends, Tallin and his people made their way back to the mines."
[/part]
[part]
story= _ "As they approached they were met with a most welcome sight: New fortifications, looking very much like the legendary impenetrable dwarvish defenses of old, had sprung up everywhere. All of them were manned by alert and well-armed dwarves who hailed them boisterously. The mines were belching smoke from the furiously working forges. New weapons and armor for humans and dwarves alike lay neatly stacked, and the deafening clang of hammers and picks from the dwarves promised more."
[/part]
[part]
story= _ "They found Hamel in a forge hammering away at a new axe. He greeted them warmly and arrangements were quickly made for all their food and accommodations, as wall as care for the sick and wounded."
[/part]
[part]
story= _ "When Tallin’s party had shaken the dust of the road from their clothes, the humans and dwarves once again met in council."
[/part]
{STORY_PART_TALLIN (_ "It is well, Hamel. Our people prosper.")}
{STORY_PART_HAMEL (_ "Aye. Word ha’ spread, and dwarves who had been living rough in the wilds for fear of the orcs have been coming to join us. Thanks to you, Tallin, Knalga is rising again!")}
{STORY_PART_HAMEL (_ "We have cleared the connecting tunnels to here and to the old keep as well as other parts o’ Knalga.")}
{STORY_PART_HAMEL (_ "It is slow and dangerous work, mostly due to the trolls. But it ha’ been made easier by Malifor’s ending.")}
{STORY_PART_HAMEL (_ "The lich’s skeletons were fighting the trolls, but when you destroyed him, they all just fell apart. So, there are many tunnels that are now infested with nothing but piles of old bones.")}
{STORY_PART_TALLIN (_ "Great! How about the weapons and armor?")}
{STORY_PART_HAMEL (_ "As you can see, Tallin, there are muckle heaps of them, all ready to be borne into battle.")}
{STORY_PART_HAMEL (_ "What’s more, some of the dwarves who are expert with the sword, mace and bow, as well as some of yer own men who have grown skilled by experience, can teach others how to wield them.")}
{STORY_PART_TALLIN (_ "I didn’t know that you dwarves knew swordplay. I thought you all fought with axes, hammers or those thunder weapons.")}
# wmllint: local spelling weaponsmiths
{STORY_PART_HAMEL (_ "Aye, it’s true we do prefer our axes and hammers, but then again, we make swords. We couldna’ claim to be expert weaponsmiths wi’out kenning how to wield the weapons we make.")}
{STORY_PART_HAMEL (_ "There are some dwarves out there that are bonny fighters wi’ a sword as any ye are like to meet. Belike with bows, maces and any other weapons we fashion.")}
{STORY_PART_TALLIN (_ "That’s great! What is the price of your weapons? We have gathered much booty from Malifor’s treasury and we will be able to pay you generously.")}
{STORY_PART_HAMEL (_ "Price?! Don’t insult us, Tallin. Ye have done great things to help the dwarves — it’s because of you that we ha’ made a start rebuilding Knalga in the first place. Dinna’ ye speak of price to us.")}
{STORY_PART_TALLIN (_ "But don’t you need the gold to help rebuild Knalga? And we have plenty.")}
{STORY_PART_HAMEL (_ "Tallin, Knalga was an extremely rich nation. Malifor’s treasury is hardly a fraction of the riches that we will find, and are finding every day now. So nae! Ye’ll need yon gold to rebuild Dwarven Doors.")}
{STORY_PART_TALLIN (_ "Thank you, Hamel.")}
# wmllint: local spelling Pahhh
{STORY_PART_HAMEL (_ "Pahhh, thank <i>you</i>!")}
{STORY_PART_HAMEL (_ "And Tallin, one more thing, I have been leading our people into battle for many years now. As a young dwarf I was trained in the arts of leadership and war. There are things you will need to know...")}
# wmllint: local spelling swingin'
{STORY_PART_HAMEL (_ "I know you’re impressive wi’ a pitchfork, and you are not half bad with a sword when you choose to use one. But there skills beyond swingin’ a weapon that a general must learn.")}
{STORY_PART_TALLIN (_ "I would be honored, Lord Hamel.")}
{STORY_PART_HAMEL (_ "Ahhhh, quit with the formality, me lad. Now, first things first. One of the most important things about being a leader is....")}
[part]
story= _ "The humans rested for many days while they were equipped with new arms and armor and trained by the dwarves."
[/part]
[part]
story= _ "But the peace was not to last. Early one morning Tallin (sore from head to foot from his training) was startled awake by the blare of trumpets, the pounding of drums and the clash of steel as the humans and dwarves hurried to arm themselves."
[/part]
[part]
story= _ "He sought out Hamel, who informed him that a massive host of orcs had arrived at the gates of the new Knalga."
[/part]
[part]
story= _ "It was decided that Tallin’s men should sally forth to meet the orcs, while Hamel’s held open their retreat into the caves."
[/part]
[/story]
{NR_TRACK {REVOLT_STAGE4}}
# Players side, capture some villages before the start
[side]
side=1
controller=human
recruit=Peasant,Woodsman,Thug,Poacher,Spearman,Bowman,Footpad
{GOLD 350 300 250}
team_name=knalgans
user_team_name= _ "Knalgans"
# wmllint: recognize Tallin
{CHARACTER_STATS_TALLIN}
[/side]
# Main enemy. Note the AI is set to be highly agressive and target Tallin
[side]
side=2
controller=ai
recruit=Orcish Grunt,Orcish Archer,Wolf Rider,Orcish Assassin,Troll Whelp,Orcish Warrior,Orcish Crossbowman,Troll
{GOLD 500 600 700}
{INCOME 40 50 60}
team_name=orcs
user_team_name= _ "Orcs"
{FLAG_VARIANT6 ragged}
# wmllint: recognize Rakshas
{CHARACTER_STATS_RAKSHAS}
[ai]
aggression=1.0
caution=-1.0
leader_value=50
passive_leader=yes
[/ai]
# Place bad guy bodyguards
{NOTRAIT_UNIT 2 "Orcish Warlord" 2 20} {GUARDIAN}
{NOTRAIT_UNIT 2 "Orcish Warlord" 5 20} {GUARDIAN}
{NOTRAIT_UNIT 2 "Orcish Warlord" 7 21} {GUARDIAN}
{NOTRAIT_UNIT 2 "Orcish Warlord" 9 22} {GUARDIAN}
{NOTRAIT_UNIT 2 "Orcish Warlord" 9 24} {GUARDIAN}
{NOTRAIT_UNIT 2 "Orcish Warlord" 9 26} {GUARDIAN}
{NOTRAIT_UNIT 2 "Orcish Warlord" 8 27} {GUARDIAN}
[/side]
# Sidekicks
[side]
side=3
controller=ai
recruit=Orcish Grunt,Orcish Archer,Wolf Rider,Orcish Assassin,Troll Whelp,Orcish Warrior,Orcish Crossbowman,Troll
{GOLD 500 600 700}
{INCOME 40 50 60}
team_name=orcs
user_team_name= _ "Orcs"
{FLAG_VARIANT6 ragged}
type=Orcish Warlord
id=Drung
name= _ "Drung"
canrecruit=yes
[ai]
aggression=1.0
caution=-1.0
leader_value=50
[/ai]
[/side]
[side]
side=4
controller=ai
recruit=Orcish Grunt,Orcish Archer,Wolf Rider,Orcish Assassin,Troll Whelp,Orcish Warrior,Orcish Crossbowman,Troll
{GOLD 500 600 700}
{INCOME 40 50 60}
team_name=orcs
user_team_name= _ "Orcs"
{FLAG_VARIANT6 ragged}
type=Orcish Warlord
id=Poul
name= _ "Poul"
canrecruit=yes
[ai]
aggression=1.0
caution=-1.0
leader_value=50
[/ai]
[/side]
{STARTING_VILLAGES 1 4}
[event]
name=prestart
# Recall heroes and a supporter
[recall]
id=Camerin
[/recall]
[recall]
id=Abhai
[/recall]
[recall]
id=Krash
[/recall]
[recall]
id=Elenia
[/recall]
[recall]
id=Father Morvin
[/recall]
[recall]
id=Sister Thera
[/recall]
{RECALL_SUPPORTER}
# Change Tallin to be of Sergeant line
# Check his level, and set new type to be a commander of the same level.
{STORE_UNIT_VAR id=Tallin level old_tallin_level}
[switch]
variable=old_tallin_level
[case]
value=0,1
{VARIABLE new_tallin_type Sergeant}
[/case]
[case]
value=2
{VARIABLE new_tallin_type Lieutenant}
[/case]
[else]
{VARIABLE new_tallin_type General}
[/else]
[/switch]
[modify_unit]
[filter]
id=Tallin
[/filter]
type=$new_tallin_type
moves=6
[/modify_unit]
{CLEAR_VARIABLE old_tallin_level,new_tallin_type}
[/event]
# Do the talk
[event]
name=start
[message]
id=Rakshas
message= _ "So I see you stinky-midgets and human-worms finally mustered up the courage to face me."
[/message]
[message]
id=Tallin
message= _ "Who are you, and what do you want?"
[/message]
[message]
id=Rakshas
message= _ "I am Emperor Rakshas and by the power of my sword, I lead the orcish people. I am here simply finishing the job Khazg Black-Tusk started years ago — the conquest of Knalga."
[/message]
[message]
id=Tallin
message= _ "Khazg tried and failed, and if you repeat his folly you will soon join him in the land of the dead!"
[/message]
[message]
id=Rakshas
# wmllint: local spelling Pah
message= _ "Pah! I would like to see those cowardly dwarves try their treachery on me as they did on the Black-Tusk! In any case, those dwarves will soon be groveling at my feet and equipping my people with the finest weapons. With the dwarvish weapons, and the wealth of Knalga, nothing will be able to stop us. Even that little backwater that you humans call Wesnoth will be nothing but a burnt out, pillaged wreck before long."
[/message]
[message]
id=Tallin
message= _ "Boy, this guy sure has delusions of grandeur."
[/message]
[message]
role=Supporter
message= _ "I am not so sure it’s that simple, Tallin. Think back to those orcs at the Dwarven Doors, and those wolves on the way to the mines; they were both saying something about ‘The Master’."
[/message]
[message]
id=Tallin
message= _ "Yeah?"
[/message]
[message]
role=Supporter
message= _ "Well, unless I miss my guess, dreamy fellow would be him."
[/message]
[message]
id=Tallin
message= _ "Well, if that is so, then it’s time to end this menace once and for all! Fall on them, boys!"
[/message]
[objectives]
side=1
[objective]
description= _ "Defeat Rakshas, if you can..."
condition=win
[/objective]
[objective]
description= _ "Or resist till the end of turns"
condition=win
show_turn_counter=yes
[/objective]
[objective]
description= _ "Death of Tallin"
condition=lose
[/objective]
[gold_carryover]
carryover_percentage=0
[/gold_carryover]
[/objectives]
[/event]
# Turn 3, if we didn't employ Russian army tactics yet Tallin gets upset
[event]
name=turn 3
# Store starting point coordinates
[store_starting_location]
side=1
variable=starting_point
[/store_starting_location]
# Check every unit belonging to side 1 in a radius of 10 hexes from starting point that are not within radius of
# 5 hexes from starting point.
[if]
[have_unit]
side=1
x=$starting_point.x
y=$starting_point.y
range=10
[not]
x=$starting_point.x
y=$starting_point.y
range=5
[/not]
[/have_unit]
[then]
# No, Tallin calls for all out charge. "URRAAA!"
[message]
id=Tallin
message= _ "Come on, why are we just sitting here in these caves?! Have you forgotten already all these orcs have done to us! Let us spill their foul blood on the ground!"
[/message]
[/then]
[/if]
{CLEAR_VARIABLE starting_point}
[/event]
# Player somehow breached bad boss cordon, things are going too well, which means we need to throw an army of wolfriders at him
[event]
name=moveto
[filter]
side=1
x=1-9
y=10-27
[/filter]
[message]
id=Rakshas
message= _ "So! Your forces are managing to advance upon me, are they? Very impressive, but it shall do you no good. KNIGHTS!!"
[/message]
# Place 42 Goblin Knights. Yes. Forty-two.
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 15 17}
{NOTRAIT_UNIT 2 "Goblin Knight" 11 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 11 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 11 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 11 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 11 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 11 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 11 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 7 16}
{NOTRAIT_UNIT 2 "Goblin Knight" 26 22}
{NOTRAIT_UNIT 2 "Goblin Knight" 26 22}
{NOTRAIT_UNIT 2 "Goblin Knight" 26 22}
{NOTRAIT_UNIT 2 "Goblin Knight" 26 22}
{NOTRAIT_UNIT 2 "Goblin Knight" 26 22}
{NOTRAIT_UNIT 2 "Goblin Knight" 26 22}
{NOTRAIT_UNIT 2 "Goblin Knight" 25 26}
{NOTRAIT_UNIT 2 "Goblin Knight" 25 26}
{NOTRAIT_UNIT 2 "Goblin Knight" 25 26}
{NOTRAIT_UNIT 2 "Goblin Knight" 25 26}
{NOTRAIT_UNIT 2 "Goblin Knight" 25 26}
{NOTRAIT_UNIT 2 "Goblin Knight" 25 26}
[message]
type=Goblin Knight
message= _ "HAHAHA! GOT YOU, SUCKERS!"
[/message]
[message]
id=Rakshas
message= _ "CHARGE!!"
[/message]
[message]
id=Tallin
message= _ "Oh, hell! Form up, men, back to back! Don’t let them penetrate our ranks!"
[/message]
[message]
id=Rakshas
message= _ "That’s not all, my friends. GENERALS, CALL THE RESERVES!"
[/message]
[message]
id=Drung
message= _ "Oh yeah!"
[/message]
[message]
id=Poul
message= _ "HAHAHA!"
[/message]
[message]
id=Drung
message= _ "You are so dead, you human vermin!"
[/message]
[message]
id=Poul
message= _ "Oooooooh! Time to start the fun!"
[/message]
# And give bad guys 2000 gold each for a good measure. Yes,
# Taurus is a sadist.
[gold]
side=2,3,4
amount=2000
[/gold]
[message]
role=Supporter
message= _ "This doesn’t look good..."
[/message]
[/event]
# Sidekick death event, 500g to player and 500 to each enemy
[event]
name=last breath
[filter]
id=Drung
[/filter]
[message]
id=Drung
message= _ "Argh! I have been slain!"
[/message]
[message]
speaker=second_unit
message= _ "Killed him! Got his gold too. Lets see, hmmm, about 500 gold pieces. Not bad."
[/message]
[gold]
side=1
amount=512
[/gold]
[message]
id=Rakshas
message= _ "They have killed one of my generals! REINFORCEMENTS!"
[/message]
[gold]
side=2,3,4
amount=500
[/gold]
[/event]
# As above
[event]
name=last breath
[filter]
id=Poul
[/filter]
[message]
id=Poul
message= _ "My death will only make the Master’s punishment for you worse, you fools!"
[/message]
[message]
speaker=second_unit
message= _ "Your death makes your Master’s punishment from us one step closer!"
[/message]
[message]
speaker=second_unit
message= _ "But— my my, what’s in that big pouch? 300 gold! Not bad."
[/message]
[gold]
side=1
amount=302
[/gold]
[message]
id=Rakshas
message= _ "You vermin will pay for that! REINFORCEMENTS!"
[/message]
[gold]
side=2,3,4
amount=500
[/gold]
[/event]
# A miracle happened. Bad boss died. Player won.
[event]
name=last breath
[filter]
id=Rakshas
[/filter]
[message]
id=Rakshas
message= _ "Ahhhh! Run for your life!"
[/message]
[message]
speaker=second_unit
message= _ "What the... Hey, where do you think you are running off to, you coward!"
[/message]
[message]
id=Tallin
message= _ "Stop him!"
[/message]
[message]
speaker=second_unit
message= _ "It’s too late! I am sorry, Tallin, he got away! We did not expect he would flee like a coward."
[/message]
[message]
id=Tallin
message= _ "Damn! We had the opportunity to end the war in one stroke there. Now we will have to go after him, assuming we can break this siege!"
[/message]
[/event]
# Time over. Player didn't kill the bad guy but still survived, and that's also a victory.
[event]
name=time over
[message]
id=Tallin
# wmllint: local spelling Geez
message= _ "Geez, we have been fighting them for three whole days and nights now with no end in sight. Now the fourth night is approaching, what should we do?"
[/message]
[message]
id=Father Morvin
message= _ "It seems hopeless to continue on like this. The orcs’ numbers are unlimited and Rakshas is very well guarded. The only possible outcome to all this is more slaughter."
[/message]
[message]
id=Sister Thera
message= _ "I propose that we retreat back into the caves and consult with the dwarves."
[/message]
[message]
role=Supporter
message= _ "I agree, Tallin, it is pointless to carry on."
[/message]
[message]
id=Tallin
message= _ "Very well. Everyone fall back!"
[/message]
[message]
id=Camerin
message= _ "Awwwww! Just when I was having the most fun!"
[/message]
[endlevel]
result=victory
bonus=no
[/endlevel]
[/event]
# And load the standard death events.
{campaigns/Northern_Rebirth/utils/herodeaths.cfg}
[/scenario]