forked from beyond-all-reason/Beyond-All-Reason
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modoptions.lua
1788 lines (1614 loc) · 61.9 KB
/
modoptions.lua
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
-- Custom Options Definition Table format
-- NOTES:
-- using an enumerated table lets you specify the options order
--
-- These keywords must be lowercase for LuaParser to read them.
--
-- key: the string used in the script.txt
-- name: the displayed name
-- desc: the description (could be used as a tooltip)
-- hint: greyed out text that appears in input field when empty
-- type: the option type ('list','string','number','bool')
-- def: the default value
-- min: minimum value for number options
-- max: maximum value for number options
-- step: quantization step, aligned to the def value
-- maxlen: the maximum string length for string options
-- items: array of item strings for list options
-- section: so lobbies can order options in categories/panels
-- scope: 'all', 'player', 'team', 'allyteam' <<< not supported yet >>>
--
local options = {
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Restrictions
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
key = "options_main",
name = "Main",
desc = "",
type = "section",
weight = 7,
},
{
key = "sub_header",
name = "Options for changing base game settings.",
desc = "",
section = "options_main",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_main",
type = "subheader",
def = true,
},
{
key = "ranked_game",
name = "Ranked Game",
desc = "Should game results affect OpenSkill. Note that games with AI or games that are not balanced are always unranked.",
type = "bool",
section = "options_main",
def = true,
},
{
key = "allowuserwidgets",
name = "Allow Custom Widgets",
desc = "Allow custom user widgets or disallow them",
type = "bool",
def = true,
section = "options_main",
},
{
key = "allowpausegameplay",
name = "Allow Commands While Paused",
desc = "Allow giving unit commands while paused",
type = "bool",
def = true,
section = "options_main",
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_main",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "-- Gameplay Settings",
desc = "",
section = "options_main",
type = "subheader",
def = true,
},
{
key = "maxunits",
name = "Max Units Per Player",
desc = "Keep in mind there is an absolute limit of units, 32000, divided between each team. If you set this value higher than possible it will force itself down to the maximum it can be.",
type = "number",
def = 2000,
min = 500,
max = 32000,
step = 1, -- quantization is aligned to the def value, (step <= 0) means that there is no quantization
section = "options_main",
},
{
key = "deathmode",
name = "Game End Mode",
desc = "What it takes to eliminate a team",
type = "list",
def = "com",
section = "options_main",
items = {
{ key= "neverend", name= "Never ending", desc="Teams are never eliminated"},
{ key= "com", name= "Kill all enemy Commanders", desc="When a team has no Commanders left, it loses"},
{ key= "builders", name= "Kill all Builders", desc="When a team has no builders left, it loses" },
{ key= "killall", name= "Kill everything", desc="Every last unit must be eliminated, no exceptions!"},
{ key= "own_com", name= "Player resign on Com death", desc="When player commander dies, you auto-resign."},
}
},
{
key = "draft_mode",
name = "Draft Spawn Order Mode",
desc = "Random/Captain/Skill/Fair based startPosType modes. Default: Random.",
type = "list",
section = "options_main",
def = "random",
items = {
{ key = "disabled", name = "Disabled", desc = "Disable draft mod. Fast-PC place first." },
{ key = "random", name = "Random Order", desc = "Players get to pick a start position with a delay in a random order." },
{ key = "captain", name = "Captains First", desc = "Captain picks first, then everyone else in a random order." },
{ key = "skill", name = "Skill Order", desc = "Skill-based order, instead of random." },
{ key = "fair", name = "After full team has loaded", desc = "Everyone must join the game first - after that (+2sec delay) everyone can place." }
},
},
{
key = "teamcolors_anonymous_mode",
name = "Anonymous Mode",
desc = "Anonymize players by changing colors (based on chosen mode) and replacing names with question marks, making it harder to know who's who.",
type = "list",
section = "options_main",
def = "disabled",
items = {
{ key = "disabled", name = "Disabled" },
{ key = "global", name = "Shuffle Globally", desc = "You can distinguish different players and everyone sees the same colors globally. Diplomacy is the same as usual except using colors instead of names (e.g. \"Red, let's ally against Blue\")." },
{ key = "local", name = "Shuffle Locally", desc = "You can distinguish different players but everyone sees different colors locally. Diplomacy is harder but possible using positions (e.g. \"Southeast, let's ally against Northeast\")." },
{ key = "disco", name = "Shuffle Locally (Continiously)", desc = "Same as local shuffle, except that colors are reshuffled every 2 mins for extra spicyness." },
{ key = "allred", name = "Everyone Is Red", desc = "You cannot distinguish different players, they all have the same color (red by default, can be changed in accessibility settings). Diplomacy is very hard." },
},
},
{
key = "unit_market",
name = "Unit Market",
desc = "Allow players to trade units. (Select unit, press 'For Sale' in order window or say /sell_unit in chat to mark the unit for sale. Double-click to buy from allies. T2cons show up in shop window!)",
type = "bool",
def = false,
section = "options_main",
},
{
key = "transportenemy",
name = "Enemy Transporting",
desc = "Toggle which enemy units you can kidnap with an air transport",
hidden = true,
type = "list",
def = "notcoms",
section = "options_main",
items = {
{ key= "notcoms", name= "All But Commanders", desc= "Only commanders are immune to napping" },
{ key= "none", name= "Disallow All", desc= "No enemy units can be napped" },
}
},
{
key = "teamffa_start_boxes_shuffle",
name = "Shuffle TeamFFA Start Boxes",
desc = "In TeamFFA games (more than 2 teams, excluding Raptors / Scavengers), start boxes will be randomly assigned to each team: team 1 might be assigned any start box rather than team 1 always being assigned start box 1.",
type = "bool",
section = "options_main",
def = true,
},
{
key = "fixedallies",
name = "Disabled Dynamic Alliances",
desc = "Disables the possibility of players to dynamically change alliances ingame",
type = "bool",
def = true,
hidden = true,
section = "options_main",
},
{
key = "disablemapdamage",
name = "Disable Map Deformation",
desc = "Prevents the map shape from being changed by weapons",
type = "bool",
def = false,
section = "options_main",
},
{
key = "disable_fogofwar",
name = "Disable Fog of War",
desc = "Disable Fog of War",
type = "bool",
section = "options_main",
def = false,
},
{
key = "norushtimer",
name = "No Rush Time",
desc = "Set timer in which players cannot get out of their startbox, so you have time to prepare before fighting. PLEASE NOTE: For this to work, the game needs to have set startboxes. It won't work in FFA mode without boxes. Also, it does not affect Scavengers and Raptors.",
type = "number",
section = "options_main",
def = 0,
min = 0,
max = 30,
step = 1,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_main",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "-- Unit Restrictions",
desc = "",
section = "options_main",
type = "subheader",
def = true,
},
{
key = "no_comtrans",
name = "T1 transports cant load commanders",
desc = "Commanders will be too heavy for tech 1 transports to carry. (Tech 2 transports can still carry)",
type = "bool",
section = "options_main",
def = false,
},
{
key = "slow_comtrans",
name = "Slower Transported Commanders",
desc = "Transports carrying commanders are significantly slower, limiting offensive use and reactive mobility",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_notech2",
name = "Disable Tech 2",
desc = "Disable Tech 2",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_notech3",
name = "Disable Tech 3",
desc = "Disable Tech 3",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_noair",
name = "Disable Air Units",
desc = "Disable Air Units",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_noextractors",
name = "Disable Metal Extractors",
desc = "Disable Metal Extractors",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_noconverters",
name = "Disable Energy Converters",
desc = "Disable Energy Converters",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_nonukes",
name = "Disable Nuclear Missiles",
desc = "Disable Nuclear Missiles",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_notacnukes",
name = "Disable Tactical Nukes and EMPs",
desc = "Disable Tactical Nukes and EMPs",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_nolrpc",
name = "Disable Long Range Artilery (LRPC) structures",
desc = "Disable Long Range Artilery (LRPC) structures",
type = "bool",
section = "options_main",
def = false,
},
{
key = "unit_restrictions_noendgamelrpc",
name = "Disable Endgame Long Range Artilery (LRPC) structures (AKA lolcannons)",
desc = "Disable Endgame Long Range Artilery (LRPC) structures (AKA lolcannons)",
type = "bool",
section = "options_main",
def = false,
},
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Other Options
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
key = "options",
name = "Other",
desc = "Options",
type = "section",
},
{
key = "map_tidal",
name = "Tidal Strength",
desc = "Unchanged = map setting, low = 13e/sec, medium = 18e/sec, high = 23e/sec.",
hidden = true,
type = "list",
def = "unchanged",
section = "options",
items = {
{ key = "unchanged", name = "Unchanged", desc = "Use map settings" },
{ key = "low", name = "Low", desc = "Set tidal incomes to 13 energy per second" },
{ key = "medium", name = "Medium", desc = "Set tidal incomes to 18 energy per second" },
{ key = "high", name = "High", desc = "Set tidal incomes to 23 energy per second" },
}
},
{
key = "critters",
name = "Animal amount",
desc = "This multiplier will be applied on the amount of critters a map will end up with",
hidden = true,
type = "number",
section = "options",
def = 1,
min = 0,
max = 2,
step = 0.2,
},
{
key = "map_atmosphere",
name = "Map Atmosphere and Ambient Sounds",
desc = "",
type = "bool",
def = true,
hidden = true,
section = "options",
},
{
key = "ffa_wreckage",
name = "FFA Mode Wreckage",
desc = "Killed players will blow up but leave wreckages",
hidden = true,
type = "bool",
def = false,
section = "options",
},
{
key = "coop",
name = "Cooperative mode",
desc = "Adds extra commanders to id-sharing teams, 1 com per player",
type = "bool",
hidden = true,
def = false,
section = "options",
},
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Multiplier Options
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Raptors
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
key = "raptor_defense_options",
name = "Raptors",
desc = "Various gameplay options that will change how the Raptor Defense is played.",
type = "section",
weight = 4,
},
{
key = "sub_header",
name = "Raptors Gamemode Options.",
desc = "",
section = "raptor_defense_options",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "raptor_defense_options",
type = "subheader",
def = true,
},
{
key = "raptor_difficulty",
name = "Base Difficulty",
desc = "Raptors difficulty",
type = "list",
def = "normal",
section = "raptor_defense_options",
items = {
{ key = "veryeasy", name = "Very Easy", desc="Very Easy" },
{ key = "easy", name = "Easy", desc="Easy" },
{ key = "normal", name = "Normal", desc="Normal" },
{ key = "hard", name = "Hard", desc="Hard" },
{ key = "veryhard", name = "Very Hard", desc="Very Hard" },
{ key = "epic", name = "Epic", desc="Epic" },
}
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "raptor_defense_options",
type = "subheader",
def = true,
},
{
key = "raptor_raptorstart",
name = "Hives Placement",
desc = "Control where hives spawn",
type = "list",
def = "initialbox",
section = "raptor_defense_options",
items = {
{ key = "avoid", name = "Avoid Players", desc = "Hives avoid player units" },
{ key = "initialbox", name = "Initial Start Box", desc = "First wave spawns in raptor start box, following hives avoid players" },
{ key = "alwaysbox", name = "Always Start Box", desc = "Hives always spawn in raptor start box" },
}
},
{
key = "raptor_endless",
name = "Endless Mode",
desc = "When you kill the queen, the game doesn't end, but loops around at higher difficulty instead, infinitely.",
type = "bool",
def = false,
section = "raptor_defense_options",
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "raptor_defense_options",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "-- Advanced Options, Change at your own risk.",
desc = "",
section = "raptor_defense_options",
type = "subheader",
def = true,
},
{
key = "raptor_queentimemult",
name = "Queen Hatching Time Multiplier",
desc = "(Range: 0.1 - 2). How quickly Queen Hatch goes from 0 to 100%",
type = "number",
def = 1,
min = 0.1,
max = 2,
step = 0.1,
section = "raptor_defense_options",
},
{
key = "raptor_spawncountmult",
name = "Unit Spawn Per Wave Multiplier",
desc = "(Range: 1 - 5). How many times more raptors will spawn per wave.",
type = "number",
def = 1,
min = 1,
max = 5,
step = 1,
section = "raptor_defense_options",
},
{
key = "raptor_firstwavesboost",
name = "First Waves Size Boost",
desc = "(Range: 1 - 10). Intended to use with heavily modified settings. Makes first waves larger, the bigger the number the larger they are. Cools down within first few waves.",
type = "number",
def = 1,
min = 1,
max = 10,
step = 1,
section = "raptor_defense_options",
},
{
key = "raptor_spawntimemult",
name = "Waves Amount Multiplier",
desc = "(Range: 1 - 5). How often new waves will spawn. Bigger Number = More Waves",
type = "number",
def = 1,
min = 1,
max = 5,
step = 0.1,
section = "raptor_defense_options",
},
{
key = "raptor_graceperiodmult",
name = "Grace Period Time Multiplier",
desc = "(Range: 0.1 - 3). Time before Raptors become active. ",
type = "number",
def = 1,
min = 0.1,
max = 3,
step = 0.1,
section = "raptor_defense_options",
},
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Scavengers
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
key = "scav_defense_options",
name = "Scavengers",
desc = "Gameplay options for Scavengers gamemode",
type = "section",
weight = 3,
},
{
key = "sub_header",
name = "Scavengers Gamemode Options.",
desc = "",
section = "scav_defense_options",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "scav_defense_options",
type = "subheader",
def = true,
},
{
key = "scav_difficulty",
name = "Base Difficulty",
desc = "Scavs difficulty",
type = "list",
def = "normal",
section = "scav_defense_options",
items = {
{ key = "veryeasy", name = "Very Easy", desc = "Very Easy" },
{ key = "easy", name = "Easy", desc = "Easy" },
{ key = "normal", name = "Normal", desc = "Normal" },
{ key = "hard", name = "Hard", desc = "Hard" },
{ key = "veryhard", name = "Very Hard", desc = "Very Hard" },
{ key = "epic", name = "Epic", desc = "Epic" },
}
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "scav_defense_options",
type = "subheader",
def = true,
},
{
key = "scav_scavstart",
name = "Spawn Beacons Placement",
desc = "Control where spawners appear",
type = "list",
def = "avoid",
section = "scav_defense_options",
items = {
{ key = "avoid", name = "Avoid Players", desc="Beacons avoid player units" },
{ key = "initialbox", name = "Initial Start Box", desc="First wave spawns in scav start box, following beacons avoid players" },
{ key = "alwaysbox", name = "Always Start Box", desc="Beacons always spawn in scav start box" },
}
},
{
key = "scav_endless",
name = "Endless Mode",
desc = "When you kill the boss, the game doesn't end, but loops around at higher difficulty instead, infinitely.",
type = "bool",
def = false,
section = "scav_defense_options",
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "scav_defense_options",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "-- Advanced Options, Change at your own risk.",
desc = "",
section = "scav_defense_options",
type = "subheader",
def = true,
},
{
key = "scav_bosstimemult",
name = "Boss Preparation Time Multiplier",
desc = "(Range: 0.1 - 2). How quickly Boss Anger goes from 0 to 100%.",
type = "number",
def = 1,
min = 0.1,
max = 2,
step = 0.1,
section = "scav_defense_options",
},
{
key = "scav_spawncountmult",
name = "Unit Spawn Per Wave Multiplier",
desc = "(Range: 1 - 5). How many times more scavs will spawn per wave.",
type = "number",
def = 1,
min = 1,
max = 5,
step = 1,
section = "scav_defense_options",
},
{
key = "scav_spawntimemult",
name = "Waves Amount Multiplier",
desc = "(Range: 1 - 5). How often new waves will spawn. Bigger Number = More Waves",
type = "number",
def = 1,
min = 1,
max = 5,
step = 0.1,
section = "scav_defense_options",
},
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Extra Options
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{
key = "options_extra",
name = "Extras",
desc = "Extra options",
type = "section",
weight = 2,
},
{
key = "sub_header",
name = "Extra options for shaking up the gameplay or balancing. Not intended for ranked games.",
desc = "",
section = "options_extra",
type = "subheader",
def = true,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_extra",
type = "subheader",
def = true,
},
--{
-- key = "xmas",
-- name = "Holiday decorations",
-- desc = "Various holiday decorations",
-- type = "bool",
-- def = true,
-- section = "options_extra",
--},
-- {
-- key = "unithats",
-- name = "Unit Hats",
-- desc = "Unit Hats, for the current season",
-- type = "list",
-- def = "disabled",
-- items = {
-- { key = "disabled", name = "Disabled" },
-- { key = "april", name = "Silly", desc = "An assortment of foolish and silly hats >:3" },
-- },
-- section = "options_extra",
-- },
--{
-- key = "easter_egg_hunt",
-- name = "Easter Eggs Hunt",
-- desc = "Easter Eggs are spawned around the map! Time to go on an Easter Egg hunt! (5 metal 50 energy per)",
-- type = "bool",
-- def = false,
-- section = "options_extra",
--},
{
key = "experimentalextraunits",
name = "Extra Units Pack",
desc = "Formerly known as Scavenger units. Addon pack of units for Armada and Cortex, including various \"fun\" units",
type = "bool",
section = "options_extra",
def = false,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_extra",
type = "subheader",
def = true,
},
{
key = "map_waterlevel",
name = "Water Level",
desc = "Doesn't work if Map Deformation is disabled! <0 = Decrease water level, >0 = Increase water level",
type = "number",
def = 0,
min = -10000,
max = 10000,
step = 1,
section = "options_extra",
},
{
key = "map_waterislava",
name = "Water Is Lava",
desc = "Turns water into Lava",
type = "bool",
def = false,
section = "options_extra",
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_extra",
type = "subheader",
def = true,
},
{
key = "ruins",
name = "Ruins",
desc = "Remains of the battles once fought",
type = "list",
def = "scav_only",
section = "options_extra",
items = {
{ key = "enabled", name = "Enabled" },
{ key = "scav_only", name = "Enabled for Scavengers only" },
{ key = "disabled", name = "Disabled" },
}
},
{
key = "ruins_density",
name = "Ruins: Density",
type = "list",
def = "normal",
section = "options_extra",
items = {
{ key = "verydense", name = "Very Dense" },
{ key = "dense", name = "Dense" },
{ key = "normal", name = "Normal" },
{ key = "rare", name = "Rare" },
{ key = "veryrare", name = "Very Rare" },
}
},
{
key = "ruins_only_t1",
name = "Ruins: Only Tech 1",
type = "bool",
def = false,
section = "options_extra",
},
{
key = "ruins_civilian_disable",
name = "Ruins: Disable Civilian (Not Implemented Yet)",
type = "bool",
def = false,
section = "options",
hidden = true,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_extra",
type = "subheader",
def = true,
},
{
key = "lootboxes",
name = "Lootboxes",
desc = "Random drops of valuable stuff.",
type = "list",
def = "scav_only",
section = "options_extra",
items = {
{ key = "enabled", name = "Enabled" },
{ key = "scav_only", name = "Enabled for Scavengers only" },
{ key = "disabled", name = "Disabled" },
}
},
{
key = "lootboxes_density",
name = "Lootboxes: Density",
type = "list",
def = "normal",
section = "options_extra",
items = {
{ key = "normal", name = "Normal" },
{ key = "rare", name = "Rare" },
{ key = "veryrare", name = "Very Rare" },
}
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_extra",
type = "subheader",
def = true,
},
{
key = "evocom",
name = "Evolving Commanders Enabled",
desc = "Commanders evolve, gaining new weapons and abilities.",
type = "bool",
def = false,
section = "options_extra",
},
{
key = "evocomlevelupmethod",
name = "Evolving Commanders: Leveling Method",
desc = "Dynamic: Commanders evolve to keep up with the highest power player. Timed: Static Evolution Rate",
type = "list",
def = "dynamic",
section = "options_extra",
items = {
{ key = "dynamic", name = "Dynamic" },
{ key = "timed", name = "Timed" },
}
},
{
key = "evocomlevelcap",
name = "Evolving Commanders: Max Level",
desc = "(Range 2 - 10) Changes the Evolving Commanders maximum level",
type = "number",
section = "options_extra",
def = 10,
min = 2,
max = 10,
step = 1,
},
{
key = "evocomxpmultiplier",
name = "Evolving Commanders: Commander XP Multiplier - Does not affect leveling!",
desc = "(Range 0.1 - 10) Changes the rate at which Evolving Commanders gain Experience.",
type = "number",
section = "options_extra",
def = 1,
min = 0.1,
max = 10,
step = 0.1,
},
{
key = "evocomleveluprate",
name = "Evolving Commanders - Timed Only - Evolution Timer.",
desc = "(Range 0.1 - 20 Minutes) Rate at which commanders will evolve if Timed method is selected.",
type = "number",
section = "options_extra",
def = 5,
min = 0.1,
max = 20,
step = 0.1,
},
{
key = "sub_header",
name = "----------------------------------------------------------------------------------------------------------------------------------------",
desc = "",
section = "options_extra",
type = "subheader",
def = true,
},
{
key = "comrespawn",
name = "Commander Respawning",
desc = "Commanders can build one Effigy. The first one is free and given for you at the start. When the commander dies, the Effigy is sacrificed in its place.",
type = "list",
def = "evocom",
section = "options_extra",
items = {