-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcommon_OrociaRandomMod.cfg
More file actions
371 lines (357 loc) · 9.4 KB
/
Copy pathcommon_OrociaRandomMod.cfg
File metadata and controls
371 lines (357 loc) · 9.4 KB
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
id=Orocia_Random_Ageless_Mod_{VERSION_ID}
name= _ "@{VERSION_ID}p - Orocia Random Mod"
map_data="{~add-ons/OrociaRandomMod/maps/{VERSION_ID}_OrociaRandomMod.map}"
description= _ "{VERSION_ID}-Player Survival Map. Work together to protect a powerful shrine from hordes of invaders. Win by surviving until turn 40+6. At the start of their turn, units in and around the shrine gain a bonus of hp, moves, damage, or weapon resistance.
Hardcore difficulty is aimed for people, who could get reasonably far in previous versions. Normal is supposed to be a bit easier: some turns give all remaining side 1 units -1 damage. Easy gives 12 kill xp instead of usual 8, and is also completely untested balance-wise. Only use it if there is really need to get something very easy.
Ultra hardcore is designed to be ultra, noone is known to have beaten it without good amount of modification addons to make it easier."
turns="-1"
victory_when_enemies_defeated=no
mp_village_support=2
mp_fog=no
experience_modifier=70%
random_start_time=no
{DEFAULT_SCHEDULE}
{DEFAULT_MUSIC_PLAYLIST}
[options]
[choice]
id=ORM_difficulty_mode
default=normal
name=_"Difficulty mode"
description=_"Hardcore is what previous releases were, Normal has 60% positive wave bonuses and easier beginning, Easy has 0% and also gives more kill xp"
[item]
name="Ultra Hardcore"
value=ultrahardcore
[/item]
[item]
name="Hardcore"
value=hardcore
[/item]
[item]
name="Normal"
value=normal
[/item]
[item]
name="Easy"
value=easy
[/item]
[/choice]
[choice]
id=ORM_upgrade_setting
default=2
name=_"Upgrade type"
description=_"Choose the type of upgrades in shrine"
[item]
name=_"No Upgrades"
value=0
[/item]
[item]
name=_"Randomless (Sequence->res->hp->dmg->mv->)"
value=1
[/item]
[item]
name=_"Normal (Nothing(2)/res/hp/dmg/mv/str)"
value=2
[/item]
# TODO make this option useful
#ifhave ~add-ons/DBG_Modification/_main.cfg
[item]
name=_"Chaos (Zonk/res/hp/dmg/str/mv)"
value=3
[/item]
#endif
[item]
name=_"Mega Chaos (Zonk/res/hp/dmg/mv/str/def)"
value=4
[/item]
[item]
name=_"Easy (res/hp/dmg/mv/str)"
value=5
[/item]
[/choice]
[choice]
id=ORM_map_setting
default=default
name=_"Map type"
description=_"Use a different map: Fall is created by ron, Two Suns and Frozen by nickanc, Swamp by IPS"
[item]
name="Default"
value=default
[/item]
[item]
name="Fall"
value=ronsmap
[/item]
[item]
name="Two Suns"
value=suns
[/item]
[item]
name="Swamp"
value=swamp
[/item]
[item]
name="Frozen"
value=frozen
[/item]
[/choice]
[choice]
id=ORM_wave_choice_setting
default=ageless_random_full
name=_"Wavetype"
description=_"Specifies waves composition"
[item]
name="Normal (Full random ageless)"
value=ageless_random_full
[/item]
[item]
name="Mirrored (Mirrored random ageless)"
value=ageless_random_mirrored
[/item]
# TODO update those waves, EoM and EoMa ids should be broken
#ifhave ~add-ons/DBG_Modification/_main.cfg
[item]
name="Ageless predefined (WIP, unbalanced, not working)"
value=ageless_predefined_1
[/item]
#endif
[item]
name="Basic (Core units only)"
value=core_predefined
[/item]
#ifhave ~add-ons/DBG_Modification/_main.cfg
[item]
name="Debug (No waves)"
value=debug
[/item]
#endif
[/choice]
[checkbox]
id=ORM_individualupgrade_setting
default=yes
name=_"Individual upgrades"
description=_"New random is calculated for each unit in shrine, instead of using same value for all units from that side. Does not matter, if randomless upgrades are used"
[/checkbox]
[checkbox]
id=ORM_alliedtent_setting
default=yes
name=_"Allied tents"
description=_"Allied tents that give 2 level 2 units ON/off"
[/checkbox]
[checkbox]
id=ORM_arsenal_setting
default=yes
name=_"Arsenals"
description=_"Enable picking up new weapons ON/off"
[/checkbox]
[checkbox]
id=ORM_castledestruction_setting
default=no
name=_"Castle destruction"
description=_"Castle destruction when enemy moves there ON/off"
[/checkbox]
[checkbox]
id=ORM_tenthealer_setting
default=yes
name=_"Tent healer"
description=_"At least 1 tent unit is healer ON/off"
[/checkbox]
#ifhave ~add-ons/DBG_Modification/_main.cfg
# [slider]
# id=ORM_hpmultiplier_setting
# default=0
# min=-25
# max=25
# step=5
# name=_"HP %"
# description=_"Waves health % adjustment"
# [/slider]
#endif
[checkbox]
id=ORM_adaptive_difficulty
default=yes
name=_"Adaptive difficulty"
description=_"Makes wave upgrades depend on factors like xp mod, switch leader and wave type. Only active with (ultra) hardcore mode."
[/checkbox]
[checkbox]
id=ORM_spawn_for_empty
default=yes
name=_"Create enemies for empty sides"
description=_"If off, disables unit creation for sides left empty. Basically untested."
[/checkbox]
[/options]
{ORM_SHRINE_UPGRADE}
[event]
name=turn 1
first_time_only=yes
{PLACE_IMAGE "scenery/temple1.png" 14 12}
[objectives]
silent=yes
note=_ "<big>Victory:</big>
<span foreground='#00ff00'>Defend the shrine until turn 40+6.</span>
<span foreground='#00ff00'>The Shrine of Orocia:</span>
You, like your ancestors before you, have sworn to defend a shrine hidden in a mountain valley. The shrine (stony fields) is a source of mystic power which would be abused by the greedy and unwise. Alas, the secret of the shrine has finally been spread, and it is hidden no more. The greedy horde descends upon you. Can you hold them off?
<span foreground='#00ff00'>Note:</span>
A unit at the shrine could receive an empowerment.
- hp +6, moves +2, damage +2, strike +1, defense +5%
- blade/impact/pierce/fire/cold/arcane resistance +5%
- nothing, zonk (damage -2 or strike -1)
<span foreground='#00ff00'>Scenario/Modification Credits:</span>
- Ravana ( = Laela ): port to 1.10 & further, and ageless units list continual update, many other changes
- ron, nickanc, IPS: additional maps
- Dovolente: original scenario.
- Necromonger (noosel@gmx.de): new scenarios/upgrade types and statistics/random/...
- norbert: port to 1.8 and bug fixes.
- itota: Japanese translations."+"
<span foreground='#00ff00'>Version {OROCIARM_VERSION}</span>"
[/objectives]
#add a hidden leader so players whose leaders die can still play
[unit]
side=1
type="Fencer"
canrecruit=yes
id="Ignore_Bug_Hack"
x=27
y=23
[modifications]
[object]
silent=yes
[effect]
apply_to=new_ability
[abilities]
[hides]
affect_self=yes
[/hides]
[/abilities]
[/effect]
[/object]
[/modifications]
[/unit]
[hide_unit]
x,y=27,23
[/hide_unit]
[/event]
{ORM_LUA_SETUP}
{OROCIARM_MOVEMENT_CHANGE}
{OROCIARM_LOSS_CONDITION}
[event]
name=new turn
first_time_only=yes
{VARIABLE def_value 5}
{VARIABLE zonk_damage 1}
{VARIABLE zonk_mp 1}
{VARIABLE attack_value 1}
{VARIABLE move_value 2}
{VARIABLE damage_value 2}
{VARIABLE hp_value 6}
{VARIABLE res_value 5}
{VARIABLE randomless 1}
[if]
[variable]
name=ORM_random_ageless_waves
equals=no
[/variable]
[then]
[replace_schedule]
{DEFAULT_SCHEDULE}
current_time=2
[/replace_schedule]
[/then]
[/if]
[switch]
variable=ORM_map_setting
[case]
value=ronsmap
[replace_map]
map="{~add-ons/OrociaRandomMod/maps/{VERSION_ID}_OrociaRandomModedited.map}"
[/replace_map]
#ifver VERSION_ID == 2
{OBJ_GOLDEN_ARMOR 14 15 goldarmor1}
{OBJ_GOLDEN_ARMOR 14 9 goldarmor2}
#endif
#ifver VERSION_ID == 3
{OBJ_GOLDEN_ARMOR 11 14 goldarmor1}
{OBJ_GOLDEN_ARMOR 17 14 goldarmor2}
{OBJ_GOLDEN_ARMOR 14 9 goldarmor3}
#endif
#ifver VERSION_ID == 4
{OBJ_GOLDEN_ARMOR 12 15 goldarmor1}
{OBJ_GOLDEN_ARMOR 16 15 goldarmor2}
{OBJ_GOLDEN_ARMOR 16 9 goldarmor3}
{OBJ_GOLDEN_ARMOR 12 9 goldarmor4}
#endif
[/case]
[case]
value=suns
[replace_map]
map="{~add-ons/OrociaRandomMod/maps/{VERSION_ID}_OrociaRandomModDesert.map}"
[/replace_map]
[replace_schedule]
{TWO_SUNS_DEFAULT_SCHEDULE}
[/replace_schedule]
#ifver VERSION_ID == 2
{OBJ_WATER_PRES_CLOAK 14 15 regencloak1 2}
{OBJ_WATER_PRES_CLOAK 14 9 regencloak2 3}
#endif
#ifver VERSION_ID == 3
{OBJ_WATER_PRES_CLOAK 13 13 regencloak1 2}
{OBJ_WATER_PRES_CLOAK 15 13 regencloak2 3}
{OBJ_WATER_PRES_CLOAK 14 11 regencloak3 4}
#endif
#ifver VERSION_ID == 4
{OBJ_WATER_PRES_CLOAK 12 15 regencloak1 2}
{OBJ_WATER_PRES_CLOAK 16 15 regencloak2 3}
{OBJ_WATER_PRES_CLOAK 16 9 regencloak3 4}
{OBJ_WATER_PRES_CLOAK 12 9 regencloak4 5}
#endif
[/case]
[case]
value=swamp
[replace_map]
map="{~add-ons/OrociaRandomMod/maps/{VERSION_ID}_OrociaRandomModSwamp.map}"
[/replace_map]
# override shine array, since usual village spot is also Rr now
# TODO see if can be refactored
[store_locations]
x=1-24
y=1-24
terrain=Rr
variable=shrine_array
[/store_locations]
[/case]
[case]
value=frozen
[replace_map]
map="{~add-ons/OrociaRandomMod/maps/{VERSION_ID}_OrociaRandomModFrozen.map}"
[/replace_map]
{OROCIARM_ICE_WELCOME}
{OROCIARM_ICE_DESTROY}
[/case]
[/switch]
{OROCIARM_DEFILERS_DESTROY}
{OROCIARM_WEAPON_ARSENAL 3 9}
{OROCIARM_WEAPON_ARSENAL 25 9}
[/event]
{OROCIARM_HERO_DIES}
[load_resource]
id=AE_required_events
[/load_resource]
[side]
side=1
controller=ai
no_leader=yes
allow_player=no
scroll_to_leader=no
[ai]
aggression=0.99
caution=0.01
grouping=no
[/ai]
team_name=Defilers
user_team_name= _ "teamname^Defilers"
team_lock=yes
color=red
color_lock=true
village_support=2
fog=no
shroud=no
[/side]