-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
13a_Showdown.cfg
1054 lines (1024 loc) · 33.9 KB
/
13a_Showdown.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
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#textdomain wesnoth-nr
[scenario]
id=13a_Showdown
name= _ "Showdown"
map_data="{campaigns/Northern_Rebirth/maps/13a_Showdown.map}"
{DEFAULT_SCHEDULE}
turns=-1
next_scenario=14a_Epilogue
{INTRO_AND_SCENARIO_MUSIC "revelation.ogg" "legends_of_the_north.ogg"}
{EXTRA_SCENARIO_MUSIC "knalgan_theme.ogg"}
{EXTRA_SCENARIO_MUSIC "vengeful.ogg"}
{EXTRA_SCENARIO_MUSIC "elvish-theme.ogg"}
{EXTRA_SCENARIO_MUSIC "the_city_falls.ogg"}
{EXTRA_SCENARIO_MUSIC "northerners.ogg"}
{EXTRA_SCENARIO_MUSIC "battle.ogg"}
{EXTRA_SCENARIO_MUSIC "loyalists.ogg"}
{EXTRA_SCENARIO_MUSIC "revelation.ogg"}
[story]
[part]
story= _ "The party once again took up Rakshas’s trail. They soon received a report from a scouting gryphon that in an enormous fortress a few leagues west from them, Rakshas was assembling a massive orcish force, clearly intending to crush their revolt once and for all."
[/part]
[part]
story= _ "The gryphon further reported that a few more leagues west was a large force of dwarvish veterans, advancing steadily on the orcish fortress."
[/part]
[part]
story= _ "Battle plans were quickly made; the party split into three groups. Two of the groups immediately set off northwest and southwest respectively while the third group rested for an hour and then set off directly west."
[/part]
[part]
story= _ "The idea was to completely surround Rakshas on all sides, cutting off any chance of escape or reinforcements."
[/part]
[/story]
{NR_TRACK {SHOWDOWN_STAGE1}}
# Players side - Tallin
[side]
type=Lieutenant
id=Tallin
name=_ "Tallin"
canrecruit=yes
side=1
controller=human
recruit=Thug,Poacher,Spearman,Bowman,Dwarvish Fighter,Dwarvish Thunderer,Dwarvish Ulfserker,Dwarvish Scout,Gryphon,Footpad
team_name=knalgans
user_team_name=_"Alliance"
gold=100
[/side]
{STARTING_VILLAGES 1 5}
# Main enemy
[side]
{CHARACTER_STATS_RAKSHAS}
side=2
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
{GOLD 800 1200 1600}
{INCOME 20 35 50}
team_name=orcs
user_team_name=_"Orcs"
[ai]
[goal]
name=target
[criteria]
x=30
y=30
[/criteria]
value=400
[/goal]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=300
[/goal]
[goal]
name=target
[criteria]
side=7
[/criteria]
value=150
[/goal]
[goal]
name=target
[criteria]
side=8
[/criteria]
value=50
[/goal]
[goal]
name=target
[criteria]
side=9
[/criteria]
value=250
[/goal]
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 2 3}
# Sidekicks
[side]
type=Orcish Warlord
id="Ha'Tuil"
name= _ "Ha’Tuil"
canrecruit=yes
side=3
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
{GOLD 800 1000 1200}
{INCOME 10 25 40}
team_name=orcs
user_team_name=_"Orcs"
[ai]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=400
[/goal]
[goal]
name=target
[criteria]
side=7
[/criteria]
value=300
[/goal]
[goal]
name=target
[criteria]
side=8
[/criteria]
value=200
[/goal]
[goal]
name=target
[criteria]
side=9
[/criteria]
value=350
[/goal]
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 3 4}
[side]
type=Orcish Warlord
id="Ar'Muff"
name= _ "Ar’Muff"
canrecruit=yes
side=4
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
{GOLD 800 1000 1200}
{INCOME 10 25 40}
team_name=orcs
user_team_name=_"Orcs"
[ai]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=400
[/goal]
[goal]
name=target
[criteria]
side=7
[/criteria]
value=300
[/goal]
[goal]
name=target
[criteria]
side=8
[/criteria]
value=200
[/goal]
[goal]
name=target
[criteria]
side=9
[/criteria]
value=350
[/goal]
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 4 4}
[side]
type=Orcish Warlord
id=Calter
name= _ "Calter"
canrecruit=yes
side=5
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
{GOLD 800 1000 1200}
{INCOME 10 25 40}
team_name=orcs
user_team_name=_"Orcs"
[ai]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=400
[/goal]
[goal]
name=target
[criteria]
side=7
[/criteria]
value=300
[/goal]
[goal]
name=target
[criteria]
side=8
[/criteria]
value=200
[/goal]
[goal]
name=target
[criteria]
side=9
[/criteria]
value=350
[/goal]
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 5 4}
[side]
type=Orcish Warlord
id=Halter
name= _ "Halter"
canrecruit=yes
side=6
recruit=Orcish Warrior,Orcish Slayer,Troll,Troll Rocklobber,Orcish Crossbowman
{GOLD 800 1000 1200}
{INCOME 10 25 40}
team_name=orcs
user_team_name=_"Orcs"
[ai]
[goal]
name=target
[criteria]
side=1
[/criteria]
value=400
[/goal]
[goal]
name=target
[criteria]
side=7
[/criteria]
value=300
[/goal]
[goal]
name=target
[criteria]
side=8
[/criteria]
value=200
[/goal]
[goal]
name=target
[criteria]
side=9
[/criteria]
value=350
[/goal]
[/ai]
{FLAG_VARIANT6 ragged}
[/side]
{STARTING_VILLAGES 6 4}
# Krash may not actually still be alive at this point, but setting up
# his side this way is the only way to reliably pick up his recall
# list if he is. Later, we'll edit in another leader if he's dead.
[side]
side=7
save_id=Krash
side_name= _ "Krash"
gold=100
recruit=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
team_name=knalgans
user_team_name=_"Alliance"
controller=human
no_leader=yes
defeat_condition=never
{FLAG_VARIANT long}
[/side]
# STARTING_VILLAGES works due to defeat_condition & having a starting location
{STARTING_VILLAGES 7 10}
# Allied AI
[side]
type=Dwarvish Lord
id=Hamel
name= _ "Hamel"
profile=portraits/Hamel.png
canrecruit=yes
side=8
{GOLD 1200 1000 800}
{INCOME 30 20 10}
recruit=Dwarvish Steelclad,Dwarvish Thunderguard,Dwarvish Stalwart
team_name=knalgans
user_team_name=_"Alliance"
persistent=yes
[ai]
simple_targeting=yes
aggression=1.0
caution=-5.0
attack_depth=5
village_value=0.0
leader_value=50.0
villages_per_scout=0.0
[goal]
name=target
[criteria]
id=Rakshas
[/criteria]
value=500
[/goal]
[/ai]
{FLAG_VARIANT knalgan}
[/side]
{STARTING_VILLAGES 8 10}
{AI_CONTROLLER () 1 8 ()}
# Side for Eryssa if alive
[side]
side=9
gold=100
recruit=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout,Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Rider,Elvish Druid,Elvish Sorceress
team_name=knalgans
user_team_name=_"Alliance"
save_id=Elves
controller=human
no_leader=yes
defeat_condition=never
{FLAG_VARIANT wood-elvish}
[/side]
# STARTING_VILLAGES works due to defeat_condition & having a starting location
{STARTING_VILLAGES 9 10}
[event]
name=prestart
# Check if Krash is alive, if yes place him at helm of side 7,
# otherwise it's taken over by older lich.
{RECALL_KRASH}
[store_starting_location]
side=7
variable=side_seven_starts_at
[/store_starting_location]
[if]
[not]
[have_unit]
id=Krash
[/have_unit]
[/not]
[then]
[store_unit]
[filter]
id="Ro'Arthian"
[/filter]
variable=place_lich_at
kill=yes
fire_event=no
[/store_unit]
{VARIABLE place_lich_at.side 7}
{VARIABLE place_lich_at.canrecruit yes}
[unstore_unit]
variable=place_lich_at
x,y=$side_seven_starts_at.x,$side_seven_starts_at.y
[/unstore_unit]
{UNMAKE_HERO "Ro'Arthian"}
[kill]
side=7
race=drake
[/kill]
[disallow_recruit]
side=7
type=Drake Fighter,Drake Glider,Drake Burner,Drake Clasher
[/disallow_recruit]
[allow_recruit]
side=7
type=Troll,Troll Whelp,Ogre,Young Ogre,Mage,Red Mage,Gryphon
[/allow_recruit]
[modify_side]
side=7
side_name= _ "Ro’Arthian"
{FLAG_VARIANT undead}
[/modify_side]
{CLEAR_VARIABLE place_lich_at}
[/then]
[/if]
[modify_side]
side=7
defeat_condition=no_leader_left
[/modify_side]
# Hide unit for spectacular entrance
[hide_unit]
x=$side_seven_starts_at.x
y=$side_seven_starts_at.y
[/hide_unit]
# Check if Eryssa is alive. If yes place her at the helm of side 9;
# if not, younger lich assumes command and elves are scrubbed from
# the side’s recall list.
[recall]
id=Eryssa
[/recall]
[store_starting_location]
side=9
variable=side_nine_starts_at
[/store_starting_location]
[if]
[have_unit]
id=Eryssa
[/have_unit]
[then]
{TELEPORT_UNIT id="Eryssa" $side_nine_starts_at.x $side_nine_starts_at.y}
{MODIFY_UNIT id="Eryssa" canrecruit yes}
{MODIFY_UNIT id="Eryssa" side 9}
[modify_side]
side=9
side_name= _ "Eryssa"
[/modify_side]
[/then]
[else]
[store_unit]
[filter]
id="Ro'Sothian"
[/filter]
variable=place_second_lich_at
kill=yes
fire_event=no
[/store_unit]
{VARIABLE place_second_lich_at.side 9}
{VARIABLE place_second_lich_at.canrecruit yes}
[unstore_unit]
variable=place_second_lich_at
x,y=$side_nine_starts_at.x,$side_nine_starts_at.y
[/unstore_unit]
{UNMAKE_HERO "Ro'Sothian"}
[kill]
side=9
race=elf
[/kill]
[disallow_recruit]
side=9
type=Elvish Fighter,Elvish Archer,Elvish Shaman,Elvish Scout,Elvish Captain,Elvish Hero,Elvish Ranger,Elvish Marksman,Elvish Rider,Elvish Druid,Elvish Sorceress
[/disallow_recruit]
[allow_recruit]
side=9
type=Troll,Troll Whelp,Ogre,Young Ogre,Mage,Red Mage,Gryphon
[/allow_recruit]
[gold]
side=9
amount=300
[/gold]
[modify_side]
side=9
side_name= _ "Ro’Sothian"
{FLAG_VARIANT undead}
[/modify_side]
{CLEAR_VARIABLE place_second_lich_at}
[/else]
[/if]
[modify_side]
side=9
defeat_condition=no_leader_left
[/modify_side]
# Hide leader of side 9, Hamel and Tallin for great entrance
[hide_unit]
x=$side_nine_starts_at.x
y=$side_nine_starts_at.y
[/hide_unit]
[store_starting_location]
side=1
variable=side_one_starts_at
[/store_starting_location]
[hide_unit]
x=$side_one_starts_at.x
y=$side_one_starts_at.y
[/hide_unit]
[store_starting_location]
side=8
variable=side_eight_starts_at
[/store_starting_location]
[hide_unit]
x=$side_eight_starts_at.x
y=$side_eight_starts_at.y
[/hide_unit]
# Place bad guys
{LOYAL_UNIT 2 "Orcish Warlord" 28 22} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 29 23} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 31 23} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 32 22} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 34 22} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 36 23} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 38 24} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 40 25} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 40 27} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 40 29} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 40 31} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 40 33} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 40 35} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 38 36} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 36 37} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 34 38} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 33 39} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 31 39} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 29 39} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 27 39} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 25 38} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 23 37} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 21 36} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 20 35} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 20 33} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 20 31} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 20 29} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 20 27} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 20 25} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 22 24} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 24 23} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Warlord" 26 22} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 33 23} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 35 23} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 37 24} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 39 36} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 39 25} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 40 26} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 40 28} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 40 32} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 40 34} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 37 37} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 35 38} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 32 38} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 28 38} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 26 38} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 24 37} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 22 36} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 20 32} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 20 28} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 20 26} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 21 25} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 23 24} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 25 23} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 20 34} {GUARDIAN}
{LOYAL_UNIT 2 "Orcish Slurbow" 27 23} {GUARDIAN}
[/event]
[event]
name=start
# If Sisal is alive it means gold was recovered, give it back to
# three player sided split evenly
[if]
[have_unit]
id=Sisal
search_recall_list=yes
[/have_unit]
[then]
{VARIABLE_OP stored_gold multiply 0.33}
[gold]
side=1
amount=$stored_gold
[/gold]
[gold]
side=7
amount=$stored_gold
[/gold]
[gold]
side=9
amount=$stored_gold
[/gold]
[/then]
[/if]
# Intro depending on who we have alive
[if]
[have_unit]
id=Krash
[/have_unit]
[then]
[message]
speaker=narrator
message= _ "The group that went to the north was led by Krash and his drake friends."
image=wesnoth-icon.png
[/message]
[store_unit]
[filter]
id=Krash
[/filter]
variable=krash_store
[/store_unit]
[move_unit_fake]
type=$krash_store.type
side=7
x=30,30,30,30,30,30,30,30,30,30,30
y=1,2,3,4,5,6,7,8,9,10,11
[/move_unit_fake]
{CLEAR_VARIABLE krash_store}
[/then]
[else]
[message]
speaker=narrator
message= _ "The group that went to the north was led by Ro’Arthian and was composed of trolls, ogres and some selected mages."
image=wesnoth-icon.png
[/message]
[store_unit]
[filter]
id="Ro'Arthian"
[/filter]
variable=ro_arthian_store
[/store_unit]
[move_unit_fake]
type=$ro_arthian_store.type
side=7
x=30,30,30,30,30,30,30,30,30,30,30
y=1,2,3,4,5,6,7,8,9,10,11
[/move_unit_fake]
{CLEAR_VARIABLE ro_arthian_store}
[/else]
[/if]
{MODIFY_UNIT (x,y=$side_seven_starts_at.x,$side_seven_starts_at.y) facing se}
[unhide_unit]
x=$side_seven_starts_at.x
y=$side_seven_starts_at.y
[/unhide_unit]
[recall]
id=Eryssa
[/recall]
[if]
[have_unit]
id=Eryssa
[/have_unit]
[then]
[message]
speaker=narrator
message= _ "Eryssa and the remaining elves, eager to avenge Hidel, went south, while Tallin himself led the western group."
image=wesnoth-icon.png
[/message]
[store_unit]
[filter]
id=Eryssa
[/filter]
variable=eryssa_store
[/store_unit]
[move_unit_fake]
type=$eryssa_store.type
side=9
x=31,31,31,31,31,31,31
y=60,59,58,57,56,55,54
[/move_unit_fake]
{CLEAR_VARIABLE eryssa_store}
[if]
[have_unit]
id=Sisal
search_recall_list=yes
[/have_unit]
[then]
{MODIFY_UNIT id=Sisal side 9}
[recall]
id=Sisal
show=no #so Eryssa move to unhide animation is not interrupted
[/recall]
[/then]
[/if]
[/then]
[else]
[message]
speaker=narrator
message= _ "Ro’Arthian’s brother, Ro’Sothian, went south with another crew of trolls, ogres and mages. Tallin himself led the western group."
image=wesnoth-icon.png
[/message]
[store_unit]
[filter]
id="Ro'Sothian"
[/filter]
variable=ro_sothian_store
[/store_unit]
[move_unit_fake]
type=$ro_sothian_store.type
side=9
x=31,31,31,31,31,31,31
y=60,59,58,57,56,55,54
[/move_unit_fake]
{CLEAR_VARIABLE ro_sothian_store}
[/else]
[/if]
{MODIFY_UNIT (x,y=$side_nine_starts_at.x,$side_nine_starts_at.y) facing nw}
[unhide_unit]
x=$side_nine_starts_at.x
y=$side_nine_starts_at.y
[/unhide_unit]
[store_unit]
[filter]
id=Tallin
[/filter]
variable=tallin_store
[/store_unit]
[move_unit_fake]
type=$tallin_store.type
side=1
x=60,59,58,57,56
y=30,30,30,30,30
[/move_unit_fake]
{CLEAR_VARIABLE tallin_store}
{MODIFY_UNIT (x,y=$side_one_starts_at.x,$side_one_starts_at.y) facing sw}
[unhide_unit]
x=$side_one_starts_at.x
y=$side_one_starts_at.y
[/unhide_unit]
[message]
speaker=narrator
message= _ "A few short hours later all the groups converged on the fortress."
image=wesnoth-icon.png
[/message]
# Recall heroes
{RECALL_SUPPORTER}
[recall]
id=Camerin
[/recall]
[recall]
id=Abhai
[/recall]
[recall]
id=Father Morvin
[/recall]
[recall]
id=Sister Thera
[/recall]
[recall]
id=Elenia
[/recall]
[recall] #if not recalled above
id=Sisal
[/recall]
[recall]
id=Stalrag
[/recall]
[recall] #if not placed above
id="Ro'Arthian"
[/recall]
[recall] #if not placed above
id="Ro'Sothian"
[/recall]
# Intro
[message]
id=Tallin
message= _ "Rakshas! You have evaded me for the last time. Now come out and die like a man!"
[/message]
[message]
id=Rakshas
message= _ "What the...? How did he get here?"
[/message]
[if]
[have_unit]
id=Eryssa
[/have_unit]
[then]
[message]
id=Eryssa
message= _ "We have crushed and scattered your entire eastern flank, and now it’s your turn!"
[/message]
[message]
id=Rakshas
message= _ "You slimy little elf! So you have joined hands with these humans, have you? Very well, both of you shall soon be dead!"
[/message]
[message]
id=Eryssa
message= _ "Good luck, you monster. You are cut off and surrounded. We shall kill you and feed your carcass to the vultures and wild beasts."
[/message]
[message]
id=Rakshas
message= _ "Hahahahah! You fools, do you not see that you are right in the heart of orcish territory, surrounded yourselves! Why, at this very moment my entire western army is marching this way. They will soon be here and will scatter your forces like straw!"
[/message]
[/then]
[else]
[message]
id="Ro'Arthian"
message= _ "We have crushed and scattered your entire eastern flank, buddy, and now it’s your turn!"
[/message]
[message]
id=Rakshas
message= _ "Argh, you frustrating little vermin! I am going to pluck your eyeballs out and..."
[/message]
[message]
id="Ro'Arthian"
message= _ "We don’t have any eyeballs, you idiot!"
[/message]
[message]
id=Rakshas
# wmllint: local spelling PAH
message= _ "PAH! You fools, know that you shall soon be outnumbered and surrounded. At this very moment my entire western army is marching this way. They will soon be here and will scatter your puny forces like straw!"
[/message]
[/else]
[/if]
# And the dwarves' grand entrance
[store_unit]
[filter]
id=Hamel
[/filter]
variable=hamel_store
[/store_unit]
[move_unit_fake]
type=$hamel_store.type
side=8
x=1,2,3,4,5,6,7,8,9,10,11
y=31,31,31,31,31,31,31,31,32,32,32
[/move_unit_fake]
{CLEAR_VARIABLE hamel_store}
{MODIFY_UNIT (x,y=$side_eight_starts_at.x,$side_eight_starts_at.y) facing ne}
[unhide_unit]
x=$side_eight_starts_at.x
y=$side_eight_starts_at.y
[/unhide_unit]
[move_unit_fake]
type=Dwarvish Steelclad
side=8
x=1,2,3,4,5,6,7,8,9,10,11
y=31,31,31,31,31,31,31,31,32,32,33
[/move_unit_fake]
{GENERIC_UNIT 8 "Dwarvish Steelclad" 11 33}
[move_unit_fake]
type=Dwarvish Steelclad
side=8
x=1,2,3,4,5,6,7,8,9,10,11
y=31,31,31,31,31,31,31,31,32,31,31
[/move_unit_fake]
{GENERIC_UNIT 8 "Dwarvish Steelclad" 11 31}
[move_unit_fake]
type=Dwarvish Thunderguard
side=8
x=1,2,3,4,5,6,7,8,9,10
y=31,31,31,31,31,31,31,31,32,32
[/move_unit_fake]
{GENERIC_UNIT 8 "Dwarvish Thunderguard" 10 32}
[move_unit_fake]
type=Dwarvish Thunderguard
side=8
x=1,2,3,4,5,6,7,8,9,10
y=31,31,31,31,31,31,31,31,32,31
[/move_unit_fake]
{GENERIC_UNIT 8 "Dwarvish Thunderguard" 10 31}
[message]
id=Hamel
message= _ "Will they, now?"
[/message]
[message]
id=Rakshas
message= _ "<i>What</i>?!"
[/message]
[message]
id=Hamel
message= _ "Your western army has been slaughtered, Rakshas, and <i>you</i> will soon join them!"
[/message]
[message]
id=Rakshas
message= _ "But... but... how can this be?"
[/message]
[message]
id=Hamel
message= _ "It’s called ‘The End’, foul orc. Forward! FOR KNALGA!!"
[/message]
[message]
id=Krash
message= _ "FOR FRIENDSHIP!!"
[/message]
[message]
id="Ro'Arthian"
message= _ "FOR PEACE!!"
[/message]
[message]
id=Camerin
message= _ "FOR FUN!"
[/message]
[message]
id=Eryssa
message= _ "FOR HIDEL!!"
[/message]
[message]
role=Supporter
message= _ "FOR DWARVEN DOORS!!"
[/message]
[message]
id=Tallin
message= _ "FOR THE FREE PEOPLES OF THE NORTH! FALL ON THEM, MEN!!"
[/message]
[objectives]
side=0
[objective]
description= _ "Defeat the enemy leaders"
condition=win
[/objective]
[objective]
description= _ "Death of Tallin"
condition=lose
[/objective]
[objective]
description= _ "Death of Ro’Arthian"
condition=lose
[/objective]
[objective]
description= _ "Death of Ro’Sothian"
condition=lose
[/objective]
[objective]
description= _ "Death of Hamel"
condition=lose
[/objective]
{IS_LAST_SCENARIO}
{AI_CONTROLLER_NOTE}
[/objectives]
[/event]
# Flavour event at turn 5
[event]
name=turn 5
[message]
id=Tallin
message= _ "Sweet gods, look at all those orcs pouring out of that fortress."
[/message]
[message]
id=Hamel
message= _ "Aye, and not just any orcs either, those are all hardened veterans!"
[/message]
[message]
id=Tallin
message= _ "Yeah. Obviously this is going to take some time. If necessary we can sit tight in our fortifications and besiege them until they starve!"
[/message]
[/event]
# Rakashas death
[event]
name=last breath
[filter]
id=Rakshas
[/filter]
[message]
id=Tallin
message= _ "Die, you murderous beast! No longer shall you terrorize the people of the North."
[/message]
[message]
id=Hamel
message= _ "Learn the fate of one who offends the Dwarves of Knalga."
[/message]
[message]
id=Eryssa
message= _ "Or the elves of the Northern Forests."
[/message]
[message]
role=Supporter
message= _ "Or the humans of Dwarven Doors."
[/message]
[message]
id=Rakshas
message= _ "(<i>Gurgle</i>) No...! This... cannot... be... happening... to... me..."
[/message]
[message]
id=Sister Thera
message= _ "Such were the last words of Rakshas the great!"
[/message]
[message]
id="Ro'Sothian"
message= _ "(<i>Snicker</i>)"
[/message]
[/event]
# Victory
[event]
name=victory
[message]
id=Tallin
message= _ "At last! Rakshas has been slain, and the orcish host has been crushed. Peace and prosperity will come to the Northlands once again!"
[/message]
[message]
speaker=narrator
message= _ "At these words all the allied forces gave out a combined and thunderous cheer. Their long ordeal was finally over."
image=wesnoth-icon.png
[/message]
[message]
id=Camerin
message= _ "(<i>Small voice lost in the uproar</i>) Awww, is it over already?"
[/message]
# Place Krash, Eryssa and Hamel on players recall list to go