]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - balanceXonotic.cfg
W_CheckProjectileDamage -- new global weapon function which check g_projectiles_damag...
[xonotic/xonotic-data.pk3dir.git] / balanceXonotic.cfg
1 // {{{ starting gear
2 set g_start_weapon_laser -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
3 set g_start_weapon_shotgun -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
4 set g_start_weapon_uzi -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
5 set g_start_weapon_grenadelauncher -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
6 set g_start_weapon_minelayer -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
7 set g_start_weapon_electro -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
8 set g_start_weapon_crylink -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
9 set g_start_weapon_nex -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
10 set g_start_weapon_hagar -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms" // UNTIL IT CAN BE REMOVED FROM CODE
11 set g_start_weapon_rocketlauncher -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
12 set g_start_weapon_minstanex -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
13 set g_start_weapon_porto -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
14 set g_start_weapon_hook -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
15 set g_start_weapon_hlac -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms" // UNTIL IT CAN BE REMOVED FROM CODE
16 set g_start_weapon_rifle -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms" // UNTIL IT CAN BE REMOVED FROM CODE
17 set g_start_weapon_tuba -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
18 set g_start_weapon_fireball -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
19 set g_start_weapon_seeker -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms"
20 set g_balance_health_start 100
21 set g_balance_armor_start 0
22 set g_start_ammo_shells 15
23 set g_start_ammo_nails 0
24 set g_start_ammo_rockets 0
25 set g_start_ammo_cells 0
26 set g_start_ammo_fuel 0
27 set g_warmup_start_health 100 "starting values when being in warmup-stage"
28 set g_warmup_start_armor 100 "starting values when being in warmup-stage"
29 set g_warmup_start_ammo_shells 30 "starting values when being in warmup-stage"
30 set g_warmup_start_ammo_nails 160 "starting values when being in warmup-stage"
31 set g_warmup_start_ammo_rockets 80 "starting values when being in warmup-stage"
32 set g_warmup_start_ammo_cells 90 "starting values when being in warmup-stage"
33 set g_warmup_start_ammo_fuel 0 "starting values when being in warmup-stage"
34 set g_lms_start_health 200
35 set g_lms_start_armor 200
36 set g_lms_start_ammo_shells 60
37 set g_lms_start_ammo_nails 320
38 set g_lms_start_ammo_rockets 160
39 set g_lms_start_ammo_cells 180
40 set g_lms_start_ammo_fuel 0
41 set g_balance_nix_roundtime 25
42 set g_balance_nix_incrtime 1.6
43 set g_balance_nix_ammo_shells 60
44 set g_balance_nix_ammo_nails 320
45 set g_balance_nix_ammo_rockets 160
46 set g_balance_nix_ammo_cells 180
47 set g_balance_nix_ammo_fuel 0
48 set g_balance_nix_ammoincr_shells 2 // eh this will need figured out later I assume
49 set g_balance_nix_ammoincr_nails 6
50 set g_balance_nix_ammoincr_rockets 2
51 set g_balance_nix_ammoincr_cells 2
52 set g_balance_nix_ammoincr_fuel 2
53 // }}}
54
55 // {{{ pickup items
56 set g_pickup_ammo_anyway 1
57 set g_pickup_weapons_anyway 1
58 set g_pickup_shells 15
59 set g_pickup_shells_weapon 15
60 set g_pickup_shells_max 60
61 set g_pickup_nails 80
62 set g_pickup_nails_weapon 80
63 set g_pickup_nails_max 320
64 set g_pickup_rockets 40
65 set g_pickup_rockets_weapon 40
66 set g_pickup_rockets_max 160
67 set g_pickup_cells 30
68 set g_pickup_cells_weapon 30
69 set g_pickup_cells_max 180
70 set g_pickup_fuel 50
71 set g_pickup_fuel_weapon 50
72 set g_pickup_fuel_jetpack 100
73 set g_pickup_fuel_max 100
74 set g_pickup_armorsmall 5
75 set g_pickup_armorsmall_max 200
76 set g_pickup_armorsmall_anyway 1
77 set g_pickup_armormedium 25
78 set g_pickup_armormedium_max 200
79 set g_pickup_armormedium_anyway 1
80 set g_pickup_armorbig 50
81 set g_pickup_armorbig_max 200
82 set g_pickup_armorbig_anyway 1
83 set g_pickup_armorlarge 100
84 set g_pickup_armorlarge_max 200
85 set g_pickup_armorlarge_anyway 1
86 set g_pickup_healthsmall 5
87 set g_pickup_healthsmall_max 200
88 set g_pickup_healthsmall_anyway 1
89 set g_pickup_healthmedium 25
90 set g_pickup_healthmedium_max 200
91 set g_pickup_healthmedium_anyway 1
92 set g_pickup_healthlarge 50
93 set g_pickup_healthlarge_max 200
94 set g_pickup_healthlarge_anyway 1
95 set g_pickup_healthmega 100
96 set g_pickup_healthmega_max 200
97 set g_pickup_healthmega_anyway 1
98 set g_pickup_respawntime_short 15
99 set g_pickup_respawntime_medium 20
100 set g_pickup_respawntime_long 30
101 set g_pickup_respawntime_powerup 120
102 set g_pickup_respawntime_weapon 10
103 set g_pickup_respawntime_ammo 10
104 set g_pickup_respawntimejitter_short 0
105 set g_pickup_respawntimejitter_medium 0
106 set g_pickup_respawntimejitter_long 0
107 set g_pickup_respawntimejitter_powerup 30
108 set g_pickup_respawntimejitter_weapon 0
109 set g_pickup_respawntimejitter_ammo 0
110 // }}}
111
112 // {{{ regen/rot
113 set g_balance_health_regen 0.08
114 set g_balance_health_regenlinear 0.5
115 set g_balance_pause_health_regen 5
116 set g_balance_pause_health_regen_spawn 0
117 set g_balance_health_rot 0.04
118 set g_balance_health_rotlinear 0.75
119 set g_balance_pause_health_rot 1
120 set g_balance_pause_health_rot_spawn 5
121 set g_balance_health_regenstable 100
122 set g_balance_health_rotstable 100
123 set g_balance_health_limit 999
124 set g_balance_armor_regen 0
125 set g_balance_armor_regenlinear 0
126 set g_balance_armor_rot 0.04
127 set g_balance_armor_rotlinear 0.75
128 set g_balance_pause_armor_rot 1
129 set g_balance_pause_armor_rot_spawn 5
130 set g_balance_armor_regenstable 100
131 set g_balance_armor_rotstable 100
132 set g_balance_armor_limit 999
133 set g_balance_armor_blockpercent 0.6
134 set g_balance_fuel_regen 0.1 "fuel regeneration (only applies if the player owns IT_FUEL_REGEN)"
135 set g_balance_fuel_regenlinear 0
136 set g_balance_pause_fuel_regen 2 // other than this, fuel uses the health regen counter
137 set g_balance_fuel_rot 0.05
138 set g_balance_fuel_rotlinear 0
139 set g_balance_pause_fuel_rot 5
140 set g_balance_pause_fuel_rot_spawn 10
141 set g_balance_fuel_regenstable 50
142 set g_balance_fuel_rotstable 100
143 set g_balance_fuel_limit 999
144 // }}}
145
146 // {{{ misc
147 set g_balance_selfdamagepercent 0.65
148 set g_balance_weaponswitchdelay 0.15
149 set g_weaponspeedfactor 1 "weapon projectile speed multiplier"
150 set g_weaponratefactor 1 "weapon fire rate multiplier"
151 set g_weapondamagefactor 1 "weapon damage multiplier"
152 set g_weaponforcefactor 1 "weapon force multiplier"
153 set g_weaponspreadfactor 1 "weapon spread multiplier"
154 set g_balance_firetransfer_time 0.9
155 set g_balance_firetransfer_damage 0.8
156 set g_throughfloor_damage 0.5
157 set g_throughfloor_force 0.75
158 set g_projectiles_damage 1
159 // possible values:
160 // -2: absolutely no damage to projectiles (no exceptions)
161 // -1: no damage other than the exceptions (electro combo, hagar join explode, minelayer mines)
162 // 0: only damage from contents (lava/slime) or exceptions 
163 // 1: only self damage or damage from contents or exceptions
164 // 2: allow all damage to projectiles normally
165 set g_projectiles_newton_style 2
166 // possible values:
167 // 0: absolute velocity projectiles (like Quake)
168 // 1: relative velocity projectiles, "Newtonian" (like Tribes 2)
169 // 2: relative velocity projectiles, but aim is precorrected so projectiles hit the crosshair (note: strafe rockets then are SLOWER than ones shot while standing, happens in 1 too when aiming correctly which is hard)
170 // 3: absolute velocity + player velocity component in shot direction (note: does NOT yield the right relative velocity, but may be good enough, but it is somewhat prone to sniper rockets)
171 // 4: just add the player velocity length to the absolute velocity (tZork's sniper rockets)
172 set g_projectiles_newton_style_2_minfactor 0.8
173 set g_projectiles_newton_style_2_maxfactor 1.5
174 set g_projectiles_spread_style 7
175 // possible values:
176 // 0: forward + solid sphere (like Quake) - varies velocity
177 // 1: forward + flattened solid sphere
178 // 2: forward + solid circle
179 // 3: forward + normal distribution 3D - varies velocity
180 // 4: forward + normal distribution on a plane
181 // 5: forward + circle with 1-r falloff
182 // 6: forward + circle with 1-r^2 falloff
183 // 7: forward + circle with (1-r)(2-r) falloff
184 set g_balance_falldamage_deadminspeed 250
185 set g_balance_falldamage_minspeed 900
186 set g_balance_falldamage_factor 0.20
187 set g_balance_falldamage_maxdamage 40
188 set g_balance_damagepush_speedfactor 2.5
189 set g_balance_contents_damagerate 5 // how many times to apply damage per second (so 5 is 0.2 second delay per impulse of damage)
190 set g_balance_contents_drowndelay 10 // time under water before a player begins drowning
191 set g_balance_contents_playerdamage_drowning 20 // damage per second for while player is drowning
192 set g_balance_contents_playerdamage_lava 50 // damage per second for while player is inside lava
193 set g_balance_contents_playerdamage_slime 30 // damage per second for while player is inside slime
194 set g_balance_contents_projectiledamage 10000 // instantly kill projectiles upon touching lava/slime
195 // }}}
196
197 // {{{ powerups
198 set g_balance_powerup_invincible_takedamage 0.25 // only 1/4th damage is taken
199 set g_balance_powerup_invincible_time 30
200 set g_balance_powerup_strength_damage 3
201 set g_balance_powerup_strength_force 3
202 set g_balance_powerup_strength_time 30
203 set g_balance_powerup_strength_selfdamage 1.5
204 set g_balance_powerup_strength_selfforce 1.5
205 // }}}
206
207 // {{{ jetpack/hook
208 set g_jetpack_antigravity 0.8 "factor of gravity compensation of the jetpack"
209 set g_jetpack_acceleration_side 1200 "acceleration of the jetpack in xy direction"
210 set g_jetpack_acceleration_up 600 "acceleration of the jetpack in z direction (note: you have to factor in gravity here, if antigravity is not 1)"
211 set g_jetpack_maxspeed_side 1200 "max speed of the jetpack in xy direction"
212 set g_jetpack_maxspeed_up 600 "max speed of the jetpack in z direction"
213 set g_jetpack_fuel 8 "fuel per second for jetpack"
214 set g_jetpack_attenuation 2 "jetpack sound attenuation"
215
216 set g_grappling_hook_tarzan 2 // 2: can also pull players
217 set g_balance_grapplehook_speed_fly 1800
218 set g_balance_grapplehook_speed_pull 2000
219 set g_balance_grapplehook_force_rubber 2000
220 set g_balance_grapplehook_force_rubber_overstretch 1000
221 set g_balance_grapplehook_length_min 50
222 set g_balance_grapplehook_stretch 50
223 set g_balance_grapplehook_airfriction 0.2
224 set g_balance_grapplehook_health 30
225 set g_balance_grapplehook_damagedbycontents 1
226 // }}}
227
228 // {{{ weapon properties
229 // {{{ laser
230 set g_balance_laser_primary_damage 25
231 set g_balance_laser_primary_edgedamage 12.5
232 set g_balance_laser_primary_force 300
233 set g_balance_laser_primary_radius 70
234 set g_balance_laser_primary_speed 6000
235 set g_balance_laser_primary_spread 0
236 set g_balance_laser_primary_refire 0.7
237 set g_balance_laser_primary_animtime 0.3
238 set g_balance_laser_primary_lifetime 5
239 set g_balance_laser_primary_shotangle 0
240 set g_balance_laser_primary_delay 0
241 set g_balance_laser_primary_gauntlet 0
242 set g_balance_laser_primary_force_zscale 1.25
243 set g_balance_laser_primary_force_velocitybias 0
244 set g_balance_laser_primary_force_other_scale 1
245 set g_balance_laser_secondary 0 // when 1, a secondary laser mode exists
246 set g_balance_laser_secondary_damage 25
247 set g_balance_laser_secondary_edgedamage 12.5
248 set g_balance_laser_secondary_force 400
249 set g_balance_laser_secondary_radius 70
250 set g_balance_laser_secondary_speed 12000
251 set g_balance_laser_secondary_spread 0
252 set g_balance_laser_secondary_refire 0.7
253 set g_balance_laser_secondary_animtime 0.3
254 set g_balance_laser_secondary_lifetime 5
255 set g_balance_laser_secondary_shotangle -90
256 set g_balance_laser_secondary_delay 0
257 set g_balance_laser_secondary_gauntlet 0
258 set g_balance_laser_secondary_force_zscale 1.25
259 set g_balance_laser_secondary_force_velocitybias 0
260 set g_balance_laser_secondary_force_other_scale 1
261 set g_balance_laser_reload_ammo 0 //default: 6
262 set g_balance_laser_reload_time 2
263 // }}}
264 // {{{ shotgun
265 set g_balance_shotgun_primary_bullets 14
266 set g_balance_shotgun_primary_damage 4
267 set g_balance_shotgun_primary_force 15
268 set g_balance_shotgun_primary_spread 0.12
269 set g_balance_shotgun_primary_refire 0.75
270 set g_balance_shotgun_primary_animtime 0.2
271 set g_balance_shotgun_primary_ammo 1
272 set g_balance_shotgun_primary_speed 8000
273 set g_balance_shotgun_primary_bulletconstant 75 // 3.8qu
274 set g_balance_shotgun_secondary 1
275 set g_balance_shotgun_secondary_melee_delay 0.25 // 0.35 was too slow
276 set g_balance_shotgun_secondary_melee_range 120
277 set g_balance_shotgun_secondary_melee_swing_side 120
278 set g_balance_shotgun_secondary_melee_swing_up 30
279 set g_balance_shotgun_secondary_melee_time 0.15
280 set g_balance_shotgun_secondary_melee_traces 10
281 set g_balance_shotgun_secondary_melee_no_doubleslap 1
282 set g_balance_shotgun_secondary_melee_nonplayerdamage 40
283 set g_balance_shotgun_secondary_melee_multihit 1
284 set g_balance_shotgun_secondary_damage 100
285 set g_balance_shotgun_secondary_force 200
286 set g_balance_shotgun_secondary_refire 1.25
287 set g_balance_shotgun_secondary_animtime 1
288 set g_balance_shotgun_reload_ammo 0 //default: 5
289 set g_balance_shotgun_reload_time 2
290 // }}}
291 // {{{ uzi
292 set g_balance_uzi_mode 1                                // Activates varible spread for sustained & burst mode secondary
293 set g_balance_uzi_spread_min 0.02
294 set g_balance_uzi_spread_max 0.05
295 set g_balance_uzi_spread_add 0.012
296
297 set g_balance_uzi_burst 3                               // # of bullets in a burst (if set to 2 or more)
298 set g_balance_uzi_burst_animtime 0.3
299 set g_balance_uzi_burst_refire 0.06             // refire between burst bullets
300 set g_balance_uzi_burst_refire2 0.45    // refire after burst
301 set g_balance_uzi_burst_spread 0.02
302 set g_balance_uzi_burst_damage 25               
303 set g_balance_uzi_burst_force 20
304 set g_balance_uzi_burst_ammo 3
305
306 set g_balance_uzi_first 1
307 set g_balance_uzi_first_damage 14
308 set g_balance_uzi_first_force 5
309 set g_balance_uzi_first_spread 0.03
310 set g_balance_uzi_first_refire 0.2
311 set g_balance_uzi_first_ammo 1
312
313 set g_balance_uzi_sustained_damage 10 // 100 dps
314 set g_balance_uzi_sustained_force 5
315 set g_balance_uzi_sustained_spread 0.03
316 set g_balance_uzi_sustained_refire 0.1
317 set g_balance_uzi_sustained_ammo 1
318
319 set g_balance_uzi_speed 18000
320 set g_balance_uzi_bulletconstant 115 // 13.1qu
321
322 set g_balance_uzi_reload_ammo 60 //default: 30
323 set g_balance_uzi_reload_time 2
324 // }}}
325 // {{{ mortar
326 set g_balance_grenadelauncher_primary_type 0
327 set g_balance_grenadelauncher_primary_damage 50
328 set g_balance_grenadelauncher_primary_edgedamage 25
329 set g_balance_grenadelauncher_primary_force 250
330 set g_balance_grenadelauncher_primary_radius 130
331 set g_balance_grenadelauncher_primary_speed 1900
332 set g_balance_grenadelauncher_primary_speed_up 225
333 set g_balance_grenadelauncher_primary_speed_z 0
334 set g_balance_grenadelauncher_primary_spread 0.02
335 set g_balance_grenadelauncher_primary_lifetime 5
336 set g_balance_grenadelauncher_primary_lifetime2 1
337 set g_balance_grenadelauncher_primary_refire 0.8
338 set g_balance_grenadelauncher_primary_animtime 0.3
339 set g_balance_grenadelauncher_primary_ammo 2
340 set g_balance_grenadelauncher_primary_health 15
341 set g_balance_grenadelauncher_primary_damageforcescale 0
342 set g_balance_grenadelauncher_primary_remote_minbouncecnt 0
343
344 set g_balance_grenadelauncher_secondary_type 1
345 set g_balance_grenadelauncher_secondary_damage 60
346 set g_balance_grenadelauncher_secondary_edgedamage 30
347 set g_balance_grenadelauncher_secondary_force 250
348 set g_balance_grenadelauncher_secondary_radius 130
349 set g_balance_grenadelauncher_secondary_speed 1400
350 set g_balance_grenadelauncher_secondary_speed_up 150
351 set g_balance_grenadelauncher_secondary_speed_z 0
352 set g_balance_grenadelauncher_secondary_spread 0.02
353 set g_balance_grenadelauncher_secondary_lifetime 5
354 set g_balance_grenadelauncher_secondary_lifetime_bounce 0.5
355 set g_balance_grenadelauncher_secondary_lifetime_stick 0
356 set g_balance_grenadelauncher_secondary_refire 0.7
357 set g_balance_grenadelauncher_secondary_animtime 0.3
358 set g_balance_grenadelauncher_secondary_ammo 2
359 set g_balance_grenadelauncher_secondary_health 30
360 set g_balance_grenadelauncher_secondary_damageforcescale 4
361 set g_balance_grenadelauncher_secondary_remote_detonateprimary 0
362
363 set g_balance_grenadelauncher_bouncefactor 0.5
364 set g_balance_grenadelauncher_bouncestop 0.075
365
366 set g_balance_grenadelauncher_reload_ammo 0 //default: 12
367 set g_balance_grenadelauncher_reload_time 2
368 // }}}
369 // {{{ minelayer
370 set g_balance_minelayer_damage 40
371 set g_balance_minelayer_edgedamage 20
372 set g_balance_minelayer_force 250
373 set g_balance_minelayer_radius 175
374 set g_balance_minelayer_proximityradius 150
375 set g_balance_minelayer_speed 1000
376 set g_balance_minelayer_lifetime 10
377 set g_balance_minelayer_lifetime_countdown 0.5
378 set g_balance_minelayer_refire 1.5
379 set g_balance_minelayer_animtime 0.4
380 set g_balance_minelayer_ammo 4
381 set g_balance_minelayer_health 15
382 set g_balance_minelayer_limit 3 // 0 disables the limit
383 set g_balance_minelayer_protection 0 // don't explode if the mine would hurt the owner or a team mate
384 set g_balance_minelayer_damageforcescale 0
385 set g_balance_minelayer_detonatedelay -1 // positive: timer till detonation is allowed, negative: "security device" that prevents ANY remote detonation if it could hurt its owner, zero: detonatable at any time
386 set g_balance_minelayer_time 0.5
387 set g_balance_minelayer_remote_damage 45
388 set g_balance_minelayer_remote_edgedamage 40
389 set g_balance_minelayer_remote_radius 200
390 set g_balance_minelayer_remote_force 300
391 set g_balance_minelayer_reload_ammo 0 //default: 15
392 set g_balance_minelayer_reload_time 2
393 // }}}
394 // {{{ electro
395 set g_balance_electro_lightning 0
396 set g_balance_electro_primary_damage 40
397 set g_balance_electro_primary_edgedamage 20
398 set g_balance_electro_primary_force 200
399 set g_balance_electro_primary_force_up 0
400 set g_balance_electro_primary_radius 100
401 set g_balance_electro_primary_comboradius 150
402 set g_balance_electro_primary_speed 2500
403 set g_balance_electro_primary_spread 0
404 set g_balance_electro_primary_lifetime 5
405 set g_balance_electro_primary_refire 0.6
406 set g_balance_electro_primary_animtime 0.1
407 set g_balance_electro_primary_ammo 4
408 set g_balance_electro_primary_range 0
409 set g_balance_electro_primary_falloff_mindist 255 // 0.3 * radius
410 set g_balance_electro_primary_falloff_maxdist 850
411 set g_balance_electro_primary_falloff_halflifedist 425
412 set g_balance_electro_secondary_damage 40
413 set g_balance_electro_secondary_edgedamage 20
414 set g_balance_electro_secondary_force 200
415 set g_balance_electro_secondary_radius 150
416 set g_balance_electro_secondary_speed 900
417 set g_balance_electro_secondary_speed_up 200
418 set g_balance_electro_secondary_speed_z 0
419 set g_balance_electro_secondary_spread 0.05
420 set g_balance_electro_secondary_lifetime 3
421 set g_balance_electro_secondary_refire 0.2
422 set g_balance_electro_secondary_refire2 1.5
423 set g_balance_electro_secondary_animtime 0.2
424 set g_balance_electro_secondary_ammo 2
425 set g_balance_electro_secondary_health 5
426 set g_balance_electro_secondary_damageforcescale 4
427 set g_balance_electro_secondary_damagedbycontents 1
428 set g_balance_electro_secondary_count 3
429 set g_balance_electro_secondary_bouncefactor 0.4
430 set g_balance_electro_secondary_bouncestop 0.05
431 set g_balance_electro_combo_damage 50
432 set g_balance_electro_combo_edgedamage 25
433 set g_balance_electro_combo_force 120
434 set g_balance_electro_combo_radius 175
435 set g_balance_electro_combo_comboradius 275
436 set g_balance_electro_combo_speed 2000
437 set g_balance_electro_reload_ammo 0 //default: 20
438 set g_balance_electro_reload_time 2
439 // }}}
440 // {{{ crylink 
441 set g_balance_crylink_primary_damage 10
442 set g_balance_crylink_primary_edgedamage 5
443 set g_balance_crylink_primary_force -55
444 set g_balance_crylink_primary_radius 80
445 set g_balance_crylink_primary_speed 1800
446 set g_balance_crylink_primary_spread 0.075
447 set g_balance_crylink_primary_shots 7
448 set g_balance_crylink_primary_bounces 1
449 set g_balance_crylink_primary_refire 0.7
450 set g_balance_crylink_primary_animtime 0.3
451 set g_balance_crylink_primary_ammo 3
452 set g_balance_crylink_primary_bouncedamagefactor 0.5
453 set g_balance_crylink_primary_joindelay 0
454 set g_balance_crylink_primary_joinspread 0.4
455 set g_balance_crylink_primary_jointime 0
456 set g_balance_crylink_primary_joinexplode 1
457 set g_balance_crylink_primary_joinexplode_damage 0
458 set g_balance_crylink_primary_joinexplode_edgedamage 0
459 set g_balance_crylink_primary_joinexplode_radius 0
460 set g_balance_crylink_primary_joinexplode_force 0
461 set g_balance_crylink_primary_linkexplode 1
462
463 set g_balance_crylink_primary_middle_lifetime 5 // range: 35000 full, fades to 70000
464 set g_balance_crylink_primary_middle_fadetime 5
465 set g_balance_crylink_primary_other_lifetime 5 
466 set g_balance_crylink_primary_other_fadetime 5
467
468 set g_balance_crylink_secondary 1
469 set g_balance_crylink_secondary_damage 5
470 set g_balance_crylink_secondary_edgedamage 0
471 set g_balance_crylink_secondary_force -40
472 set g_balance_crylink_secondary_radius 70
473 set g_balance_crylink_secondary_speed 2000
474 set g_balance_crylink_secondary_spread 0.02
475 set g_balance_crylink_secondary_shots 3
476 set g_balance_crylink_secondary_bounces 1
477 set g_balance_crylink_secondary_refire 0.2
478 set g_balance_crylink_secondary_animtime 0.2
479 set g_balance_crylink_secondary_ammo 2
480 set g_balance_crylink_secondary_bouncedamagefactor 0.5
481 set g_balance_crylink_secondary_joindelay 0
482 set g_balance_crylink_secondary_joinspread 0
483 set g_balance_crylink_secondary_jointime 0
484 set g_balance_crylink_secondary_joinexplode 0                   
485 set g_balance_crylink_secondary_joinexplode_damage 0    
486 set g_balance_crylink_secondary_joinexplode_edgedamage 0
487 set g_balance_crylink_secondary_joinexplode_radius 0
488 set g_balance_crylink_secondary_joinexplode_force 0
489 set g_balance_crylink_secondary_linkexplode 1
490
491 set g_balance_crylink_secondary_middle_lifetime 5 // range: 35000 full, fades to 70000
492 set g_balance_crylink_secondary_middle_fadetime 5
493 set g_balance_crylink_secondary_line_lifetime 5 
494 set g_balance_crylink_secondary_line_fadetime 5
495
496 set g_balance_crylink_reload_ammo 0 //default: 10
497 set g_balance_crylink_reload_time 2
498 // }}}
499 // {{{ nex
500 set g_balance_nex_primary_damage 90
501 set g_balance_nex_primary_force 400
502 set g_balance_nex_primary_refire 1.5
503 set g_balance_nex_primary_animtime 0.4
504 set g_balance_nex_primary_ammo 6
505 set g_balance_nex_primary_damagefalloff_mindist 0 // 1000    For tZork ;3
506 set g_balance_nex_primary_damagefalloff_maxdist 0 // 3000
507 set g_balance_nex_primary_damagefalloff_halflife 0 // 1500
508 set g_balance_nex_primary_damagefalloff_forcehalflife 0 // 1500
509
510 set g_balance_nex_secondary 0
511 set g_balance_nex_secondary_charge 0
512 set g_balance_nex_secondary_charge_rate 0.1
513 set g_balance_nex_secondary_chargepool 0
514 set g_balance_nex_secondary_chargepool_regen 0.15
515 set g_balance_nex_secondary_chargepool_pause_regen 1
516 set g_balance_nex_secondary_chargepool_pause_health_regen 1
517 set g_balance_nex_secondary_damage 0
518 set g_balance_nex_secondary_force 0
519 set g_balance_nex_secondary_refire 0
520 set g_balance_nex_secondary_animtime 0
521 set g_balance_nex_secondary_ammo 2
522 set g_balance_nex_secondary_damagefalloff_mindist 0
523 set g_balance_nex_secondary_damagefalloff_maxdist 0
524 set g_balance_nex_secondary_damagefalloff_halflife 0
525 set g_balance_nex_secondary_damagefalloff_forcehalflife 0
526
527 set g_balance_nex_charge 1
528 set g_balance_nex_charge_mindmg 40
529 set g_balance_nex_charge_start 0.5
530 set g_balance_nex_charge_rate 0.4
531 set g_balance_nex_charge_animlimit 0.5
532 set g_balance_nex_charge_limit 1
533 set g_balance_nex_charge_rot_rate 0
534 set g_balance_nex_charge_rot_pause 0 // Dont rot down untill this long after release of charge button
535 set g_balance_nex_charge_shot_multiplier 0
536 set g_balance_nex_charge_velocity_rate 0
537 set g_balance_nex_charge_minspeed 400
538 set g_balance_nex_charge_maxspeed 800
539
540 set g_balance_nex_reload_ammo 0 //default: 25
541 set g_balance_nex_reload_time 2
542 // }}}
543 // {{{ minstanex
544 set g_balance_minstanex_refire 1
545 set g_balance_minstanex_animtime 0.3
546 set g_balance_minstanex_ammo 10
547 set g_balance_minstanex_laser_ammo 0
548 set g_balance_minstanex_reload_ammo 0 //default: 50
549 set g_balance_minstanex_reload_time 2
550 // }}}
551 // {{{ hagar
552 set g_balance_hagar_primary_damage 25
553 set g_balance_hagar_primary_edgedamage 12.5
554 set g_balance_hagar_primary_force 100
555 set g_balance_hagar_primary_health 15
556 set g_balance_hagar_primary_damageforcescale 0
557 set g_balance_hagar_primary_radius 60
558 set g_balance_hagar_primary_spread 0.04
559 set g_balance_hagar_primary_speed 2000
560 set g_balance_hagar_primary_lifetime 5
561 set g_balance_hagar_primary_refire 0.15
562 set g_balance_hagar_primary_ammo 1
563 set g_balance_hagar_secondary 1
564 set g_balance_hagar_secondary_load 1
565 set g_balance_hagar_secondary_load_speed 0.5
566 set g_balance_hagar_secondary_load_spread 0.075
567 set g_balance_hagar_secondary_load_spread_bias 0.5
568 set g_balance_hagar_secondary_load_max 4
569 set g_balance_hagar_secondary_load_hold 2.5
570 set g_balance_hagar_secondary_load_releasedeath 0
571 set g_balance_hagar_secondary_load_abort 1
572 set g_balance_hagar_secondary_load_linkexplode 0
573 set g_balance_hagar_secondary_load_animtime 0.2
574 set g_balance_hagar_secondary_damage 40
575 set g_balance_hagar_secondary_edgedamage 20
576 set g_balance_hagar_secondary_force 75
577 set g_balance_hagar_secondary_health 15
578 set g_balance_hagar_secondary_damageforcescale 0
579 set g_balance_hagar_secondary_radius 80
580 set g_balance_hagar_secondary_spread 0.05
581 set g_balance_hagar_secondary_speed 2000
582 set g_balance_hagar_secondary_lifetime_min 10
583 set g_balance_hagar_secondary_lifetime_rand 0
584 set g_balance_hagar_secondary_refire 0.5
585 set g_balance_hagar_secondary_ammo 1
586 set g_balance_hagar_reload_ammo 0 //default: 25
587 set g_balance_hagar_reload_time 2
588 // }}}
589 // {{{ rocketlauncher
590 set g_balance_rocketlauncher_damage 80
591 set g_balance_rocketlauncher_edgedamage 40
592 set g_balance_rocketlauncher_force 400
593 set g_balance_rocketlauncher_radius 110
594 set g_balance_rocketlauncher_speed 1500
595 set g_balance_rocketlauncher_speedaccel 1500
596 set g_balance_rocketlauncher_speedstart 800
597 set g_balance_rocketlauncher_lifetime 10
598 set g_balance_rocketlauncher_refire 1.1
599 set g_balance_rocketlauncher_animtime 0.3
600 set g_balance_rocketlauncher_ammo 4
601 set g_balance_rocketlauncher_health 30 // 30 // 5 hitpoints above maximum laser value -- this way lasers can't blow it up, but grenadelauncher still can most the time.
602 set g_balance_rocketlauncher_damageforcescale 1 // low damage force scale so that it can still be affected by other hits, but not so much that it does a 90 degree turn
603 set g_balance_rocketlauncher_detonatedelay 0.05 // positive: timer till detonation is allowed, negative: "security device" that prevents ANY remote detonation if it could hurt its owner, zero: detonatable at any time
604 set g_balance_rocketlauncher_guiderate 110 // max degrees per second
605 set g_balance_rocketlauncher_guideratedelay 0.01 // immediate
606 set g_balance_rocketlauncher_guidegoal 512 // goal distance for (non-laser) guiding (higher = less control, lower = erratic)
607 set g_balance_rocketlauncher_guidedelay 0.2 // delay before guiding kicks in
608 set g_balance_rocketlauncher_guidestop 0 // stop guiding when firing again
609 set g_balance_rocketlauncher_remote_damage 70
610 set g_balance_rocketlauncher_remote_edgedamage 35
611 set g_balance_rocketlauncher_remote_radius 110
612 set g_balance_rocketlauncher_remote_force 400
613 set g_balance_rocketlauncher_reload_ammo 0 //default: 25
614 set g_balance_rocketlauncher_reload_time 2
615 // }}}
616 // {{{ porto
617 set g_balance_porto_primary_refire 1.5
618 set g_balance_porto_primary_animtime 0.3
619 set g_balance_porto_primary_speed 5000
620 set g_balance_porto_primary_lifetime 5
621 set g_balance_portal_health 200 // these get recharged whenever the portal is used
622 set g_balance_portal_lifetime 15 // these get recharged whenever the portal is used
623 // }}}
624 // {{{ hook
625 set g_balance_hook_primary_fuel 5 // hook monkeys set 0
626 set g_balance_hook_primary_refire 0 // hook monkeys set 0
627 set g_balance_hook_primary_animtime 0.3 // good shoot anim
628 set g_balance_hook_primary_hooked_time_max 0 // infinite
629 set g_balance_hook_primary_hooked_time_free 2 // 2s being hooked are free
630 set g_balance_hook_primary_hooked_fuel 5 // fuel per second hooked
631 set g_balance_hook_secondary_damage 25 // not much
632 set g_balance_hook_secondary_edgedamage 5 // not much
633 set g_balance_hook_secondary_radius 500 // LOTS
634 set g_balance_hook_secondary_force -2000 // LOTS
635 set g_balance_hook_secondary_ammo 30 // a whole pack
636 set g_balance_hook_secondary_lifetime 5 // infinite
637 set g_balance_hook_secondary_speed 0 // not much throwing
638 set g_balance_hook_secondary_gravity 5 // fast falling
639 set g_balance_hook_secondary_refire 3 // don't drop too many bombs...
640 set g_balance_hook_secondary_animtime 0.3 // good shoot anim
641 set g_balance_hook_secondary_power 3 // effect behaves like a square function
642 set g_balance_hook_secondary_duration 1.5 // effect runs for three seconds
643 set g_balance_hook_secondary_health 15
644 set g_balance_hook_secondary_damageforcescale 0 
645 // }}}
646 // {{{ hlac // TO BE REMOVED
647 set g_balance_hlac_primary_spread_min 0.01
648 set g_balance_hlac_primary_spread_max 0.25
649 set g_balance_hlac_primary_spread_add 0.0045
650 set g_balance_hlac_primary_spread_crouchmod 0.25
651
652 set g_balance_hlac_primary_damage 18
653 set g_balance_hlac_primary_edgedamage 9
654 set g_balance_hlac_primary_force 90
655 set g_balance_hlac_primary_radius 70
656 set g_balance_hlac_primary_speed 9000
657 set g_balance_hlac_primary_lifetime 5
658
659 set g_balance_hlac_primary_refire 0.15
660 set g_balance_hlac_primary_animtime 0.4
661 set g_balance_hlac_primary_ammo 1
662
663 set g_balance_hlac_secondary 1
664 set g_balance_hlac_secondary_spread 0.15
665 set g_balance_hlac_secondary_spread_crouchmod 0.5
666
667 set g_balance_hlac_secondary_damage 15
668 set g_balance_hlac_secondary_edgedamage 7.5
669 set g_balance_hlac_secondary_force 90
670 set g_balance_hlac_secondary_radius 70
671 set g_balance_hlac_secondary_speed 9000
672 set g_balance_hlac_secondary_lifetime 5
673
674 set g_balance_hlac_secondary_refire 1
675 set g_balance_hlac_secondary_animtime 0.3
676 set g_balance_hlac_secondary_ammo 10
677 set g_balance_hlac_secondary_shots 6
678
679 set g_balance_hlac_reload_ammo 0 //default: 20
680 set g_balance_hlac_reload_time 2
681 // }}}
682 // {{{ rifle
683 set g_balance_rifle_bursttime 0
684 set g_balance_rifle_primary_tracer 1
685 set g_balance_rifle_primary_shots 1
686 set g_balance_rifle_primary_damage 40
687 set g_balance_rifle_primary_headshotaddeddamage 40
688 set g_balance_rifle_primary_spread 0
689 set g_balance_rifle_primary_force 100
690 set g_balance_rifle_primary_speed 40000
691 set g_balance_rifle_primary_lifetime 5
692 set g_balance_rifle_primary_refire 1.2
693 set g_balance_rifle_primary_animtime 0.4
694 set g_balance_rifle_primary_ammo 10
695 set g_balance_rifle_primary_bulletconstant 110 // 62.2qu
696 set g_balance_rifle_primary_burstcost 0
697 set g_balance_rifle_primary_bullethail 0 // empty magazine on shot
698 set g_balance_rifle_secondary 1
699 set g_balance_rifle_secondary_reload 0
700 set g_balance_rifle_secondary_tracer 0
701 set g_balance_rifle_secondary_shots 4
702 set g_balance_rifle_secondary_damage 10
703 set g_balance_rifle_secondary_headshotaddeddamage 20
704 set g_balance_rifle_secondary_spread 0.04
705 set g_balance_rifle_secondary_force 50
706 set g_balance_rifle_secondary_speed 20000
707 set g_balance_rifle_secondary_lifetime 5
708 set g_balance_rifle_secondary_refire 0.9
709 set g_balance_rifle_secondary_animtime 0.3
710 set g_balance_rifle_secondary_ammo 10
711 set g_balance_rifle_secondary_bulletconstant 110 // 15.5qu
712 set g_balance_rifle_secondary_burstcost 0
713 set g_balance_rifle_secondary_bullethail 0 // empty magazine on shot
714 set g_balance_rifle_reload_ammo 80 //default: 80
715 set g_balance_rifle_reload_time 2
716 // }}}
717 // {{{ tuba
718 set g_balance_tuba_refire 0.05
719 set g_balance_tuba_animtime 0.05
720 set g_balance_tuba_attenuation 0.5
721 set g_balance_tuba_volume 1
722 set g_balance_tuba_fadetime 0.25
723 set g_balance_tuba_damage 5
724 set g_balance_tuba_edgedamage 0
725 set g_balance_tuba_radius 200
726 set g_balance_tuba_force 40
727 set g_balance_tuba_pitchstep 6
728 // }}}
729 // {{{ fireball // this is a superweapon -- lets make it behave as one. 
730 set g_balance_fireball_primary_ammo 20
731 set g_balance_fireball_primary_animtime 0.2
732 set g_balance_fireball_primary_bfgdamage 100
733 set g_balance_fireball_primary_bfgforce 0
734 set g_balance_fireball_primary_bfgradius 1000
735 set g_balance_fireball_primary_damage 200
736 set g_balance_fireball_primary_damageforcescale 0
737 set g_balance_fireball_primary_edgedamage 50
738 set g_balance_fireball_primary_force 600
739 set g_balance_fireball_primary_health 0
740 set g_balance_fireball_primary_laserburntime 0.5
741 set g_balance_fireball_primary_laserdamage 80
742 set g_balance_fireball_primary_laseredgedamage 20
743 set g_balance_fireball_primary_laserradius 256
744 set g_balance_fireball_primary_lifetime 15
745 set g_balance_fireball_primary_radius 200
746 set g_balance_fireball_primary_refire 2
747 set g_balance_fireball_primary_refire2 0
748 set g_balance_fireball_primary_speed 1200
749 set g_balance_fireball_primary_spread 0
750 set g_balance_fireball_secondary_ammo 5
751 set g_balance_fireball_secondary_animtime 0.3
752 set g_balance_fireball_secondary_damage 40
753 set g_balance_fireball_secondary_damageforcescale 4
754 set g_balance_fireball_secondary_damagetime 5
755 set g_balance_fireball_secondary_force 100
756 set g_balance_fireball_secondary_laserburntime 0.5
757 set g_balance_fireball_secondary_laserdamage 50
758 set g_balance_fireball_secondary_laseredgedamage 20
759 set g_balance_fireball_secondary_laserradius 110
760 set g_balance_fireball_secondary_lifetime 7
761 set g_balance_fireball_secondary_refire 1.5
762 set g_balance_fireball_secondary_speed 900
763 set g_balance_fireball_secondary_speed_up 100
764 set g_balance_fireball_secondary_speed_z 0
765 set g_balance_fireball_secondary_spread 0
766 set g_balance_fireball_reload_ammo 0 //default: 100
767 set g_balance_fireball_reload_time 2
768 // }}}
769 // {{{ seeker
770 set g_balance_seeker_type 1 // 0 = old seeker, 1 = new seeker. THIS IS A TEMPORARY CVAR FOR TESTING, will be removed later.
771 set g_balance_seeker_flac_ammo 0.5
772 set g_balance_seeker_flac_animtime 0.1
773 set g_balance_seeker_flac_damage 15
774 set g_balance_seeker_flac_edgedamage 10
775 set g_balance_seeker_flac_force 50
776 set g_balance_seeker_flac_lifetime 0.1
777 set g_balance_seeker_flac_lifetime_rand 0.05
778 set g_balance_seeker_flac_radius 100
779 set g_balance_seeker_flac_refire 0.1
780 set g_balance_seeker_flac_speed 3000
781 set g_balance_seeker_flac_speed_up 1000
782 set g_balance_seeker_flac_speed_z 0
783 set g_balance_seeker_flac_spread 0.4
784 set g_balance_seeker_tag_ammo 1
785 set g_balance_seeker_tag_animtime 0.2
786 set g_balance_seeker_tag_damageforcescale 0
787 set g_balance_seeker_tag_health 0
788 set g_balance_seeker_tag_lifetime 15
789 set g_balance_seeker_tag_refire 0.75 // LOG: 0.7 -> 0.75
790 set g_balance_seeker_tag_speed 5000
791 set g_balance_seeker_tag_spread 0
792 set g_balance_seeker_tag_tracker_lifetime 10
793 set g_balance_seeker_missile_accel 1500
794 set g_balance_seeker_missile_ammo 2
795 set g_balance_seeker_missile_animtime 0.2
796 set g_balance_seeker_missile_count 3 // LOG: 8 -> 3
797 set g_balance_seeker_missile_damage 16 // LOG: 15 -> 30
798 set g_balance_seeker_missile_damageforcescale 4
799 set g_balance_seeker_missile_decel 6000
800 set g_balance_seeker_missile_delay 0.25
801 set g_balance_seeker_missile_edgedamage 8
802 set g_balance_seeker_missile_force 50 // LOG: 100 -> 150
803 set g_balance_seeker_missile_health 1
804 set g_balance_seeker_missile_lifetime 15
805 set g_balance_seeker_missile_proxy 0
806 set g_balance_seeker_missile_proxy_delay 0.2
807 set g_balance_seeker_missile_proxy_maxrange 45
808 set g_balance_seeker_missile_radius 70
809 set g_balance_seeker_missile_refire 0.25
810 set g_balance_seeker_missile_smart 0
811 set g_balance_seeker_missile_smart_mindist 800
812 set g_balance_seeker_missile_smart_trace_max 2500
813 set g_balance_seeker_missile_smart_trace_min 1000
814 set g_balance_seeker_missile_speed 1500
815 set g_balance_seeker_missile_speed_up 0
816 set g_balance_seeker_missile_speed_z 0
817 set g_balance_seeker_missile_speed_max 2000 // LOG: 1400 -> 1300
818 set g_balance_seeker_missile_spread 0
819 set g_balance_seeker_missile_turnrate 0.15
820 set g_balance_seeker_reload_ammo 0 //default: 15
821 set g_balance_seeker_reload_time 2
822 // End new seeker