]> icculus.org git repositories - divverent/nexuiz.git/blob - data/default.cfg
display midair and grappling hook in welcome msg and bind 'e' to +hook by default
[divverent/nexuiz.git] / data / default.cfg
1 // Nexuiz version (formatted for humans)
2 set g_nexuizversion 1.3
3
4 // Nexuiz version (formatted for machines)
5 // used to determine if a client is compatible
6 // this doesn't have to be bumped with every release
7 // bump whenever gamedata becomes incompatible
8 set g_nexuizversion_major 130
9
10 // team aliases
11 alias team_none         "color 0"
12 alias team_red          "color 4"
13 alias team_blue         "color 13"
14 alias team_pink         "color 9"
15 alias team_yellow       "color 12"
16
17 // other aliases
18 alias "+scores" "+showscores; ping"
19 alias "-scores" "-showscores"
20
21 alias "bsp" "ls maps/*.bsp"
22 alias "mapcfg" "ls maps/*.mapcfg"
23 alias "chmap" "exec $exit_cfg; exec game_reset.cfg; exec maps/$1.mapcfg"
24
25 alias "dem" "ls demos/*.dem"
26 alias "rec" "record demos/$1"
27 alias "ply" "playdemo demos/$1"
28
29 alias "ccl" "cmd clogin $1"
30 alias "cc" "cmd ccmd $*"
31
32 alias "dropweapon" "impulse 17"
33 alias "show_info" "impulse 18"
34
35 // player defaults
36 _cl_color 0
37 _cl_name Player
38 _cl_playermodel models/player/marine.zym
39 _cl_playerskin 0
40 crosshair 5
41 fov 90
42 freelook 1
43 sensitivity 6
44 v_gamma 1.125000
45 viewsize 110
46 bgmvolume 1
47 volume 0.5
48 // fullscreen 1024x768x32bit
49 vid_bitsperpixel "32"
50 vid_fullscreen "1"
51 vid_width "1024"
52 vid_height "768"
53 // 2D resolution 640x480
54 vid_conwidth "640"
55 vid_conheight "480"
56 scr_conforcewhiledisconnected "0"
57
58 // server settings
59 hostname "Nexuiz Server"
60 sv_maxrate 10000
61
62 // disable rcon-like clientcommands to avoid server being open with default password
63 seta sv_clientcommands 0
64 seta sv_clientcommands_password "hackme"
65
66 seta g_viewweapon_bobintensity 1
67 seta g_viewweapon_q1pitching 1
68 seta nex_numbots 0
69 cl_forwardspeed 480
70 cl_backspeed 480
71 cl_sidespeed 480
72 cl_upspeed 400
73 cl_movement 1
74 cl_movement_accelerate 5.5
75 cl_movement_edgefriction 0
76 cl_movement_friction 5
77 cl_movement_jumpvelocity 300
78 cl_movement_maxairspeed 50
79 cl_movement_maxspeed 400
80 cl_movement_stepheight 34
81 cl_stairsmoothspeed 200
82 seta cl_autoswitch 1
83 edgefriction 0
84 set g_balance_jumpheight 300
85 set sv_maxairspeed 50
86 sv_accelerate 5.5
87 sv_friction 5
88 sv_maxspeed 400
89 sv_stepheight 34
90 seta sv_spectate 1
91 seta sv_defaultcharacter 0
92 seta sv_defaultplayermodel models/player/nexus.zym
93 seta sv_defaultplayerskin 0
94 set net_messagetimeout 60
95
96 pausable 0
97 set bot_number 0 // number of bots in server
98 set g_start_weapon_laser 1
99 set g_start_weapon_shotgun 1
100 set g_start_weapon_uzi 0
101 set g_start_weapon_grenadelauncher 0
102 set g_start_weapon_electro 0
103 set g_start_weapon_crylink 0
104 set g_start_weapon_nex 0
105 set g_start_weapon_hagar 0
106 set g_start_weapon_rocketlauncher 0
107 set g_start_ammo_shells 50
108 set g_start_ammo_nails 0
109 set g_start_ammo_rockets 0
110 set g_start_ammo_cells 0
111 set g_use_ammunition 1
112 set g_pickup_items 1
113 set g_instagib 0
114 set g_minstagib 0               // enable minstagib
115 set g_minstagib_extralives 2    // how many extra lives you will get per powerup
116 set g_minstagib_ammo_start 10   // starting ammo
117 set g_minstagib_ammo_drop 5     // how much ammo you'll get for weapons or cells
118 set g_rocketarena 0
119 set g_vampire 0
120 set g_homing_missile 0
121 set g_midair 0
122 set g_forced_respawn 0
123 set g_fullbrightplayers 0
124 set g_fullbrightitems 0
125 set g_casings 0
126 seta "g_maplist" "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_nexdmctf02 dm_nexdmextra1 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_nexdmextra1 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_nexdmextra1 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_nexdmextra1 ctf_nexctf01 ctf_nexctf02 ctf_nexdm13 lms_nexdm01 lms_nexdm02 lms_nexdm05 lms_nexdm06 lms_nexdm07 lms_nexdm10 lms_nexdm12 lms_nexdm13"
127 seta g_maplist_index 0 // this is used internally for saving position in maplist cycle
128 // timeout for kill credit when your damage knocks someone into a death trap
129 set g_maxpushtime 8.0
130
131 set welcome_message_time                8
132
133 set exit_cfg ""
134 alias clearmap  "disconnect; exec $exit_cfg"
135
136 seta g_grappling_hook 0
137 seta g_balance_grapplehook_speed_fly 1200
138 seta g_balance_grapplehook_speed_pull 1000
139
140 // "This means that timelimit can be overwritten globally and fraglimit can be overwritten for each game mode: DM/TDM, Domination, CTF, and Runematch."
141 seta timelimit_override -1
142 seta fraglimit_override -1
143 seta g_ctf_capture_limit -1
144 seta g_domination_point_limit -1
145 seta g_runematch_point_limit -1
146
147 // common team values
148 set  g_tdm                              0
149 seta teamplay_default                   3       // default teamplay setting in team games
150 set deathmatch_force_teamplay           0       // always play TDM on dm maps
151 seta g_balance_teams                    1       // automatically balance out players entering
152 seta g_balance_teams_force              0       // automatically balance out teams when players move or disconnect
153 seta g_balance_teams_prevent_imbalance  0       // prevent players from changing to larger teams
154 seta g_tdm_teams                        2       // how many teams are in team deathmatch
155 set g_changeteam_banned                 0       // not allowed to change team
156 set g_changeteam_fragtransfer           80      // % of frags you get to keep when you change teams (rounded down)
157
158 // ctf
159 set g_ctf                               0
160 set g_ctf_flag_returntime               30
161 set g_ctf_flagscore_capture             5
162 set g_ctf_flagscore_capture_team        20
163 set g_ctf_flagscore_pickup              1
164 set g_ctf_flagscore_return              5
165 set g_ctf_flagscore_return_rogue        10
166
167 // runematch
168 set g_runematch                                         0
169 set g_runematch_pointrate                               5
170 set g_runematch_pointamt                                        1
171 set g_runematch_shuffletime                             30 // how often runes change position
172 set g_runematch_respawntime                             15 // how soon after being dropped to respawn
173 set g_runematch_frags_killedby_runeholder               4
174 set g_runematch_frags_killed_runeholder                 5
175 set g_runematch_frags_norune                            0
176 set g_runematch_drop_runes_max                          2 // only drop up to 2 runes, the rest should respawn
177 set g_runematch_allow_same                              0 // allow matching rune-curse pairs
178 set g_runematch_rune_alpha                              0.78
179 set g_runematch_rune_effects                            544 // EF_ADDITIVE + EF_FULLBRIGHT
180 set g_runematch_rune_glow_size                          0
181 set g_runematch_rune_glow_color                         0
182 set g_runematch_rune_color_strength                     1.0 //1.5
183 // strength/weakness
184 set g_balance_rune_strength_damage                      2.0 //1.5
185 set g_balance_rune_strength_force                       1.5
186 set g_balance_curse_weak_damage                         0.5 //0.6
187 set g_balance_curse_weak_force                          0.6
188 set g_balance_rune_strength_combo_damage        0.9
189 set g_balance_rune_strength_combo_force                 1.0
190 // defense/vulner
191 set g_balance_rune_defense_takedamage                   0.5
192 set g_balance_curse_vulner_takedamage                   2.0
193 set g_balance_rune_defense_combo_takedamage             1.0
194 // vampire/empathy
195 set g_balance_rune_vampire_absorb                       0.4
196 set g_balance_curse_empathy_takedamage                  -0.4
197 set g_balance_rune_vampire_combo_absorb                 -0.1
198 set g_balance_rune_vampire_maxhealth                    500
199 set g_balance_curse_empathy_minhealth                   20
200 set g_balance_rune_vampire_combo_minhealth              40
201 // regen/venom
202 set g_balance_rune_regen_hpmod                          1.75
203 set g_balance_curse_venom_hpmod                         0.6
204 set g_balance_rune_regen_combo_hpmod                    0.9
205 set g_balance_rune_regen_regenrate                      3.0
206 set g_balance_curse_venom_rotrate                       3.0 //2
207 set g_balance_rune_regen_combo_regenrate        0.5
208 set g_balance_rune_regen_combo_rotrate                  1.5
209 // speed/slow
210 set g_balance_rune_speed_atkrate                                0.66
211 set g_balance_curse_slow_atkrate                                1.5
212 set g_balance_rune_speed_combo_atkrate                  1.2
213 set g_balance_rune_speed_moverate                       1.33
214 set g_balance_curse_slow_moverate                       0.8
215 set g_balance_rune_speed_combo_moverate                 0.9
216 set g_balance_rune_speed_jumpheight                     1.8
217 set g_balance_curse_slow_jumpheight                     1.0
218 set g_balance_rune_speed_combo_jumpheight               1.0
219
220 // domination
221 set g_domination                        0
222 set g_domination_default_teams          2 // default number of teams for maps that aren't domination-specific
223 set g_domination_disable_frags          0 // players can't get frags normally; only get points from kills
224 set g_domination_point_amt              0 // override: how many points to get per ping
225 set g_domination_point_rate             0 // override: how often to give those points
226 set g_domination_point_capturetime      0.1 // how long it takes to capture a point (given no interference)
227 set g_domination_point_glow             0 // domination point glow (warning, slow)
228 //seta g_domination_balance_team_points 1 // # of points received is based on team sizes
229
230 // last man standing
231 set g_lms 0
232 set g_lms_start_ammo_shells 30
233 set g_lms_start_ammo_nails 100
234 set g_lms_start_ammo_rockets 30
235 set g_lms_start_ammo_cells 30
236 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
237 set g_lms_join_anytime 1                // if true, new players can join, but get same amount of lives as the worst player
238
239 // server game balance settings
240 set g_balance_armor_regen 0
241 set g_balance_armor_rot 0.1
242 set g_balance_armor_stable 100
243 set g_balance_armor_start 0
244 set g_balance_armor_blockpercent 0.6
245 set g_balance_health_regen 0.1
246 set g_balance_health_rot 0.1
247 set g_balance_health_stable 100
248 set g_balance_health_start 150
249 set g_balance_selfdamagepercent 0.6
250 set g_balance_weaponswitchdelay 0.3
251 // powerup balance settings
252 set g_balance_powerup_invincible_takedamage 0.2
253 set g_balance_powerup_invincible_time 30
254 set g_balance_powerup_strength_damage 3
255 set g_balance_powerup_strength_force 4
256 set g_balance_powerup_strength_time 30
257 // weapon balance settings
258 set g_balance_laser_damage 35
259 set g_balance_laser_edgedamage 10
260 set g_balance_laser_force 400
261 set g_balance_laser_radius 70
262 set g_balance_laser_speed 9000
263 set g_balance_laser_refire 0.7
264 set g_balance_shotgun_bullets 10
265 set g_balance_shotgun_damage 6
266 set g_balance_shotgun_damage2 6
267 set g_balance_shotgun_spread 0.07
268 set g_balance_shotgun_refire 0.5
269 set g_balance_shotgun_refire2 1.5
270 set g_balance_shotgun_refire3 0.2
271 set g_balance_uzi_damage 16
272 set g_balance_uzi_refire 0.1
273 set g_balance_uzi_spread 0.05
274 set g_balance_uzi_damage2 30
275 set g_balance_uzi_refire2 0.2
276 set g_balance_uzi_spread2 0.01
277 set g_balance_grenadelauncher_damage 65
278 set g_balance_grenadelauncher_edgedamage 35
279 set g_balance_grenadelauncher_force 400
280 set g_balance_grenadelauncher_radius 140
281 set g_balance_grenadelauncher_speed 2000
282 set g_balance_grenadelauncher_speed2 1400
283 set g_balance_grenadelauncher_speed2_up 200
284 set g_balance_grenadelauncher_speed_up 200
285 set g_balance_grenadelauncher_refire 0.7
286 set g_balance_grenadelauncher_refire2 0.6
287 set g_balance_electro_ballspeed 900
288 set g_balance_electro_ballspeed_up 200
289 set g_balance_electro_damage 90
290 set g_balance_electro_edgedamage 0
291 set g_balance_electro_force 200
292 set g_balance_electro_radius 150
293 set g_balance_electro_refire 0.9
294 set g_balance_electro_refire3 0.05
295 set g_balance_electro_speed 2000
296 set g_balance_electro_combo_coredamage 50
297 set g_balance_electro_combo_edgedamage 20
298 set g_balance_crylink_damage 15
299 set g_balance_crylink_edgedamage 0
300 set g_balance_crylink_force 55
301 set g_balance_crylink_radius 3
302 set g_balance_crylink_refire 0.5
303 set g_balance_crylink_speed 7000
304 set g_balance_crylink_spread 0.08
305 set g_balance_crylink_shots 7
306 set g_balance_nex_damage 175
307 set g_balance_nex_refire 1
308 set g_balance_hagar_damage 40
309 set g_balance_hagar_edgedamage 15
310 set g_balance_hagar_force 100
311 set g_balance_hagar_radius 70
312 set g_balance_hagar_spread 0.025
313 set g_balance_hagar_speed 3000
314 set g_balance_hagar_speed2 1400
315 set g_balance_hagar_speed2_up 100
316 set g_balance_rocketlauncher_damage 130
317 set g_balance_rocketlauncher_edgedamage 50
318 set g_balance_rocketlauncher_force 600
319 set g_balance_rocketlauncher_radius 170
320 set g_balance_rocketlauncher_speed 850
321 set g_balance_rocketlauncher_refire 1
322 set g_balance_rocketlauncher_homing_speed       1000  //650
323 set g_balance_rocketlauncher_homing_turnrate    0.75  //0.5
324 set g_balance_rocketlauncher_homing_allow_steal 1
325 set g_balance_falldamage_deadminspeed 150
326 set g_balance_falldamage_minspeed 1400
327 set g_balance_falldamage_factor 0.15
328 set g_balance_falldamage_maxdamage 25
329
330 // effects
331 cl_decals 1
332 cl_particles 1
333 cl_stainmaps 0
334 gl_flashblend 0
335 r_bloom 1
336 r_coronas 1
337 r_dynamic 1
338 r_shadow_bumpscale_basetexture 5
339 r_shadow_realtime_world 1
340 r_shadow_realtime_world_lightmaps 1
341 seta r_shadow_glsl 1
342 r_shadow_glsl_offsetmapping 0
343 r_shadow_realtime_world_shadows 0
344 r_shadow_realtime_dlight_shadows 0
345 r_shadow_realtime_world_dlightshadows 0
346
347 // disable watershader. Only affects NVidia cards.
348 // turned off to avoid fullbright water
349 r_watershader 0
350
351 // misc
352 host_maxfps 1000
353 host_minfps 10
354 scr_conbrightness 0
355 scr_screenshot_jpeg 1
356 scr_screenshot_jpeg_quality 0.9
357 sv_maxvelocity 1000000000
358
359 // aliases:
360 alias +attack2 +button3
361 alias -attack2 -button3
362 alias +zoom +button4
363 alias -zoom -button4
364 alias +crouch +button5
365 alias -crouch -button5
366 alias weapnext "impulse 10"
367 alias weapprev "impulse 12"
368 alias bot_add "impulse 100"
369 alias bot_add2 "impulse 101"
370 alias bot_kick "impulse 102"
371 alias bot_cam "impulse 102"
372 alias bot_wayedit "impulse 102"
373
374 // movement
375 bind w +forward
376 bind a +moveleft
377 bind s +back
378 bind d +moveright
379 bind UPARROW +forward
380 bind LEFTARROW +moveleft
381 bind DOWNARROW +back
382 bind RIGHTARROW +moveright
383 bind SHIFT +crouch
384 bind ENTER +jump
385 bind SPACE +jump
386
387 // weapons
388 bind 1 "impulse 1"
389 bind 2 "impulse 2"
390 bind 3 "impulse 3"
391 bind 4 "impulse 4"
392 bind 5 "impulse 5"
393 bind 6 "impulse 6"
394 bind 7 "impulse 7"
395 bind 8 "impulse 8"
396 bind 9 "impulse 9"
397 bind 0 "impulse 210"
398 bind MOUSE1 +attack
399 bind MOUSE2 +attack2
400 bind MOUSE3 +zoom
401 bind MWHEELUP weapnext
402 bind MWHEELDOWN weapprev
403 bind MOUSE4 weapnext
404 bind MOUSE5 weapprev
405 bind BACKSPACE dropweapon
406
407 // misc
408 bind e +hook
409 bind - sizedown
410 bind = sizeup
411 bind ` toggleconsole
412 bind ~ toggleconsole
413 bind TAB +showscores
414 bind ESCAPE togglemenu
415 bind r messagemode2
416 bind t messagemode
417 bind y messagemode2
418 bind i show_info
419 bind PAUSE pause
420 bind F10 quit
421 bind F11 disconnect
422 bind F12 screenshot
423
424 // these commands can be voted
425 set sv_vote_commands "restart timelimit fraglimit chmap g_grappling_hook"
426 // users can call a vote for the above commands
427 set sv_vote_call "1"
428 // users can call a vote to become master
429 set sv_vote_master "1"
430 // set to 1 to allow to change you vote/mind
431 set sv_vote_change "0"
432 // set to 1 to count votes once after timeout or to 0 to count with every vote
433 set sv_vote_singlecount "0"
434 // a vote will timeout after this many seconds
435 set sv_vote_timeout "60"
436 // a player can not call a vote again for this many seconds
437 set sv_vote_wait "120"
438 alias vhelp "cmd vote help"
439 alias vstatus "cmd vote status"
440 alias vcall "cmd vote call $*"
441 alias vstop "cmd vote stop"
442 alias vmaster "cmd vote master"
443 alias vdo "cmd vote do $*"
444 alias vyes "cmd vote yes"
445 alias vno "cmd vote no"
446 bind F1 vyes
447 bind F2 vno
448
449 //used for spectate/observer mode
450 alias "spec" "cmd spectate"
451 bind F3 spec
452
453 // alias for switching the teamselect menu
454 alias menu_showteamselect "set scmenu_directmenu TeamSelect; togglemenu"
455
456 // UrreBots
457 set urrebots "0"
458 set urrebots_strategytime "2"
459 set urrebots_combattime "1"
460 set urrebots_stratsearch_dist "10000000"
461 set urrebots_minisearch_dist "1000"
462 set urrebots_debug "0"