| 1 |
file structure:
|
1 |
file structure:
|
| 2 |
\n
|
2 |
\n
|
| 3 |
[spoiler]
|
3 |
[spoiler]
|
| 4 |
\n
|
4 |
\n
|
| 5 |
{{{
|
5 |
{{{
|
| 6 |
\n
|
6 |
\n
|
| 7 |
Steam\steamapps\common\Zero-K\games\greed_2.sdz\modinfo.lua
|
7 |
Steam\steamapps\common\Zero-K\games\greed_2.sdz\modinfo.lua
|
| 8 |
Steam\steamapps\common\Zero-K\games\greed_2.sdz\gamedata\UnitDefs_post.lua
|
8 |
Steam\steamapps\common\Zero-K\games\greed_2.sdz\gamedata\UnitDefs_post.lua
|
| 9 |
\n
|
9 |
\n
|
| 10 |
}}}
|
10 |
}}}
|
| 11 |
\n
|
11 |
\n
|
| 12 |
[/spoiler]
|
12 |
[/spoiler]
|
| 13 |
\n
|
13 |
\n
|
| 14 |
modinfo:
|
14 |
modinfo:
|
| 15 |
\n
|
15 |
\n
|
| 16 |
[spoiler]
|
16 |
[spoiler]
|
| 17 |
\n
|
17 |
\n
|
| 18 |
{{{
|
18 |
{{{
|
| 19 |
\n
|
19 |
\n
|
| 20 |
return {
|
20 |
return {
|
| 21 |
name = 'greed version 2',
|
21 |
name = 'greed version 2',
|
| 22 |
description = 'Tech up with: Constructor -> Athena -> Funnelweb -> Strider Hub.',
|
22 |
description = 'Tech up with: Constructor -> Athena -> Funnelweb -> Strider Hub.',
|
| 23 |
shortname = 'greed_2',
|
23 |
shortname = 'greed_2',
|
| 24 |
version = 'v2.0.0',
|
24 |
version = 'v2.0.0',
|
| 25 |
mutator = '1',
|
25 |
mutator = '1',
|
| 26 |
game = '',
|
26 |
game = '',
|
| 27 |
shortGame = '',
|
27 |
shortGame = '',
|
| 28 |
modtype = 1,
|
28 |
modtype = 1,
|
| 29 |
depend = {
|
29 |
depend = {
|
| 30 |
[[rapid://zk:stable]]
|
30 |
[[rapid://zk:stable]]
|
| 31 |
},
|
31 |
},
|
| 32 |
modoptions = {
|
32 |
modoptions = {
|
| 33 |
equalcom = "off",
|
33 |
equalcom = "off",
|
| 34 |
energymult = 20,
|
34 |
energymult = 20,
|
| 35 |
innateenergy = 5,
|
35 |
innateenergy = 5,
|
| 36 |
terracostmult = 2,
|
36 |
terracostmult = 2,
|
| 37 |
innatemetal = 5,
|
37 |
innatemetal = 5,
|
| 38 |
noelo = 1,
|
38 |
noelo = 1,
|
| 39 |
shield_merge = "partial_penetrate",
|
39 |
shield_merge = "partial_penetrate",
|
| 40 |
},
|
40 |
},
|
| 41 |
}
|
41 |
}
|
| 42 |
\n
|
42 |
\n
|
| 43 |
}}}
|
43 |
}}}
|
| 44 |
\n
|
44 |
\n
|
| 45 |
[/spoiler]
|
45 |
[/spoiler]
|
| 46 |
\n
|
46 |
\n
|
| 47 |
UnitDefs_post.lua:
|
47 |
UnitDefs_post.lua:
|
| 48 |
\n
|
48 |
\n
|
| 49 |
[spoiler]
|
49 |
[spoiler]
|
| 50 |
\n
|
50 |
\n
|
| 51 |
unit tweaks:
|
51 |
unit tweaks:
|
| 52 |
\n
|
52 |
\n
|
| 53 |
[spoiler]
|
53 |
[spoiler]
|
| 54 |
\n
|
54 |
\n
|
| 55 |
{{{
|
55 |
{{{
|
| 56 |
\n
|
56 |
\n
|
| 57 |
local tweaks = {
|
57 |
local tweaks = {
|
| 58 |
staticantinuke = {
|
58 |
staticantinuke = {
|
| 59 |
metalCost = 6000,
|
59 |
metalCost = 6000,
|
| 60 |
},
|
60 |
},
|
| 61 |
cloakbomb = {
|
61 |
cloakbomb = {
|
| 62 |
speed = 189,
|
62 |
speed = 189,
|
| 63 |
},
|
63 |
},
|
| 64 |
turretimpulse = {
|
64 |
turretimpulse = {
|
| 65 |
health = 3000,
|
65 |
health = 3000,
|
| 66 |
},
|
66 |
},
|
| 67 |
turretheavy = {
|
67 |
turretheavy = {
|
| 68 |
health = 20000,
|
68 |
health = 20000,
|
| 69 |
},
|
69 |
},
|
| 70 |
subtacmissile = {
|
70 |
subtacmissile = {
|
| 71 |
metalCost = 125,
|
71 |
metalCost = 125,
|
| 72 |
customParams = {
|
72 |
customParams = {
|
| 73 |
stockpilecost = [[0]],
|
73 |
stockpilecost = [[0]],
|
| 74 |
},
|
74 |
},
|
| 75 |
},
|
75 |
},
|
| 76 |
shipcarrier = {
|
76 |
shipcarrier = {
|
| 77 |
canCloak = 1,
|
77 |
canCloak = 1,
|
| 78 |
cloakCost = 0,
|
78 |
cloakCost = 0,
|
| 79 |
cloakCostMoving = 0,
|
79 |
cloakCostMoving = 0,
|
| 80 |
initCloaked = true,
|
80 |
initCloaked = true,
|
| 81 |
minCloakDistance = 60,
|
81 |
minCloakDistance = 60,
|
| 82 |
customParams = {
|
82 |
customParams = {
|
| 83 |
stockpilecost = [[0]],
|
83 |
stockpilecost = [[0]],
|
| 84 |
pad_bp = 400,
|
84 |
pad_bp = 400,
|
| 85 |
},
|
85 |
},
|
| 86 |
weaponDefs = {
|
86 |
weaponDefs = {
|
| 87 |
DISARM_ROCKET = {
|
87 |
DISARM_ROCKET = {
|
| 88 |
damage = {
|
88 |
damage = {
|
| 89 |
default = 30000,
|
89 |
default = 30000,
|
| 90 |
},
|
90 |
},
|
| 91 |
},
|
91 |
},
|
| 92 |
},
|
92 |
},
|
| 93 |
},
|
93 |
},
|
| 94 |
dronefighter = {
|
94 |
dronefighter = {
|
| 95 |
health = 800,
|
95 |
health = 800,
|
| 96 |
idleAutoHeal = 200,
|
96 |
idleAutoHeal = 200,
|
| 97 |
idleTime = 0,
|
97 |
idleTime = 0,
|
| 98 |
weaponDefs = {
|
98 |
weaponDefs = {
|
| 99 |
LASER = {
|
99 |
LASER = {
|
| 100 |
damage = {
|
100 |
damage = {
|
| 101 |
default = 330,
|
101 |
default = 330,
|
| 102 |
},
|
102 |
},
|
| 103 |
},
|
103 |
},
|
| 104 |
},
|
104 |
},
|
| 105 |
},
|
105 |
},
|
| 106 |
dronecarry = {
|
106 |
dronecarry = {
|
| 107 |
canCloak = 1,
|
107 |
canCloak = 1,
|
| 108 |
cloakCost = 0,
|
108 |
cloakCost = 0,
|
| 109 |
cloakCostMoving = 0,
|
109 |
cloakCostMoving = 0,
|
| 110 |
initCloaked = true,
|
110 |
initCloaked = true,
|
| 111 |
minCloakDistance = 60,
|
111 |
minCloakDistance = 60,
|
| 112 |
},
|
112 |
},
|
| 113 |
nebula = {
|
113 |
nebula = {
|
| 114 |
canManualFire = true,
|
114 |
canManualFire = true,
|
| 115 |
health = 10000,
|
115 |
health = 10000,
|
| 116 |
metalCost = 25000,
|
116 |
metalCost = 25000,
|
| 117 |
weapons = {
|
117 |
weapons = {
|
| 118 |
{
|
118 |
{
|
| 119 |
def = [[OBLITERATION_BLASTER]],
|
119 |
def = [[OBLITERATION_BLASTER]],
|
| 120 |
badTargetCategory = [[FIXEDWING, GUNSHIP]],
|
120 |
badTargetCategory = [[FIXEDWING, GUNSHIP]],
|
| 121 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER FIXEDWING GUNSHIP]],
|
121 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER FIXEDWING GUNSHIP]],
|
| 122 |
},
|
122 |
},
|
| 123 |
},
|
123 |
},
|
| 124 |
weaponDefs = {
|
124 |
weaponDefs = {
|
| 125 |
OBLITERATION_BLASTER = {
|
125 |
OBLITERATION_BLASTER = {
|
| 126 |
name = [[Obliteration Blaster]],
|
126 |
name = [[Obliteration Blaster]],
|
| 127 |
areaOfEffect = 800,
|
127 |
areaOfEffect = 800,
|
| 128 |
avoidFeature = false,
|
128 |
avoidFeature = false,
|
| 129 |
avoidFriendly = true,
|
129 |
avoidFriendly = true,
|
| 130 |
avoidGround = false,
|
130 |
avoidGround = false,
|
| 131 |
avoidNeutral = false,
|
131 |
avoidNeutral = false,
|
| 132 |
burst = 16,
|
132 |
burst = 16,
|
| 133 |
burstRate = 0.1 + 1/10,
|
133 |
burstRate = 0.1 + 1/10,
|
| 134 |
coreThickness = 2.5,
|
134 |
coreThickness = 2.5,
|
| 135 |
craterBoost = 12,
|
135 |
craterBoost = 12,
|
| 136 |
craterMult = 28,
|
136 |
craterMult = 28,
|
| 137 |
commandFire = true,
|
137 |
commandFire = true,
|
| 138 |
customParams = {
|
138 |
customParams = {
|
| 139 |
light_radius = 380,
|
139 |
light_radius = 380,
|
| 140 |
light_color = [[0.5 0.95 0]],
|
140 |
light_color = [[0.5 0.95 0]],
|
| 141 |
gatherradius = [[192]],
|
141 |
gatherradius = [[192]],
|
| 142 |
smoothradius = [[128]],
|
142 |
smoothradius = [[128]],
|
| 143 |
smoothmult = [[0.7]],
|
143 |
smoothmult = [[0.7]],
|
| 144 |
smoothexponent = [[0.8]],
|
144 |
smoothexponent = [[0.8]],
|
| 145 |
smoothheightoffset = [[22]],
|
145 |
smoothheightoffset = [[22]],
|
| 146 |
},
|
146 |
},
|
| 147 |
damage = {
|
147 |
damage = {
|
| 148 |
default = 2400.1,
|
148 |
default = 2400.1,
|
| 149 |
},
|
149 |
},
|
| 150 |
duration = 0.05,
|
150 |
duration = 0.05,
|
| 151 |
edgeEffectiveness = 0.5,
|
151 |
edgeEffectiveness = 0.5,
|
| 152 |
explosionGenerator = [[custom:slam]],
|
152 |
explosionGenerator = [[custom:slam]],
|
| 153 |
fallOffRate = 0.1,
|
153 |
fallOffRate = 0.1,
|
| 154 |
fireStarter = 10,
|
154 |
fireStarter = 10,
|
| 155 |
impulseFactor = 0,
|
155 |
impulseFactor = 0,
|
| 156 |
interceptedByShieldType = 1,
|
156 |
interceptedByShieldType = 1,
|
| 157 |
lodDistance = 10000,
|
157 |
lodDistance = 10000,
|
| 158 |
range = 3000,
|
158 |
range = 3000,
|
| 159 |
reloadtime = 10,
|
159 |
reloadtime = 10,
|
| 160 |
rgbColor = [[0.6 0 1]],
|
160 |
rgbColor = [[0.6 0 1]],
|
| 161 |
rgbColor2 = [[0.5 0.1 0.2]],
|
161 |
rgbColor2 = [[0.5 0.1 0.2]],
|
| 162 |
sprayAngle = 400,
|
162 |
sprayAngle = 400,
|
| 163 |
soundHit = [[explosion/mini_nuke]],
|
163 |
soundHit = [[explosion/mini_nuke]],
|
| 164 |
soundStart = [[PulseLaser]],
|
164 |
soundStart = [[PulseLaser]],
|
| 165 |
soundTrigger = false,
|
165 |
soundTrigger = false,
|
| 166 |
sweepfire = false,
|
166 |
sweepfire = false,
|
| 167 |
texture1 = [[largelaser_long]],
|
167 |
texture1 = [[largelaser_long]],
|
| 168 |
texture2 = [[flare]],
|
168 |
texture2 = [[flare]],
|
| 169 |
texture3 = [[largelaser_long]],
|
169 |
texture3 = [[largelaser_long]],
|
| 170 |
texture4 = [[largelaser_long]],
|
170 |
texture4 = [[largelaser_long]],
|
| 171 |
thickness = 12,
|
171 |
thickness = 12,
|
| 172 |
tolerance = 1000,
|
172 |
tolerance = 1000,
|
| 173 |
turret = true,
|
173 |
turret = true,
|
| 174 |
weaponType = [[LaserCannon]],
|
174 |
weaponType = [[LaserCannon]],
|
| 175 |
weaponVelocity = 3000,
|
175 |
weaponVelocity = 3000,
|
| 176 |
},
|
176 |
},
|
| 177 |
CANNON = {
|
177 |
CANNON = {
|
| 178 |
damage = {
|
178 |
damage = {
|
| 179 |
default = 400,
|
179 |
default = 400,
|
| 180 |
},
|
180 |
},
|
| 181 |
range = 2000,
|
181 |
range = 2000,
|
| 182 |
},
|
182 |
},
|
| 183 |
SHIELD = {
|
183 |
SHIELD = {
|
| 184 |
shieldPower = 36000,
|
184 |
shieldPower = 36000,
|
| 185 |
shieldPowerRegen = 1000,
|
185 |
shieldPowerRegen = 1000,
|
| 186 |
shieldRadius = 450,
|
186 |
shieldRadius = 450,
|
| 187 |
},
|
187 |
},
|
| 188 |
},
|
188 |
},
|
| 189 |
},
|
189 |
},
|
| 190 |
tacnuke = {
|
190 |
tacnuke = {
|
| 191 |
weaponDefs = {
|
191 |
weaponDefs = {
|
| 192 |
WEAPON = {
|
192 |
WEAPON = {
|
| 193 |
areaOfEffect = 768,
|
193 |
areaOfEffect = 768,
|
| 194 |
customParams = {
|
194 |
customParams = {
|
| 195 |
light_radius = 1600,
|
195 |
light_radius = 1600,
|
| 196 |
},
|
196 |
},
|
| 197 |
},
|
197 |
},
|
| 198 |
},
|
198 |
},
|
| 199 |
},
|
199 |
},
|
| 200 |
napalmmissile = {
|
200 |
napalmmissile = {
|
| 201 |
weaponDefs = {
|
201 |
weaponDefs = {
|
| 202 |
WEAPON = {
|
202 |
WEAPON = {
|
| 203 |
areaOfEffect = 3048,
|
203 |
areaOfEffect = 3048,
|
| 204 |
customParams = {
|
204 |
customParams = {
|
| 205 |
area_damage_radius = 2024,
|
205 |
area_damage_radius = 2024,
|
| 206 |
},
|
206 |
},
|
| 207 |
},
|
207 |
},
|
| 208 |
},
|
208 |
},
|
| 209 |
},
|
209 |
},
|
| 210 |
missileslow = {
|
210 |
missileslow = {
|
| 211 |
weaponDefs = {
|
211 |
weaponDefs = {
|
| 212 |
WEAPON = {
|
212 |
WEAPON = {
|
| 213 |
customParams = {
|
213 |
customParams = {
|
| 214 |
light_radius = 3200,
|
214 |
light_radius = 3200,
|
| 215 |
area_damage_radius = 2280,
|
215 |
area_damage_radius = 2280,
|
| 216 |
gui_aoe = 2280,
|
216 |
gui_aoe = 2280,
|
| 217 |
},
|
217 |
},
|
| 218 |
},
|
218 |
},
|
| 219 |
},
|
219 |
},
|
| 220 |
},
|
220 |
},
|
| 221 |
empmissile = {
|
221 |
empmissile = {
|
| 222 |
weaponDefs = {
|
222 |
weaponDefs = {
|
| 223 |
EMP_WEAPON = {
|
223 |
EMP_WEAPON = {
|
| 224 |
areaOfEffect = 560,
|
224 |
areaOfEffect = 560,
|
| 225 |
interceptedByShieldType = 1,
|
225 |
interceptedByShieldType = 1,
|
| 226 |
customParams = {
|
226 |
customParams = {
|
| 227 |
light_radius = 1800,
|
227 |
light_radius = 1800,
|
| 228 |
},
|
228 |
},
|
| 229 |
},
|
229 |
},
|
| 230 |
},
|
230 |
},
|
| 231 |
},
|
231 |
},
|
| 232 |
seismic = {
|
232 |
seismic = {
|
| 233 |
weaponDefs = {
|
233 |
weaponDefs = {
|
| 234 |
SEISMIC_WEAPON = {
|
234 |
SEISMIC_WEAPON = {
|
| 235 |
areaOfEffect = 2560,
|
235 |
areaOfEffect = 2560,
|
| 236 |
customParams = {
|
236 |
customParams = {
|
| 237 |
gatherradius = [[1664]],
|
237 |
gatherradius = [[1664]],
|
| 238 |
smoothradius = [[1280]],
|
238 |
smoothradius = [[1280]],
|
| 239 |
detachmentradius = [[1280]],
|
239 |
detachmentradius = [[1280]],
|
| 240 |
},
|
240 |
},
|
| 241 |
},
|
241 |
},
|
| 242 |
},
|
242 |
},
|
| 243 |
},
|
243 |
},
|
| 244 |
turretriot = {
|
244 |
turretriot = {
|
| 245 |
heat_per_shot = 0.01,
|
245 |
heat_per_shot = 0.01,
|
| 246 |
},
|
246 |
},
|
| 247 |
striderarty = {
|
247 |
striderarty = {
|
| 248 |
health = 6280,
|
248 |
health = 6280,
|
| 249 |
autoheal = 60,
|
249 |
autoheal = 60,
|
| 250 |
canManualFire = true,
|
250 |
canManualFire = true,
|
| 251 |
explodeAs = [[SLOW_DEATH]],
|
251 |
explodeAs = [[SLOW_DEATH]],
|
| 252 |
selfDestructAs = [[SLOW_DEATH]],
|
252 |
selfDestructAs = [[SLOW_DEATH]],
|
| 253 |
weapons = {
|
253 |
weapons = {
|
| 254 |
{
|
254 |
{
|
| 255 |
def = [[ROCKET]],
|
255 |
def = [[ROCKET]],
|
| 256 |
badTargetCategory = [[GUNSHIP]],
|
256 |
badTargetCategory = [[GUNSHIP]],
|
| 257 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER GUNSHIP]],
|
257 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER GUNSHIP]],
|
| 258 |
},
|
258 |
},
|
| 259 |
{
|
259 |
{
|
| 260 |
def = [[Vortex]],
|
260 |
def = [[Vortex]],
|
| 261 |
badTargetCategory = [[GUNSHIP]],
|
261 |
badTargetCategory = [[GUNSHIP]],
|
| 262 |
onlyTargetCategory = [[SWIM LAND SINK SUB TURRET FLOAT SHIP HOVER GUNSHIP]],
|
262 |
onlyTargetCategory = [[SWIM LAND SINK SUB TURRET FLOAT SHIP HOVER GUNSHIP]],
|
| 263 |
},
|
263 |
},
|
| 264 |
},
|
264 |
},
|
| 265 |
weaponDefs = {
|
265 |
weaponDefs = {
|
| 266 |
SLOW_DEATH = {
|
266 |
SLOW_DEATH = {
|
| 267 |
areaOfEffect = 2000,
|
267 |
areaOfEffect = 2000,
|
| 268 |
craterBoost = 1,
|
268 |
craterBoost = 1,
|
| 269 |
craterMult = 3.5,
|
269 |
craterMult = 3.5,
|
| 270 |
customParams = {
|
270 |
customParams = {
|
| 271 |
lups_explodespeed = 1.04,
|
271 |
lups_explodespeed = 1.04,
|
| 272 |
lups_explodelife = 0.88,
|
272 |
lups_explodelife = 0.88,
|
| 273 |
timeslow_damagefactor = 400,
|
273 |
timeslow_damagefactor = 400,
|
| 274 |
timeslow_overslow_frames = 2*30,
|
274 |
timeslow_overslow_frames = 2*30,
|
| 275 |
nofriendlyfire = 1,
|
275 |
nofriendlyfire = 1,
|
| 276 |
light_color = [[1.88 0.63 2.5]],
|
276 |
light_color = [[1.88 0.63 2.5]],
|
| 277 |
light_radius = 320,
|
277 |
light_radius = 320,
|
| 278 |
},
|
278 |
},
|
| 279 |
damage = {
|
279 |
damage = {
|
| 280 |
default = 1200.1,
|
280 |
default = 1200.1,
|
| 281 |
},
|
281 |
},
|
| 282 |
edgeEffectiveness = 1,
|
282 |
edgeEffectiveness = 1,
|
| 283 |
explosionGenerator = "custom:riotballplus2_purple_limpet",
|
283 |
explosionGenerator = "custom:riotballplus2_purple_limpet",
|
| 284 |
explosionSpeed = 10,
|
284 |
explosionSpeed = 10,
|
| 285 |
impulseBoost = 0,
|
285 |
impulseBoost = 0,
|
| 286 |
impulseFactor = 0.3,
|
286 |
impulseFactor = 0.3,
|
| 287 |
name = "Slowing Explosion",
|
287 |
name = "Slowing Explosion",
|
| 288 |
soundHit = [[weapon/aoe_aura2]],
|
288 |
soundHit = [[weapon/aoe_aura2]],
|
| 289 |
soundHitVolume = 4,
|
289 |
soundHitVolume = 4,
|
| 290 |
},
|
290 |
},
|
| 291 |
ROCKET = {
|
291 |
ROCKET = {
|
| 292 |
damage = {
|
292 |
damage = {
|
| 293 |
default = 440,
|
293 |
default = 440,
|
| 294 |
planes = 440,
|
294 |
planes = 440,
|
| 295 |
},
|
295 |
},
|
| 296 |
},
|
296 |
},
|
| 297 |
Vortex = {
|
297 |
Vortex = {
|
| 298 |
size = 200,
|
298 |
size = 200,
|
| 299 |
name = [[EMP Warp Vortex]],
|
299 |
name = [[EMP Warp Vortex]],
|
| 300 |
areaOfEffect = 240,
|
300 |
areaOfEffect = 240,
|
| 301 |
accuracy = 400,
|
301 |
accuracy = 400,
|
| 302 |
avoidFeature = false,
|
302 |
avoidFeature = false,
|
| 303 |
avoidFriendly = false,
|
303 |
avoidFriendly = false,
|
| 304 |
burst = 2,
|
304 |
burst = 2,
|
| 305 |
burstrate = 0.1 + 1/30,
|
305 |
burstrate = 0.1 + 1/30,
|
| 306 |
commandFire = true,
|
306 |
commandFire = true,
|
| 307 |
craterBoost = 0,
|
307 |
craterBoost = 0,
|
| 308 |
craterMult = 0,
|
308 |
craterMult = 0,
|
| 309 |
customParams = {
|
309 |
customParams = {
|
| 310 |
combatrange = 2800,
|
310 |
combatrange = 2800,
|
| 311 |
light_color = [[0.5 4 0.5]],
|
311 |
light_color = [[0.5 4 0.5]],
|
| 312 |
light_radius = 120,
|
312 |
light_radius = 120,
|
| 313 |
reaim_time = 1,
|
313 |
reaim_time = 1,
|
| 314 |
},
|
314 |
},
|
| 315 |
damage = {
|
315 |
damage = {
|
| 316 |
default = 80000,
|
316 |
default = 80000,
|
| 317 |
},
|
317 |
},
|
| 318 |
edgeEffectiveness = 0.5,
|
318 |
edgeEffectiveness = 0.5,
|
| 319 |
explosionGenerator = [[custom:YELLOW_LIGHTNINGPLOSION]],
|
319 |
explosionGenerator = [[custom:YELLOW_LIGHTNINGPLOSION]],
|
| 320 |
fireStarter = 100,
|
320 |
fireStarter = 100,
|
| 321 |
flightTime = 8000,
|
321 |
flightTime = 8000,
|
| 322 |
impulseBoost = 0,
|
322 |
impulseBoost = 0,
|
| 323 |
impulseFactor = 0,
|
323 |
impulseFactor = 0,
|
| 324 |
interceptedByShieldType = 3,
|
324 |
interceptedByShieldType = 3,
|
| 325 |
cegTag = [[tachyon_96]],
|
325 |
cegTag = [[tachyon_96]],
|
| 326 |
stages = 1,
|
326 |
stages = 1,
|
| 327 |
texture1 = [[sonic_glow2]],
|
327 |
texture1 = [[sonic_glow2]],
|
| 328 |
texture2 = [[null]],
|
328 |
texture2 = [[null]],
|
| 329 |
texture3 = [[null]],
|
329 |
texture3 = [[null]],
|
| 330 |
noSelfDamage = true,
|
330 |
noSelfDamage = true,
|
| 331 |
paralyzer = true,
|
331 |
paralyzer = true,
|
| 332 |
paralyzeTime = 20,
|
332 |
paralyzeTime = 20,
|
| 333 |
range = 2800,
|
333 |
range = 2800,
|
| 334 |
reloadtime = 10,
|
334 |
reloadtime = 10,
|
| 335 |
smokeTrail = false,
|
335 |
smokeTrail = false,
|
| 336 |
soundHit = [[weapon/missile/vlaunch_emp_hit]],
|
336 |
soundHit = [[weapon/missile/vlaunch_emp_hit]],
|
| 337 |
soundStart = [[weapon/missile/missile_launch_high]],
|
337 |
soundStart = [[weapon/missile/missile_launch_high]],
|
| 338 |
soundStartVolume = 14,
|
338 |
soundStartVolume = 14,
|
| 339 |
startVelocity = 80,
|
339 |
startVelocity = 80,
|
| 340 |
tracks = false,
|
340 |
tracks = false,
|
| 341 |
trajectoryHeight = 1,
|
341 |
trajectoryHeight = 1,
|
| 342 |
tolerance = 10,
|
342 |
tolerance = 10,
|
| 343 |
turnRate = 8000,
|
343 |
turnRate = 8000,
|
| 344 |
turret = true,
|
344 |
turret = true,
|
| 345 |
weaponAcceleration = 120,
|
345 |
weaponAcceleration = 120,
|
| 346 |
weaponType = [[MissileLauncher]],
|
346 |
weaponType = [[MissileLauncher]],
|
| 347 |
weaponVelocity = 120,
|
347 |
weaponVelocity = 120,
|
| 348 |
wobble = 15000,
|
348 |
wobble = 15000,
|
| 349 |
},
|
349 |
},
|
| 350 |
},
|
350 |
},
|
| 351 |
},
|
351 |
},
|
| 352 |
striderscorpion = {
|
352 |
striderscorpion = {
|
| 353 |
explodeAs = [[cloakbomb_DEATH]],
|
353 |
explodeAs = [[cloakbomb_DEATH]],
|
| 354 |
selfDestructAs = [[cloakbomb_DEATH]],
|
354 |
selfDestructAs = [[cloakbomb_DEATH]],
|
| 355 |
health = 28000,
|
355 |
health = 28000,
|
| 356 |
autoheal = 180,
|
356 |
autoheal = 180,
|
| 357 |
weaponDefs = {
|
357 |
weaponDefs = {
|
| 358 |
cloakbomb_DEATH = {
|
358 |
cloakbomb_DEATH = {
|
| 359 |
areaOfEffect = 800,
|
359 |
areaOfEffect = 800,
|
| 360 |
craterBoost = 0,
|
360 |
craterBoost = 0,
|
| 361 |
craterMult = 0,
|
361 |
craterMult = 0,
|
| 362 |
edgeEffectiveness = 0.5,
|
362 |
edgeEffectiveness = 0.5,
|
| 363 |
explosionGenerator = "custom:cloakbomb_EXPLOSION",
|
363 |
explosionGenerator = "custom:cloakbomb_EXPLOSION",
|
| 364 |
explosionSpeed = 10,
|
364 |
explosionSpeed = 10,
|
| 365 |
impulseBoost = 0,
|
365 |
impulseBoost = 0,
|
| 366 |
impulseFactor = 0,
|
366 |
impulseFactor = 0,
|
| 367 |
name = "EMP Explosion",
|
367 |
name = "EMP Explosion",
|
| 368 |
paralyzer = true,
|
368 |
paralyzer = true,
|
| 369 |
paralyzeTime = 8,
|
369 |
paralyzeTime = 8,
|
| 370 |
soundHit = "weapon/more_lightning",
|
370 |
soundHit = "weapon/more_lightning",
|
| 371 |
damage = {
|
371 |
damage = {
|
| 372 |
default = 100000,
|
372 |
default = 100000,
|
| 373 |
},
|
373 |
},
|
| 374 |
customParams = {
|
374 |
customParams = {
|
| 375 |
burst = Shared.BURST_UNRELIABLE,
|
375 |
burst = Shared.BURST_UNRELIABLE,
|
| 376 |
},
|
376 |
},
|
| 377 |
},
|
377 |
},
|
| 378 |
MULTILIGHTNING = {
|
378 |
MULTILIGHTNING = {
|
| 379 |
reloadtime = 10,
|
379 |
reloadtime = 10,
|
| 380 |
},
|
380 |
},
|
| 381 |
},
|
381 |
},
|
| 382 |
},
|
382 |
},
|
| 383 |
striderdetriment = {
|
383 |
striderdetriment = {
|
| 384 |
health = 172000,
|
384 |
health = 172000,
|
| 385 |
autoheal = 160,
|
385 |
autoheal = 160,
|
| 386 |
customParams = {
|
386 |
customParams = {
|
| 387 |
jump_reload = 20,
|
387 |
jump_reload = 20,
|
| 388 |
},
|
388 |
},
|
| 389 |
weaponDefs = {
|
389 |
weaponDefs = {
|
| 390 |
OBLITERATION_BLASTER = {
|
390 |
OBLITERATION_BLASTER = {
|
| 391 |
reloadtime = 10,
|
391 |
reloadtime = 10,
|
| 392 |
areaOfEffect=424,
|
392 |
areaOfEffect=424,
|
| 393 |
},
|
393 |
},
|
| 394 |
},
|
394 |
},
|
| 395 |
},
|
395 |
},
|
| 396 |
striderbantha = {
|
396 |
striderbantha = {
|
| 397 |
health = 64000,
|
397 |
health = 64000,
|
| 398 |
autoheal = 80,
|
398 |
autoheal = 80,
|
| 399 |
weaponDefs = {
|
399 |
weaponDefs = {
|
| 400 |
EMP_MISSILE = {
|
400 |
EMP_MISSILE = {
|
| 401 |
reloadtime = 10,
|
401 |
reloadtime = 10,
|
| 402 |
},
|
402 |
},
|
| 403 |
},
|
403 |
},
|
| 404 |
},
|
404 |
},
|
| 405 |
striderantiheavy = {
|
405 |
striderantiheavy = {
|
| 406 |
explodeAs = [[SINGULARITY]],
|
406 |
explodeAs = [[SINGULARITY]],
|
| 407 |
selfDestructAs = [[SINGULARITY]],
|
407 |
selfDestructAs = [[SINGULARITY]],
|
| 408 |
health = 2000,
|
408 |
health = 2000,
|
| 409 |
autoheal = 400,
|
409 |
autoheal = 400,
|
| 410 |
canManualFire = true,
|
410 |
canManualFire = true,
|
| 411 |
customParams = {
|
411 |
customParams = {
|
| 412 |
bait_level_default = 0,
|
412 |
bait_level_default = 0,
|
| 413 |
canjump = 1,
|
413 |
canjump = 1,
|
| 414 |
jump_range = 400,
|
414 |
jump_range = 400,
|
| 415 |
jump_speed = 6,
|
415 |
jump_speed = 6,
|
| 416 |
jump_reload = 4,
|
416 |
jump_reload = 4,
|
| 417 |
jump_from_midair = 0,
|
417 |
jump_from_midair = 0,
|
| 418 |
},
|
418 |
},
|
| 419 |
weapons = {
|
419 |
weapons = {
|
| 420 |
{
|
420 |
{
|
| 421 |
def = [[GREEN_STAMPER]],
|
421 |
def = [[GREEN_STAMPER]],
|
| 422 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER GUNSHIP]],
|
422 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER GUNSHIP]],
|
| 423 |
},
|
423 |
},
|
| 424 |
{
|
424 |
{
|
| 425 |
def = [[DISINTEGRATOR]],
|
425 |
def = [[DISINTEGRATOR]],
|
| 426 |
badTargetCategory = [[FIXEDWING GUNSHIP]],
|
426 |
badTargetCategory = [[FIXEDWING GUNSHIP]],
|
| 427 |
onlyTargetCategory = [[FIXEDWING LAND SINK TURRET SHIP SUB SWIM FLOAT GUNSHIP HOVER]],
|
427 |
onlyTargetCategory = [[FIXEDWING LAND SINK TURRET SHIP SUB SWIM FLOAT GUNSHIP HOVER]],
|
| 428 |
},
|
428 |
},
|
| 429 |
},
|
429 |
},
|
| 430 |
weaponDefs = {
|
430 |
weaponDefs = {
|
| 431 |
SINGULARITY = {
|
431 |
SINGULARITY = {
|
| 432 |
areaOfEffect = 800,
|
432 |
areaOfEffect = 800,
|
| 433 |
craterMult = 1,
|
433 |
craterMult = 1,
|
| 434 |
edgeEffectiveness = 0,
|
434 |
edgeEffectiveness = 0,
|
| 435 |
explosionGenerator = "custom:black_hole_long",
|
435 |
explosionGenerator = "custom:black_hole_long",
|
| 436 |
explosionSpeed = 100000,
|
436 |
explosionSpeed = 100000,
|
| 437 |
impulseBoost = 100,
|
437 |
impulseBoost = 100,
|
| 438 |
impulseFactor = -10,
|
438 |
impulseFactor = -10,
|
| 439 |
name = "Naked Singularity",
|
439 |
name = "Naked Singularity",
|
| 440 |
soundHit = "weapon/blackhole_impact",
|
440 |
soundHit = "weapon/blackhole_impact",
|
| 441 |
damage = {
|
441 |
damage = {
|
| 442 |
default = 1000,
|
442 |
default = 1000,
|
| 443 |
},
|
443 |
},
|
| 444 |
},
|
444 |
},
|
| 445 |
DISINTEGRATOR = {
|
445 |
DISINTEGRATOR = {
|
| 446 |
range = 350,
|
446 |
range = 350,
|
| 447 |
reloadtime = 1,
|
447 |
reloadtime = 1,
|
| 448 |
damage = {
|
448 |
damage = {
|
| 449 |
default = 4000.1,
|
449 |
default = 4000.1,
|
| 450 |
},
|
450 |
},
|
| 451 |
},
|
451 |
},
|
| 452 |
GREEN_STAMPER = {
|
452 |
GREEN_STAMPER = {
|
| 453 |
commandfire = true,
|
453 |
commandfire = true,
|
| 454 |
name = [[Disarm FLatten]],
|
454 |
name = [[Disarm FLatten]],
|
| 455 |
accuracy = 600,
|
455 |
accuracy = 600,
|
| 456 |
areaOfEffect = 800,
|
456 |
areaOfEffect = 800,
|
| 457 |
avoidFeature = false,
|
457 |
avoidFeature = false,
|
| 458 |
avoidGround = false,
|
458 |
avoidGround = false,
|
| 459 |
craterBoost = 32,
|
459 |
craterBoost = 32,
|
| 460 |
craterMult = 1,
|
460 |
craterMult = 1,
|
| 461 |
customParams = {
|
461 |
customParams = {
|
| 462 |
nofriendlyfire = 1,
|
462 |
nofriendlyfire = 1,
|
| 463 |
disarmDamageMult = 1,
|
463 |
disarmDamageMult = 1,
|
| 464 |
disarmDamageOnly = 1,
|
464 |
disarmDamageOnly = 1,
|
| 465 |
disarmTimer = 6,
|
465 |
disarmTimer = 6,
|
| 466 |
gatherradius = [[800]],
|
466 |
gatherradius = [[800]],
|
| 467 |
smoothradius = [[800]],
|
467 |
smoothradius = [[800]],
|
| 468 |
smoothmult = [[0.9]],
|
468 |
smoothmult = [[0.9]],
|
| 469 |
smoothexponent = [[0.8]],
|
469 |
smoothexponent = [[0.8]],
|
| 470 |
movestructures = [[1]],
|
470 |
movestructures = [[1]],
|
| 471 |
reaim_time = 1,
|
471 |
reaim_time = 1,
|
| 472 |
},
|
472 |
},
|
| 473 |
damage = {
|
473 |
damage = {
|
| 474 |
default = 40000,
|
474 |
default = 40000,
|
| 475 |
},
|
475 |
},
|
| 476 |
explosionGenerator = [[custom:blobber_goo]],
|
476 |
explosionGenerator = [[custom:blobber_goo]],
|
| 477 |
impulseBoost = 0.7,
|
477 |
impulseBoost = 0.7,
|
| 478 |
impulseFactor = 0.5,
|
478 |
impulseFactor = 0.5,
|
| 479 |
interceptedByShieldType = 8,
|
479 |
interceptedByShieldType = 8,
|
| 480 |
myGravity = 0.1,
|
480 |
myGravity = 0.1,
|
| 481 |
range = 400,
|
481 |
range = 400,
|
| 482 |
rgbColor = [[0.1 1 0.1]],
|
482 |
rgbColor = [[0.1 1 0.1]],
|
| 483 |
reloadtime = 10,
|
483 |
reloadtime = 10,
|
| 484 |
size = 15,
|
484 |
size = 15,
|
| 485 |
sizeDecay = 0.03,
|
485 |
sizeDecay = 0.03,
|
| 486 |
soundHit = [[explosion/ex_large4]],
|
486 |
soundHit = [[explosion/ex_large4]],
|
| 487 |
soundStart = [[weapon/cannon/big_begrtha_gun_fire]],
|
487 |
soundStart = [[weapon/cannon/big_begrtha_gun_fire]],
|
| 488 |
stages = 30,
|
488 |
stages = 30,
|
| 489 |
turret = true,
|
489 |
turret = true,
|
| 490 |
weaponType = [[Cannon]],
|
490 |
weaponType = [[Cannon]],
|
| 491 |
weaponVelocity = 1100,
|
491 |
weaponVelocity = 1100,
|
| 492 |
},
|
492 |
},
|
| 493 |
},
|
493 |
},
|
| 494 |
},
|
494 |
},
|
| 495 |
turretaaclose = {
|
495 |
turretaaclose = {
|
| 496 |
buildingGroundDecalType = "",
|
496 |
buildingGroundDecalType = "",
|
| 497 |
canCloak = 1,
|
497 |
canCloak = 1,
|
| 498 |
cloakCost = 0,
|
498 |
cloakCost = 0,
|
| 499 |
initCloaked = true,
|
499 |
initCloaked = true,
|
| 500 |
minCloakDistance = 80,
|
500 |
minCloakDistance = 80,
|
| 501 |
weaponDefs = {
|
501 |
weaponDefs = {
|
| 502 |
MISSILE = {
|
502 |
MISSILE = {
|
| 503 |
customParams = {
|
503 |
customParams = {
|
| 504 |
setunitsonfire = "1",
|
504 |
setunitsonfire = "1",
|
| 505 |
burnchance = "1",
|
505 |
burnchance = "1",
|
| 506 |
burntime = 2000,
|
506 |
burntime = 2000,
|
| 507 |
},
|
507 |
},
|
| 508 |
damage = {
|
508 |
damage = {
|
| 509 |
default = 160.1,
|
509 |
default = 160.1,
|
| 510 |
planes = 1600.1,
|
510 |
planes = 1600.1,
|
| 511 |
},
|
511 |
},
|
| 512 |
},
|
512 |
},
|
| 513 |
},
|
513 |
},
|
| 514 |
},
|
514 |
},
|
| 515 |
turretaalaser = {
|
515 |
turretaalaser = {
|
| 516 |
weaponDefs = {
|
516 |
weaponDefs = {
|
| 517 |
AAGUN = {
|
517 |
AAGUN = {
|
| 518 |
customParams = {
|
518 |
customParams = {
|
| 519 |
timeslow_damagefactor = 1,
|
519 |
timeslow_damagefactor = 1,
|
| 520 |
timeslow_overslow_frames = 2*30,
|
520 |
timeslow_overslow_frames = 2*30,
|
| 521 |
},
|
521 |
},
|
| 522 |
},
|
522 |
},
|
| 523 |
},
|
523 |
},
|
| 524 |
},
|
524 |
},
|
| 525 |
shieldshield = {
|
525 |
shieldshield = {
|
| 526 |
weaponDefs = {
|
526 |
weaponDefs = {
|
| 527 |
COR_SHIELD_SMALL = {
|
527 |
COR_SHIELD_SMALL = {
|
| 528 |
name = [[Energy Shield]],
|
528 |
name = [[Energy Shield]],
|
| 529 |
damage = {
|
529 |
damage = {
|
| 530 |
default = 10,
|
530 |
default = 10,
|
| 531 |
},
|
531 |
},
|
| 532 |
customParams = {
|
532 |
customParams = {
|
| 533 |
unlinked = true,
|
533 |
unlinked = true,
|
| 534 |
},
|
534 |
},
|
| 535 |
exteriorShield = true,
|
535 |
exteriorShield = true,
|
| 536 |
shieldAlpha = 0.0001,
|
536 |
shieldAlpha = 0.0001,
|
| 537 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
537 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
| 538 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
538 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
| 539 |
shieldInterceptType = 3,
|
539 |
shieldInterceptType = 3,
|
| 540 |
shieldPower = 10000,
|
540 |
shieldPower = 10000,
|
| 541 |
shieldPowerRegen = 50,
|
541 |
shieldPowerRegen = 50,
|
| 542 |
shieldPowerRegenEnergy = 0,
|
542 |
shieldPowerRegenEnergy = 0,
|
| 543 |
shieldRadius = 800,
|
543 |
shieldRadius = 800,
|
| 544 |
shieldRepulser = false,
|
544 |
shieldRepulser = false,
|
| 545 |
shieldStartingPower = 0,
|
545 |
shieldStartingPower = 0,
|
| 546 |
smartShield = true,
|
546 |
smartShield = true,
|
| 547 |
visibleShield = false,
|
547 |
visibleShield = false,
|
| 548 |
visibleShieldRepulse = false,
|
548 |
visibleShieldRepulse = false,
|
| 549 |
weaponType = [[Shield]],
|
549 |
weaponType = [[Shield]],
|
| 550 |
},
|
550 |
},
|
| 551 |
},
|
551 |
},
|
| 552 |
},
|
552 |
},
|
| 553 |
staticshield = {
|
553 |
staticshield = {
|
| 554 |
weaponDefs = {
|
554 |
weaponDefs = {
|
| 555 |
COR_SHIELD_SMALL = {
|
555 |
COR_SHIELD_SMALL = {
|
| 556 |
name = [[Energy Shield]],
|
556 |
name = [[Energy Shield]],
|
| 557 |
damage = {
|
557 |
damage = {
|
| 558 |
default = 10,
|
558 |
default = 10,
|
| 559 |
},
|
559 |
},
|
| 560 |
customParams = {
|
560 |
customParams = {
|
| 561 |
unlinked = true,
|
561 |
unlinked = true,
|
| 562 |
},
|
562 |
},
|
| 563 |
exteriorShield = true,
|
563 |
exteriorShield = true,
|
| 564 |
shieldAlpha = 0.0001,
|
564 |
shieldAlpha = 0.0001,
|
| 565 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
565 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
| 566 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
566 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
| 567 |
shieldInterceptType = 3,
|
567 |
shieldInterceptType = 3,
|
| 568 |
shieldPower = 10000,
|
568 |
shieldPower = 10000,
|
| 569 |
shieldPowerRegen = 50,
|
569 |
shieldPowerRegen = 50,
|
| 570 |
shieldPowerRegenEnergy = 0,
|
570 |
shieldPowerRegenEnergy = 0,
|
| 571 |
shieldRadius = 800,
|
571 |
shieldRadius = 800,
|
| 572 |
shieldRepulser = false,
|
572 |
shieldRepulser = false,
|
| 573 |
shieldStartingPower = 0,
|
573 |
shieldStartingPower = 0,
|
| 574 |
smartShield = true,
|
574 |
smartShield = true,
|
| 575 |
visibleShield = false,
|
575 |
visibleShield = false,
|
| 576 |
visibleShieldRepulse = false,
|
576 |
visibleShieldRepulse = false,
|
| 577 |
weaponType = [[Shield]],
|
577 |
weaponType = [[Shield]],
|
| 578 |
},
|
578 |
},
|
| 579 |
},
|
579 |
},
|
| 580 |
},
|
580 |
},
|
| 581 |
turretaaheavy = {
|
581 |
turretaaheavy = {
|
| 582 |
customParams = {
|
582 |
customParams = {
|
| 583 |
stockpilecost = [[0]],
|
583 |
stockpilecost = [[0]],
|
| 584 |
priority_misc = 0,
|
584 |
priority_misc = 0,
|
| 585 |
},
|
585 |
},
|
| 586 |
weaponDefs = {
|
586 |
weaponDefs = {
|
| 587 |
ADVSAM = {
|
587 |
ADVSAM = {
|
| 588 |
stockpileTime = 5000,
|
588 |
stockpileTime = 5000,
|
| 589 |
areaOfEffect = 480,
|
589 |
areaOfEffect = 480,
|
| 590 |
flightTime = 12,
|
590 |
flightTime = 12,
|
| 591 |
range = 3000,
|
591 |
range = 3000,
|
| 592 |
customParams = {
|
592 |
customParams = {
|
| 593 |
nofriendlyfire = 1,
|
593 |
nofriendlyfire = 1,
|
| 594 |
damage_vs_shield = [[4000]],
|
594 |
damage_vs_shield = [[4000]],
|
| 595 |
},
|
595 |
},
|
| 596 |
},
|
596 |
},
|
| 597 |
},
|
597 |
},
|
| 598 |
},
|
598 |
},
|
| 599 |
turretantiheavy = {
|
599 |
turretantiheavy = {
|
| 600 |
health = 12000,
|
600 |
health = 12000,
|
| 601 |
weapons = {
|
601 |
weapons = {
|
| 602 |
{
|
602 |
{
|
| 603 |
def = [[ATA]],
|
603 |
def = [[ATA]],
|
| 604 |
badTargetCategory = [[FIXEDWING GUNSHIP]],
|
604 |
badTargetCategory = [[FIXEDWING GUNSHIP]],
|
| 605 |
onlyTargetCategory = [[SWIM LAND SHIP SINK TURRET FLOAT GUNSHIP FIXEDWING HOVER]],
|
605 |
onlyTargetCategory = [[SWIM LAND SHIP SINK TURRET FLOAT GUNSHIP FIXEDWING HOVER]],
|
| 606 |
},
|
606 |
},
|
| 607 |
{
|
607 |
{
|
| 608 |
def = [[spy]],
|
608 |
def = [[spy]],
|
| 609 |
badTargetCategory = [[FIXEDWING GUNSHIP]],
|
609 |
badTargetCategory = [[FIXEDWING GUNSHIP]],
|
| 610 |
onlyTargetCategory = [[SWIM LAND SHIP SINK TURRET FLOAT GUNSHIP FIXEDWING HOVER]],
|
610 |
onlyTargetCategory = [[SWIM LAND SHIP SINK TURRET FLOAT GUNSHIP FIXEDWING HOVER]],
|
| 611 |
},
|
611 |
},
|
| 612 |
},
|
612 |
},
|
| 613 |
weaponDefs = {
|
613 |
weaponDefs = {
|
| 614 |
spy = {
|
614 |
spy = {
|
| 615 |
name = [[Electro-Stunner]],
|
615 |
name = [[Electro-Stunner]],
|
| 616 |
areaOfEffect = 8,
|
616 |
areaOfEffect = 8,
|
| 617 |
collideFriendly = false,
|
617 |
collideFriendly = false,
|
| 618 |
craterBoost = 0,
|
618 |
craterBoost = 0,
|
| 619 |
craterMult = 0,
|
619 |
craterMult = 0,
|
| 620 |
customParams = {
|
620 |
customParams = {
|
| 621 |
burst = Shared.BURST_RELIABLE,
|
621 |
burst = Shared.BURST_RELIABLE,
|
| 622 |
light_color = [[1.85 1.85 0.45]],
|
622 |
light_color = [[1.85 1.85 0.45]],
|
| 623 |
light_radius = 300,
|
623 |
light_radius = 300,
|
| 624 |
},
|
624 |
},
|
| 625 |
damage = {
|
625 |
damage = {
|
| 626 |
default = 20000,
|
626 |
default = 20000,
|
| 627 |
},
|
627 |
},
|
| 628 |
duration = 8,
|
628 |
duration = 8,
|
| 629 |
explosionGenerator = [[custom:YELLOW_LIGHTNINGPLOSION]],
|
629 |
explosionGenerator = [[custom:YELLOW_LIGHTNINGPLOSION]],
|
| 630 |
fireStarter = 0,
|
630 |
fireStarter = 0,
|
| 631 |
heightMod = 10,
|
631 |
heightMod = 10,
|
| 632 |
impactOnly = true,
|
632 |
impactOnly = true,
|
| 633 |
impulseBoost = 0,
|
633 |
impulseBoost = 0,
|
| 634 |
impulseFactor = 0,
|
634 |
impulseFactor = 0,
|
| 635 |
intensity = 12,
|
635 |
intensity = 12,
|
| 636 |
interceptedByShieldType = 3,
|
636 |
interceptedByShieldType = 3,
|
| 637 |
paralyzer = true,
|
637 |
paralyzer = true,
|
| 638 |
paralyzeTime = 30,
|
638 |
paralyzeTime = 30,
|
| 639 |
range = 1200,
|
639 |
range = 1200,
|
| 640 |
reloadtime = 10,
|
640 |
reloadtime = 10,
|
| 641 |
rgbColor = [[1 1 0.25]],
|
641 |
rgbColor = [[1 1 0.25]],
|
| 642 |
soundStart = [[weapon/LightningBolt]],
|
642 |
soundStart = [[weapon/LightningBolt]],
|
| 643 |
soundTrigger = true,
|
643 |
soundTrigger = true,
|
| 644 |
targetborder = 0.9,
|
644 |
targetborder = 0.9,
|
| 645 |
texture1 = [[lightning]],
|
645 |
texture1 = [[lightning]],
|
| 646 |
thickness = 10,
|
646 |
thickness = 10,
|
| 647 |
tolerance = 10000,
|
647 |
tolerance = 10000,
|
| 648 |
turret = true,
|
648 |
turret = true,
|
| 649 |
weaponType = [[LightningCannon]],
|
649 |
weaponType = [[LightningCannon]],
|
| 650 |
weaponVelocity = 450,
|
650 |
weaponVelocity = 450,
|
| 651 |
},
|
651 |
},
|
| 652 |
},
|
652 |
},
|
| 653 |
},
|
653 |
},
|
| 654 |
turretaafar = {
|
654 |
turretaafar = {
|
| 655 |
weaponDefs = {
|
655 |
weaponDefs = {
|
| 656 |
MISSILE = {
|
656 |
MISSILE = {
|
| 657 |
reloadtime = 0.2,
|
657 |
reloadtime = 0.2,
|
| 658 |
},
|
658 |
},
|
| 659 |
},
|
659 |
},
|
| 660 |
},
|
660 |
},
|
| 661 |
staticheavyarty = {
|
661 |
staticheavyarty = {
|
| 662 |
metalCost = 1250,
|
662 |
metalCost = 1250,
|
| 663 |
weaponDefs = {
|
663 |
weaponDefs = {
|
| 664 |
PLASMA = {
|
664 |
PLASMA = {
|
| 665 |
range = 12000,
|
665 |
range = 12000,
|
| 666 |
areaOfEffect = 300,
|
666 |
areaOfEffect = 300,
|
| 667 |
damage = {
|
667 |
damage = {
|
| 668 |
default = 4002.4,
|
668 |
default = 4002.4,
|
| 669 |
},
|
669 |
},
|
| 670 |
},
|
670 |
},
|
| 671 |
},
|
671 |
},
|
| 672 |
},
|
672 |
},
|
| 673 |
staticarty = {
|
673 |
staticarty = {
|
| 674 |
metalCost = 1250,
|
674 |
metalCost = 1250,
|
| 675 |
weaponDefs = {
|
675 |
weaponDefs = {
|
| 676 |
PLASMA = {
|
676 |
PLASMA = {
|
| 677 |
range = 3700,
|
677 |
range = 3700,
|
| 678 |
mygravity = 0.05,
|
678 |
mygravity = 0.05,
|
| 679 |
},
|
679 |
},
|
| 680 |
},
|
680 |
},
|
| 681 |
},
|
681 |
},
|
| 682 |
staticheavyradar = {
|
682 |
staticheavyradar = {
|
| 683 |
metalCost = 200,
|
683 |
metalCost = 200,
|
| 684 |
customParams = {
|
684 |
customParams = {
|
| 685 |
area_cloak = 1,
|
685 |
area_cloak = 1,
|
| 686 |
area_cloak_upkeep = 0,
|
686 |
area_cloak_upkeep = 0,
|
| 687 |
area_cloak_radius = 2000,
|
687 |
area_cloak_radius = 2000,
|
| 688 |
area_cloak_recloak_rate = 2000,
|
688 |
area_cloak_recloak_rate = 2000,
|
| 689 |
},
|
689 |
},
|
| 690 |
},
|
690 |
},
|
| 691 |
turretgauss = {
|
691 |
turretgauss = {
|
| 692 |
health = 6000,
|
692 |
health = 6000,
|
| 693 |
canCloak = 1,
|
693 |
canCloak = 1,
|
| 694 |
cloakCost = 0,
|
694 |
cloakCost = 0,
|
| 695 |
cloakCostMoving = 0,
|
695 |
cloakCostMoving = 0,
|
| 696 |
initCloaked = true,
|
696 |
initCloaked = true,
|
| 697 |
minCloakDistance = 60,
|
697 |
minCloakDistance = 60,
|
| 698 |
},
|
698 |
},
|
| 699 |
zenith ={
|
699 |
zenith ={
|
| 700 |
metalCost = 15000,
|
700 |
metalCost = 15000,
|
| 701 |
weapons = {
|
701 |
weapons = {
|
| 702 |
{
|
702 |
{
|
| 703 |
def = [[METEOR]],
|
703 |
def = [[METEOR]],
|
| 704 |
badTargetCateogory = [[MOBILE]],
|
704 |
badTargetCateogory = [[MOBILE]],
|
| 705 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER GUNSHIP]],
|
705 |
onlyTargetCategory = [[SWIM LAND SINK TURRET FLOAT SHIP HOVER GUNSHIP]],
|
| 706 |
},
|
706 |
},
|
| 707 |
{
|
707 |
{
|
| 708 |
def = [[GRAVITY_NEG]],
|
708 |
def = [[GRAVITY_NEG]],
|
| 709 |
onlyTargetCategory = [[NONE]],
|
709 |
onlyTargetCategory = [[NONE]],
|
| 710 |
},
|
710 |
},
|
| 711 |
{
|
711 |
{
|
| 712 |
def = [[COR_SHIELD_SMALL]],
|
712 |
def = [[COR_SHIELD_SMALL]],
|
| 713 |
},
|
713 |
},
|
| 714 |
},
|
714 |
},
|
| 715 |
weaponDefs = {
|
715 |
weaponDefs = {
|
| 716 |
COR_SHIELD_SMALL = {
|
716 |
COR_SHIELD_SMALL = {
|
| 717 |
name = [[Energy Shield]],
|
717 |
name = [[Energy Shield]],
|
| 718 |
damage = {
|
718 |
damage = {
|
| 719 |
default = 10,
|
719 |
default = 10,
|
| 720 |
},
|
720 |
},
|
| 721 |
customParams = {
|
721 |
customParams = {
|
| 722 |
unlinked = true,
|
722 |
unlinked = true,
|
| 723 |
},
|
723 |
},
|
| 724 |
exteriorShield = true,
|
724 |
exteriorShield = true,
|
| 725 |
shieldAlpha = 0.0001,
|
725 |
shieldAlpha = 0.0001,
|
| 726 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
726 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
| 727 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
727 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
| 728 |
shieldInterceptType = 3,
|
728 |
shieldInterceptType = 3,
|
| 729 |
shieldPower = 40000,
|
729 |
shieldPower = 40000,
|
| 730 |
shieldPowerRegen = 4000,
|
730 |
shieldPowerRegen = 4000,
|
| 731 |
shieldPowerRegenEnergy = 0,
|
731 |
shieldPowerRegenEnergy = 0,
|
| 732 |
shieldRadius = 400,
|
732 |
shieldRadius = 400,
|
| 733 |
shieldRepulser = false,
|
733 |
shieldRepulser = false,
|
| 734 |
shieldStartingPower = 0,
|
734 |
shieldStartingPower = 0,
|
| 735 |
smartShield = true,
|
735 |
smartShield = true,
|
| 736 |
visibleShield = false,
|
736 |
visibleShield = false,
|
| 737 |
visibleShieldRepulse = false,
|
737 |
visibleShieldRepulse = false,
|
| 738 |
weaponType = [[Shield]],
|
738 |
weaponType = [[Shield]],
|
| 739 |
},
|
739 |
},
|
| 740 |
},
|
740 |
},
|
| 741 |
},
|
741 |
},
|
| 742 |
raveparty ={
|
742 |
raveparty ={
|
| 743 |
metalCost = 30000,
|
743 |
metalCost = 30000,
|
| 744 |
weaponDefs = {
|
744 |
weaponDefs = {
|
| 745 |
BLUE_SHOCKER = {
|
745 |
BLUE_SHOCKER = {
|
| 746 |
interceptedByShieldType = 3,
|
746 |
interceptedByShieldType = 3,
|
| 747 |
},
|
747 |
},
|
| 748 |
},
|
748 |
},
|
| 749 |
},
|
749 |
},
|
| 750 |
mahlazer ={
|
750 |
mahlazer ={
|
| 751 |
metalCost = 45000,
|
751 |
metalCost = 45000,
|
| 752 |
weaponDefs = {
|
752 |
weaponDefs = {
|
| 753 |
RELAYLAZER = {
|
753 |
RELAYLAZER = {
|
| 754 |
customParams = {
|
754 |
customParams = {
|
| 755 |
stats_damage = 36000,
|
755 |
stats_damage = 36000,
|
| 756 |
},
|
756 |
},
|
| 757 |
damage = {
|
757 |
damage = {
|
| 758 |
default = 2600,
|
758 |
default = 2600,
|
| 759 |
},
|
759 |
},
|
| 760 |
},
|
760 |
},
|
| 761 |
},
|
761 |
},
|
| 762 |
},
|
762 |
},
|
| 763 |
athena = {
|
763 |
athena = {
|
| 764 |
initCloaked = true,
|
764 |
initCloaked = true,
|
| 765 |
metalCost = 10000,
|
765 |
metalCost = 10000,
|
| 766 |
health = 4000,
|
766 |
health = 4000,
|
| 767 |
workerTime = 50,
|
767 |
workerTime = 50,
|
| 768 |
resurrectSpeed = 100,
|
768 |
resurrectSpeed = 100,
|
| 769 |
buildoptions = {
|
769 |
buildoptions = {
|
| 770 |
[[staticnuke]],
|
770 |
[[staticnuke]],
|
| 771 |
[[striderfunnelweb]],
|
771 |
[[striderfunnelweb]],
|
| 772 |
[[staticantinuke]],
|
772 |
[[staticantinuke]],
|
| 773 |
[[cloakcon]],
|
773 |
[[cloakcon]],
|
| 774 |
[[cloakheavyraid]],
|
774 |
[[cloakheavyraid]],
|
| 775 |
[[cloakaa]],
|
775 |
[[cloakaa]],
|
| 776 |
[[cloaksnipe]],
|
776 |
[[cloaksnipe]],
|
| 777 |
[[cloakbomb]],
|
777 |
[[cloakbomb]],
|
| 778 |
[[cloakjammer]],
|
778 |
[[cloakjammer]],
|
| 779 |
[[shieldbomb]],
|
779 |
[[shieldbomb]],
|
| 780 |
[[jumpbomb]],
|
780 |
[[jumpbomb]],
|
| 781 |
[[amphtele]],
|
781 |
[[amphtele]],
|
| 782 |
[[athena]],
|
782 |
[[athena]],
|
| 783 |
[[striderantiheavy]],
|
783 |
[[striderantiheavy]],
|
| 784 |
[[gunshipbomb]],
|
784 |
[[gunshipbomb]],
|
| 785 |
[[spiderantiheavy]],
|
785 |
[[spiderantiheavy]],
|
| 786 |
[[striderscorpion]],
|
786 |
[[striderscorpion]],
|
| 787 |
[[striderdante]],
|
787 |
[[striderdante]],
|
| 788 |
[[energysolar]],
|
788 |
[[energysolar]],
|
| 789 |
[[staticstorage]],
|
789 |
[[staticstorage]],
|
| 790 |
[[staticmex]],
|
790 |
[[staticmex]],
|
| 791 |
[[energypylon]],
|
791 |
[[energypylon]],
|
| 792 |
[[staticcon]],
|
792 |
[[staticcon]],
|
| 793 |
[[staticrearm]],
|
793 |
[[staticrearm]],
|
| 794 |
[[turretlaser]],
|
794 |
[[turretlaser]],
|
| 795 |
[[turretmissile]],
|
795 |
[[turretmissile]],
|
| 796 |
[[turretriot]],
|
796 |
[[turretriot]],
|
| 797 |
[[turretemp]],
|
797 |
[[turretemp]],
|
| 798 |
[[turretgauss]],
|
798 |
[[turretgauss]],
|
| 799 |
[[turretheavylaser]],
|
799 |
[[turretheavylaser]],
|
| 800 |
[[turretaaclose]],
|
800 |
[[turretaaclose]],
|
| 801 |
[[turretaalaser]],
|
801 |
[[turretaalaser]],
|
| 802 |
[[turretaaflak]],
|
802 |
[[turretaaflak]],
|
| 803 |
[[turretimpulse]],
|
803 |
[[turretimpulse]],
|
| 804 |
[[turrettorp]],
|
804 |
[[turrettorp]],
|
| 805 |
[[staticshield]],
|
805 |
[[staticshield]],
|
| 806 |
[[staticradar]],
|
806 |
[[staticradar]],
|
| 807 |
[[staticjammer]],
|
807 |
[[staticjammer]],
|
| 808 |
[[factorycloak]],
|
808 |
[[factorycloak]],
|
| 809 |
[[factoryshield]],
|
809 |
[[factoryshield]],
|
| 810 |
[[factoryveh]],
|
810 |
[[factoryveh]],
|
| 811 |
[[factoryhover]],
|
811 |
[[factoryhover]],
|
| 812 |
[[factorygunship]],
|
812 |
[[factorygunship]],
|
| 813 |
[[factoryplane]],
|
813 |
[[factoryplane]],
|
| 814 |
[[factoryspider]],
|
814 |
[[factoryspider]],
|
| 815 |
[[factoryjump]],
|
815 |
[[factoryjump]],
|
| 816 |
[[factorytank]],
|
816 |
[[factorytank]],
|
| 817 |
[[factoryamph]],
|
817 |
[[factoryamph]],
|
| 818 |
[[factoryship]],
|
818 |
[[factoryship]],
|
| 819 |
[[plateamph]],
|
819 |
[[plateamph]],
|
| 820 |
[[platecloak]],
|
820 |
[[platecloak]],
|
| 821 |
[[plategunship]],
|
821 |
[[plategunship]],
|
| 822 |
[[platehover]],
|
822 |
[[platehover]],
|
| 823 |
[[platejump]],
|
823 |
[[platejump]],
|
| 824 |
[[plateplane]],
|
824 |
[[plateplane]],
|
| 825 |
[[plateshield]],
|
825 |
[[plateshield]],
|
| 826 |
[[plateship]],
|
826 |
[[plateship]],
|
| 827 |
[[platespider]],
|
827 |
[[platespider]],
|
| 828 |
[[platetank]],
|
828 |
[[platetank]],
|
| 829 |
[[plateveh]],
|
829 |
[[plateveh]],
|
| 830 |
},
|
830 |
},
|
| 831 |
},
|
831 |
},
|
| 832 |
staticstorage = {
|
832 |
staticstorage = {
|
| 833 |
canCloak = 1,
|
833 |
canCloak = 1,
|
| 834 |
cloakCost = 0,
|
834 |
cloakCost = 0,
|
| 835 |
cloakCostMoving = 0,
|
835 |
cloakCostMoving = 0,
|
| 836 |
initCloaked = true,
|
836 |
initCloaked = true,
|
| 837 |
minCloakDistance = 60,
|
837 |
minCloakDistance = 60,
|
| 838 |
},
|
838 |
},
|
| 839 |
striderdante = {
|
839 |
striderdante = {
|
| 840 |
health = 22000,
|
840 |
health = 22000,
|
| 841 |
autoheal = 40,
|
841 |
autoheal = 40,
|
| 842 |
canCloak = 1,
|
842 |
canCloak = 1,
|
| 843 |
cloakCost = 0,
|
843 |
cloakCost = 0,
|
| 844 |
cloakCostMoving = 0,
|
844 |
cloakCostMoving = 0,
|
| 845 |
initCloaked = true,
|
845 |
initCloaked = true,
|
| 846 |
minCloakDistance = 60,
|
846 |
minCloakDistance = 60,
|
| 847 |
explodeAs = [[DANTE_DEATH]],
|
847 |
explodeAs = [[DANTE_DEATH]],
|
| 848 |
selfDestructAs = [[DANTE_DEATH]],
|
848 |
selfDestructAs = [[DANTE_DEATH]],
|
| 849 |
customParams = {
|
849 |
customParams = {
|
| 850 |
canjump = 1,
|
850 |
canjump = 1,
|
| 851 |
jump_range = 600,
|
851 |
jump_range = 600,
|
| 852 |
jump_speed = 6,
|
852 |
jump_speed = 6,
|
| 853 |
jump_reload = 10,
|
853 |
jump_reload = 10,
|
| 854 |
jump_from_midair = 0,
|
854 |
jump_from_midair = 0,
|
| 855 |
},
|
855 |
},
|
| 856 |
weaponDefs = {
|
856 |
weaponDefs = {
|
| 857 |
NAPALM_ROCKETS_SALVO = {
|
857 |
NAPALM_ROCKETS_SALVO = {
|
| 858 |
burst = 28,
|
858 |
burst = 28,
|
| 859 |
reloadtime = 10,
|
859 |
reloadtime = 10,
|
| 860 |
},
|
860 |
},
|
| 861 |
DANTE_DEATH = {
|
861 |
DANTE_DEATH = {
|
| 862 |
name = [[Napalm Blast]],
|
862 |
name = [[Napalm Blast]],
|
| 863 |
areaofeffect = 800,
|
863 |
areaofeffect = 800,
|
| 864 |
craterboost = 1,
|
864 |
craterboost = 1,
|
| 865 |
cratermult = 3.5,
|
865 |
cratermult = 3.5,
|
| 866 |
customParams = {
|
866 |
customParams = {
|
| 867 |
setunitsonfire = "1",
|
867 |
setunitsonfire = "1",
|
| 868 |
burnchance = "1",
|
868 |
burnchance = "1",
|
| 869 |
burntime = 60,
|
869 |
burntime = 60,
|
| 870 |
area_damage = 1,
|
870 |
area_damage = 1,
|
| 871 |
area_damage_radius = 400,
|
871 |
area_damage_radius = 400,
|
| 872 |
area_damage_dps = 400,
|
872 |
area_damage_dps = 400,
|
| 873 |
area_damage_duration = 20,
|
873 |
area_damage_duration = 20,
|
| 874 |
},
|
874 |
},
|
| 875 |
damage = {
|
875 |
damage = {
|
| 876 |
default = 200,
|
876 |
default = 200,
|
| 877 |
},
|
877 |
},
|
| 878 |
edgeeffectiveness = 0.5,
|
878 |
edgeeffectiveness = 0.5,
|
| 879 |
explosionGenerator = [[custom:napalm_missile]],
|
879 |
explosionGenerator = [[custom:napalm_missile]],
|
| 880 |
impulseboost = 0,
|
880 |
impulseboost = 0,
|
| 881 |
impulsefactor = 0,
|
881 |
impulsefactor = 0,
|
| 882 |
soundhit = [[explosion/ex_med3]],
|
882 |
soundhit = [[explosion/ex_med3]],
|
| 883 |
},
|
883 |
},
|
| 884 |
},
|
884 |
},
|
| 885 |
},
|
885 |
},
|
| 886 |
amphtele = {
|
886 |
amphtele = {
|
| 887 |
health = 80,
|
887 |
health = 80,
|
| 888 |
canCloak = 1,
|
888 |
canCloak = 1,
|
| 889 |
cloakCost = 0,
|
889 |
cloakCost = 0,
|
| 890 |
cloakCostMoving = 0,
|
890 |
cloakCostMoving = 0,
|
| 891 |
initCloaked = true,
|
891 |
initCloaked = true,
|
| 892 |
minCloakDistance = 80,
|
892 |
minCloakDistance = 80,
|
| 893 |
customParams = {
|
893 |
customParams = {
|
| 894 |
teleporter_throughput = 300,
|
894 |
teleporter_throughput = 300,
|
| 895 |
},
|
895 |
},
|
| 896 |
},
|
896 |
},
|
| 897 |
dynrecon1 = {
|
897 |
dynrecon1 = {
|
| 898 |
workerTime = 9,
|
898 |
workerTime = 9,
|
| 899 |
energymake = 0,
|
899 |
energymake = 0,
|
| 900 |
},
|
900 |
},
|
| 901 |
dynstrike1 = {
|
901 |
dynstrike1 = {
|
| 902 |
workerTime = 10,
|
902 |
workerTime = 10,
|
| 903 |
energymake = 0,
|
903 |
energymake = 0,
|
| 904 |
},
|
904 |
},
|
| 905 |
dynsupport1 = {
|
905 |
dynsupport1 = {
|
| 906 |
workerTime = 11,
|
906 |
workerTime = 11,
|
| 907 |
energymake = 0,
|
907 |
energymake = 0,
|
| 908 |
},
|
908 |
},
|
| 909 |
dynassault1 = {
|
909 |
dynassault1 = {
|
| 910 |
workerTime = 10,
|
910 |
workerTime = 10,
|
| 911 |
energymake = 0,
|
911 |
energymake = 0,
|
| 912 |
},
|
912 |
},
|
| 913 |
striderhub = {
|
913 |
striderhub = {
|
| 914 |
buildoptions = {
|
914 |
buildoptions = {
|
| 915 |
[[shipheavyarty]],
|
915 |
[[shipheavyarty]],
|
| 916 |
[[shipcarrier]],
|
916 |
[[shipcarrier]],
|
| 917 |
[[striderfunnelweb]],
|
917 |
[[striderfunnelweb]],
|
| 918 |
[[striderdetriment]],
|
918 |
[[striderdetriment]],
|
| 919 |
[[subtacmissile]],
|
919 |
[[subtacmissile]],
|
| 920 |
[[striderhub]],
|
920 |
[[striderhub]],
|
| 921 |
[[staticheavyarty]],
|
921 |
[[staticheavyarty]],
|
| 922 |
[[zenith]],
|
922 |
[[zenith]],
|
| 923 |
[[raveparty]],
|
923 |
[[raveparty]],
|
| 924 |
[[mahlazer]],
|
924 |
[[mahlazer]],
|
| 925 |
[[turretaaheavy]],
|
925 |
[[turretaaheavy]],
|
| 926 |
[[turretantiheavy]],
|
926 |
[[turretantiheavy]],
|
| 927 |
[[energysingu]],
|
927 |
[[energysingu]],
|
| 928 |
[[staticantinuke]],
|
928 |
[[staticantinuke]],
|
| 929 |
[[staticheavyradar]],
|
929 |
[[staticheavyradar]],
|
| 930 |
[[staticmissilesilo]],
|
930 |
[[staticmissilesilo]],
|
| 931 |
[[athena]],
|
931 |
[[athena]],
|
| 932 |
[[nebula]],
|
932 |
[[nebula]],
|
| 933 |
},
|
933 |
},
|
| 934 |
customParams = {
|
934 |
customParams = {
|
| 935 |
pylonrange = 2000,
|
935 |
pylonrange = 2000,
|
| 936 |
},
|
936 |
},
|
| 937 |
canPatrol = false,
|
937 |
canPatrol = false,
|
| 938 |
workerTime = 800,
|
938 |
workerTime = 800,
|
| 939 |
buildDistance = 2000,
|
939 |
buildDistance = 2000,
|
| 940 |
metalCost = 160000,
|
940 |
metalCost = 160000,
|
| 941 |
health = 10000,
|
941 |
health = 10000,
|
| 942 |
weapons = {
|
942 |
weapons = {
|
| 943 |
{
|
943 |
{
|
| 944 |
def = [[COR_SHIELD_SMALL]],
|
944 |
def = [[COR_SHIELD_SMALL]],
|
| 945 |
},
|
945 |
},
|
| 946 |
},
|
946 |
},
|
| 947 |
weaponDefs = {
|
947 |
weaponDefs = {
|
| 948 |
COR_SHIELD_SMALL = {
|
948 |
COR_SHIELD_SMALL = {
|
| 949 |
name = [[Energy Shield]],
|
949 |
name = [[Energy Shield]],
|
| 950 |
damage = {
|
950 |
damage = {
|
| 951 |
default = 10,
|
951 |
default = 10,
|
| 952 |
},
|
952 |
},
|
| 953 |
customParams = {
|
953 |
customParams = {
|
| 954 |
unlinked = true,
|
954 |
unlinked = true,
|
| 955 |
},
|
955 |
},
|
| 956 |
exteriorShield = true,
|
956 |
exteriorShield = true,
|
| 957 |
shieldAlpha = 0.0001,
|
957 |
shieldAlpha = 0.0001,
|
| 958 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
958 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
| 959 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
959 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
| 960 |
shieldInterceptType = 3,
|
960 |
shieldInterceptType = 3,
|
| 961 |
shieldPower = 10000,
|
961 |
shieldPower = 10000,
|
| 962 |
shieldPowerRegen = 4000,
|
962 |
shieldPowerRegen = 4000,
|
| 963 |
shieldPowerRegenEnergy = 0,
|
963 |
shieldPowerRegenEnergy = 0,
|
| 964 |
shieldRadius = 450,
|
964 |
shieldRadius = 450,
|
| 965 |
shieldRepulser = false,
|
965 |
shieldRepulser = false,
|
| 966 |
shieldStartingPower = 0,
|
966 |
shieldStartingPower = 0,
|
| 967 |
smartShield = true,
|
967 |
smartShield = true,
|
| 968 |
visibleShield = false,
|
968 |
visibleShield = false,
|
| 969 |
visibleShieldRepulse = false,
|
969 |
visibleShieldRepulse = false,
|
| 970 |
weaponType = [[Shield]],
|
970 |
weaponType = [[Shield]],
|
| 971 |
},
|
971 |
},
|
| 972 |
},
|
972 |
},
|
| 973 |
},
|
973 |
},
|
| 974 |
striderfunnelweb = {
|
974 |
striderfunnelweb = {
|
| 975 |
workerTime = 200,
|
975 |
workerTime = 200,
|
| 976 |
buildDistance = 1000,
|
976 |
buildDistance = 1000,
|
| 977 |
health = 10000,
|
977 |
health = 10000,
|
| 978 |
metalCost = 40000,
|
978 |
metalCost = 40000,
|
| 979 |
maxwaterdepth = 1000,
|
979 |
maxwaterdepth = 1000,
|
| 980 |
buildoptions = {
|
980 |
buildoptions = {
|
| 981 |
[[shipheavyarty]],
|
981 |
[[shipheavyarty]],
|
| 982 |
[[staticnuke]],
|
982 |
[[staticnuke]],
|
| 983 |
[[staticarty]],
|
983 |
[[staticarty]],
|
| 984 |
[[striderarty]],
|
984 |
[[striderarty]],
|
| 985 |
[[turretheavy]],
|
985 |
[[turretheavy]],
|
| 986 |
[[striderbantha]],
|
986 |
[[striderbantha]],
|
| 987 |
[[striderfunnelweb]],
|
987 |
[[striderfunnelweb]],
|
| 988 |
[[staticmex]],
|
988 |
[[staticmex]],
|
| 989 |
[[energywind]],
|
989 |
[[energywind]],
|
| 990 |
[[energysolar]],
|
990 |
[[energysolar]],
|
| 991 |
[[energygeo]],
|
991 |
[[energygeo]],
|
| 992 |
[[energyfusion]],
|
992 |
[[energyfusion]],
|
| 993 |
[[staticstorage]],
|
993 |
[[staticstorage]],
|
| 994 |
[[energypylon]],
|
994 |
[[energypylon]],
|
| 995 |
[[staticcon]],
|
995 |
[[staticcon]],
|
| 996 |
[[staticrearm]],
|
996 |
[[staticrearm]],
|
| 997 |
[[turretlaser]],
|
997 |
[[turretlaser]],
|
| 998 |
[[turretmissile]],
|
998 |
[[turretmissile]],
|
| 999 |
[[turretriot]],
|
999 |
[[turretriot]],
|
| 1000 |
[[turretemp]],
|
1000 |
[[turretemp]],
|
| 1001 |
[[turretgauss]],
|
1001 |
[[turretgauss]],
|
| 1002 |
[[turretheavylaser]],
|
1002 |
[[turretheavylaser]],
|
| 1003 |
[[turretaaclose]],
|
1003 |
[[turretaaclose]],
|
| 1004 |
[[turretaalaser]],
|
1004 |
[[turretaalaser]],
|
| 1005 |
[[turretaaflak]],
|
1005 |
[[turretaaflak]],
|
| 1006 |
[[turretaafar]],
|
1006 |
[[turretaafar]],
|
| 1007 |
[[turretimpulse]],
|
1007 |
[[turretimpulse]],
|
| 1008 |
[[turrettorp]],
|
1008 |
[[turrettorp]],
|
| 1009 |
[[staticshield]],
|
1009 |
[[staticshield]],
|
| 1010 |
[[staticradar]],
|
1010 |
[[staticradar]],
|
| 1011 |
[[staticjammer]],
|
1011 |
[[staticjammer]],
|
| 1012 |
[[factorycloak]],
|
1012 |
[[factorycloak]],
|
| 1013 |
[[factoryshield]],
|
1013 |
[[factoryshield]],
|
| 1014 |
[[factoryveh]],
|
1014 |
[[factoryveh]],
|
| 1015 |
[[factoryhover]],
|
1015 |
[[factoryhover]],
|
| 1016 |
[[factorygunship]],
|
1016 |
[[factorygunship]],
|
| 1017 |
[[factoryplane]],
|
1017 |
[[factoryplane]],
|
| 1018 |
[[factoryspider]],
|
1018 |
[[factoryspider]],
|
| 1019 |
[[factoryjump]],
|
1019 |
[[factoryjump]],
|
| 1020 |
[[factorytank]],
|
1020 |
[[factorytank]],
|
| 1021 |
[[factoryamph]],
|
1021 |
[[factoryamph]],
|
| 1022 |
[[factoryship]],
|
1022 |
[[factoryship]],
|
| 1023 |
[[striderhub]],
|
1023 |
[[striderhub]],
|
| 1024 |
[[athena]],
|
1024 |
[[athena]],
|
| 1025 |
[[staticantinuke]],
|
1025 |
[[staticantinuke]],
|
| 1026 |
[[plateamph]],
|
1026 |
[[plateamph]],
|
| 1027 |
[[platecloak]],
|
1027 |
[[platecloak]],
|
| 1028 |
[[plategunship]],
|
1028 |
[[plategunship]],
|
| 1029 |
[[platehover]],
|
1029 |
[[platehover]],
|
| 1030 |
[[platejump]],
|
1030 |
[[platejump]],
|
| 1031 |
[[plateplane]],
|
1031 |
[[plateplane]],
|
| 1032 |
[[plateshield]],
|
1032 |
[[plateshield]],
|
| 1033 |
[[plateship]],
|
1033 |
[[plateship]],
|
| 1034 |
[[platespider]],
|
1034 |
[[platespider]],
|
| 1035 |
[[platetank]],
|
1035 |
[[platetank]],
|
| 1036 |
[[plateveh]],
|
1036 |
[[plateveh]],
|
| 1037 |
},
|
1037 |
},
|
| 1038 |
customParams = {
|
1038 |
customParams = {
|
| 1039 |
},
|
1039 |
},
|
| 1040 |
weapons = {
|
1040 |
weapons = {
|
| 1041 |
{
|
1041 |
{
|
| 1042 |
def = [[SHIELD]],
|
1042 |
def = [[SHIELD]],
|
| 1043 |
},
|
1043 |
},
|
| 1044 |
},
|
1044 |
},
|
| 1045 |
weaponDefs = {
|
1045 |
weaponDefs = {
|
| 1046 |
SHIELD = {
|
1046 |
SHIELD = {
|
| 1047 |
customParams = {
|
1047 |
customParams = {
|
| 1048 |
shield_recharge_delay = 0,
|
1048 |
shield_recharge_delay = 0,
|
| 1049 |
},
|
1049 |
},
|
| 1050 |
shieldAlpha = 0.0001,
|
1050 |
shieldAlpha = 0.0001,
|
| 1051 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
1051 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
| 1052 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
1052 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
| 1053 |
shieldPower = 10000,
|
1053 |
shieldPower = 10000,
|
| 1054 |
shieldPowerRegen = 1000,
|
1054 |
shieldPowerRegen = 1000,
|
| 1055 |
shieldPowerRegenEnergy = 0,
|
1055 |
shieldPowerRegenEnergy = 0,
|
| 1056 |
shieldRadius = 1600,
|
1056 |
shieldRadius = 1600,
|
| 1057 |
},
|
1057 |
},
|
| 1058 |
},
|
1058 |
},
|
| 1059 |
},
|
1059 |
},
|
| 1060 |
staticcon = {
|
1060 |
staticcon = {
|
| 1061 |
workerTime = 5,
|
1061 |
workerTime = 5,
|
| 1062 |
metalCost = 90,
|
1062 |
metalCost = 90,
|
| 1063 |
buildDistance = 1000,
|
1063 |
buildDistance = 1000,
|
| 1064 |
},
|
1064 |
},
|
| 1065 |
energywind = {
|
1065 |
energywind = {
|
| 1066 |
explodeAs = [[NOWEAPON]],
|
1066 |
explodeAs = [[NOWEAPON]],
|
| 1067 |
metalCost = 300,
|
1067 |
metalCost = 300,
|
| 1068 |
health = 1,
|
1068 |
health = 1,
|
| 1069 |
customParams = {
|
1069 |
customParams = {
|
| 1070 |
tidal_health = 1,
|
1070 |
tidal_health = 1,
|
| 1071 |
},
|
1071 |
},
|
| 1072 |
},
|
1072 |
},
|
| 1073 |
energysolar = {
|
1073 |
energysolar = {
|
| 1074 |
energyMake = 5,
|
1074 |
energyMake = 5,
|
| 1075 |
metalCost = 350,
|
1075 |
metalCost = 350,
|
| 1076 |
health = 8000,
|
1076 |
health = 8000,
|
| 1077 |
},
|
1077 |
},
|
| 1078 |
energysingu = {
|
1078 |
energysingu = {
|
| 1079 |
metalCost = 20000,
|
1079 |
metalCost = 20000,
|
| 1080 |
energyMake = 612,
|
1080 |
energyMake = 612,
|
| 1081 |
health = 8000,
|
1081 |
health = 8000,
|
| 1082 |
buildingGroundDecalType = [[]],
|
1082 |
buildingGroundDecalType = [[]],
|
| 1083 |
canCloak = 1,
|
1083 |
canCloak = 1,
|
| 1084 |
cloakCost = 0,
|
1084 |
cloakCost = 0,
|
| 1085 |
cloakCostMoving = 0,
|
1085 |
cloakCostMoving = 0,
|
| 1086 |
initCloaked = true,
|
1086 |
initCloaked = true,
|
| 1087 |
minCloakDistance = 120,
|
1087 |
minCloakDistance = 120,
|
| 1088 |
},
|
1088 |
},
|
| 1089 |
energyfusion = {
|
1089 |
energyfusion = {
|
| 1090 |
metalCost = 5000,
|
1090 |
metalCost = 5000,
|
| 1091 |
energyMake = 112,
|
1091 |
energyMake = 112,
|
| 1092 |
health = 4000,
|
1092 |
health = 4000,
|
| 1093 |
buildingGroundDecalType = [[]],
|
1093 |
buildingGroundDecalType = [[]],
|
| 1094 |
canCloak = 1,
|
1094 |
canCloak = 1,
|
| 1095 |
cloakCost = 0,
|
1095 |
cloakCost = 0,
|
| 1096 |
cloakCostMoving = 0,
|
1096 |
cloakCostMoving = 0,
|
| 1097 |
initCloaked = true,
|
1097 |
initCloaked = true,
|
| 1098 |
minCloakDistance = 60,
|
1098 |
minCloakDistance = 60,
|
| 1099 |
},
|
1099 |
},
|
| 1100 |
energygeo = {
|
1100 |
energygeo = {
|
| 1101 |
morphtime = 300,
|
1101 |
morphtime = 300,
|
| 1102 |
energyMake = 87,
|
1102 |
energyMake = 87,
|
| 1103 |
metalCost = 2500,
|
1103 |
metalCost = 2500,
|
| 1104 |
health = 4000,
|
1104 |
health = 4000,
|
| 1105 |
buildingGroundDecalType = [[]],
|
1105 |
buildingGroundDecalType = [[]],
|
| 1106 |
canCloak = 1,
|
1106 |
canCloak = 1,
|
| 1107 |
cloakCost = 0,
|
1107 |
cloakCost = 0,
|
| 1108 |
cloakCostMoving = 0,
|
1108 |
cloakCostMoving = 0,
|
| 1109 |
initCloaked = true,
|
1109 |
initCloaked = true,
|
| 1110 |
minCloakDistance = 60,
|
1110 |
minCloakDistance = 60,
|
| 1111 |
},
|
1111 |
},
|
| 1112 |
energyheavygeo = {
|
1112 |
energyheavygeo = {
|
| 1113 |
morphtime = 300,
|
1113 |
morphtime = 300,
|
| 1114 |
metalCost = 7500,
|
1114 |
metalCost = 7500,
|
| 1115 |
energyMake = 300,
|
1115 |
energyMake = 300,
|
| 1116 |
health = 8000,
|
1116 |
health = 8000,
|
| 1117 |
buildingGroundDecalType = [[]],
|
1117 |
buildingGroundDecalType = [[]],
|
| 1118 |
canCloak = 1,
|
1118 |
canCloak = 1,
|
| 1119 |
cloakCost = 0,
|
1119 |
cloakCost = 0,
|
| 1120 |
cloakCostMoving = 0,
|
1120 |
cloakCostMoving = 0,
|
| 1121 |
initCloaked = true,
|
1121 |
initCloaked = true,
|
| 1122 |
minCloakDistance = 60,
|
1122 |
minCloakDistance = 60,
|
| 1123 |
},
|
1123 |
},
|
| 1124 |
turretaaflak ={
|
1124 |
turretaaflak ={
|
| 1125 |
buildingGroundDecalType = [[]],
|
1125 |
buildingGroundDecalType = [[]],
|
| 1126 |
canCloak = 1,
|
1126 |
canCloak = 1,
|
| 1127 |
cloakCost = 0,
|
1127 |
cloakCost = 0,
|
| 1128 |
cloakCostMoving = 0,
|
1128 |
cloakCostMoving = 0,
|
| 1129 |
initCloaked = true,
|
1129 |
initCloaked = true,
|
| 1130 |
minCloakDistance = 60,
|
1130 |
minCloakDistance = 60,
|
| 1131 |
weaponDefs= {
|
1131 |
weaponDefs= {
|
| 1132 |
ARMFLAK_GUN = {
|
1132 |
ARMFLAK_GUN = {
|
| 1133 |
areaOfEffect = 256,
|
1133 |
areaOfEffect = 256,
|
| 1134 |
},
|
1134 |
},
|
| 1135 |
},
|
1135 |
},
|
| 1136 |
},
|
1136 |
},
|
| 1137 |
staticmex = {
|
1137 |
staticmex = {
|
| 1138 |
metalCost = 500,
|
1138 |
metalCost = 500,
|
| 1139 |
health = 16000,
|
1139 |
health = 16000,
|
| 1140 |
selfDestructAs = [[AMPHBOMB_DEATH]],
|
1140 |
selfDestructAs = [[AMPHBOMB_DEATH]],
|
| 1141 |
explodeAs = [[AMPHBOMB_DEATH]],
|
1141 |
explodeAs = [[AMPHBOMB_DEATH]],
|
| 1142 |
customParams = {
|
1142 |
customParams = {
|
| 1143 |
metal_extractor_mult = 2,
|
1143 |
metal_extractor_mult = 2,
|
| 1144 |
},
|
1144 |
},
|
| 1145 |
sfxtypes = {
|
1145 |
sfxtypes = {
|
| 1146 |
explosiongenerators = {
|
1146 |
explosiongenerators = {
|
| 1147 |
[[custom:RAIDMUZZLE]],
|
1147 |
[[custom:RAIDMUZZLE]],
|
| 1148 |
[[custom:VINDIBACK]],
|
1148 |
[[custom:VINDIBACK]],
|
| 1149 |
[[custom:RIOTBALL]],
|
1149 |
[[custom:RIOTBALL]],
|
| 1150 |
},
|
1150 |
},
|
| 1151 |
},
|
1151 |
},
|
| 1152 |
weapons = {
|
1152 |
weapons = {
|
| 1153 |
{
|
1153 |
{
|
| 1154 |
def = [[BIGSHIELD]],
|
1154 |
def = [[BIGSHIELD]],
|
| 1155 |
},
|
1155 |
},
|
| 1156 |
},
|
1156 |
},
|
| 1157 |
weaponDefs = {
|
1157 |
weaponDefs = {
|
| 1158 |
AMPHBOMB_DEATH = {
|
1158 |
AMPHBOMB_DEATH = {
|
| 1159 |
areaOfEffect = 4000,
|
1159 |
areaOfEffect = 4000,
|
| 1160 |
craterBoost = 0,
|
1160 |
craterBoost = 0,
|
| 1161 |
craterMult = 0,
|
1161 |
craterMult = 0,
|
| 1162 |
customParams = {
|
1162 |
customParams = {
|
| 1163 |
lups_explodespeed = 1,
|
1163 |
lups_explodespeed = 1,
|
| 1164 |
lups_explodelife = 1,
|
1164 |
lups_explodelife = 1,
|
| 1165 |
timeslow_damagefactor = 100,
|
1165 |
timeslow_damagefactor = 100,
|
| 1166 |
timeslow_overslow_frames = 2*30,
|
1166 |
timeslow_overslow_frames = 2*30,
|
| 1167 |
nofriendlyfire = 1,
|
1167 |
nofriendlyfire = 1,
|
| 1168 |
light_color = [[1.88 0.63 2.5]],
|
1168 |
light_color = [[1.88 0.63 2.5]],
|
| 1169 |
light_radius = 320,
|
1169 |
light_radius = 320,
|
| 1170 |
},
|
1170 |
},
|
| 1171 |
damage = {
|
1171 |
damage = {
|
| 1172 |
default = 200,
|
1172 |
default = 200,
|
| 1173 |
},
|
1173 |
},
|
| 1174 |
edgeEffectiveness = 1,
|
1174 |
edgeEffectiveness = 1,
|
| 1175 |
explosionGenerator = "custom:riotballplus2_purple_limpet",
|
1175 |
explosionGenerator = "custom:riotballplus2_purple_limpet",
|
| 1176 |
explosionSpeed = 10,
|
1176 |
explosionSpeed = 10,
|
| 1177 |
impulseBoost = 20,
|
1177 |
impulseBoost = 20,
|
| 1178 |
impulseFactor = 20,
|
1178 |
impulseFactor = 20,
|
| 1179 |
name = "Slowing Explosion",
|
1179 |
name = "Slowing Explosion",
|
| 1180 |
soundHit = [[weapon/aoe_aura2]],
|
1180 |
soundHit = [[weapon/aoe_aura2]],
|
| 1181 |
soundHitVolume = 4,
|
1181 |
soundHitVolume = 4,
|
| 1182 |
},
|
1182 |
},
|
| 1183 |
BIGSHIELD = {
|
1183 |
BIGSHIELD = {
|
| 1184 |
name = [[Big Energy Shield]],
|
1184 |
name = [[Big Energy Shield]],
|
| 1185 |
damage = {
|
1185 |
damage = {
|
| 1186 |
default = 10,
|
1186 |
default = 10,
|
| 1187 |
},
|
1187 |
},
|
| 1188 |
customParams = {
|
1188 |
customParams = {
|
| 1189 |
unlinked = true,
|
1189 |
unlinked = true,
|
| 1190 |
},
|
1190 |
},
|
| 1191 |
exteriorShield = true,
|
1191 |
exteriorShield = true,
|
| 1192 |
shieldAlpha = 0.0001,
|
1192 |
shieldAlpha = 0.0001,
|
| 1193 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
1193 |
shieldBadColor = [[0.02 0.01 0.01 0.02]],
|
| 1194 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
1194 |
shieldGoodColor = [[0.01 0.01 0.02 0.02]],
|
| 1195 |
shieldInterceptType = 3,
|
1195 |
shieldInterceptType = 3,
|
| 1196 |
shieldPower = 10000,
|
1196 |
shieldPower = 10000,
|
| 1197 |
shieldPowerRegen = 100,
|
1197 |
shieldPowerRegen = 100,
|
| 1198 |
shieldPowerRegenEnergy = 0,
|
1198 |
shieldPowerRegenEnergy = 0,
|
| 1199 |
shieldRadius = 800,
|
1199 |
shieldRadius = 800,
|
| 1200 |
shieldRepulser = false,
|
1200 |
shieldRepulser = false,
|
| 1201 |
shieldStartingPower = 0,
|
1201 |
shieldStartingPower = 0,
|
| 1202 |
smartShield = true,
|
1202 |
smartShield = true,
|
| 1203 |
visibleShield = false,
|
1203 |
visibleShield = false,
|
| 1204 |
visibleShieldRepulse = false,
|
1204 |
visibleShieldRepulse = false,
|
| 1205 |
weaponType = [[Shield]],
|
1205 |
weaponType = [[Shield]],
|
| 1206 |
},
|
1206 |
},
|
| 1207 |
},
|
1207 |
},
|
| 1208 |
},
|
1208 |
},
|
| 1209 |
}
|
1209 |
}
|
| 1210 |
\n
|
1210 |
\n
|
| 1211 |
}}}
|
1211 |
}}}
|
| 1212 |
\n
|
1212 |
\n
|
| 1213 |
[/spoiler]
|
1213 |
[/spoiler]
|
| 1214 |
\n
|
1214 |
\n
|
|
|
1215 |
Problem code:
|
|
|
1216 |
\n
|
| 1215 |
{{{
|
1217 |
{{{
|
| 1216 |
\n
|
1218 |
\n
|
| 1217 |
local function MergeTable(target, source) end
|
1219 |
local function MergeTable(target, source) end
|
| 1218 |
for unitName, changes in pairs(tweaks) do
|
1220 |
for unitName, changes in pairs(tweaks) do
|
| 1219 |
local ud = UnitDefs[unitName]
|
1221 |
local ud = UnitDefs[unitName]
|
| 1220 |
if ud then
|
1222 |
if ud then
|
| 1221 |
MergeTable(ud, changes)
|
1223 |
MergeTable(ud, changes)
|
| 1222 |
end
|
1224 |
end
|
| 1223 |
end
|
1225 |
end
|
| 1224 |
local exclude = {
|
1226 |
local exclude = {
|
| 1225 |
dynstrike1 = true,
|
1227 |
dynstrike1 = true,
|
| 1226 |
dynrecon1 = true,
|
1228 |
dynrecon1 = true,
|
| 1227 |
dynassault1 = true,
|
1229 |
dynassault1 = true,
|
| 1228 |
dynsupport1 = true,
|
1230 |
dynsupport1 = true,
|
| 1229 |
athena = true,
|
1231 |
athena = true,
|
| 1230 |
funnelweb = true,
|
1232 |
funnelweb = true,
|
| 1231 |
striderhub = true,
|
1233 |
striderhub = true,
|
| 1232 |
staticmex = true,
|
1234 |
staticmex = true,
|
| 1233 |
energywind = true,
|
1235 |
energywind = true,
|
| 1234 |
}
|
1236 |
}
|
| 1235 |
local include = {
|
1237 |
local include = {
|
| 1236 |
dynstrike1 = true,
|
1238 |
dynstrike1 = true,
|
| 1237 |
dynrecon1 = true,
|
1239 |
dynrecon1 = true,
|
| 1238 |
dynassault1 = true,
|
1240 |
dynassault1 = true,
|
| 1239 |
dynsupport1 = true,
|
1241 |
dynsupport1 = true,
|
| 1240 |
}
|
1242 |
}
|
| 1241 |
local newBuildOptions = {
|
1243 |
local newBuildOptions = {
|
| 1242 |
"staticantinuke","staticmex","energywind","staticstorage","energypylon",
|
1244 |
"staticantinuke","staticmex","energywind","staticstorage","energypylon",
|
| 1243 |
"staticcon","staticrearm","turretlaser","turretmissile","turretriot",
|
1245 |
"staticcon","staticrearm","turretlaser","turretmissile","turretriot",
|
| 1244 |
"turretemp","turretheavylaser","turretaaclose","turretaalaser","turretimpulse",
|
1246 |
"turretemp","turretheavylaser","turretaaclose","turretaalaser","turretimpulse",
|
| 1245 |
"turrettorp","staticshield","staticradar","staticjammer","factorycloak",
|
1247 |
"turrettorp","staticshield","staticradar","staticjammer","factorycloak",
|
| 1246 |
"factoryshield","factoryveh","factoryhover","factorygunship","factoryplane",
|
1248 |
"factoryshield","factoryveh","factoryhover","factorygunship","factoryplane",
|
| 1247 |
"factoryspider","factoryjump","factorytank","factoryamph","factoryship",
|
1249 |
"factoryspider","factoryjump","factorytank","factoryamph","factoryship",
|
| 1248 |
"plateamph","platecloak","plategunship","platehover","platejump","plateplane",
|
1250 |
"plateamph","platecloak","plategunship","platehover","platejump","plateplane",
|
| 1249 |
"plateshield","plateship","platespider","platetank","plateveh","athena",
|
1251 |
"plateshield","plateship","platespider","platetank","plateveh","athena",
|
| 1250 |
}
|
1252 |
}
|
| 1251 |
for id, ud in pairs(UnitDefs) do
|
1253 |
for id, ud in pairs(UnitDefs) do
|
| 1252 |
if include[ud.name] then
|
1254 |
if include[ud.name] then
|
| 1253 |
ud.buildoptions = newBuildOptions
|
1255 |
ud.buildoptions = newBuildOptions
|
| 1254 |
end
|
1256 |
end
|
| 1255 |
if not exclude[ud.name] then
|
1257 |
if not exclude[ud.name] then
|
| 1256 |
if ud.metalCost and ud.metalCost < 500 then
|
1258 |
if ud.metalCost and ud.metalCost < 500 then
|
| 1257 |
ud.corpse = nil
|
1259 |
ud.corpse = nil
|
| 1258 |
ud.featureDefs = nil
|
1260 |
ud.featureDefs = nil
|
| 1259 |
end
|
1261 |
end
|
| 1260 |
end
|
1262 |
end
|
| 1261 |
if ud.metalCost then
|
1263 |
if ud.metalCost then
|
| 1262 |
ud.metalCost = math.floor(ud.metalCost * 0.5)
|
1264 |
ud.metalCost = math.floor(ud.metalCost * 0.5)
|
| 1263 |
end
|
1265 |
end
|
| 1264 |
end
|
1266 |
end
|
| 1265 |
local storageUnits = {
|
1267 |
local storageUnits = {
|
| 1266 |
"plateamph","platecloak","plategunship","platehover",
|
1268 |
"plateamph","platecloak","plategunship","platehover",
|
| 1267 |
"platejump","plateplane","plateshield","plateship",
|
1269 |
"platejump","plateplane","plateshield","plateship",
|
| 1268 |
"platespider","platetank","plateveh",
|
1270 |
"platespider","platetank","plateveh",
|
| 1269 |
"factorycloak","factoryshield","factoryveh","factoryhover",
|
1271 |
"factorycloak","factoryshield","factoryveh","factoryhover",
|
| 1270 |
"factorygunship","factoryplane","factoryspider","factoryjump",
|
1272 |
"factorygunship","factoryplane","factoryspider","factoryjump",
|
| 1271 |
"factorytank","factoryamph","factoryship","staticstorage",
|
1273 |
"factorytank","factoryamph","factoryship","staticstorage",
|
| 1272 |
}
|
1274 |
}
|
| 1273 |
for _, name in ipairs(storageUnits) do
|
1275 |
for _, name in ipairs(storageUnits) do
|
| 1274 |
local u = UnitDefs[name]
|
1276 |
local u = UnitDefs[name]
|
| 1275 |
if u then
|
1277 |
if u then
|
| 1276 |
u.energystorage = 8000
|
1278 |
u.energystorage = 8000
|
| 1277 |
u.metalstorage = 8000
|
1279 |
u.metalstorage = 8000
|
| 1278 |
end
|
1280 |
end
|
| 1279 |
end
|
1281 |
end
|
| 1280 |
local buildList = {
|
1282 |
local buildList = {
|
| 1281 |
"staticantinuke","staticmex","energywind","staticstorage","energypylon",
|
1283 |
"staticantinuke","staticmex","energywind","staticstorage","energypylon",
|
| 1282 |
"staticcon","staticrearm","turretlaser","turretmissile","turretriot",
|
1284 |
"staticcon","staticrearm","turretlaser","turretmissile","turretriot",
|
| 1283 |
"turretemp","turretheavylaser","turretaaclose","turretaalaser","turretimpulse",
|
1285 |
"turretemp","turretheavylaser","turretaaclose","turretaalaser","turretimpulse",
|
| 1284 |
"turrettorp","staticshield","staticradar","staticjammer","factorycloak",
|
1286 |
"turrettorp","staticshield","staticradar","staticjammer","factorycloak",
|
| 1285 |
"factoryshield","factoryveh","factoryhover","factorygunship","factoryplane",
|
1287 |
"factoryshield","factoryveh","factoryhover","factorygunship","factoryplane",
|
| 1286 |
"factoryspider","factoryjump","factorytank","factoryamph","factoryship",
|
1288 |
"factoryspider","factoryjump","factorytank","factoryamph","factoryship",
|
| 1287 |
"athena","plateamph","platecloak","plategunship","platehover","platejump",
|
1289 |
"athena","plateamph","platecloak","plategunship","platehover","platejump",
|
| 1288 |
"plateplane","plateshield","plateship","platespider","platetank","plateveh",
|
1290 |
"plateplane","plateshield","plateship","platespider","platetank","plateveh",
|
| 1289 |
}
|
1291 |
}
|
| 1290 |
local function cloneList(src)
|
1292 |
local function cloneList(src)
|
| 1291 |
local dst = {}
|
1293 |
local dst = {}
|
| 1292 |
for i = 1, #src do
|
1294 |
for i = 1, #src do
|
| 1293 |
dst[i] = src[i]
|
1295 |
dst[i] = src[i]
|
| 1294 |
end
|
1296 |
end
|
| 1295 |
return dst
|
1297 |
return dst
|
| 1296 |
end
|
1298 |
end
|
| 1297 |
local constructors = {
|
1299 |
local constructors = {
|
| 1298 |
"cloakcon","shieldcon","vehcon","hovercon",
|
1300 |
"cloakcon","shieldcon","vehcon","hovercon",
|
| 1299 |
"gunshipcon","planecon","spidercon","jumpcon",
|
1301 |
"gunshipcon","planecon","spidercon","jumpcon",
|
| 1300 |
"tankcon","amphcon","shipcon",
|
1302 |
"tankcon","amphcon","shipcon",
|
| 1301 |
"dynrecon1","dynstrike1","dynsupport1","dynassault1",
|
1303 |
"dynrecon1","dynstrike1","dynsupport1","dynassault1",
|
| 1302 |
}
|
1304 |
}
|
| 1303 |
for _, name in ipairs(constructors) do
|
1305 |
for _, name in ipairs(constructors) do
|
| 1304 |
local u = UnitDefs[name]
|
1306 |
local u = UnitDefs[name]
|
| 1305 |
if u then
|
1307 |
if u then
|
| 1306 |
u.buildoptions = cloneList(buildList)
|
1308 |
u.buildoptions = cloneList(buildList)
|
| 1307 |
end
|
1309 |
end
|
| 1308 |
end
|
1310 |
end
|
| 1309 |
local cloakers = {
|
1311 |
local cloakers = {
|
| 1310 |
"energyfusion","energygeo","energyheavygeo","energysingu",
|
1312 |
"energyfusion","energygeo","energyheavygeo","energysingu",
|
| 1311 |
}
|
1313 |
}
|
| 1312 |
for _, name in ipairs(cloakers) do
|
1314 |
for _, name in ipairs(cloakers) do
|
| 1313 |
local u = UnitDefs[name]
|
1315 |
local u = UnitDefs[name]
|
| 1314 |
if u then
|
1316 |
if u then
|
| 1315 |
u.canCloak = 1
|
1317 |
u.canCloak = 1
|
| 1316 |
u.cloakCost = 0
|
1318 |
u.cloakCost = 0
|
| 1317 |
u.cloakCostmoving = 0
|
1319 |
u.cloakCostmoving = 0
|
| 1318 |
u.initCloaked = 1
|
1320 |
u.initCloaked = 1
|
| 1319 |
u.minCloakDistance = 200
|
1321 |
u.minCloakDistance = 200
|
| 1320 |
end
|
1322 |
end
|
| 1321 |
end
|
1323 |
end
|
| 1322 |
\n
|
1324 |
\n
|
| 1323 |
}}}
|
1325 |
}}}
|
| 1324 |
\n
|
1326 |
\n
|
| 1325 |
[/spoiler]
|
1327 |
[/spoiler]
|
| 1326 |
\n
|
1328 |
\n
|
| 1327 |
error:
|
1329 |
error:
|
| 1328 |
\n
|
1330 |
\n
|
| 1329 |
{{{
|
1331 |
{{{
|
| 1330 |
\n
|
1332 |
\n
|
| 1331 |
Defs-Parser: [pcall] error 2 ("[string "gamedata/defs.lua"]:38: [string "gamedata/defs.lua"]:26: error = 2, gamedata/featureDefs.lua, error = 2, gamedata/featuredefs_post.lua, [string "gamedata/featuredefs_post.lua"]:113: attempt to call global 'CopyTable' (a nil value)
|
1333 |
Defs-Parser: [pcall] error 2 ("[string "gamedata/defs.lua"]:38: [string "gamedata/defs.lua"]:26: error = 2, gamedata/featureDefs.lua, error = 2, gamedata/featuredefs_post.lua, [string "gamedata/featuredefs_post.lua"]:113: attempt to call global 'CopyTable' (a nil value)
|
| 1332 |
\n
|
1334 |
\n
|
| 1333 |
}}}
|
1335 |
}}}
|
| 1334 |
\n
|
1336 |
\n
|
| 1335 |
i thought it was something to do with me setting
|
1337 |
i thought it was something to do with me setting
|
| 1336 |
ud.corpse = nil
|
1338 |
ud.corpse = nil
|
| 1337 |
ud.featureDefs = nil
|
1339 |
ud.featureDefs = nil
|
| 1338 |
\n
|
1340 |
\n
|
| 1339 |
but commenting it out does nothing =/
|
1341 |
but commenting it out does nothing =/
|
| 1340 |
\n
|
1342 |
\n
|
| 1341 |
if anyone can help me that would be great
|
1343 |
if anyone can help me that would be great
|