Repository navigation
Expand file tree
/
Copy pathModOptions.lua
More file actions
177 lines (172 loc) · 5.49 KB
/
Copy pathModOptions.lua
File metadata and controls
177 lines (172 loc) · 5.49 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
local options= {
{
key = 'startingresources',
name = 'Starting Resources',
desc = 'Sets storage and amount of resources that players will start with',
type = 'section',
},
{
key = 'startmetal',
name = 'Starting Metal',
desc = 'Determines amount of metal and metal storage that each player will start with',
type = 'number',
section= 'startingresources',
def = 100,
min = 0,
max = 1000,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'startenergy',
name = 'Starting Energy',
desc = 'Determines amount of energy and energy storage that each player will start with',
type = 'number',
section= 'startingresources',
def = 250,
min = 0,
max = 1000,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'gameplayoptions',
name = 'Gameplay Options',
desc = 'Sets storage and amount of resources that players will start with',
type = 'section',
},
{
key="gameplayspeed",
name="Gameplay Speed",
desc="Modifies buildtimes based upon cost",
type="list",
def="faster",
section="gameplayoptions",
items={
{key="normal", name="Normal", desc="Unit buildtimes are equal to their metal cost"},
{key="fast", name="Fast", desc="Unit buildtimes are equal to their metal cost divided by 2"},
{key="faster", name="Faster", desc="Unit buildtimes are equal to their metal cost divided by 4"},
{key="fastest", name="Fastest", desc="All units have a buildtime of 5 seconds"},
}
},
{
key="aidifficulty",
name="AI Difficulty",
desc="Modifies how much Shard cheats",
type="list",
def="veryeasy",
section="gameplayoptions",
items={
{key="veryeasy", name="Very Easy", desc="AI gets a gift of 5 metal every 5 seconds and a static 5 energy income."},
{key="easy", name="Easy", desc="AI gets a gift of 10 metal every 5 seconds and a static 10 energy income."},
{key="medium", name="Medium", desc="AI gets a gift of 25 metal every 5 seconds and a static 25 energy income."},
{key="hard", name="Hard", desc="AI gets a gift of 50 metal every 5 seconds and a static 50 energy income."},
{key="insane", name="Insane", desc="AI gets a gift of 100 metal every 5 seconds and a static 100 energy income."},
}
},
{
key="scoremode",
name="Scoring Mode (Control Victory Points)",
desc="Defines how the game is played",
type="list",
def="countdown",
section="gameplayoptions",
items={
{key="disabled", name="Disabled", desc="Disable Control Points as a victory condition."},
{key="countdown", name="Countdown", desc="A Control Point decreases all opponents' scores, zero means defeat."},
{key="tugowar", name="Tug of War", desc="A Control Point steals enemy score, zero means defeat."},
{key="multidomination", name="Domination", desc="Holding all Control Points will grant 1000 score, first to reach the score limit wins."},
}
},
{
key = 'controlvictoryoptions',
name = 'Control Victory Options',
desc = 'Allows you to control at a granular level the individual options for Control Point Victory',
type = 'section',
},
{
key = 'limitscore',
name = 'Total Score',
desc = 'Total score amount available.',
type = 'number',
section= 'controlvictoryoptions',
def = 3500,
min = 500,
max = 5000,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'captureradius',
name = 'Capture Radius',
desc = 'Radius around a point in which to capture it.',
type = 'number',
section= 'controlvictoryoptions',
def = 500,
min = 100,
max = 1000,
step = 25, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'capturetime',
name = 'Capture Time',
desc = 'Time to capture a point.',
type = 'number',
section= 'controlvictoryoptions',
def = 30,
min = 1,
max = 60,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'capturebonus',
name = 'Capture Bonus',
desc = 'How much faster capture takes place by adding more units.',
type = 'number',
section= 'controlvictoryoptions',
def = 0.5,
min = 0,
max = 10,
step = 0.1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'decapspeed',
name = 'De-Cap Speed',
desc = 'Speed multiplier for neutralizing an enemy point.',
type = 'number',
section= 'controlvictoryoptions',
def = 3,
min = 0.1,
max = 10,
step = 0.1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'starttime',
name = 'Start Time',
desc = 'The time when capturing can start.',
type = 'number',
section= 'controlvictoryoptions',
def = 0,
min = 0,
max = 300,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'dominationscoretime',
name = 'Domination Score Time',
desc = 'Time needed holding all points to score in multi domination.',
type = 'number',
section= 'controlvictoryoptions',
def = 30,
min = 1,
max = 60,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
}
return options