-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
03_Toward_Mountains_of_Haag.cfg
482 lines (426 loc) · 13.9 KB
/
03_Toward_Mountains_of_Haag.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
#textdomain wesnoth-sotbe
[scenario]
id=03_Toward_Mountains_of_Haag
name= _ "Toward Mountains of Haag"
map_data="{campaigns/Son_Of_The_Black_Eye/maps/03_Toward_Mountains_of_Haag.map}"
{TURNS 27 24 20}
victory_when_enemies_defeated="no"
{DEFAULT_SCHEDULE_MORNING}
next_scenario=04_The_Siege_of_Barag_Gor
{SCENARIO_MUSIC "knolls.ogg"}
{EXTRA_SCENARIO_MUSIC "breaking_the_chains.ogg"}
{EXTRA_SCENARIO_MUSIC "knalgan_theme.ogg"}
[event]
name=prestart
[capture_village]
side=2
x=1-17
[/capture_village]
[objectives]
side=1
[objective]
condition=win
description=_ "Move Kapou’e to the end of the mountains"
[/objective]
{ALTERNATIVE_OBJECTIVE_BONUS ( _ "Defeat the enemy leader")}
[objective]
condition=lose
description=_ "Death of Kapou’e"
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
carryover_percentage=40
[/gold_carryover]
[/objectives]
[/event]
[item]
x=33
y=23
image=items/orcish-flag.png
[/item]
[item]
x=36
y=19
image=items/orcish-flag.png
[/item]
[side]
side=1
id="Kapou'e"
type=Orcish Leader
controller=human
team_name=Kapoue
user_team_name=_ "Kapou’e"
gold=100
{BLACK_FLAG}
[/side]
{STARTING_VILLAGES 1 4}
[side]
#ifdef HARD
type=Dwarvish Lord
#else
type=Dwarvish Steelclad
#endif
id=Kwili
name= _ "Kwili"
side=2
canrecruit=yes
facing=se
recruit=Dwarvish Steelclad, Dwarvish Thunderguard, Dwarvish Pathfinder, Dwarvish Fighter, Dwarvish Thunderer, Dwarvish Scout
{GOLD 120 160 200}
team_name=Dwarves
user_team_name=_"Dwarves"
[ai]
[aspect]
id=recruitment_instructions
[facet]
[value]
[recruit]
type=2
#ifdef EASY
number=0
#endif
#ifdef NORMAL
number=1
#endif
#ifdef HARD
number=2
#endif
total=yes
importance=1
[/recruit]
[recruit]
type=1
importance=0
[/recruit]
[/value]
[/facet]
[/aspect]
[/ai]
[/side]
[side]
side=3
team_name=Kapoue
user_team_name=_ "Kapou’e"
no_leader=yes
[/side]
{SOTBE_TRACK {JOURNEY_03_NEW} }
[event]
name=start
[role]
type=Orcish Warlord, Orcish Slurbow, Direwolf Rider, Orcish Warrior, Orcish Crossbowman, Goblin Knight, Goblin Pillager, Orcish Grunt, Orcish Archer, Wolf Rider
role=Helper
[auto_recall]
[/auto_recall]
[else]
{UNIT 1 (Orcish Grunt) 35 23 (role=Helper)}
[/else]
[/role]
[message]
speaker="Kapou'e"
message= _ "We have almost crossed the mountains. We’re close to the lands of the free tribes. So far so good."
[/message]
[message]
speaker=Kwili
message= _ "Halt! Who goes there?"
[/message]
[message]
speaker="Kapou'e"
message= _ "It is I, Kapou’e, son of the Black-Eye Karun. What do you want, dwarf?"
[/message]
[message]
speaker=Kwili
# wmllint: local spelling stinkin'
message= _ "Oh, so it’s another group o’ stinkin’ orcs, eh. Begone, or we shall wash our axes in yer blood."
[/message]
[message]
speaker="Kapou'e"
message= _ "Look, you pint-sized idiot, we aren’t out to kill you so why don’t you just scamper away and hide in a cave or something. We’ll be through here in a few hours."
[/message]
[message]
role=Helper
message= _ "(<i>Snicker</i>)"
[/message]
[message]
speaker=Kwili
message= _ "Your scorn and rudeness shall be your undoing. Dwarves, let no orc pass this way alive!"
[/message]
[message]
speaker="Kapou'e"
message= _ "It looks like we might have to fight them after all."
[/message]
[message]
role=Helper
message= _ "Hey, Chief, I was thinking — dwarves are pretty slow; why don’t we just bypass them?"
[/message]
[message]
role=Helper
message= _ "I mean, we could defeat them easily but it would just slow us down."
[/message]
[message]
speaker="Kapou'e"
message= _ "We could, but then again, if we crush them then we can loot their treasury and their dwellings. The gold will be useful."
[/message]
[message]
speaker="Kapou'e"
message= _ "Whatever else happens, we have to pass through these mountains and I dislike leaving enemies in our rear. Stab, smite, and slay!"
[/message]
{HIGHLIGHT_IMAGE 1 5 scenery/signpost.png ()}
[/event]
[event]
name=moveto
first_time_only=yes
[filter]
x=22, 23, 24-26,27, 28, 29, 30, 31-32
y=13-22,14-23,15-23,16-24,15-23,16-24,15-23,16-23
side=1
[/filter]
[message]
speaker=unit
message= _ "I’ve never pushed so far. We are crossing the border of the Black-Eye lands."
[/message]
[/event]
[event]
name=turn 4
[fire_event]
name=trolls_appear
[/fire_event]
[/event]
# Needs to fire on Turn 4 or at victory, whichever happens first.
# It gets a custom name, rather 'name=turn 4,victory', so that
# we can guarantee that it fires before the victory event below
[event]
name=trolls_appear
[unit]
id=Blemaker
name= _ "Blemaker"
type=Troll Warrior
side=3
x=31
y=10
facing=sw
[/unit]
[unit]
id=Grüü
name= _ "Grüü"
unrenamable=yes
type=Troll Hero
side=3
x=30
y=9
profile=portraits/gruu.png
facing=sw
random_traits=no
{IS_HERO}
[modifications]
{TRAIT_LOYAL}
[object]
[effect]
apply_to=image_mod
# This shifts the skin colors to be slightly more red
replace="PAL(D0CFBF,A8A8A8,747F73,616153,374336>D3BCC1,A8A8A8,817D71,635054,454133)"
[/effect]
[/object]
[/modifications]
[/unit]
[unit]
id=Toughkon
name= _ "Toughkon"
type=Troll Whelp
side=3
x=32
y=10
facing=sw
[/unit]
[unit]
id=Pe
name= _ "Pe"
type=Troll Whelp
side=3
x=33
y=11
facing=sw
[/unit]
{AI_CONTROLLER_ALLOW_UNIT_CONTROL 1 "Grüü"}
[message]
speaker=Blemaker
message= _ "Look! Dwarves are fighting orcs!"
[/message]
[message]
speaker=Grüü
message= _ "Father, we should help them. Orcs are our allies."
[/message]
[message]
speaker=Blemaker
message= _ "I don’t know. Orcs have been our allies in the past, but they treat us as fools."
[/message]
[message]
speaker=Grüü
message= _ "But, Father, we don’t know what they are seeking there. Between us, we could squash these dwarves."
[/message]
[message]
speaker=Blemaker
message= _ "Right, my son. We help our orcish friends. But you take care... I would be desperate if something happened to you."
[/message]
[objectives]
side=1
[objective]
condition=win
description=_ "Move Kapou’e to the end of the mountains or"
[/objective]
[objective]
condition=win
description= _ "Defeat the enemy leader"+{EARLY_FINISH_BONUS_FOOTNOTE}
[/objective]
[objective]
condition=lose
description=_ "Death of Kapou’e"
[/objective]
[objective]
condition=lose
description=_ "Death of Grüü"
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
carryover_percentage=40
[/gold_carryover]
[note]
description= _ "In this scenario, you may ask Grüü to move to any hex by right-clicking on that hex."
[/note]
[/objectives]
[/event]
[event]
name=die
[filter]
id=Blemaker
[/filter]
[message]
speaker=Grüü
message= _ "Father! Oh no!"
[/message]
[message]
speaker=Grüü
message= _ "Filthy dwarves! Now I’ll kill you to the last!"
[/message]
[/event]
[event]
name=last breath
[filter]
id=Grüü
[/filter]
[message]
speaker=unit
message= _ "Oh no, I’m defeated."
[/message]
[if]
[have_unit]
id=Blemaker
[/have_unit]
[then]
[message]
speaker=Blemaker
message= _ "My son! I should have never brought him to this fight. Now we return to our caverns, and we never return."
[/message]
[/then]
[else]
[message]
speaker="Kapou'e"
message= _ "The trolls are done. We will desperately need their help in the coming battles. Without them there is no hope."
[/message]
[/else]
[/if]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=last breath
[filter]
id=Kwili
[/filter]
[message]
speaker=unit
message= _ "Argh! I die!"
[/message]
[message]
speaker="Kapou'e"
message= _ "You were warned, dwarf. Riders, spread out of the area and collect what you can from each of these houses. If anyone refuses to pay, tie them up and take it anyway. Let them know that they live only on my good graces. I’ll take the army to Barag Gór. Catch up when you’re done."
[/message]
[role]
type=Direwolf Rider,Goblin Pillager,Goblin Knight,Wolf Rider
role=doggie
[/role]
[message]
role=doggie
message= _ "Sounds like fun. All right boys, let’s go!"
[/message]
# Just in case the trolls have not appeared yet, bring them out
[fire_event]
name=trolls_appear
[/fire_event]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=moveto
[filter]
x=1
y=5
id="Kapou'e"
[/filter]
[message]
speaker="Kapou'e"
message= _ "We’ve succeeded! We’ve passed through the Mountains of Haag! Look at these green hills! The land of the free tribes is near now. I can see the walls of Barag Gór in the distance."
[/message]
[endlevel]
result=victory
bonus=no
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=victory
[if]
[have_unit]
id=Blemaker
[/have_unit]
[then]
[message]
speaker="Kapou'e"
message= _ "Blemaker, many thanks for your help in this fight. Would you like to join us in our journey with your son? You are a powerful warrior, and you would be of great help."
[/message]
[message]
speaker=Grüü
message= _ "Father, I’d like to join them. Would you mind it?"
[/message]
[message]
speaker=Blemaker
message= _ "My son, you’re old enough to discover the world. Me, I have to stay here. But take care, there are plenty of creatures that seek our end, like elves or humans. They are clever and merciless."
[/message]
[message]
speaker=Grüü
message= _ "Thanks, father. Don’t worry, I’ll take care of myself."
[/message]
[/then]
[else]
[message]
speaker="Kapou'e"
message= _ "Grüü, many thanks for your help in this fight. I’m sorry for the loss of your father. Would you like to join us in our journey? Your help would be useful to me."
[/message]
[message]
speaker=Grüü
message= _ "My father would have come to help you. I would insult his memory not to help you. I come!"
[/message]
[/else]
[/if]
[modify_unit]
[filter]
id=Grüü
[/filter]
side=1
[/modify_unit]
[/event]
{KAPOUE_DEATH}
[/scenario]