-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathmodoptions.lua
288 lines (286 loc) · 7.41 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
local options = {
{
key = "StartingResources",
name = "Starting Resources",
desc = "Sets storage and amount of resources that players will start with",
type = "section",
},
{
key = "ta_exp",
name = "Tech Annihilation - Experimental Options",
desc = "Tech Annihilation - Experimental Options",
type = "section",
},
{
key = "ta_modes",
name = "Tech Annihilation - Game Modes",
desc = "Tech Annihilation - Game Modes",
type = "section",
},
{
key = "ta_options",
name = "Tech Annihilation - Options",
desc = "Tech Annihilation - Options",
type = "section",
},
{
key = "ta_wall_options",
name = "Tech Annihilation - Wall Options",
desc = "Tech Annihilation - Wall Options",
type = "section",
},
{
key = "startenergy",
name = "Starting energy",
desc = "Determines amount of energy and energy storage that each player will start with\nAutoHost Usage :- startenergy",
type = "number",
section = "StartingResources",
def = 1000,
min = 0,
--max = 1000000,
step = 1,
},
{
key = "startmetal",
name = "Starting metal",
desc = "Determines amount of metal and metal storage that each player will start with\nAutoHost Usage :- startmetal",
type = "number",
section = "StartingResources",
def = 1000,
min = 0,
--max = 1000000,
step = 1,
},
{
key = "deathmode",
name = "Game End Mode",
desc = "What it takes to eliminate a team\nAutoHost Usage :- deathmode",
type = "list",
def = "com",
section = "ta_modes",
items = {
{
key = "none",
name = "None",
desc = "Teams are never eliminated"
},
{
key = "com",
name = "Kill all enemy Commanders",
desc = "When a team has no Commanders left, it loses"
},
{
key = "own_com",
name = "Player resign on Com deat",
desc = "When player commander dies, you auto-resign."
},
{
key = "killall",
name = "Kill everything",
desc = "Every last unit must be eliminated, no exceptions!"
},
}
},
-- {
-- key = "mo_coop",
-- name = "Cooperative Mode",
-- desc = "Adds an extra commander for comsharing teams\nAutoHost Usage :- mo_coop",
-- type = "bool",
-- def = false,
-- section = "ta_modes",
-- },
{
key = "mo_greenfields",
name = "No Metal Extraction",
desc = "No metal extraction on any map\nAutoHost Usage :- mo_greenfields",
type = "bool",
def = false,
section = "ta_modes",
},
{
key = "mo_noowner",
name = "FFA Mode",
desc = "Units with no player control are instantly removed/destroyed\nAutoHost Usage :- mo_noowner",
type = "bool",
def = false,
section = "ta_modes",
},
{
key = "mo_preventcombomb",
name = "Prevent Combombs",
desc = "Commanders survive DGuns and other commanders explosions\nAutoHost Usage :- mo_preventcombomb",
type = "list",
section = "ta_modes",
def = "off",
items = {
{
key = "hp",
name = "Health",
desc = "Commander with greatest hp survives comblast"
},
{
key = "1v1",
name = "1v1",
desc = "Default Setting for 1v1 games"
},
{
key = "off",
name = "Off",
desc = "Default engine Control"
},
}
},
{
key = "shareddynamicalliancevictory",
name = "Dynamic Ally Victory",
desc = "Ingame alliance should count for game over condition\nAutoHost Usage :- shareddynamicalliancevictory",
type = "bool",
def = false,
section = "ta_modes",
},
{
key = "mo_noshare",
name = "Disable ally sharing",
desc = "Will disable sharing to allies - units and resources\nAutoHost Usage :- mo_noshare",
type = "bool",
def = false,
section = "ta_modes",
},
{
key = "mo_comgate",
name = "Commander Teleport Effect",
desc = "Commanders warp in at gamestart with a shiny teleport effect\nAutoHost Usage :- mo_comgate",
type = "bool",
def = false,
section = "ta_options",
},
-- {
-- key = "mo_dynamic",
-- name = "Dynamic Lighting",
-- desc = "Toggles Dynamic lighing on or off\nAutoHost Usage :- mo_dynamic",
-- type = "bool",
-- def = true,
-- section = "ta_options",
-- },
{
key = "mo_enemywrecks",
name = "Show Enemy Wrecks",
desc = "Gives you LOS of enemy wreckage\nAutoHost Usage :- mo_enemywrecks",
type = "bool",
def = true,
section = "ta_options",
},
{
key = "mo_nanoframedecay",
name = "Disable nana frame decay",
desc = "Stop nanoframe decaying over time\nAutoHost Usage :- mo_nanoframedecay",
type = "bool",
def = false,
section = "ta_options",
},
{
key = "mo_no_close_spawns",
name = "No close spawns",
desc = "Prevents players startpoints being placed close together (on large enough maps)\nAutoHost Usage :- mo_no_close_spawns",
type = "bool",
def = true,
section = "ta_options",
},
{
key = "mo_nowrecks",
name = "No Unit Wrecks",
desc = "Removes all unit wrecks from the game\nAutoHost Usage :- mo_nowrecks",
type = "bool",
def = false,
section = "ta_options",
},
{
key = "mo_preventdraw",
name = "Commander Ends No Draw",
desc = "Last Com alive is immune to comblast, D-gunning the last enemy Com with your last Com disqualifies you\nAutoHost Usage :- mo_preventdraw",
type = "bool",
def = false,
section = "ta_options",
},
{
key = "mo_startpoint_assist",
name = "Startpoint Assist",
desc = "Chooses sensible starting places for players/AIs who forgot to choose a startpoint for themselves\nAutoHost Usage :- mo_startpoint_assist",
type = "bool",
def = false,
section = "ta_options",
},
{
key = "mo_comtranslock",
name = "Locktime for Commanders in Transport's",
desc = "Sets time lock for Transport of own Commanders\nAutoHost Usage :- comtranslock",
section = "ta_options",
type = "number",
def = 0,
min = 0,
max = 25,
step = 1,
},
{
key = "mo_storageowner",
name = "Team Storage Owner",
desc = "What owns the starting resource storage\nAutoHost Usage :- mo_storageowner",
type = "list",
def = "team",
section = "ta_options",
items = {
{
key = "com",
name = "Commander",
desc = "Starting resource storage belongs to commander, is lost when commander dies"
},
{
key = "team",
name = "Team",
desc = "Starting resource storage belongs to the team, cannot be lost"
},
}
},
{
key = "exp_flankdefaultmin",
name = "Min flanking bonus",
desc = "Multiplier for min flanking bonus",
section = "ta_exp",
type = "number",
def = 0.9,
min = 0,
max = 2,
step = 0.01,
},
{
key = "exp_flankdefaultmax",
name = "Max flanking bonus",
desc = "Multiplier for max flanking bonus",
section = "ta_exp",
type = "number",
def = 1.9,
min = 0,
max = 20,
step = 0.01,
},
{
key = "exp_spamlimit",
name = "Spam Limit",
desc = "Monitors unit mass production and adjusts build time.",
type = "bool",
def = false,
section = "ta_exp",
},
{
key = "expscaleenabled",
name = "Experience health/power/reload scaling",
desc = "",
type = "number",
def = 1,
min = 0,
max = 1,
step = 1,
section = "ta_exp",
},
}
return options