Merge branch 'TimePath/cleanup'
[xonotic/xonotic-data.pk3dir.git] / turrets.cfg
1 set g_turrets 1
2 set g_turrets_reloadcvars 0
3 set g_turrets_nofire 0
4
5 set g_turrets_targetscan_mindelay 0.1 "delay target rescanning to lower resource usage"
6 set g_turrets_targetscan_maxdelay 1 "scan at least this often"
7 set g_turrets_aimidle_delay 5 "become idle if target is lost for this long"
8
9 alias g_turrets_reload "set g_turrets_reloadcvars 1"
10
11 // {{{ #1: eWheel Turret
12 set g_turrets_unit_ewheel_health 200
13 set g_turrets_unit_ewheel_respawntime 30
14
15 set g_turrets_unit_ewheel_turnrate 200
16
17 set g_turrets_unit_ewheel_speed_fast   500
18 set g_turrets_unit_ewheel_speed_slow   150
19 set g_turrets_unit_ewheel_speed_slower 50
20 set g_turrets_unit_ewheel_speed_stop   25
21
22 set g_turrets_unit_ewheel_shot_dmg 30
23 set g_turrets_unit_ewheel_shot_refire 0.1
24 set g_turrets_unit_ewheel_shot_spread 0.025
25 set g_turrets_unit_ewheel_shot_force    125
26 set g_turrets_unit_ewheel_shot_radius 50
27 set g_turrets_unit_ewheel_shot_speed 9000
28
29 set g_turrets_unit_ewheel_shot_volly 2
30 set g_turrets_unit_ewheel_shot_volly_refire 1
31
32 set g_turrets_unit_ewheel_target_range 5000
33 set g_turrets_unit_ewheel_target_range_optimal 900
34 set g_turrets_unit_ewheel_target_range_min 0.1
35
36 set g_turrets_unit_ewheel_target_select_rangebias 0.25
37 set g_turrets_unit_ewheel_target_select_samebias 2
38 set g_turrets_unit_ewheel_target_select_anglebias 0.5
39 set g_turrets_unit_ewheel_target_select_playerbias 1
40 set g_turrets_unit_ewheel_target_select_missilebias 0
41
42 set g_turrets_unit_ewheel_ammo_max 4000
43 set g_turrets_unit_ewheel_ammo 500
44 set g_turrets_unit_ewheel_ammo_recharge 50
45
46 set g_turrets_unit_ewheel_aim_firetolerance_dist 150
47 set g_turrets_unit_ewheel_aim_speed 90
48 set g_turrets_unit_ewheel_aim_maxrot 20
49 set g_turrets_unit_ewheel_aim_maxpitch 45
50
51 set g_turrets_unit_ewheel_track_type 1
52 set g_turrets_unit_ewheel_track_accel_pitch 0
53 set g_turrets_unit_ewheel_track_accel_rot 0
54 // }}}
55 // {{{ #2: FLAC Cannon
56 set g_turrets_unit_flac_health 700
57 set g_turrets_unit_flac_respawntime 90
58
59 set g_turrets_unit_flac_shot_dmg 20
60 set g_turrets_unit_flac_shot_refire 0.1
61 set g_turrets_unit_flac_shot_radius 100
62 set g_turrets_unit_flac_shot_speed 9000
63 set g_turrets_unit_flac_shot_spread 0.02
64 set g_turrets_unit_flac_shot_force 25
65 set g_turrets_unit_flac_shot_volly 0
66 set g_turrets_unit_flac_shot_volly_refire 0
67
68 set g_turrets_unit_flac_target_range 4000
69 set g_turrets_unit_flac_target_range_min 500
70 set g_turrets_unit_flac_target_range_optimal 1250
71
72 set g_turrets_unit_flac_target_select_rangebias 0.25
73 set g_turrets_unit_flac_target_select_samebias 1
74 set g_turrets_unit_flac_target_select_anglebias 0.5
75 set g_turrets_unit_flac_target_select_playerbias 0
76 set g_turrets_unit_flac_target_select_missilebias 1
77
78 set g_turrets_unit_flac_ammo_max 1000
79 set g_turrets_unit_flac_ammo 400
80 set g_turrets_unit_flac_ammo_recharge 100
81
82 set g_turrets_unit_flac_aim_firetolerance_dist 150
83 set g_turrets_unit_flac_aim_speed 200
84 set g_turrets_unit_flac_aim_maxrot 360
85 set g_turrets_unit_flac_aim_maxpitch 35
86
87 set g_turrets_unit_flac_track_type 3
88 set g_turrets_unit_flac_track_accel_pitch 0.5
89 set g_turrets_unit_flac_track_accel_rot 0.7
90 set g_turrets_unit_flac_track_blendrate 0.2
91 // }}}
92 // {{{ #3: Fusion Reactor
93 set g_turrets_unit_fusreac_health 700
94 set g_turrets_unit_fusreac_respawntime 90
95
96 set g_turrets_unit_fusreac_shot_speed 1
97 set g_turrets_unit_fusreac_shot_dmg 20
98 set g_turrets_unit_fusreac_shot_refire 0.2
99
100 set g_turrets_unit_fusreac_target_range 1024
101 set g_turrets_unit_fusreac_target_range_min 1
102
103 set g_turrets_unit_fusreac_ammo_max 100
104 set g_turrets_unit_fusreac_ammo 0
105 set g_turrets_unit_fusreac_ammo_recharge 100
106
107 set g_turrets_unit_fusreac_shot_radius 0
108 set g_turrets_unit_fusreac_shot_spread 0
109 set g_turrets_unit_fusreac_shot_force 0
110 set g_turrets_unit_fusreac_shot_volly 0
111 set g_turrets_unit_fusreac_shot_volly_refire 0
112 set g_turrets_unit_fusreac_target_range_optimal 0
113 set g_turrets_unit_fusreac_target_select_rangebias 0
114 set g_turrets_unit_fusreac_target_select_samebias 0
115 set g_turrets_unit_fusreac_target_select_anglebias 0
116 set g_turrets_unit_fusreac_target_select_playerbias 0
117 set g_turrets_unit_fusreac_aim_firetolerance_dist 0
118 set g_turrets_unit_fusreac_aim_speed 0
119 set g_turrets_unit_fusreac_aim_maxrot 0
120 set g_turrets_unit_fusreac_aim_maxpitch 0
121 set g_turrets_unit_fusreac_track_type 0
122 set g_turrets_unit_fusreac_track_accel_pitch 0
123 set g_turrets_unit_fusreac_track_accel_rot 0
124 set g_turrets_unit_fusreac_track_blendrate 0
125 // }}}
126 // {{{ #4: Hellion Missile Turret
127 set g_turrets_unit_hellion_health 500
128 set g_turrets_unit_hellion_respawntime 90
129
130 set g_turrets_unit_hellion_shot_dmg 50
131 set g_turrets_unit_hellion_shot_refire 0.2
132 set g_turrets_unit_hellion_shot_radius 80
133
134 set g_turrets_unit_hellion_shot_speed 650
135 set g_turrets_unit_hellion_shot_speed_max 4000
136 set g_turrets_unit_hellion_shot_speed_gain 1.01
137
138 set g_turrets_unit_hellion_shot_spread 0.08
139 set g_turrets_unit_hellion_shot_force 250
140 set g_turrets_unit_hellion_shot_volly 2
141 set g_turrets_unit_hellion_shot_volly_refire 4
142
143 set g_turrets_unit_hellion_target_range 6000
144 set g_turrets_unit_hellion_target_range_min 150
145 set g_turrets_unit_hellion_target_range_optimal 4500
146
147 set g_turrets_unit_hellion_target_select_rangebias 0.7
148 set g_turrets_unit_hellion_target_select_samebias 0.01
149 set g_turrets_unit_hellion_target_select_anglebias 0.01
150 set g_turrets_unit_hellion_target_select_playerbias 1
151 set g_turrets_unit_hellion_target_select_missilebias 0
152
153 set g_turrets_unit_hellion_ammo_max 200
154 set g_turrets_unit_hellion_ammo 100
155 set g_turrets_unit_hellion_ammo_recharge 50
156
157 set g_turrets_unit_hellion_aim_firetolerance_dist 200
158 set g_turrets_unit_hellion_aim_speed 100
159 set g_turrets_unit_hellion_aim_maxrot 360
160 set g_turrets_unit_hellion_aim_maxpitch 20
161
162 set g_turrets_unit_hellion_track_type 3
163 set g_turrets_unit_hellion_track_accel_pitch 0.25
164 set g_turrets_unit_hellion_track_accel_rot 0.6
165 set g_turrets_unit_hellion_track_blendrate 0.25
166 // }}}
167 // {{{ #5: Hunter-Killer Turret
168 set g_turrets_unit_hk_health 500
169 set g_turrets_unit_hk_respawntime 90
170
171 set g_turrets_unit_hk_shot_dmg 120
172 set g_turrets_unit_hk_shot_refire 5
173 set g_turrets_unit_hk_shot_radius 200
174
175 set g_turrets_unit_hk_shot_speed 500
176 set g_turrets_unit_hk_shot_speed_max 1000
177 set g_turrets_unit_hk_shot_speed_accel 1.025
178 set g_turrets_unit_hk_shot_speed_accel2 1.05
179 set g_turrets_unit_hk_shot_speed_decel 0.9
180 set g_turrets_unit_hk_shot_speed_turnrate 0.25
181
182 set g_turrets_unit_hk_shot_spread 0
183 set g_turrets_unit_hk_shot_force 600
184 set g_turrets_unit_hk_shot_volly 0
185 set g_turrets_unit_hk_shot_volly_refire 0
186
187 set g_turrets_unit_hk_target_range 6000
188 set g_turrets_unit_hk_target_range_min 220
189 set g_turrets_unit_hk_target_range_optimal 5000
190
191 set g_turrets_unit_hk_target_select_rangebias 0.5
192 set g_turrets_unit_hk_target_select_samebias 0.01
193 set g_turrets_unit_hk_target_select_anglebias 0.1
194 set g_turrets_unit_hk_target_select_playerbias 1
195 set g_turrets_unit_hk_target_select_missilebias 0
196
197 set g_turrets_unit_hk_ammo_max 240
198 set g_turrets_unit_hk_ammo 120
199 set g_turrets_unit_hk_ammo_recharge 16
200
201 set g_turrets_unit_hk_aim_firetolerance_dist 500
202 set g_turrets_unit_hk_aim_speed 100
203 set g_turrets_unit_hk_aim_maxrot 360
204 set g_turrets_unit_hk_aim_maxpitch 20
205
206 set g_turrets_unit_hk_track_type 3
207 set g_turrets_unit_hk_track_accel_pitch 0.25
208 set g_turrets_unit_hk_track_accel_rot 0.6
209 set g_turrets_unit_hk_track_blendrate 0.2
210 // }}}
211 // {{{ #6: Machinegun Turret
212 set g_turrets_unit_machinegun_health 256
213 set g_turrets_unit_machinegun_respawntime 60
214
215 set g_turrets_unit_machinegun_shot_dmg 10
216 set g_turrets_unit_machinegun_shot_refire 0.1
217 set g_turrets_unit_machinegun_shot_spread 0.015
218 set g_turrets_unit_machinegun_shot_force 20
219 set g_turrets_unit_machinegun_shot_radius 0
220 set g_turrets_unit_machinegun_shot_speed 34920
221
222 set g_turrets_unit_machinegun_shot_volly 5
223 set g_turrets_unit_machinegun_shot_volly_refire 0.5
224
225 set g_turrets_unit_machinegun_target_range 4500
226 set g_turrets_unit_machinegun_target_range_min 2
227 set g_turrets_unit_machinegun_target_range_optimal 1000
228
229 set g_turrets_unit_machinegun_target_select_rangebias 0.25
230 set g_turrets_unit_machinegun_target_select_samebias 0.25
231 set g_turrets_unit_machinegun_target_select_anglebias 0.5
232 set g_turrets_unit_machinegun_target_select_playerbias 1
233 set g_turrets_unit_machinegun_target_select_missilebias 0
234
235 set g_turrets_unit_machinegun_ammo_max 1500
236 set g_turrets_unit_machinegun_ammo 300
237 set g_turrets_unit_machinegun_ammo_recharge 75
238
239 set g_turrets_unit_machinegun_aim_firetolerance_dist 25
240 set g_turrets_unit_machinegun_aim_speed 120
241 set g_turrets_unit_machinegun_aim_maxrot 360
242 set g_turrets_unit_machinegun_aim_maxpitch 25
243
244 set g_turrets_unit_machinegun_track_type 3
245 set g_turrets_unit_machinegun_track_accel_pitch 0.4
246 set g_turrets_unit_machinegun_track_accel_rot 0.9
247 set g_turrets_unit_machinegun_track_blendrate 0.2
248 // }}}
249 // {{{ #7: MLRS Turret
250 set g_turrets_unit_mlrs_health 500
251 set g_turrets_unit_mlrs_respawntime 60
252
253 set g_turrets_unit_mlrs_shot_dmg 50
254 set g_turrets_unit_mlrs_shot_refire 0.1
255 set g_turrets_unit_mlrs_shot_radius 125
256 set g_turrets_unit_mlrs_shot_speed 2000
257 set g_turrets_unit_mlrs_shot_spread 0.05
258 set g_turrets_unit_mlrs_shot_force 25
259
260 set g_turrets_unit_mlrs_shot_volly 6
261
262 set g_turrets_unit_mlrs_shot_volly_refire 4
263
264 set g_turrets_unit_mlrs_target_range 3000
265 set g_turrets_unit_mlrs_target_range_min 500
266 set g_turrets_unit_mlrs_target_range_optimal 500
267
268 set g_turrets_unit_mlrs_target_select_rangebias 0.25
269 set g_turrets_unit_mlrs_target_select_samebias 0.5
270 set g_turrets_unit_mlrs_target_select_anglebias 0.5
271 set g_turrets_unit_mlrs_target_select_playerbias 1
272 set g_turrets_unit_mlrs_target_select_missilebias 0
273
274 set g_turrets_unit_mlrs_ammo_max 300
275 set g_turrets_unit_mlrs_ammo 300
276 set g_turrets_unit_mlrs_ammo_recharge 75
277
278 set g_turrets_unit_mlrs_aim_firetolerance_dist 120
279 set g_turrets_unit_mlrs_aim_speed 100
280 set g_turrets_unit_mlrs_aim_maxrot 360
281 set g_turrets_unit_mlrs_aim_maxpitch 20
282
283 set g_turrets_unit_mlrs_track_type 3
284 set g_turrets_unit_mlrs_track_accel_pitch 0.5
285 set g_turrets_unit_mlrs_track_accel_rot 0.7
286 set g_turrets_unit_mlrs_track_blendrate 0.2
287 // }}}
288 // {{{ #8: Phaser Cannon
289 set g_turrets_unit_phaser_health 500
290
291 set g_turrets_unit_phaser_respawntime 90
292
293 set g_turrets_unit_phaser_shot_dmg 100
294 set g_turrets_unit_phaser_shot_refire 4
295 set g_turrets_unit_phaser_shot_radius 8
296 set g_turrets_unit_phaser_shot_speed 4
297 set g_turrets_unit_phaser_shot_spread 0
298 set g_turrets_unit_phaser_shot_force 5
299 set g_turrets_unit_phaser_shot_volly 0
300 set g_turrets_unit_phaser_shot_volly_refire 5
301
302 set g_turrets_unit_phaser_target_range 3000
303 set g_turrets_unit_phaser_target_range_min 0
304 set g_turrets_unit_phaser_target_range_optimal 1500
305
306 set g_turrets_unit_phaser_target_select_rangebias 0.85
307 set g_turrets_unit_phaser_target_select_samebias 0
308 set g_turrets_unit_phaser_target_select_anglebias 0.25
309 set g_turrets_unit_phaser_target_select_playerbias 1
310 set g_turrets_unit_phaser_target_select_missilebias 0
311
312 set g_turrets_unit_phaser_ammo_max 2000
313 set g_turrets_unit_phaser_ammo 1000
314 set g_turrets_unit_phaser_ammo_recharge 25
315
316 set g_turrets_unit_phaser_aim_firetolerance_dist 100
317
318 set g_turrets_unit_phaser_aim_speed 300
319 set g_turrets_unit_phaser_aim_maxrot 360
320 set g_turrets_unit_phaser_aim_maxpitch 30
321
322 set g_turrets_unit_phaser_track_type 3
323 set g_turrets_unit_phaser_track_accel_pitch 0.5
324 set g_turrets_unit_phaser_track_accel_rot 0.65
325 set g_turrets_unit_phaser_track_blendrate 0.2
326 // }}}
327 // {{{ #9: Plasma Cannon
328 set g_turrets_unit_plasma_health 500
329 set g_turrets_unit_plasma_respawntime 60
330
331 set g_turrets_unit_plasma_shot_dmg 80
332 set g_turrets_unit_plasma_shot_refire 0.6
333 set g_turrets_unit_plasma_shot_radius 150
334 set g_turrets_unit_plasma_shot_speed 2000
335 set g_turrets_unit_plasma_shot_spread 0.015
336 set g_turrets_unit_plasma_shot_force 100
337 set g_turrets_unit_plasma_shot_volly 0
338 set g_turrets_unit_plasma_shot_volly_refire 0
339
340 set g_turrets_unit_plasma_target_range 3500
341 set g_turrets_unit_plasma_target_range_min 200
342 set g_turrets_unit_plasma_target_range_optimal 500
343
344 set g_turrets_unit_plasma_target_select_rangebias 0.5
345 set g_turrets_unit_plasma_target_select_samebias 0.01
346 set g_turrets_unit_plasma_target_select_anglebias 0.25
347 set g_turrets_unit_plasma_target_select_playerbias 1
348 set g_turrets_unit_plasma_target_select_missilebias 0
349
350 set g_turrets_unit_plasma_ammo_max 640
351 set g_turrets_unit_plasma_ammo 320
352 set g_turrets_unit_plasma_ammo_recharge 40
353
354 set g_turrets_unit_plasma_aim_firetolerance_dist 120
355 set g_turrets_unit_plasma_aim_speed 200
356 set g_turrets_unit_plasma_aim_maxrot 360
357 set g_turrets_unit_plasma_aim_maxpitch 30
358
359 set g_turrets_unit_plasma_track_type 3
360 set g_turrets_unit_plasma_track_accel_pitch 0.5
361 set g_turrets_unit_plasma_track_accel_rot 0.7
362 set g_turrets_unit_plasma_track_blendrate 0.2
363 // }}}
364 // {{{ #10: Dual Plasma Cannon
365 set g_turrets_unit_plasma_dual_health 500
366 set g_turrets_unit_plasma_dual_respawntime 60
367
368 set g_turrets_unit_plasma_dual_shot_dmg 80
369 set g_turrets_unit_plasma_dual_shot_refire 0.35
370 set g_turrets_unit_plasma_dual_shot_radius 150
371 set g_turrets_unit_plasma_dual_shot_speed 2000
372 set g_turrets_unit_plasma_dual_shot_spread 0.015
373 set g_turrets_unit_plasma_dual_shot_force 100
374
375 set g_turrets_unit_plasma_dual_shot_volly 0
376 set g_turrets_unit_plasma_dual_shot_volly_refire 0
377
378 set g_turrets_unit_plasma_dual_target_range 3000
379 set g_turrets_unit_plasma_dual_target_range_min 80
380 set g_turrets_unit_plasma_dual_target_range_optimal 1000
381
382 set g_turrets_unit_plasma_dual_target_select_rangebias 0.2
383 set g_turrets_unit_plasma_dual_target_select_samebias 0.4
384 set g_turrets_unit_plasma_dual_target_select_anglebias 0.4
385 set g_turrets_unit_plasma_dual_target_select_playerbias 1
386 set g_turrets_unit_plasma_dual_target_select_missilebias 0
387
388 set g_turrets_unit_plasma_dual_ammo_max 640
389 set g_turrets_unit_plasma_dual_ammo 320
390 set g_turrets_unit_plasma_dual_ammo_recharge 40
391
392 set g_turrets_unit_plasma_dual_aim_firetolerance_dist 200
393
394 set g_turrets_unit_plasma_dual_aim_speed 100
395 set g_turrets_unit_plasma_dual_aim_maxrot 360
396 set g_turrets_unit_plasma_dual_aim_maxpitch 30
397
398 set g_turrets_unit_plasma_dual_track_type 3
399 set g_turrets_unit_plasma_dual_track_accel_pitch 0.5
400 set g_turrets_unit_plasma_dual_track_accel_rot 0.7
401 set g_turrets_unit_plasma_dual_track_blendrate 0.2
402 // }}}
403 // {{{ #11: Tesla Coil
404 set g_turrets_unit_tesla_health 1000
405 set g_turrets_unit_tesla_respawntime 120
406
407 set g_turrets_unit_tesla_shot_dmg 200
408 set g_turrets_unit_tesla_shot_refire 1.5
409 set g_turrets_unit_tesla_shot_force 400
410
411 set g_turrets_unit_tesla_shot_volly 1
412 set g_turrets_unit_tesla_shot_volly_refire 2.5
413
414 set g_turrets_unit_tesla_target_range_min 0
415 set g_turrets_unit_tesla_target_range      1000
416
417 set g_turrets_unit_tesla_target_select_playerbias 1
418 set g_turrets_unit_tesla_target_select_missilebias 1
419
420 set g_turrets_unit_tesla_ammo_max 1000
421 set g_turrets_unit_tesla_ammo 200
422 set g_turrets_unit_tesla_ammo_recharge 15
423 // }}}
424 // {{{ #12: Walker Turret
425 set g_turrets_unit_walker_health 500
426 set g_turrets_unit_walker_respawntime 60
427
428 set g_turrets_unit_walker_speed_run  300
429 set g_turrets_unit_walker_speed_roam 100
430 set g_turrets_unit_walker_speed_walk 200
431 set g_turrets_unit_walker_speed_swim 200
432 set g_turrets_unit_walker_speed_jump 800
433 set g_turrets_unit_walker_speed_stop 90
434
435 set g_turrets_unit_walker_turn 20
436 set g_turrets_unit_walker_turn_walk 15
437 set g_turrets_unit_walker_turn_run 7
438 set g_turrets_unit_walker_turn_swim 10
439 set g_turrets_unit_walker_turn_strafe 5
440
441 set g_turrets_unit_walker_shot_dmg 5
442 set g_turrets_unit_walker_shot_refire 0.05
443 set g_turrets_unit_walker_shot_spread 0.025
444 set g_turrets_unit_walker_shot_force    10
445 set g_turrets_unit_walker_shot_radius 0
446 set g_turrets_unit_walker_shot_speed 18000
447
448 set g_turrets_unit_walker_shot_volly 10
449 set g_turrets_unit_walker_shot_volly_refire 1
450
451 set g_turrets_unit_walker_target_range 5000
452 set g_turrets_unit_walker_target_range_optimal 100
453 set g_turrets_unit_walker_target_range_min 0
454
455 set g_turrets_unit_walker_target_select_rangebias 0.25
456 set g_turrets_unit_walker_target_select_samebias 0.25
457 set g_turrets_unit_walker_target_select_anglebias 0.5
458 set g_turrets_unit_walker_target_select_playerbias 1
459 set g_turrets_unit_walker_target_select_missilebias 0
460
461 set g_turrets_unit_walker_ammo_max      4000
462 set g_turrets_unit_walker_ammo          500
463 set g_turrets_unit_walker_ammo_recharge 100
464
465 set g_turrets_unit_walker_aim_firetolerance_dist  100
466 set g_turrets_unit_walker_aim_speed               45
467 set g_turrets_unit_walker_aim_maxrot              90
468 set g_turrets_unit_walker_aim_maxpitch            15
469
470 set g_turrets_unit_walker_track_type 1
471
472 set g_turrets_unit_walker_rocket_range 4000
473 set g_turrets_unit_walker_rocket_range_min 500
474 set g_turrets_unit_walker_rocket_refire 10
475 set g_turrets_unit_walker_rocket_damage 45
476 set g_turrets_unit_walker_rocket_radius 150
477 set g_turrets_unit_walker_rocket_force 150
478 set g_turrets_unit_walker_rocket_turnrate 0.05
479 set g_turrets_unit_walker_rocket_speed 1000
480
481 set g_turrets_unit_walker_melee_range 100
482 set g_turrets_unit_walker_melee_damage 100
483 set g_turrets_unit_walker_melee_force 600
484
485 set g_turrets_unit_walker_track_accel_pitch 0.5
486 set g_turrets_unit_walker_track_accel_rot 0.8
487 set g_turrets_unit_walker_track_blendrate 0.2
488 // }}}