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