-
-
Notifications
You must be signed in to change notification settings - Fork 991
/
04_High_Pass.cfg
307 lines (246 loc) · 7.21 KB
/
04_High_Pass.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
#textdomain wesnoth-thot
[scenario]
id=04_High_Pass
name= _ "High Pass"
map_data="{campaigns/The_Hammer_of_Thursagan/maps/04_High_Pass.map}"
{TURNS 22 20 18}
next_scenario=05_Fear
victory_when_enemies_defeated=no
{DEFAULT_SCHEDULE}
# The map should be a twisty, narrow path through rugged snow-capped
# mountains. The objective will be to get Aiglondur through to the
# other side. The opponents will be gryphons, wolves, and the elements.
# We should try to get creative with representing the effects of extreme
# cold, perhaps something like the dehydration effect in UtBS. And the
# time-limit should be tight.
{SCENARIO_MUSIC heroes_rite.ogg}
{EXTRA_SCENARIO_MUSIC northern_mountains.ogg}
{EXTRA_SCENARIO_MUSIC casualties_of_war.ogg}
{THOT_TRACK {JOURNEY_STAGE6}}
# wmllint: validate-off
[side]
side=1
controller=human
recruit="Dwarvish Fighter, Dwarvish Thunderer,Dwarvish Guardsman, Dwarvish Scout"
{GOLD 100 80 60}
team_name="northern_alliance"
user_team_name=_"Alliance"
{FLAG_VARIANT knalgan}
# wmllint: recognize Aiglondur
{CHARACTER_STATS_AIGLONDUR}
shroud=yes
facing=ne
[/side]
# wmllint: validate-on
[side]
side=2
recruit=Gryphon
{GOLD 60 80 100}
{INCOME 2 2 2}
team_name=wildthings
user_team_name= _ "Monsters"
type=Gryphon
id=Kaara
name= _ "Kaara"
canrecruit=yes
facing=s
[/side]
[side]
# The wild things
side=3
no_leader=yes
hidden=yes
team_name=wildthings
user_team_name= _ "Monsters"
[/side]
#define WILDTHING X Y
[set_variable]
name=typeofenemy
rand=Wolf,Ogre,Troll
[/set_variable]
[unit]
side=3
x,y={X},{Y}
type=$typeofenemy
generate_name=yes
random_traits=yes
[/unit]
[fire_event]
name=spawn_extra_wolf
[primary_unit]
x,y={X},{Y}
[/primary_unit]
[/fire_event]
{CLEAR_VARIABLE typeofenemy}
#enddef
{PLACE_IMAGE (scenery/signpost.png) 30 11}
[event]
name=prestart
[objectives]
side=1
[objective]
description= _ "Move Aiglondur to the signpost at the east end of the pass"
condition=win
[/objective]
[objective]
description= _ "Death of Aiglondur"
condition=lose
[/objective]
[objective]
description= _ "Death of Angarthing"
condition=lose
[/objective]
[objective]
description= _ "Death of Movrur"
condition=lose
[/objective]
{TURNS_RUN_OUT}
[gold_carryover]
bonus=yes
carryover_percentage=40
[/gold_carryover]
[/objectives]
[recall]
id=Angarthing
[/recall]
[recall]
id=Movrur
[/recall]
{MODIFY_UNIT (side=1) facing ne}
[/event]
[event]
name=start
[message]
speaker=Angarthing
message= _ "Behold, the High Pass. By the old maps, we are halfway to Kal Kartha here."
[/message]
[message]
speaker=Aiglondur
message= _ "We must push through quickly; there is a vicious storm coming in behind us. Being caught in a blizzard on those heights would be no laughing matter."
[/message]
[remove_shroud]
[filter_side]
side=1
[/filter_side]
x=29-31,30
y=11-12,10
[/remove_shroud]
{HIGHLIGHT_IMAGE 30 11 scenery/signpost.png ()}
[place_shroud]
[filter_side]
side=1
[/filter_side]
x=29-31,30
y=11-12,10
[/place_shroud]
{WILDTHING 8 7}
{WILDTHING 8 12}
[/event]
[event]
name=turn 3
{WILDTHING 8 7}
{WILDTHING 8 12}
[/event]
[event]
name=turn 6
{WILDTHING 12 6}
{WILDTHING 13 11}
[/event]
[event]
name=turn 9
{WILDTHING 17 12}
{WILDTHING 18 9}
[/event]
[event]
name=turn 12
{WILDTHING 25 9}
{WILDTHING 27 14}
[/event]
#ifdef EASY
# Compensate that you get less experience points on easy.
[event]
name=turn 15
{WILDTHING 29 14}
[/event]
#endif
[event]
name=spawn_extra_wolf
first_time_only=no
[filter_condition]
[variable]
name=typeofenemy
equals=Wolf
[/variable]
[/filter_condition]
[unit]
x,y=$x1,$y1
type=Wolf
side=3
[/unit]
#ifndef EASY
[unit]
x,y=$x1,$y1
type=Wolf
side=3
[/unit]
#endif
[/event]
[event]
{QUANTITY name (turn 16) (turn 14) (turn 9)}
[message]
speaker=Aiglondur
message= _ "It has begun to snow. Move, everyone! To be trapped here would be death."
[/message]
[/event]
[event]
name=time over
[message]
speaker=Aiglondur
message= _ "We’re snowed in. Our mission has failed, even if we live until the spring."
[/message]
[/event]
[event]
name=moveto
first_time_only=yes
[filter]
id=Aiglondur
x,y=30,11
[/filter]
[message]
speaker=Aiglondur
message= _ "We’re through the pass!"
[/message]
[message]
speaker=Angarthing
message= _ "That may not be a blessing. Something has been driving these orcish raiders to push into Alliance territory. Don’t you wonder what it is?"
[/message]
[message]
speaker=Movrur
message= _ "The same that has been driving them to attack us at Kal Kartha. But, no matter the reason for their aggression, we shall slaughter them all the same."
[/message]
[message]
speaker=Angarthing
message= _ "We are coming to Kal Kartha to study the Hammer of Thursagan, not mindlessly slay orcs."
[/message]
[message]
speaker=Movrur
message= _ "Indeed, you are, but you musn’t lose sight of the end goal. Restoring the Hammer will revive the ancient art of runecraft and bring dwarven-kind back to glory. With the Hammer restored, no orc shall ever be a threat to us ever again."
[/message]
[message]
speaker=Aiglondur
message= _ "I hope so, for the sake of peace and the safety of our people. For now, however, we must content ourselves with pressing onward toward Kal Kartha."
[/message]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/event]
[event]
name=victory
[/event]
{HERODEATH_AIGLONDUR}
{HERODEATH_ANGARTHING}
{HERODEATH_MOVRUR}
[/scenario]
#undef WILDTHING