]> icculus.org git repositories - divverent/nexuiz.git/blob - data/default.cfg
Redone campaign mode for better integration with the menu code.
[divverent/nexuiz.git] / data / default.cfg
1 // Nexuiz version (formatted for humans)
2 set g_nexuizversion "1.5.1 RC3"
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 15102
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 reset "exec game_reset.cfg"
38
39 alias dem "ls demos/*.dem"
40 alias rec "record demos/$1"
41 alias ply "playdemo demos/$1"
42
43 alias ccl "cmd clogin $1"
44 alias cc "cmd ccmd $*"
45
46 alias dropweapon "impulse 17"
47 alias +show_info "+button7"
48 alias -show_info "-button7"
49
50 alias team_red "cmd selectteam red"
51 alias team_blue "cmd selectteam blue"
52 alias team_pink "cmd selectteam pink"
53 alias team_yellow "cmd selectteam yellow"
54 alias team_auto "cmd selectteam auto"
55
56 // player defaults
57 _cl_color 153
58 _cl_name Player
59 _cl_playermodel models/player/marine.zym
60 _cl_playerskin 0
61 crosshair 5
62 fov 90
63 freelook 1
64 sensitivity 6
65 v_gamma 1.125000
66 viewsize 110
67 bgmvolume 1
68 volume 0.5
69 // fullscreen 800x600x32bit
70 vid_bitsperpixel 32
71 vid_fullscreen 1
72 vid_width 800
73 vid_height 600
74 // 2D resolution 640x480
75 vid_conwidth 640
76 vid_conheight 480
77 scr_conforcewhiledisconnected 0
78 scr_menuforcewhiledisconnected 1
79 v_deathtilt 0 // needed for spectators (who are dead to avoid prediction)
80
81 // server settings
82 hostname "Nexuiz Server"
83 sv_maxrate 10000
84 set sv_mapchange_delay 5
85 set minplayers 0
86
87 // disable rcon-like clientcommands to avoid server being open with default password
88 seta sv_clientcommands 0
89 seta sv_clientcommands_password "hackme"
90
91 // restart server if all players hit "ready"-button
92 set sv_ready_restart 0
93
94 seta g_viewweapon_bobintensity 1
95 seta g_viewweapon_q1pitching 1
96 cl_forwardspeed 480
97 cl_backspeed 480
98 cl_sidespeed 480
99 cl_upspeed 400
100 cl_movement 1
101 cl_movement_accelerate 5.5
102 cl_movement_edgefriction 0
103 cl_movement_friction 5
104 cl_movement_jumpvelocity 300
105 cl_movement_maxairspeed 50
106 cl_movement_maxspeed 400
107 cl_movement_stepheight 34
108 cl_stairsmoothspeed 200
109 seta cl_autoswitch 1
110 edgefriction 0
111 set g_balance_jumpheight 300
112 sv_maxairspeed 50
113 sv_accelerate 5.5
114 sv_friction 5
115 sv_maxspeed 400
116 sv_stepheight 34
117 set sv_friction_on_land 0.2 // factor of the speed which gets lost on landing
118 seta sv_spectate 1
119 seta sv_defaultcharacter 0
120 seta sv_defaultplayermodel models/player/nexus.zym
121 seta sv_defaultplayerskin 0
122 set sv_autoscreenshot 0
123 set net_messagetimeout 60
124 sv_jumpstep 1 // step up stairs while jumping, makes it easier to reach ledges
125
126 set g_navnodeedit 0
127
128 pausable 0
129 set mauvebots 0
130 set bot_number 0 // number of bots in server
131 set g_antilag 0
132 set g_start_weapon_laser 1
133 set g_start_weapon_shotgun 1
134 set g_start_weapon_uzi 0
135 set g_start_weapon_grenadelauncher 0
136 set g_start_weapon_electro 0
137 set g_start_weapon_crylink 0
138 set g_start_weapon_nex 0
139 set g_start_weapon_hagar 0
140 set g_start_weapon_rocketlauncher 0
141 set g_start_ammo_shells 50
142 set g_start_ammo_nails 0
143 set g_start_ammo_rockets 0
144 set g_start_ammo_cells 0
145 set g_powerup_superhealth 1
146 set g_powerup_strength 1
147 set g_powerup_shield 1
148 set g_use_ammunition 1
149 set g_pickup_items 1
150 set g_instagib 0
151 set g_minstagib 0               // enable minstagib
152 set g_minstagib_extralives 2    // how many extra lives you will get per powerup
153 set g_minstagib_ammo_start 10   // starting ammo
154 set g_minstagib_ammo_drop 5     // how much ammo you'll get for weapons or cells
155 set g_minstagib_invis_alpha 0.1 // set -1 for complete invisibility
156 set g_rocketarena 0
157 set g_vampire 0
158 set g_laserguided_missile 0
159 set g_midair 0
160 set g_midair_shieldtime 0.3
161 set g_spawnshieldtime 0
162 set g_forced_respawn 0
163 set g_fullbrightplayers 0
164 set g_fullbrightitems 0
165 set g_casings 0
166 set g_norecoil 0
167 set g_maplist_defaultlist "'dm_nexdm01''dm_nexdm02''dm_nexdm03''dm_nexdm04''dm_nexdm05''dm_nexdm06''dm_nexdm07''dm_nexdm08''dm_nexdm09''dm_nexdm10''dm_nexdm11''dm_nexdm12''dm_nexdm13''dm_nexdm14''dm_nexdm15''dm_nexdm16''dm_nexdm17''dm_nexdm18''dm_nexdm18_1on1remix''dm_nexdmextra1''dm_nexdmextra2''dom_nexdm01''dom_nexdm02''dom_nexdm03''dom_nexdm04''dom_nexdm05''dom_nexdm06''dom_nexdm07''dom_nexdm08''dom_nexdm09''dom_nexdm10''dom_nexdm11''dom_nexdm12''dom_nexdm13''dom_nexdm14''dom_nexdm15''dom_nexdm16''dom_nexdm17''dom_nexdm18''dom_nexdm18_1on1remix''dom_nexdmextra1''dom_nexdmextra2''rune_nexdm01''rune_nexdm02''rune_nexdm03''rune_nexdm04''rune_nexdm05''rune_nexdm06''rune_nexdm07''rune_nexdm08''rune_nexdm09''rune_nexdm10''rune_nexdm11''rune_nexdm12''rune_nexdm13''rune_nexdm14''rune_nexdm15''rune_nexdm16''rune_nexdm17''rune_nexdm18''rune_nexdm18_1on1remix''rune_nexdmextra1''rune_nexdmextra2''tdm_nexdm01''tdm_nexdm02''tdm_nexdm03''tdm_nexdm04''tdm_nexdm05''tdm_nexdm06''tdm_nexdm07''tdm_nexdm08''tdm_nexdm09''tdm_nexdm10''tdm_nexdm11''tdm_nexdm12''tdm_nexdm13''tdm_nexdm14''tdm_nexdm15''tdm_nexdm16''tdm_nexdm17''tdm_nexdm18''tdm_nexdm18_1on1remix''tdm_nexdmextra1''tdm_nexdmextra2''ctf_nexctf01''ctf_nexctf02''ctf_nexdm13''lms_nexdm01''lms_nexdm02''lms_nexdm03''lms_nexdm04''lms_nexdm05''lms_nexdm06''lms_nexdm07''lms_nexdm08''lms_nexdm10''lms_nexdm11''lms_nexdm12''lms_nexdm13''lms_nexdm14''lms_nexdm18_1on1remix''lms_nexdm18''lms_nexdmextra2''arena_nexdm01''arena_nexdm02''arena_nexdm03''arena_nexdm04''arena_nexdm05''arena_nexdm06''arena_nexdm07''arena_nexdm08''arena_nexdm09''arena_nexdm10''arena_nexdm11''arena_nexdm12''arena_nexdm13'' arena_nexdm14''arena_nexdm15''arena_nexdm16''arena_nexdm17''arena_nexdm18_1on1remix''arena_nexdm18''arena_nexdmextra1''arena_nexdmextra2'"
168 seta g_maplist $g_maplist_defaultlist
169 seta g_maplist_index 0 // this is used internally for saving position in maplist cycle
170 seta g_maplist_selectrandom 0 // if 1, a random map will be chosen as next map
171 // timeout for kill credit when your damage knocks someone into a death trap
172 set g_maxpushtime 8.0
173
174 set g_cloaked 0
175 set g_player_alpha 1
176 seta g_balance_cloaked_alpha 0.25
177
178 set welcome_message_time                8
179
180 set exit_cfg ""
181 alias clearmap  "disconnect; exec $exit_cfg"
182
183 seta g_grappling_hook 0
184 set g_grappling_hook_tarzan 1
185 set g_balance_grapplehook_speed_fly 1800
186 set g_balance_grapplehook_speed_pull 2000
187 set g_balance_grapplehook_force_rubber 2000
188 set g_balance_grapplehook_force_rubber_overstretch 1000
189 set g_balance_grapplehook_length_min 50
190 set g_balance_grapplehook_stretch 50
191 set g_balance_grapplehook_airfriction 0.2
192 set g_balance_grapplehook_health 130
193
194 // this means that timelimit can be overidden globally and fraglimit can be overidden for each game mode: DM/TDM, Domination, CTF, and Runematch.
195 seta timelimit_override -1
196 seta fraglimit_override -1
197 seta g_ctf_capture_limit -1
198 seta g_domination_point_limit -1
199 seta g_runematch_point_limit -1
200
201 // maximum overtime
202 seta timelimit_maxovertime 5
203
204 // common team values
205 set  g_tdm                              0
206 seta teamplay_default                   3       // default teamplay setting in team games
207 set deathmatch_force_teamplay           0       // always play TDM on dm maps
208 seta g_balance_teams                    1       // automatically balance out players entering
209 seta g_balance_teams_force              0       // automatically balance out teams when players move or disconnect
210 seta g_balance_teams_prevent_imbalance  0       // prevent players from changing to larger teams
211 seta g_tdm_teams                        2       // how many teams are in team deathmatch
212 set g_changeteam_banned                 0       // not allowed to change team
213 set g_changeteam_fragtransfer           80      // % of frags you get to keep when you change teams (rounded down)
214
215 // ctf
216 set g_ctf                               0
217 set g_ctf_flag_returntime               30
218 set g_ctf_flagscore_capture             5
219 set g_ctf_flagscore_capture_team        20
220 set g_ctf_flagscore_pickup              1
221 set g_ctf_flagscore_return              5
222 set g_ctf_flagscore_return_rogue        10
223
224 // runematch
225 set g_runematch                                         0
226 set g_runematch_pointrate                               5
227 set g_runematch_pointamt                                        1
228 set g_runematch_shuffletime                             30 // how often runes change position
229 set g_runematch_respawntime                             15 // how soon after being dropped to respawn
230 set g_runematch_frags_killedby_runeholder               4
231 set g_runematch_frags_killed_runeholder                 5
232 set g_runematch_frags_norune                            0
233 set g_runematch_drop_runes_max                          2 // only drop up to 2 runes, the rest should respawn
234 set g_runematch_allow_same                              0 // allow matching rune-curse pairs
235 set g_runematch_rune_alpha                              0.78
236 set g_runematch_rune_effects                            544 // EF_ADDITIVE + EF_FULLBRIGHT
237 set g_runematch_rune_glow_size                          0
238 set g_runematch_rune_glow_color                         0
239 set g_runematch_rune_color_strength                     1.0 //1.5
240 // strength/weakness
241 set g_balance_rune_strength_damage                      2.0 //1.5
242 set g_balance_rune_strength_force                       1.5
243 set g_balance_curse_weak_damage                         0.5 //0.6
244 set g_balance_curse_weak_force                          0.6
245 set g_balance_rune_strength_combo_damage        0.9
246 set g_balance_rune_strength_combo_force                 1.0
247 // defense/vulner
248 set g_balance_rune_defense_takedamage                   0.5
249 set g_balance_curse_vulner_takedamage                   2.0
250 set g_balance_rune_defense_combo_takedamage             1.0
251 // vampire/empathy
252 set g_balance_rune_vampire_absorb                       0.4
253 set g_balance_curse_empathy_takedamage                  -0.4
254 set g_balance_rune_vampire_combo_absorb                 -0.1
255 set g_balance_rune_vampire_maxhealth                    500
256 set g_balance_curse_empathy_minhealth                   20
257 set g_balance_rune_vampire_combo_minhealth              40
258 // regen/venom
259 set g_balance_rune_regen_hpmod                          1.75
260 set g_balance_curse_venom_hpmod                         0.6
261 set g_balance_rune_regen_combo_hpmod                    0.9
262 set g_balance_rune_regen_regenrate                      3.0
263 set g_balance_curse_venom_rotrate                       3.0 //2
264 set g_balance_rune_regen_combo_regenrate        0.5
265 set g_balance_rune_regen_combo_rotrate                  1.5
266 set g_balance_rune_regen_limitmod                       1
267 set g_balance_curse_venom_limitmod                      1
268 set g_balance_rune_regen_combo_limitmod                 1
269 // speed/slow
270 set g_balance_rune_speed_atkrate                                0.66
271 set g_balance_curse_slow_atkrate                                1.5
272 set g_balance_rune_speed_combo_atkrate                  1.2
273 set g_balance_rune_speed_moverate                       1.33
274 set g_balance_curse_slow_moverate                       0.8
275 set g_balance_rune_speed_combo_moverate                 0.9
276 set g_balance_rune_speed_jumpheight                     1.8
277 set g_balance_curse_slow_jumpheight                     1.0
278 set g_balance_rune_speed_combo_jumpheight               1.0
279
280 // domination
281 set g_domination                        0
282 set g_domination_default_teams          2 // default number of teams for maps that aren't domination-specific
283 set g_domination_disable_frags          0 // players can't get frags normally, only get points from kills
284 set g_domination_point_amt              0 // override: how many points to get per ping
285 set g_domination_point_rate             0 // override: how often to give those points
286 set g_domination_point_capturetime      0.1 // how long it takes to capture a point (given no interference)
287 set g_domination_point_glow             0 // domination point glow (warning, slow)
288 //set g_domination_balance_team_points  1 // # of points received is based on team sizes
289
290 // last man standing
291 set g_lms 0
292 set g_lms_lives_override -1
293 set g_lms_start_health 250
294 set g_lms_start_armor 100
295 set g_lms_start_ammo_shells 50
296 set g_lms_start_ammo_nails 150
297 set g_lms_start_ammo_rockets 50
298 set g_lms_start_ammo_cells 50
299 set g_lms_regenerate 0
300 set g_lms_campcheck_interval 10
301 set g_lms_campcheck_message "^1Don't camp!"
302 set g_lms_campcheck_damage 100
303 set g_lms_campcheck_distance 1800
304 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
305 set g_lms_join_anytime 1                // if true, new players can join, but get same amount of lives as the worst player
306
307 // arena
308 set g_arena 0
309 set g_arena_maxspawned 2        // maximum number of players to spawn at once (the rest is spectating, waiting for their turn)
310 set g_arena_roundbased 1        // if disabled, the next player will spawn as soon as someone dies
311 set g_arena_warmup 5            // time, newly spawned  players have to prepare themselves in round based matches
312
313 // server game balance settings
314 set g_balance_armor_regen 0
315 set g_balance_armor_rot 0.1
316 set g_balance_armor_stable 100
317 set g_balance_armor_limit 999
318 set g_balance_armor_start 0
319 set g_balance_armor_blockpercent 0.6
320 set g_balance_health_regen 0.1
321 set g_balance_health_rot 0.1
322 set g_balance_health_stable 100
323 set g_balance_health_limit 999
324 set g_balance_health_start 150
325 set g_balance_selfdamagepercent 0.6
326 set g_balance_weaponswitchdelay 0.3
327 // powerup balance settings
328 set g_balance_powerup_invincible_takedamage 0.2
329 set g_balance_powerup_invincible_time 30
330 set g_balance_powerup_strength_damage 3
331 set g_balance_powerup_strength_force 4
332 set g_balance_powerup_strength_time 30
333
334 // weapon balance settings follow
335
336 set g_balance_laser_damage 35
337 set g_balance_laser_edgedamage 10
338 set g_balance_laser_force 400
339 set g_balance_laser_radius 70
340 set g_balance_laser_speed 9000
341 set g_balance_laser_refire 0.7
342 set g_balance_laser_animtime 0.3
343 set g_balance_laser_lifetime 9
344
345 set g_balance_shotgun_primary_bullets 10
346 set g_balance_shotgun_primary_damage 6
347 set g_balance_shotgun_primary_spread 0.07
348 set g_balance_shotgun_primary_refire 0.5
349 set g_balance_shotgun_primary_animtime 0.2
350 set g_balance_shotgun_primary_ammo 1
351 set g_balance_shotgun_secondary_bullets 10
352 set g_balance_shotgun_secondary_damage 6
353 set g_balance_shotgun_secondary_spread 0.07
354 set g_balance_shotgun_secondary_refire 1.5
355 set g_balance_shotgun_secondary_animtime 0.2
356 set g_balance_shotgun_secondary_ammo 1
357
358 set g_balance_uzi_first_damage 30
359 set g_balance_uzi_first_spread 0.01
360 set g_balance_uzi_first_refire 0.2
361 set g_balance_uzi_first_ammo 1
362 set g_balance_uzi_sustained_damage 16
363 set g_balance_uzi_sustained_spread 0.05
364 set g_balance_uzi_sustained_refire 0.1
365 set g_balance_uzi_sustained_ammo 1
366
367 set g_balance_grenadelauncher_primary_damage 65
368 set g_balance_grenadelauncher_primary_edgedamage 35
369 set g_balance_grenadelauncher_primary_force 400
370 set g_balance_grenadelauncher_primary_radius 140
371 set g_balance_grenadelauncher_primary_speed 2000
372 set g_balance_grenadelauncher_primary_speed_up 200
373 set g_balance_grenadelauncher_primary_lifetime 30
374 set g_balance_grenadelauncher_primary_refire 0.7
375 set g_balance_grenadelauncher_primary_animtime 0.3
376 set g_balance_grenadelauncher_primary_ammo 2
377 set g_balance_grenadelauncher_secondary_damage 65
378 set g_balance_grenadelauncher_secondary_edgedamage 35
379 set g_balance_grenadelauncher_secondary_force 400
380 set g_balance_grenadelauncher_secondary_radius 140
381 set g_balance_grenadelauncher_secondary_speed 1400
382 set g_balance_grenadelauncher_secondary_speed_up 200
383 set g_balance_grenadelauncher_secondary_lifetime 2.5
384 set g_balance_grenadelauncher_secondary_refire 0.6
385 set g_balance_grenadelauncher_secondary_animtime 0.3
386 set g_balance_grenadelauncher_secondary_ammo 2
387
388 set g_balance_electro_primary_damage 90
389 set g_balance_electro_primary_edgedamage 0
390 set g_balance_electro_primary_force 200
391 set g_balance_electro_primary_radius 150
392 set g_balance_electro_primary_speed 2000
393 set g_balance_electro_primary_lifetime 2
394 set g_balance_electro_primary_refire 0.9
395 set g_balance_electro_primary_animtime 0.05
396 set g_balance_electro_primary_ammo 4
397 set g_balance_electro_secondary_damage 30
398 set g_balance_electro_secondary_edgedamage 0
399 set g_balance_electro_secondary_force 200
400 set g_balance_electro_secondary_radius 150
401 set g_balance_electro_secondary_speed 900
402 set g_balance_electro_secondary_speed_up 200
403 set g_balance_electro_secondary_lifetime 2
404 set g_balance_electro_secondary_refire 0.9
405 set g_balance_electro_secondary_animtime 0.05
406 set g_balance_electro_secondary_ammo 1
407 set g_balance_electro_combo_damage 80
408 set g_balance_electro_combo_edgedamage 20
409 set g_balance_electro_combo_force 200
410 set g_balance_electro_combo_radius 150
411
412 set g_balance_crylink_primary_damage 15
413 set g_balance_crylink_primary_edgedamage 0
414 set g_balance_crylink_primary_force 55
415 set g_balance_crylink_primary_radius 3
416 set g_balance_crylink_primary_speed 7000
417 set g_balance_crylink_primary_spread 0.08
418 set g_balance_crylink_primary_shots 4
419 set g_balance_crylink_primary_lifetime 9
420 set g_balance_crylink_primary_refire 0.25
421 set g_balance_crylink_primary_animtime 0.15
422 set g_balance_crylink_primary_ammo 1
423 set g_balance_crylink_secondary_damage 15
424 set g_balance_crylink_secondary_edgedamage 0
425 set g_balance_crylink_secondary_force 55
426 set g_balance_crylink_secondary_radius 3
427 set g_balance_crylink_secondary_speed 7000
428 set g_balance_crylink_secondary_spread 0.08
429 set g_balance_crylink_secondary_shots 7
430 set g_balance_crylink_secondary_lifetime 9
431 set g_balance_crylink_secondary_refire 0.5
432 set g_balance_crylink_secondary_animtime 0.15
433 set g_balance_crylink_secondary_ammo 3
434
435
436 set g_balance_nex_damage 150
437 set g_balance_nex_refire 1
438 set g_balance_nex_animtime 0.3
439 set g_balance_nex_ammo 5
440
441 set g_balance_hagar_primary_damage 40
442 set g_balance_hagar_primary_edgedamage 15
443 set g_balance_hagar_primary_force 100
444 set g_balance_hagar_primary_radius 70
445 set g_balance_hagar_primary_spread 0.025
446 set g_balance_hagar_primary_speed 3000
447 set g_balance_hagar_primary_lifetime 10
448 set g_balance_hagar_primary_refire 0.15
449 set g_balance_hagar_primary_ammo 1
450 set g_balance_hagar_secondary_damage 40
451 set g_balance_hagar_secondary_edgedamage 15
452 set g_balance_hagar_secondary_force 100
453 set g_balance_hagar_secondary_radius 70
454 set g_balance_hagar_secondary_spread 0.025
455 set g_balance_hagar_secondary_speed 1400
456 set g_balance_hagar_secondary_lifetime 10
457 set g_balance_hagar_secondary_refire 0.15
458 set g_balance_hagar_secondary_ammo 1
459
460 set g_balance_rocketlauncher_damage 130
461 set g_balance_rocketlauncher_edgedamage 50
462 set g_balance_rocketlauncher_force 600
463 set g_balance_rocketlauncher_radius 170
464 set g_balance_rocketlauncher_speed 850
465 set g_balance_rocketlauncher_lifetime 9
466 set g_balance_rocketlauncher_refire 1
467 set g_balance_rocketlauncher_animtime 0.3
468 set g_balance_rocketlauncher_ammo 3
469 set g_balance_rocketlauncher_laserguided_speed  1000  //650
470 set g_balance_rocketlauncher_laserguided_turnrate       0.75  //0.5
471 set g_balance_rocketlauncher_laserguided_allow_steal    1
472
473 set g_balance_falldamage_deadminspeed 150
474 set g_balance_falldamage_minspeed 1400
475 set g_balance_falldamage_factor 0.15
476 set g_balance_falldamage_maxdamage 25
477
478 set g_balance_pause_armor_rot 5
479 set g_balance_pause_health_rot 5
480 set g_balance_pause_health_regen 5
481 set g_balance_pause_armor_rot_spawn 10
482 set g_balance_pause_health_rot_spawn 10
483 set g_balance_pause_health_regen_spawn 0
484
485 set g_footsteps 0 // serverside footstep sounds
486
487 // effects
488 cl_decals 1
489 cl_decals_time 2
490 cl_decals_fadetime 1
491 cl_particles 1
492 cl_particles_quality 0.5
493 cl_stainmaps 0
494 gl_picmip 1
495 gl_flashblend 0
496 r_bloom 1
497 r_coronas 1
498 r_dynamic 1
499 r_shadow_bumpscale_basetexture 5
500 r_shadow_realtime_world 0
501 r_shadow_realtime_world_lightmaps 1
502 seta r_glsl 1
503 seta r_glsl_deluxemapping 2
504 r_glsl_offsetmapping 1
505 r_shadow_realtime_world_shadows 0
506 r_shadow_realtime_dlight_shadows 0
507 r_shadow_realtime_world_dlightshadows 0
508 r_shadow_gloss 1
509
510 // misc
511 set host_maxfps 1000
512 set host_minfps 10
513 scr_conbrightness 0
514 scr_screenshot_jpeg 1
515 scr_screenshot_jpeg_quality 0.9
516 sv_maxvelocity 1000000000
517 cl_sound_wizardhit ""
518 cl_sound_hknighthit ""
519 cl_sound_tink1 "weapons/tink1.wav"
520 cl_sound_ric1 "weapons/ric1.wav"
521 cl_sound_ric2 "weapons/ric2.wav"
522 cl_sound_ric3 "weapons/ric3.wav"
523 cl_sound_r_exp3 ""
524 sv_sound_land ""
525 sv_sound_watersplash ""
526 // startmap_dm is used when running with the -listen or -dedicated commandline options
527 alias startmap_sp "map nexdm01"
528 alias startmap_dm "map nexdm01"
529
530 // aliases:
531 alias +attack2 +button3
532 alias -attack2 -button3
533 alias +zoom +button4
534 alias -zoom -button4
535 alias +crouch +button5
536 alias -crouch -button5
537 alias weapnext "impulse 10"
538 alias weaplast "impulse 11"
539 alias weapprev "impulse 12"
540 alias bot_add "impulse 100"
541 alias bot_add2 "impulse 101"
542 alias bot_kick "impulse 102"
543 alias bot_cam "impulse 102"
544 alias bot_wayedit "impulse 102"
545
546 // movement
547 bind w +forward
548 bind a +moveleft
549 bind s +back
550 bind d +moveright
551 bind UPARROW +forward
552 bind LEFTARROW +moveleft
553 bind DOWNARROW +back
554 bind RIGHTARROW +moveright
555 bind SHIFT +crouch
556 bind ENTER +jump
557 bind SPACE +jump
558
559 // weapons
560 bind 1 "impulse 1"
561 bind 2 "impulse 2"
562 bind 3 "impulse 3"
563 bind 4 "impulse 4"
564 bind 5 "impulse 5"
565 bind 6 "impulse 6"
566 bind 7 "impulse 7"
567 bind 8 "impulse 8"
568 bind 9 "impulse 9"
569 bind 0 "impulse 210"
570 bind MOUSE1 +attack
571 bind MOUSE2 +attack2
572 bind MOUSE3 +zoom
573 bind MOUSE4 weaplast
574 bind MOUSE5 +hook
575 bind MWHEELUP weapnext
576 bind MWHEELDOWN weapprev
577 bind BACKSPACE dropweapon
578
579 // misc
580 bind e +hook
581 bind - sizedown
582 bind = sizeup
583 bind ` toggleconsole
584 bind ~ toggleconsole
585 bind TAB +showscores
586 bind ESCAPE togglemenu
587 bind r messagemode2
588 bind t messagemode
589 bind y messagemode2
590 bind i +show_info
591 bind PAUSE pause
592 bind F10 quit
593 bind F11 disconnect
594 bind F12 screenshot
595 bind F4 ready
596
597 // these commands can be voted
598 set sv_vote_commands "restart timelimit fraglimit chmap g_grappling_hook"
599 // users can call a vote for the above commands
600 set sv_vote_call 1
601 // users can call a vote to become master
602 set sv_vote_master 1
603 // set to 1 to allow to change you vote/mind
604 set sv_vote_change 0
605 // set to 1 to count votes once after timeout or to 0 to count with every vote
606 set sv_vote_singlecount 0
607 // a vote will timeout after this many seconds
608 set sv_vote_timeout 60
609 // a player can not call a vote again for this many seconds
610 set sv_vote_wait 120
611 alias vhelp "cmd vote help"
612 alias vstatus "cmd vote status"
613 alias vcall "cmd vote call $*"
614 alias vstop "cmd vote stop"
615 alias vmaster "cmd vote master"
616 alias vdo "cmd vote do $*"
617 alias vyes "cmd vote yes"
618 alias vno "cmd vote no"
619 bind F1 vyes
620 bind F2 vno
621
622 //used for spectate/observer mode
623 alias spec "cmd spectate"
624 bind F3 spec
625
626 // alias for switching the teamselect menu
627 alias menu_showteamselect "set scmenu_directmenu TeamSelect; togglemenu"
628 bind f5 menu_showteamselect
629
630 // UrreBots
631 set urrebots 0
632 set urrebots_strategytime 2
633 set urrebots_combattime 1
634 set urrebots_stratsearch_dist 10000000
635 set urrebots_minisearch_dist 800
636 set urrebots_debug 0
637 set urrebots_navopt 0
638
639 // NixNex (No-Items x Nexuiz) - at each time, everyone uses the same weapon,
640 // and in regular intervals, this weapon is cycled
641 set g_nixnex 0
642 set g_nixnex_with_laser 0
643 // TODO these need balancing:
644 set g_balance_nixnex_roundtime 25
645 set g_balance_nixnex_incrtime 1.6
646 // initial ammo
647 set g_balance_nixnex_ammo_shells 15
648 set g_balance_nixnex_ammo_nails 45
649 set g_balance_nixnex_ammo_rockets 15
650 set g_balance_nixnex_ammo_cells 15
651 // ammo increment per second
652 set g_balance_nixnex_ammoincr_shells 2
653 set g_balance_nixnex_ammoincr_nails 6
654 set g_balance_nixnex_ammoincr_rockets 2
655 set g_balance_nixnex_ammoincr_cells 2
656
657 // score log
658 alias printstats "set _printstats 1"    // print status on demand
659 set sv_logscores_console 0              // print scores to server console
660 set sv_logscores_file 0                 // print scores to file
661 set sv_logscores_filename "scores.log"  // filename
662 set sv_logscores_bots 0                 // exclude bots by default
663
664 // spam (frag/capture) log
665 set sv_eventlog 0 // the master switch for efficiency reasons
666 set sv_eventlog_console 1
667 set sv_eventlog_files 0
668 seta sv_eventlog_files_counter 0
669 set sv_eventlog_files_nameprefix "nexuiz"
670 set sv_eventlog_files_namesuffix ".log"
671
672 set nextmap "" // override the maplist when switching to the next map
673 set lastlevel ""
674
675 // singleplayer campaign
676 seta g_campaign_index 0
677 seta g_campaign_skill 3