]> icculus.org git repositories - divverent/nexuiz.git/blob - data/default.cfg
added cvar sv_allow_shownames: can disable the cl_shownames feature just in case
[divverent/nexuiz.git] / data / default.cfg
1 // Nexuiz version (formatted for humans)
2 set g_nexuizversion "2.0"
3
4 // Nexuiz version (formatted for machines)
5 // used to determine if a client version is compatible
6 // this doesn't have to be bumped with every release
7 // bump when clients become incompatible or any other perfectly good reason
8 // (e.g. game data incompatibility, engine version incompatibility, etc
9 // note: this automatically filters the server browser, clients of the new
10 // version won't see old servers, and clients of the old version won't see new
11 // servers either
12 //
13 // e.g. Nexuiz 1.5.1 RC1 will be 15101
14
15 gameversion 20000
16
17 // say aliases
18 alias asay_ctf_flagcarrier "say_team flag carrier at %y"
19 alias asay_ctf_haveflag "say_team (%l) have the flag"
20 alias asay_willgo "say_team will go to %y"
21 alias asay_support "say_team (%l) need help, %h%%"
22 alias asay_killed "say_team got killed at %d"
23 alias asay_noammo "say_team (%l) need %W for %w"
24 alias asay_drop "say_team (%l) dropped %w ; impulse 17"
25
26 // other aliases
27 alias +scores "+showscores; ping"
28 alias -scores "-showscores"
29
30 alias +hook +button6
31 alias -hook -button6
32 alias ready "cmd ready"
33
34 alias bsp "ls maps/*.bsp"
35 alias mapcfg "ls maps/*.mapcfg"
36 alias chmap "exec $exit_cfg ; exec game_reset.cfg; exec maps/$1.mapcfg"
37 alias gotomap "nextmap $1; timelimit -1"
38 alias reset "exec game_reset.cfg"
39
40 alias dem "ls demos/*.dem"
41 alias rec "record demos/$1"
42 alias ply "playdemo demos/$1"
43 alias tdem "timedemo demos/$1"
44
45 alias ccl "cmd clogin $1"
46 alias cc "cmd ccmd $*"
47
48 alias dropweapon "impulse 17"
49 alias +show_info "+button7"
50 alias -show_info "-button7"
51
52 alias team_red "cmd selectteam red"
53 alias team_blue "cmd selectteam blue"
54 alias team_pink "cmd selectteam pink"
55 alias team_yellow "cmd selectteam yellow"
56 alias team_auto "cmd selectteam auto"
57
58 // player defaults
59 seta _cl_color 153
60 seta _cl_name Player
61 seta _cl_playermodel models/player/marine.zym
62 seta _cl_playerskin 0
63 seta crosshair 5
64 seta fov 90
65 seta freelook 1
66 seta sensitivity 6
67 seta scmenu_mouse_speed 1
68 seta v_gamma 1.125000
69 seta viewsize 110
70 seta bgmvolume 1
71 seta volume 0.5
72 // fullscreen 800x600x32bit
73 seta vid_bitsperpixel 32
74 seta vid_fullscreen 1
75 seta vid_width 800
76 seta vid_height 600
77 // 2D resolution 640x480
78 seta vid_conwidth 640
79 seta vid_conheight 480
80 scr_conforcewhiledisconnected 0
81 scr_menuforcewhiledisconnected 1
82 v_deathtilt 0 // needed for spectators (who are dead to avoid prediction)
83
84 // server settings
85 seta hostname "Nexuiz Server"
86 seta sv_maxrate 10000
87 set sv_mapchange_delay 5
88 set minplayers 0
89
90 // disable rcon-like clientcommands to avoid server being open with default password
91 seta sv_clientcommands 0
92 seta sv_clientcommands_password "hackme"
93
94 // restart server if all players hit "ready"-button
95 set sv_ready_restart 0
96
97 seta g_viewweapon_bobintensity 0
98 seta g_viewweapon_q1pitching 0
99 seta cl_forwardspeed 400
100 seta cl_backspeed 400
101 seta cl_sidespeed 400
102 seta cl_upspeed 400
103 seta cl_movement 1
104 cl_movement_accelerate 5.5
105 cl_movement_edgefriction 0
106 cl_movement_friction 5
107 cl_movement_jumpvelocity 300
108 cl_movement_maxairspeed 220
109 cl_movement_maxspeed 400
110 cl_movement_stepheight 34
111 seta cl_stairsmoothspeed 200
112 seta cl_autoswitch 1
113 edgefriction 0
114 set g_balance_jumpheight 300
115 sv_maxairspeed 220
116 sv_accelerate 5.5
117 sv_airaccelerate 5.5
118 sv_friction 5
119 sv_maxspeed 400
120 set sv_spectator_speed_multiplier 1.5
121 sv_stepheight 34
122 set sv_friction_on_land 0 // factor of the speed which gets lost on landing
123 seta sv_spectate 1
124 seta sv_defaultcharacter 0
125 seta sv_defaultplayermodel models/player/nexus.zym
126 seta sv_defaultplayerskin 0
127 set sv_autoscreenshot 0
128 set net_messagetimeout 60
129 sv_jumpstep 1 // step up stairs while jumping, makes it easier to reach ledges
130 set sv_airaccel_sideways_friction 0.3
131 set sv_airaccel_qw 0.93
132
133 seta cl_playerdetailreduction 0 // the higher, the less detailed
134
135 set bot_number 0 // number of bots in server
136 seta bot_usemodelnames 0 // whether bots should be named after the models
137 set bot_nofire 0 // makes bots not attack at all, mainly for testing in g_waypointeditor mode
138 seta bot_prefix "[BOT]"
139 seta bot_suffix ""
140 // general bot AI cvars
141 set bot_ai_strategyinterval 2
142 set bot_ai_enemydetectioninterval 0.5
143 set bot_ai_aimskill_blendrate 2
144 set bot_ai_aimskill_fixedrate 15
145 set bot_ai_aimskill_firetolerance_distdegrees 180
146 set bot_ai_aimskill_firetolerance_mindegrees 2
147 set bot_ai_aimskill_firetolerance_maxdegrees 45
148 set bot_ai_aimskill_mouse 1
149 set bot_ai_keyboard_distance 250
150 set bot_ai_keyboard_treshold 0.94
151 set bot_ai_aimskill_offset 1
152 set bot_ai_aimskill_think 1
153 // Beter don't touch these, there are hard to tweak!
154 set bot_ai_aimskill_order_mix_1st 0.01
155 set bot_ai_aimskill_order_mix_2nd 0.1
156 set bot_ai_aimskill_order_mix_3th 0.01
157 set bot_ai_aimskill_order_mix_4th 0.05
158 set bot_ai_aimskill_order_mix_5th 0.01
159 set bot_ai_aimskill_order_filter_1st 0.2
160 set bot_ai_aimskill_order_filter_2nd 0.2
161 set bot_ai_aimskill_order_filter_3th 0.05
162 set bot_ai_aimskill_order_filter_4th 0.25
163 set bot_ai_aimskill_order_filter_5th 0.3
164
165 // waypoint editor enable
166 set g_waypointeditor 0
167 set bot_ignore_bots 0
168 set bot_join_empty 0
169
170 alias g_waypointeditor_spawn "impulse 103"
171 alias g_waypointeditor_remove "impulse 104"
172 alias g_waypointeditor_relinkall "impulse 105"
173 alias g_waypointeditor_saveall "impulse 106"
174
175 pausable 0
176 set g_antilag 0
177 set g_weapon_stay 0
178 set g_start_weapon_laser 1
179 set g_start_weapon_shotgun 1
180 set g_start_weapon_uzi 0
181 set g_start_weapon_grenadelauncher 0
182 set g_start_weapon_electro 0
183 set g_start_weapon_crylink 0
184 set g_start_weapon_nex 0
185 set g_start_weapon_hagar 0
186 set g_start_weapon_rocketlauncher 0
187 set g_start_ammo_shells 50
188 set g_start_ammo_nails 0
189 set g_start_ammo_rockets 0
190 set g_start_ammo_cells 0
191 set g_powerup_superhealth 1
192 set g_powerup_strength 1
193 set g_powerup_shield 1
194 set g_use_ammunition 1
195 set g_pickup_items 1
196 set g_instagib 0
197 set g_minstagib 0               // enable minstagib
198 set g_minstagib_extralives 2    // how many extra lives you will get per powerup
199 set g_minstagib_ammo_start 10   // starting ammo
200 set g_minstagib_ammo_drop 5     // how much ammo you'll get for weapons or cells
201 set g_minstagib_invis_alpha 0.1 // set -1 for complete invisibility
202 set g_rocketarena 0
203 set g_vampire 0
204 set g_laserguided_missile 0
205 set g_midair 0
206 set g_midair_shieldtime 0.3
207 set g_spawnshieldtime 0
208 set g_forced_respawn 0
209 set g_fullbrightplayers 0
210 set g_fullbrightitems 0
211 set g_casings 0
212 set g_norecoil 0
213 set g_throughfloor 1
214 set g_maplist_defaultlist "'dm_aggressor''dm_aneurysm''dm_basement''dm_bleach''dm_bluesky''dm_bloodprison''dm_darkzone''dm_downer''dm_evilspace''dm_farewell''dm_runningman''dm_runningman_1on1remix''dm_silvercity''dm_skyway''dm_slimepit''dm_soylent''dm_starship''dm_stormkeep''dm_toxic''dm_warfare''dom_aggressor''dom_aneurysm''dom_basement''dom_bleach''dom_darkzone''dom_downer''dom_evilspace''dom_runningman''dom_runningman_1on1remix''dom_silvercity''dom_skyway''dom_slimepit''dom_soylent''dom_starship''dom_stormkeep''dom_toxic''lms_aggressor''lms_basement''lms_bleach''lms_bluesky''lms_bloodprison''lms_downer''lms_evilspace''lms_farewell''lms_runningman''lms_runningman_1on1remix''lms_skyway''lms_slimepit''lms_soylent''lms_starship''lms_stormkeep''lms_toxic''lms_warfare''rune_aggressor''rune_aneurysm''rune_basement''rune_bleach''rune_darkzone''rune_downer''rune_evilspace''rune_runningman''rune_runningman_1on1remix''rune_silvercity''rune_skyway''rune_slimepit''rune_soylent''rune_starship''rune_stormkeep''rune_toxic''tdm_aggressor''tdm_aneurysm''tdm_basement''tdm_bleach''tdm_darkzone''tdm_downer''tdm_evilspace''tdm_farewell''tdm_runningman''tdm_runningman_1on1remix''tdm_silvercity''tdm_skyway''tdm_slimepit''tdm_soylent''tdm_starship''tdm_stormkeep''tdm_toxic''tdm_warfare'"
215 seta g_maplist $g_maplist_defaultlist
216 seta g_maplist_index 0 // this is used internally for saving position in maplist cycle
217 seta g_maplist_selectrandom 0 // if 1, a random map will be chosen as next map
218 // timeout for kill credit when your damage knocks someone into a death trap
219 set g_maxpushtime 8.0
220
221 set g_cloaked 0
222 set g_player_alpha 1
223 seta g_balance_cloaked_alpha 0.25
224
225 set welcome_message_time                8
226
227 set exit_cfg "empty.cfg"
228 alias clearmap  "disconnect; exec $exit_cfg"
229
230 seta g_grappling_hook 0
231 set g_grappling_hook_tarzan 1
232 set g_balance_grapplehook_speed_fly 1800
233 set g_balance_grapplehook_speed_pull 2000
234 set g_balance_grapplehook_force_rubber 2000
235 set g_balance_grapplehook_force_rubber_overstretch 1000
236 set g_balance_grapplehook_length_min 50
237 set g_balance_grapplehook_stretch 50
238 set g_balance_grapplehook_airfriction 0.2
239 set g_balance_grapplehook_health 130
240
241 // this means that timelimit can be overidden globally and fraglimit can be overidden for each game mode: DM/TDM, Domination, CTF, and Runematch.
242 seta timelimit_override -1
243 seta fraglimit_override -1
244 seta g_ctf_capture_limit -1
245 seta g_domination_point_limit -1
246 seta g_runematch_point_limit -1
247
248 // maximum overtime
249 seta timelimit_maxovertime 5
250
251 // common team values
252 set  g_tdm                              0
253 seta teamplay_default                   3       // default teamplay setting in team games
254 set deathmatch_force_teamplay           0       // always play TDM on dm maps
255 seta g_balance_teams                    0       // automatically balance out players entering instead of asking them for their preferred team
256 seta g_balance_teams_force              0       // automatically balance out teams when players move or disconnect
257 seta g_balance_teams_prevent_imbalance  0       // prevent players from changing to larger teams
258 seta g_tdm_teams                        2       // how many teams are in team deathmatch
259 set g_changeteam_banned                 0       // not allowed to change team
260 set g_changeteam_fragtransfer           0       // % of frags you get to keep when you change teams (rounded down)
261
262 // ctf
263 set g_ctf                               0
264 set g_ctf_flag_returntime               30
265 set g_ctf_flagscore_capture             20
266 set g_ctf_flagscore_capture_team        0
267 set g_ctf_flagscore_pickup              1
268 set g_ctf_flagscore_return              5
269 set g_ctf_flagscore_return_rogue        10
270
271 // runematch
272 set g_runematch                                         0
273 set g_runematch_pointrate                               5
274 set g_runematch_pointamt                                        1
275 set g_runematch_shuffletime                             30 // how often runes change position
276 set g_runematch_respawntime                             15 // how soon after being dropped to respawn
277 set g_runematch_frags_killedby_runeholder               4
278 set g_runematch_frags_killed_runeholder                 5
279 set g_runematch_frags_norune                            0
280 set g_runematch_drop_runes_max                          2 // only drop up to 2 runes, the rest should respawn
281 set g_runematch_allow_same                              0 // allow matching rune-curse pairs
282 set g_runematch_rune_alpha                              0.78
283 set g_runematch_rune_effects                            544 // EF_ADDITIVE + EF_FULLBRIGHT
284 set g_runematch_rune_glow_size                          0
285 set g_runematch_rune_glow_color                         0
286 set g_runematch_rune_color_strength                     1.0 //1.5
287 // strength/weakness
288 set g_balance_rune_strength_damage                      2.0 //1.5
289 set g_balance_rune_strength_force                       1.5
290 set g_balance_curse_weak_damage                         0.5 //0.6
291 set g_balance_curse_weak_force                          0.6
292 set g_balance_rune_strength_combo_damage        0.9
293 set g_balance_rune_strength_combo_force                 1.0
294 // defense/vulner
295 set g_balance_rune_defense_takedamage                   0.5
296 set g_balance_curse_vulner_takedamage                   2.0
297 set g_balance_rune_defense_combo_takedamage             1.0
298 // vampire/empathy
299 set g_balance_rune_vampire_absorb                       0.4
300 set g_balance_curse_empathy_takedamage                  -0.4
301 set g_balance_rune_vampire_combo_absorb                 -0.1
302 set g_balance_rune_vampire_maxhealth                    500
303 set g_balance_curse_empathy_minhealth                   20
304 set g_balance_rune_vampire_combo_minhealth              40
305 // regen/venom
306 set g_balance_rune_regen_hpmod                          1.75
307 set g_balance_curse_venom_hpmod                         0.6
308 set g_balance_rune_regen_combo_hpmod                    0.9
309 set g_balance_rune_regen_regenrate                      3.0
310 set g_balance_curse_venom_rotrate                       3.0 //2
311 set g_balance_rune_regen_combo_regenrate        0.5
312 set g_balance_rune_regen_combo_rotrate                  1.5
313 set g_balance_rune_regen_limitmod                       1
314 set g_balance_curse_venom_limitmod                      1
315 set g_balance_rune_regen_combo_limitmod                 1
316 // speed/slow
317 set g_balance_rune_speed_atkrate                                0.66
318 set g_balance_curse_slow_atkrate                                1.5
319 set g_balance_rune_speed_combo_atkrate                  1.2
320 set g_balance_rune_speed_moverate                       1.33
321 set g_balance_curse_slow_moverate                       0.8
322 set g_balance_rune_speed_combo_moverate                 0.9
323 set g_balance_rune_speed_jumpheight                     1.8
324 set g_balance_curse_slow_jumpheight                     1.0
325 set g_balance_rune_speed_combo_jumpheight               1.0
326
327 // domination
328 set g_domination                        0
329 set g_domination_default_teams          2 // default number of teams for maps that aren't domination-specific
330 set g_domination_disable_frags          0 // players can't get frags normally, only get points from kills
331 set g_domination_point_amt              0 // override: how many points to get per ping
332 set g_domination_point_teamamt  0 // override: how many team points to get per ping
333 set g_domination_point_rate             0 // override: how often to give those points
334 set g_domination_point_capturetime      0.1 // how long it takes to capture a point (given no interference)
335 set g_domination_point_glow             0 // domination point glow (warning, slow)
336 //set g_domination_balance_team_points  1 // # of points received is based on team sizes
337
338 // last man standing
339 set g_lms 0
340 set g_lms_lives_override -1
341 set g_lms_start_health 250
342 set g_lms_start_armor 100
343 set g_lms_start_ammo_shells 50
344 set g_lms_start_ammo_nails 150
345 set g_lms_start_ammo_rockets 50
346 set g_lms_start_ammo_cells 50
347 set g_lms_regenerate 0
348 set g_lms_campcheck_interval 10
349 set g_lms_campcheck_message "^1Don't camp!"
350 set g_lms_campcheck_damage 100
351 set g_lms_campcheck_distance 1800
352 set g_lms_last_join 3                   // if g_lms_join_anytime is false, new players can only join if the worst active player has more than (fraglimit - g_lms_last_join) lives
353 set g_lms_join_anytime 1                // if true, new players can join, but get same amount of lives as the worst player
354
355 // arena
356 set g_arena 0
357 set g_arena_maxspawned 2        // maximum number of players to spawn at once (the rest is spectating, waiting for their turn)
358 set g_arena_roundbased 1        // if disabled, the next player will spawn as soon as someone dies
359 set g_arena_warmup 5            // time, newly spawned  players have to prepare themselves in round based matches
360 set g_arena_powerups 0          // enables powerups (superhealth, strength and shield), which are removed by default
361
362 // server game balance settings
363 set g_balance_armor_regen 0
364 set g_balance_armor_rot 0.1
365 set g_balance_armor_stable 100
366 set g_balance_armor_limit 999
367 set g_balance_armor_start 0
368 set g_balance_armor_blockpercent 0.6
369 set g_balance_health_regen 0.1
370 set g_balance_health_rot 0.1
371 set g_balance_health_stable 100
372 set g_balance_health_limit 999
373 set g_balance_health_start 150
374 set g_balance_selfdamagepercent 0.6
375 set g_balance_weaponswitchdelay 0.15
376 // powerup balance settings
377 set g_balance_powerup_invincible_takedamage 0.2
378 set g_balance_powerup_invincible_time 30
379 set g_balance_powerup_strength_damage 3
380 set g_balance_powerup_strength_force 4
381 set g_balance_powerup_strength_time 30
382
383 // weapon balance settings follow
384
385 set g_balance_laser_damage 35
386 set g_balance_laser_edgedamage 10
387 set g_balance_laser_force 400
388 set g_balance_laser_radius 70
389 set g_balance_laser_speed 9000
390 set g_balance_laser_refire 0.7
391 set g_balance_laser_animtime 0.3
392 set g_balance_laser_lifetime 9
393
394 set g_balance_shotgun_primary_bullets 10
395 set g_balance_shotgun_primary_damage 6
396 set g_balance_shotgun_primary_spread 0.07
397 set g_balance_shotgun_primary_refire 0.5
398 set g_balance_shotgun_primary_animtime 0.2
399 set g_balance_shotgun_primary_ammo 1
400 set g_balance_shotgun_secondary_bullets 10
401 set g_balance_shotgun_secondary_damage 6
402 set g_balance_shotgun_secondary_spread 0.07
403 set g_balance_shotgun_secondary_refire 1.35
404 set g_balance_shotgun_secondary_animtime 0.2
405 set g_balance_shotgun_secondary_ammo 1
406
407 set g_balance_uzi_first_damage 30
408 set g_balance_uzi_first_spread 0.01
409 set g_balance_uzi_first_refire 0.2
410 set g_balance_uzi_first_ammo 1
411 set g_balance_uzi_sustained_damage 16
412 set g_balance_uzi_sustained_spread 0.05
413 set g_balance_uzi_sustained_refire 0.1
414 set g_balance_uzi_sustained_ammo 1
415
416 set g_balance_grenadelauncher_primary_damage 65
417 set g_balance_grenadelauncher_primary_edgedamage 35
418 set g_balance_grenadelauncher_primary_force 400
419 set g_balance_grenadelauncher_primary_radius 140
420 set g_balance_grenadelauncher_primary_speed 2000
421 set g_balance_grenadelauncher_primary_speed_up 200
422 set g_balance_grenadelauncher_primary_lifetime 30
423 set g_balance_grenadelauncher_primary_refire 0.7
424 set g_balance_grenadelauncher_primary_animtime 0.3
425 set g_balance_grenadelauncher_primary_ammo 2
426 set g_balance_grenadelauncher_secondary_damage 65
427 set g_balance_grenadelauncher_secondary_edgedamage 35
428 set g_balance_grenadelauncher_secondary_force 400
429 set g_balance_grenadelauncher_secondary_radius 140
430 set g_balance_grenadelauncher_secondary_speed 1400
431 set g_balance_grenadelauncher_secondary_speed_up 200
432 set g_balance_grenadelauncher_secondary_lifetime 2.5
433 set g_balance_grenadelauncher_secondary_refire 0.6
434 set g_balance_grenadelauncher_secondary_animtime 0.3
435 set g_balance_grenadelauncher_secondary_ammo 2
436
437 set g_balance_electro_primary_damage 80
438 set g_balance_electro_primary_edgedamage 0
439 set g_balance_electro_primary_force 200
440 set g_balance_electro_primary_radius 150
441 set g_balance_electro_primary_speed 2000
442 set g_balance_electro_primary_lifetime 2
443 set g_balance_electro_primary_refire 0.9
444 set g_balance_electro_primary_animtime 0.05
445 set g_balance_electro_primary_ammo 2
446 set g_balance_electro_secondary_damage 60
447 set g_balance_electro_secondary_edgedamage 0
448 set g_balance_electro_secondary_force 200
449 set g_balance_electro_secondary_radius 150
450 set g_balance_electro_secondary_speed 900
451 set g_balance_electro_secondary_speed_up 200
452 set g_balance_electro_secondary_lifetime 5
453 set g_balance_electro_secondary_refire 0.3
454 set g_balance_electro_secondary_animtime 0.05
455 set g_balance_electro_secondary_ammo 2
456 set g_balance_electro_combo_damage 70
457 set g_balance_electro_combo_edgedamage 0
458 set g_balance_electro_combo_force 200
459 set g_balance_electro_combo_radius 250
460
461 set g_balance_crylink_primary_damage 15
462 set g_balance_crylink_primary_edgedamage 0
463 set g_balance_crylink_primary_force 55
464 set g_balance_crylink_primary_radius 3
465 set g_balance_crylink_primary_speed 7000
466 set g_balance_crylink_primary_spread 0.08
467 set g_balance_crylink_primary_shots 4
468 set g_balance_crylink_primary_lifetime 9
469 set g_balance_crylink_primary_refire 0.25
470 set g_balance_crylink_primary_animtime 0.15
471 set g_balance_crylink_primary_ammo 1
472 set g_balance_crylink_secondary_damage 15
473 set g_balance_crylink_secondary_edgedamage 0
474 set g_balance_crylink_secondary_force 55
475 set g_balance_crylink_secondary_radius 3
476 set g_balance_crylink_secondary_speed 7000
477 set g_balance_crylink_secondary_spread 0.08
478 set g_balance_crylink_secondary_shots 7
479 set g_balance_crylink_secondary_lifetime 9
480 set g_balance_crylink_secondary_refire 0.5
481 set g_balance_crylink_secondary_animtime 0.15
482 set g_balance_crylink_secondary_ammo 3
483
484
485 set g_balance_nex_damage 150
486 set g_balance_nex_refire 1
487 set g_balance_nex_animtime 0.3
488 set g_balance_nex_ammo 5
489
490 set g_balance_hagar_primary_damage 40
491 set g_balance_hagar_primary_edgedamage 15
492 set g_balance_hagar_primary_force 100
493 set g_balance_hagar_primary_radius 70
494 set g_balance_hagar_primary_spread 0.025
495 set g_balance_hagar_primary_speed 3000
496 set g_balance_hagar_primary_lifetime 10
497 set g_balance_hagar_primary_refire 0.15
498 set g_balance_hagar_primary_ammo 1
499 set g_balance_hagar_secondary_damage 40
500 set g_balance_hagar_secondary_edgedamage 15
501 set g_balance_hagar_secondary_force 100
502 set g_balance_hagar_secondary_radius 70
503 set g_balance_hagar_secondary_spread 0.025
504 set g_balance_hagar_secondary_speed 1400
505 set g_balance_hagar_secondary_lifetime 10
506 set g_balance_hagar_secondary_refire 0.15
507 set g_balance_hagar_secondary_ammo 1
508
509 set g_balance_rocketlauncher_damage 130
510 set g_balance_rocketlauncher_edgedamage 50
511 set g_balance_rocketlauncher_force 600
512 set g_balance_rocketlauncher_radius 170
513 set g_balance_rocketlauncher_speed 850
514 set g_balance_rocketlauncher_lifetime 9
515 set g_balance_rocketlauncher_refire 1
516 set g_balance_rocketlauncher_animtime 0.3
517 set g_balance_rocketlauncher_ammo 3
518 set g_balance_rocketlauncher_laserguided_speed  1000  //650
519 set g_balance_rocketlauncher_laserguided_turnrate       0.75  //0.5
520 set g_balance_rocketlauncher_laserguided_allow_steal    1
521
522 set g_balance_falldamage_deadminspeed 150
523 set g_balance_falldamage_minspeed 1400
524 set g_balance_falldamage_factor 0.15
525 set g_balance_falldamage_maxdamage 25
526
527 set g_balance_pause_armor_rot 5
528 set g_balance_pause_health_rot 5
529 set g_balance_pause_health_regen 5
530 set g_balance_pause_armor_rot_spawn 10
531 set g_balance_pause_health_rot_spawn 10
532 set g_balance_pause_health_regen_spawn 0
533
534 set g_footsteps 0 // serverside footstep sounds
535
536 // effects
537 r_shadow_bumpscale_bumpmap 4
538 r_shadow_bumpscale_basetexture 5
539 r_shadow_realtime_world_lightmaps 1
540 seta cl_decals 1
541 seta cl_decals_fadetime 1
542 seta cl_decals_time 2
543 seta cl_nogibs 0
544 seta cl_particles 1
545 seta cl_particles_quality 0.5
546 seta cl_stainmaps 0
547 seta gl_flashblend 0
548 seta gl_picmip 1
549 seta r_bloom 1
550 seta r_coronas 1
551 seta r_dynamic 1
552 seta r_glsl 1
553 seta r_glsl_deluxemapping 1
554 seta r_glsl_offsetmapping 0
555 seta r_glsl_offsetmapping_reliefmapping 0
556 seta r_glsl_offsetmapping_scale 0.02
557 seta r_shadow_gloss 1
558 seta r_shadow_realtime_dlight_shadows 0
559 seta r_shadow_realtime_world 0
560 seta r_shadow_realtime_world_dlightshadows 0
561 seta r_shadow_realtime_world_shadows 0
562 seta r_sky 1
563 // execute normal.cfg to make sure that all effect settings are reset
564 exec normal.cfg
565
566 // misc
567 set host_maxfps 1000
568 set host_minfps 10
569 seta scr_conbrightness 0
570 seta scr_screenshot_jpeg 1
571 seta scr_screenshot_jpeg_quality 0.9
572 sv_maxvelocity 1000000000
573 cl_sound_wizardhit ""
574 cl_sound_hknighthit ""
575 cl_sound_tink1 "weapons/tink1.wav"
576 cl_sound_ric1 "weapons/ric1.wav"
577 cl_sound_ric2 "weapons/ric2.wav"
578 cl_sound_ric3 "weapons/ric3.wav"
579 cl_sound_r_exp3 ""
580 sv_sound_land ""
581 sv_sound_watersplash ""
582 // startmap_dm is used when running with the -listen or -dedicated commandline options
583 alias startmap_sp "set _sv_init 1; map aggressor"
584 alias startmap_dm "set _sv_init 1; map aggressor"
585
586 // aliases:
587 alias +attack2 +button3
588 alias -attack2 -button3
589 alias +zoom +button4
590 alias -zoom -button4
591 alias +crouch +button5
592 alias -crouch -button5
593 alias weapnext "impulse 10"
594 alias weaplast "impulse 11"
595 alias weapprev "impulse 12"
596
597 // movement
598 bind w +forward
599 bind a +moveleft
600 bind s +back
601 bind d +moveright
602 bind UPARROW +forward
603 bind LEFTARROW +moveleft
604 bind DOWNARROW +back
605 bind RIGHTARROW +moveright
606 bind SHIFT +crouch
607 bind ENTER +jump
608 bind SPACE +jump
609
610 // weapons
611 bind 1 "impulse 1"
612 bind 2 "impulse 2"
613 bind 3 "impulse 3"
614 bind 4 "impulse 4"
615 bind 5 "impulse 5"
616 bind 6 "impulse 6"
617 bind 7 "impulse 7"
618 bind 8 "impulse 8"
619 bind 9 "impulse 9"
620 bind 0 "impulse 210"
621 bind MOUSE1 +attack
622 bind MOUSE2 +attack2
623 bind MOUSE3 +zoom
624 bind MOUSE4 weaplast
625 bind MOUSE5 +hook
626 bind MWHEELUP weapnext
627 bind MWHEELDOWN weapprev
628 bind BACKSPACE dropweapon
629
630 // misc
631 bind e +hook
632 bind - sizedown
633 bind = sizeup
634 bind ` toggleconsole
635 bind ~ toggleconsole
636 bind TAB +showscores
637 bind ESCAPE togglemenu
638 bind r messagemode2
639 bind t messagemode
640 bind y messagemode2
641 bind i +show_info
642 bind PAUSE pause
643 bind F10 quit
644 bind F11 disconnect
645 bind F12 screenshot
646 bind F4 ready
647
648 // these commands can be voted
649 set sv_vote_commands "restart timelimit fraglimit chmap gotomap g_grappling_hook sv_defaultplayer_fbskin_green sv_defaultplayer_fbskin_red sv_defaultplayer_fbskin_orange sv_defaultplayer_fbskin_off"
650 // users can call a vote for the above commands
651 set sv_vote_call 1
652 // users can call a vote to become master
653 set sv_vote_master 1
654 // set to 1 to allow to change you vote/mind
655 set sv_vote_change 0
656 // set to 1 to count votes once after timeout or to 0 to count with every vote
657 set sv_vote_singlecount 0
658 // a vote will timeout after this many seconds
659 set sv_vote_timeout 60
660 // a player can not call a vote again for this many seconds
661 set sv_vote_wait 120
662 alias vhelp "cmd vote help"
663 alias vstatus "cmd vote status"
664 alias vcall "cmd vote call $*"
665 alias vstop "cmd vote stop"
666 alias vmaster "cmd vote master"
667 alias vdo "cmd vote do $*"
668 alias vyes "cmd vote yes"
669 alias vno "cmd vote no"
670 bind F1 vyes
671 bind F2 vno
672
673 //used for spectate/observer mode
674 alias spec "cmd spectate"
675 bind F3 spec
676
677 // alias for switching the teamselect menu
678 alias menu_showteamselect "set scmenu_directmenu TeamSelect; togglemenu"
679 bind f5 menu_showteamselect
680
681 // NixNex (No-Items x Nexuiz) - at each time, everyone uses the same weapon,
682 // and in regular intervals, this weapon is cycled
683 set g_nixnex 0
684 set g_nixnex_with_laser 0
685 // TODO these need balancing:
686 set g_balance_nixnex_roundtime 25
687 set g_balance_nixnex_incrtime 1.6
688 // initial ammo
689 set g_balance_nixnex_ammo_shells 15
690 set g_balance_nixnex_ammo_nails 45
691 set g_balance_nixnex_ammo_rockets 15
692 set g_balance_nixnex_ammo_cells 15
693 // ammo increment per second
694 set g_balance_nixnex_ammoincr_shells 2
695 set g_balance_nixnex_ammoincr_nails 6
696 set g_balance_nixnex_ammoincr_rockets 2
697 set g_balance_nixnex_ammoincr_cells 2
698
699 // score log
700 alias printstats "set _printstats 1"    // print status on demand
701 set sv_logscores_console 0              // print scores to server console
702 set sv_logscores_file 0                 // print scores to file
703 set sv_logscores_filename "scores.log"  // filename
704 set sv_logscores_bots 0                 // exclude bots by default
705
706 // spam (frag/capture) log
707 set sv_eventlog 0 // the master switch for efficiency reasons
708 set sv_eventlog_console 1
709 set sv_eventlog_files 0
710 seta sv_eventlog_files_counter 0
711 set sv_eventlog_files_nameprefix "nexuiz"
712 set sv_eventlog_files_namesuffix ".log"
713
714 set nextmap "" // override the maplist when switching to the next map
715 set lastlevel ""
716
717 // singleplayer campaign
718 set g_campaign 0
719 seta g_campaign_index 0
720 set g_campaign_skill 0
721
722 alias singleplayer_start "g_campaign_index 0; set scmenu_campaign_goto 0"
723 alias singleplayer_continue "set scmenu_campaign_goto -1"
724 alias singleplayer_levellist "set scmenu_campaign_dump 1; togglemenu; wait; togglemenu"
725
726 // Green's fullbright skins
727 alias "player_fbskin_green" "playermodel models/player/nexus.zym;playerskin 3"
728 alias "player_fbskin_red" "playermodel models/player/nexus.zym;playerskin 4"
729 alias "player_fbskin_orange" "playermodel models/player/nexus.zym;playerskin 5"
730 alias "player_fbskin_off" "playermodel models/player/nexus.zym;playerskin 0"
731 alias "sv_defaultplayer_fbskin_green" "set sv_defaultcharacter 1;set sv_defaultplayermodel models/player/nexus.zym;set sv_defaultplayerskin 3"
732 alias "sv_defaultplayer_fbskin_red" "sv_defaultcharacter 1;set sv_defaultplayermodel models/player/nexus.zym;set sv_defaultplayerskin 4"
733 alias "sv_defaultplayer_fbskin_orange" "sv_defaultcharacter 1;set sv_defaultplayermodel models/player/nexus.zym;set sv_defaultplayerskin 5"
734 alias "sv_defaultplayer_fbskin_off" "sv_defaultcharacter 0;set sv_defaultplayerskin 0"
735
736 seta sv_servermodelsonly 1
737
738 seta cl_curl_enabled 1
739 seta sv_curl_defaulturl "http://www.nexuiz.com/contentdownload/getmap.php?file="
740
741 set sv_motd ""
742
743 seta cl_shownames 1 // show player names pointed to (0: never, 1: teamplay only, 2: always)
744 set sv_allow_shownames 1
745
746 alias teamstatus "set _scoreboard 1"