/
09a_Vengeance.cfg
375 lines (326 loc) · 10.6 KB
/
09a_Vengeance.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
#textdomain wesnoth-tsg
[scenario]
id=09a_Vengeance
name= _ "Vengeance"
next_scenario=10a_Elf_Epilogue
{SCENARIO_MUSIC nunc_dimittis.ogg}
{EXTRA_SCENARIO_MUSIC suspense.ogg}
map_data="{campaigns/The_South_Guard/maps/09a_Vengeance.map}"
#define SG_DEATHS_LAST_LEVEL
#enddef
{campaigns/The_South_Guard/utils/sg_deaths.cfg}
{DEFAULT_SCHEDULE_MORNING}
turns=unlimited
victory_when_enemies_defeated=no
{TSG_BIGMAP {JOURNEY_09A_NEW} }
# The South Guard
[side]
side=1
type=Horseman Commander
id=Deoran
name= _ "Deoran"
profile=portraits/deoran.png
unrenamable=yes
team_name=South_Guard
user_team_name=_"South Guard"
controller=human
{CUSTOM_SG_FLAG}
{GOLD 125 100 80}
{INCOME 4 2 0}
fog=no
shroud=no
canrecruit=yes
recruit=Bowman, Spearman, Cavalryman
{NAMED_GENERIC_UNIT 1 (Javelineer) 22 12 () (_"Westin Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 1 (Heavy Infantryman) 19 14 () (_"Westin Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 1 (Heavy Infantryman) 17 15 () (_"Westin Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 1 (Heavy Infantryman) 17 17 () (_"Westin Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 1 (Spearman) 16 19 () (_"Westin Guard")} {GUARDIAN}
{NAMED_GENERIC_UNIT 1 (Spearman) 15 21 () (_"Westin Guard")} {GUARDIAN}
[/side]
{STARTING_VILLAGES 1 15}
# The Enraged Elves
[side]
side=2
type=Elvish Marshal
id=Ithelden
name= _ "Ithelden"
team_name=The_Enraged Elves
user_team_name=_"Enraged Elves"
controller=ai
{GOLD 125 100 80}
{INCOME 4 2 0}
canrecruit=no
[ai]
passive_leader=yes
aggression=0.0
caution=1.0
[goal]
name=target
[criteria]
id=Ethiliel
[/criteria]
value=2
[/goal]
[/ai]
[ai]
passive_leader=yes
time_of_day=dusk,first_watch,second_watch
aggression=1.0
caution=0
grouping=no
[/ai]
{FLAG_VARIANT wood-elvish}
[/side]
[event]
name=prestart
[disallow_recruit]
side=1
type=Elvish Fighter, Elvish Shaman
[/disallow_recruit]
[/event]
[event]
name=start
[recall]
id=Sir Gerrick
[/recall]
[recall]
id=Ethiliel
[/recall]
[recall]
id=Minister Hylas
[/recall]
[message]
speaker=Sir Gerrick
message= _ "Commander! I took your message to the council, and your deeds have pleased them. Are the undead finally gone from our lands?"
[/message]
[message]
speaker=Deoran
message= _ "The undead are gone! Perhaps now there will be peace for a time in Westin. You have our thanks Lady Ethiliel."
[/message]
[message]
speaker=Ethiliel
message= _ "Though the undead are vanquished, they have brought us much sorrow. Deoran, your people have restored their honor. Let us part in peace."
[/message]
[message]
speaker=Deoran
message= _ "Indeed. Neither the bandits nor the undead will trouble us for some time. We will tend our wounds and you yours."
[/message]
[message]
speaker=narrator
message= _ "Help!"
image=wesnoth-icon.png
[/message]
[scroll_to_unit]
id=Ithelden
[/scroll_to_unit]
[message]
speaker=narrator
message= _ "Help!"
image=wesnoth-icon.png
[/message]
[move_unit_fake]
type=Peasant
side=1
x= 1, 2, 2, 2, 3, 4
y=11,11,12,13,14, 14
[/move_unit_fake]
[unit]
type=Peasant
id=Poor Farmer
name= _ "Poor Farmer"
side=1
x=4
y=14
[/unit]
[message]
speaker=Ithelden
message= _ "You must pay for killing Mebrin!"
[/message]
[message]
speaker=Poor Farmer
message= _ "I am just a farmer! What did I do?!"
[/message]
[message]
speaker=Ithelden
message= _ "What did you do?! Your people kidnapped and murdered our greatest leader! And now you will pay!"
[/message]
[color_adjust]
red=255
green=0
blue=0
[/color_adjust]
[sound]
name=human-die-1.ogg
[/sound]
[color_adjust]
red=0
green=0
blue=0
[/color_adjust]
[kill]
id=Poor Farmer
fire_event=no
[/kill]
[message]
speaker=Sir Gerrick
message= _ "He just killed that innocent farmer! We must stop him!"
[/message]
[message]
speaker=Ethiliel
message= _ "Stop, Ithelden! I have traveled with these humans, and they are not the ones who harmed Mebrin. They are our allies!"
[/message]
[message]
speaker=Ithelden
message= _ "You too, Ethiliel? All these humans are the same! They fell trees to till the earth; now they have felled our leader! We cannot brook such deeds! You will die with them!"
[/message]
[music]
name=the_dangerous_symphony.ogg
immediate=yes
append=no
[/music]
[music]
name=the_city_falls.ogg
append=yes
[/music]
[music]
name=vengeful.ogg
append=yes
[/music]
{NAMED_LOYAL_UNIT 2 (Elvish Fighter) 3 17 () (_"Disciple of Mebrin")}
{NAMED_LOYAL_UNIT 2 (Elvish Fighter) 7 15 () (_"Disciple of Mebrin")}
{NAMED_LOYAL_UNIT 2 (Elvish Druid) 6 19 () (_"Disciple of Mebrin")}
{NAMED_LOYAL_UNIT 2 (Elvish Ranger) 8 15 () (_"Disciple of Mebrin")}
{NAMED_LOYAL_UNIT 2 (Elvish Druid) 4 22 () (_"Disciple of Mebrin")}
{NAMED_LOYAL_UNIT 2 (Elvish Hero) 6 23 () (_"Disciple of Mebrin")}
{NAMED_LOYAL_UNIT 2 (Elvish Rider) 11 13 () (_"Disciple of Mebrin")}
[kill]
id=Ithelden
animate=no
fire_event=no
[/kill]
[message]
speaker=Ethiliel
message= _ "We won’t be able to hold them off for long. I should go reason with them!"
[/message]
[message]
speaker=Deoran
message= _ "Are you sure that the elves will greet you any more kindly than they have met us? After all, you did lead us into the forests..."
[/message]
[message]
speaker=Ethiliel
message= _ "Perhaps not, but it is your only hope. I must reach Ithelden!"
[/message]
{SET_LABEL 6 15 _"Ithelden’s base"}
{HIGHLIGHT_IMAGE 6 15 items/gohere.png ()}
[objectives]
side=1
[objective]
description= _ "Send Ethiliel to the Great Tree and parley with Ithelden"
condition=win
[/objective]
[objective]
description= _ "Death of Deoran"
condition=lose
[/objective]
[objective]
description= _ "Death of Ethiliel"
condition=lose
[/objective]
{IS_LAST_SCENARIO}
{HAS_NO_TURN_LIMIT}
[/objectives]
[/event]
[event]
name=die
[filter]
side=2
[/filter]
first_time_only=no
[set_variable]
name=how_many_elves
rand=1..6
[/set_variable]
[repeat]
times=$how_many_elves
[do]
[set_variable]
name=unit_type
rand=Elvish Fighter,Elvish Archer,Elvish Ranger,Elvish Shaman,Elvish Druid,Elvish Hero,Elvish Marksman,Elvish Rider,Elvish Fighter,Elvish Archer,Elvish Shaman
[/set_variable]
[unit]
type=$unit_type
name= _ "Disciple of Mebrin"
side=2
x,y=1,12
to_variable=new_elf
[/unit]
[unstore_unit]
variable=new_elf
find_vacant=yes
[/unstore_unit]
[/do]
[/repeat]
[message]
speaker=$new_elf.id
message= _ "For every one of us you strike down, more will rise!"
[/message]
{CLEAR_VARIABLE new_elf}
{CLEAR_VARIABLE how_many_elves,unit_type}
[/event]
[event]
name=die
[filter]
id=Ethiliel
[/filter]
[role]
role=realist
side=1
type="Mage of Light,White Mage," +
"Infantry Commander,Infantry Lieutenant," +
"Cavalier,Halberdier,Royal Guard,Master Bowman,Iron Mauler," +
"Javelineer,Longbowman,Pikeman,Swordsman,Dragoon,Shock Trooper," +
"Bowman,Cavalryman,Heavy Infantryman,Spearman,Peasant," +
"Mounted General,Horseman Commander,Junior Commander"
search_recall_list=no
[/role]
[message]
role=realist
message= _ "Ithelden’s elves have killed Ethiliel! Now we have no chance to come to an agreement with them. A war with the Elves is imminent."
[/message]
[message]
speaker=Deoran
message= _ "We are far away from Weldyn. We’ll surely all be killed long before any reinforcements arrive."
[/message]
[endlevel]
result=defeat
[/endlevel]
[/event]
[event]
name=moveto
[filter]
id=Ethiliel
x=6
y=15
[/filter]
# Added a delay too make the end of the campaign less abrupt; maybe some dialogue is better
[sound]
name=magic-faeriefire.ogg
[/sound]
[delay]
time=2000
[/delay]
[endlevel]
result=victory
carryover_report=no
save=no
[/endlevel]
[/event]
[event]
name=attacker hits,defender hits
[message]
speaker=Ethiliel
message= _ "Take care, Deoran! My people are upset. Killing one will only draw more."
[/message]
[/event]
[/scenario]