]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/defaultVT.cfg
Cvar and fix crouch speed
[voretournament/voretournament.git] / data / defaultVT.cfg
1 set g_voretournamentversion 0.7.0git    "Voretournament version (formatted for humans)"\r
2 \r
3 //!<showbrand\r
4 showbrand 3\r
5 echo\r
6 echo A warning about this being a development version was set up.\r
7 echo This build shall be used for development and testing only!\r
8 echo\r
9 echo If you want to disable this warning, add the line\r
10 echo   showbrand 0\r
11 echo to your autoexec.cfg.\r
12 echo\r
13 //!>showbrand\r
14 \r
15 // changes a cvar and reports it to the server (for the menu to notify the\r
16 // server about changes)\r
17 alias setreport "set \"$1\" \"$2\" ; sendcvar \"$1\""\r
18 \r
19 // detect dedicated server or client\r
20 alias "_detect_dedicated_$qport" "$*"\r
21 alias "_detect_dedicated_0" ""\r
22 alias if_dedicated "_detect_dedicated_$qport ${* asis}"\r
23 alias if_client "${* asis}"\r
24 if_dedicated alias if_client ""\r
25 \r
26 seta g_configversion 0  "Configuration file version (used to upgrade settings) 0: first run, or previous start was <2.4.1  Later, it's overridden by config.cfg, version ranges are defined in config_update.cfg"\r
27 \r
28 // Voretournament version (formatted for machines)\r
29 // used to determine if a client version is compatible\r
30 // this doesn't have to be bumped with every release\r
31 // bump when clients become incompatible or any other perfectly good reason\r
32 // (e.g. game data incompatibility, engine version incompatibility, etc\r
33 // note: this automatically filters the server browser, clients of the new\r
34 // version won't see old servers, and clients of the old version won't see new\r
35 // servers either\r
36 //\r
37 // e.g. Voretournament 1.6.1 RC1 will be 16101\r
38 gameversion 07001\r
39 gameversion_min 06000 // 0.6.0 still used this\r
40 gameversion_max 08000 // 0.7.0 version allows any 0.8 release, but no more\r
41 \r
42 // compatibility guideline:\r
43 //   version a.b.c   = a0b0c\r
44 //   gameversion_min = a0(b-1)00 // show servers of the previous "line"\r
45 //   gameversion_max = a0(b+1)99 // show servers of the next "line"\r
46 // example: 2.6.3\r
47 //   gameversion 20603\r
48 //   gameversion_min 20500\r
49 //   gameversion_max 20799\r
50 // however, in 2.5.x, we will:\r
51 //   gameversion = 20000 // let other 2.5 clients connect\r
52 //   gameversion_min = 20000 // 2.5.x still has this, we cannot block it within 2.5\r
53 // however, in 2.6.x, we will just:\r
54 //   gameversion_min = 20000 // show 2.5 servers\r
55 \r
56 // say aliases\r
57 alias asay_ctf_flagcarrier "say_team flag carrier at %y"\r
58 alias asay_ctf_haveflag "say_team (%l) have the flag"\r
59 alias asay_willgo "say_team will go to %y"\r
60 alias asay_support "say_team (%l) need help, %h%%"\r
61 alias asay_killed "say_team got killed at %d"\r
62 alias asay_noammo "say_team (%l) need %W for %w"\r
63 alias asay_drop "say_team (%l) dropped %w ; impulse 17"\r
64 \r
65 // other aliases\r
66 alias +jetpack +button6\r
67 alias -jetpack -button6\r
68 alias ready "cmd ready"\r
69 alias lockteams "sv_cmd lockteams"\r
70 alias unlockteams "sv_cmd unlockteams"\r
71 alias nospectators "sv_cmd nospectators"\r
72 alias cointoss "sv_cmd cointoss"\r
73 alias timeout "cmd timeout" //use this command to call a timeout\r
74 alias timein "cmd timein" //use this command to resume the game before timeout is finished\r
75 \r
76 alias bsp "ls maps/*.bsp"\r
77 alias chmap "changelevel $*"\r
78 alias gotomap "sv_cmd gotomap \"$1\""\r
79 \r
80 alias rec "record demos/$1"\r
81 alias ply "playdemo $1"\r
82 alias tdem "timedemo $1"\r
83 \r
84 alias dropweapon "impulse 17"\r
85 alias +show_info +button7\r
86 alias -show_info -button7\r
87 \r
88 alias team_red "cmd selectteam red; cmd join"\r
89 alias team_blue "cmd selectteam blue; cmd join"\r
90 alias team_pink "cmd selectteam pink; cmd join"\r
91 alias team_yellow "cmd selectteam yellow; cmd join"\r
92 alias team_auto "cmd selectteam auto; cmd join"\r
93 bind f6 team_auto\r
94 \r
95 alias movetoteam_red "sv_cmd movetoteam $1 red"\r
96 alias movetoteam_blue "sv_cmd movetoteam $1 blue"\r
97 alias movetoteam_pink "sv_cmd movetoteam $1 pink"\r
98 alias movetoteam_yellow "sv_cmd movetoteam $1 yellow"\r
99 alias movetoteam_auto "sv_cmd movetoteam $1 auto"\r
100 \r
101 // merge lightmaps up to 1024x1024 textures\r
102 // the default of 2048x2048 is too heavy for my rig (SavageX)\r
103 mod_q3bsp_lightmapmergepower 3\r
104 \r
105 // player defaults\r
106 _cl_color 187\r
107 _cl_name "Player"\r
108 _cl_playermodel models/player/vixen.zym\r
109 _cl_playerskin 0\r
110 seta crosshair 11\r
111 seta crosshair_primary 13\r
112 seta crosshair_secondary 14\r
113 seta crosshair_color "1 1 0.5"\r
114 seta crosshair_alpha 1\r
115 seta crosshair_size 0.35\r
116 seta crosshair_pickup 0.5 "crosshair grows then shrinks back when picking up an item"\r
117 seta crosshair_color_by_health 1 "if enabled, crosshair color will depend on current health"\r
118 seta crosshair_unarmed_dim_color 0.75 "dim crosshair color to this amount when we aren't holding a weapon"\r
119 seta crosshair_unarmed_dim_alpha 0.75 "dim crosshair alpha to this amount when we aren't holding a weapon"\r
120 seta crosshair_pickup_speed 4 "speed of the crosshair pickup effect"\r
121 seta crosshair_ring_alpha 0.5 "alpha of the crosshair ammo ring"\r
122 seta crosshair_ring_size 2.5 "size of the crosshair ammo ring"\r
123 seta crosshair_swallowindicator 1 "when enabled, the crosshair will turn into a symbol to indicate you can swallow an enemy or team mate"\r
124 seta crosshair_swallowindicator_size 1 "size of the crosshair swallow indicator"\r
125 seta crosshair_swallowindicator_color_red 1 "red amount for the crosshair swallow indicator, 0 for all color cvars uses normal crosshair color"\r
126 seta crosshair_swallowindicator_color_green 1 "green amount for the crosshair swallow indicator, 0 for all color cvars uses normal crosshair color"\r
127 seta crosshair_swallowindicator_color_blue 1 "blue amount for the crosshair swallow indicator, 0 for all color cvars uses normal crosshair color"\r
128 seta crosshair_effect_speed 0.15 "how fast (in seconds) some crosshair effects should take place, 0 = instant, -1 = 2x weapon switch time"\r
129 seta crosshair_effect_scalefade 1 "use scaling and fading for crosshair effects"\r
130 seta crosshair_hittest 1.25 "do a crosshair hit evaluation; also, the crosshair is scaled by the given number when aiming at an enemy, and blurred when aiming at a team mate"\r
131 seta crosshair_hittest_blur 1 "blur the crosshair if the shot is obstructed"\r
132 seta crosshair_hittest_showimpact 0 "move the crosshair to the actual impact location if obstructed"\r
133 seta cl_artwork 1 "display intermission artwork"\r
134 seta cl_artwork_win 1 "number of artwork_won_ images available in the gfx folder, 0 disables winning artwork"\r
135 seta cl_artwork_lose 1 "number of artwork_lost_ images available in the gfx folder, 0 disables loosing artwork"\r
136 seta cl_artwork_stretch 0 "stretch artwork to fit the screen, even if it brakes image proportions"\r
137 seta cl_artwork_alpha 1 "artwork alpha"\r
138 seta cl_artwork_fade 0.3 "artwork fade in speed"\r
139 seta cl_reticle_stretch 0 "whether to stretch reticles so they fit the screen (brakes image proportions)"\r
140 seta cl_reticle_item_weapon 1 "draw aiming reticle for weapon zoom, 0 disables and values between 0 and 1 change alpha"\r
141 seta cl_reticle_item_normal 1 "draw reticle when zooming without a weapon, 0 disables and values between 0 and 1 change alpha"\r
142 seta cl_flash_pickup 0.25 "if enabled, the screen flashes by this amount when picking up an item"\r
143 seta cl_flash_pickup_color "0 0 1" "color of the pickup flash"\r
144 seta cl_flash_vore 0.25 "if enabled, the screen flashes by this amount when eating or getting eaten"\r
145 seta cl_flash_vore_color_prey "1 0 0" "color of the vore flash for prey"\r
146 seta cl_flash_vore_color_pred "0 1 0" "color of the vore flash for predators"\r
147 seta cl_flash_respawn 0.25 "if enabled, the screen flashes by this amount when picking up an item"\r
148 seta cl_flash_respawn_color "1 1 1" "color of the pickup flash"\r
149 seta cl_spawnfov 0.5 "the field of view starts zoomed out by this amount when you spawn"\r
150 seta cl_spawnfov_speed 1 "the fov fades back to normal at this speed"\r
151 fov 90\r
152 seta cl_velocityzoom -0.2       "velocity based zooming of fov, negative values zoom out"\r
153 seta cl_velocityzoomtime 0.3    "time value for averaging speed values"\r
154 seta cl_zoomfactor 5    "how much +zoom will zoom (1-16)"\r
155 seta cl_zoomspeed 3.5   "how fast it will zoom (0.5-16), negative values mean instant zoom"\r
156 seta cl_zoomsensitivity 0       "how zoom changes sensitivity (0 = weakest, 1 = strongest)"\r
157 freelook 1\r
158 sensitivity 6\r
159 v_gamma 1\r
160 v_glslgamma 0 // might prevent issues with some video cards\r
161 viewsize 100\r
162 // fullscreen 1024x768x32bit\r
163 vid_bitsperpixel 32\r
164 vid_fullscreen 1\r
165 vid_width 1024\r
166 vid_height 768\r
167 vid_pixelheight 1\r
168 seta menu_vid_width 1024\r
169 seta menu_vid_height 768\r
170 seta menu_vid_pixelheight 1\r
171 seta menu_vid_scale 0\r
172 // 2D resolution 800x600\r
173 vid_conwidth 800\r
174 vid_conheight 600\r
175 // menu_conwidth, menu_conheight are set inside quake.rc\r
176 v_deathtilt 0 // needed for spectators (who are dead to avoid prediction)\r
177 \r
178 // these settings determine how much the view is affected by movement/damage\r
179 cl_smoothviewheight 0.2 // time of the averaging to the viewheight value so that it creates a smooth transition for crouching and such. 0 for instant transition\r
180 cl_deathfade 0.05 // fade screen to dark red when dead, value represents how fast the fade is (higher is faster)\r
181 cl_bobcycle 0.55 // how long the cycle of up/down view movement takes (only works if cl_bob is not 0), default is 0.6\r
182 cl_bob 0.005 // how much view moves up/down when moving (does not move if cl_bobcycle is 0), default is 0.01\r
183 cl_bob2cycle 0.55 // how long the cycle of left/right view movement takes (only works if cl_bob2 is not 0), default is 0.6\r
184 cl_bob2 0.01 // how much view moves left/right when moving (does not move if cl_bob2cycle is 0), default is 0.01\r
185 cl_bobfall 0.075 "how much the view swings down when falling (influenced by the speed you hit the ground with)"\r
186 cl_bobfallcycle 2 "speed of the bobfall swing"\r
187 cl_bobfallspeed 100 "necessary amount of speed for bob-falling to occur"\r
188 cl_bobmodel 1 // whether to have gun model move around on screen when moving (only works if cl_bob is not 0), default is 1\r
189 cl_bobmodel_side 0.25 // gun bobbing sideways sway amount\r
190 cl_bobmodel_speed 7 // gun bobbing speed\r
191 cl_bobmodel_up 0.1 // gun bobbing upward movement amount\r
192 cl_rollangle 2 // amount of view tilt when strafing, default is 2.0\r
193 v_kicktime 0.5 // how long damage kicks of the view last, default is 0 seconds\r
194 gl_polyblend 0.75 // whether to use screen tints, default is 1\r
195 r_damageblur 0 // motion blur when damaged, default is 0 (disabled in voretournament)\r
196 r_motionblur 0 // motion blur value, default is 0\r
197 r_motionblur_maxblur 1\r
198 \r
199 r_sortentities 1 // better performance\r
200 \r
201 v_idlescale 0 "how much of the quake 'drunken view' effect to use"\r
202 v_ipitch_cycle 6 "v_idlescale pitch speed"\r
203 v_ipitch_level 0.2 "v_idlescale pitch amount"\r
204 v_iroll_cycle 8 "v_idlescale roll speed"\r
205 v_iroll_level 0.1 "v_idlescale roll amount"\r
206 v_iyaw_cycle 4 "v_idlescale yaw speed"\r
207 v_iyaw_level 0.3 "v_idlescale yaw amount"\r
208 \r
209 v_kickpitch 4 "how much a view kick from damage pitches your view"\r
210 v_kickroll 0 "how much a view kick from damage rolls your view"\r
211 v_kicktime 0.35 "how long a view kick from damage lasts"\r
212 \r
213 r_bloom_blur 2\r
214 r_bloom_brighten 2\r
215 r_bloom_colorexponent 1\r
216 r_bloom_colorscale 1.5\r
217 r_bloom_colorsubtract 0.15\r
218 r_bloom_resolution 480\r
219 \r
220 r_hdr_irisadaptation 1 "adjust scene brightness according to light intensity at player location"\r
221 r_hdr_irisadaptation_multiplier 2 "brightness at which value will be 1.0"\r
222 r_hdr_irisadaptation_minvalue 0.75 "minimum value that can result from multiplier / brightness"\r
223 r_hdr_irisadaptation_maxvalue 1.25 "maximum value that can result from multiplier / brightness"\r
224 r_hdr_irisadaptation_value 1 "current value as scenebrightness multiplier, changes continuously when irisadaptation is active"\r
225 r_hdr_irisadaptation_fade 0.35 "fade rate at which value adjusts"\r
226 \r
227 // weapon model leaning / following\r
228 cl_leanmodel 1 // enables weapon leaning effect when looking around\r
229 cl_leanmodel_side_speed 0.7 "gun leaning sideways speed"\r
230 cl_leanmodel_side_limit 35 "gun leaning sideways limit"\r
231 cl_leanmodel_side_highpass1 30 "gun leaning sideways pre-highpass in 1/s"\r
232 cl_leanmodel_side_highpass 3 "gun leaning sideways highpass in 1/s"\r
233 cl_leanmodel_side_lowpass 20 "gun leaning sideways lowpass in 1/s"\r
234 cl_leanmodel_up_speed 0.65 "gun leaning upward speed"\r
235 cl_leanmodel_up_limit 50 "gun leaning upward limit"\r
236 cl_leanmodel_up_highpass1 5 "gun leaning upward pre-highpass in 1/s"\r
237 cl_leanmodel_up_highpass 15 "gun leaning upward highpass in 1/s"\r
238 cl_leanmodel_up_lowpass 20 "gun leaning upward lowpass in 1/s"\r
239 cl_followmodel 1 // enables weapon pushing / pulling effect when walking\r
240 cl_followmodel_side_speed 0.25 "gun following sideways speed"\r
241 cl_followmodel_side_limit 6 "gun following sideways limit"\r
242 cl_followmodel_side_highpass1 30 "gun following sideways pre-highpass in 1/s"\r
243 cl_followmodel_side_highpass 5 "gun following sideways highpass in 1/s"\r
244 cl_followmodel_side_lowpass 10 "gun following sideways lowpass in 1/s"\r
245 cl_followmodel_up_speed 0.5 "gun following upward speed"\r
246 cl_followmodel_up_limit 5 "gun following upward limit"\r
247 cl_followmodel_up_highpass1 60 "gun following upward pre-highpass in 1/s"\r
248 cl_followmodel_up_highpass 2 "gun following upward highpass in 1/s"\r
249 cl_followmodel_up_lowpass 10 "gun following upward lowpass in 1/s"\r
250 \r
251 seta vid_x11_display "" "voretournament-linux-*.sh will use this to start voretournament on an other/new X display"\r
252 // This can have three possible settings:\r
253 //      ""              run as usual\r
254 //      ":n"            use DISPLAY=:n, create it if needed\r
255 //      ":n/layout"     use DISPLAY=:n, create it if needed with ServerLayout layout\r
256 \r
257 cl_autodemo_nameformat demos/%Y-%m-%d_%H-%M\r
258 \r
259 // taunts and voices\r
260 seta cl_autotaunt 0.65 "automatically taunt enemies when fragging them"\r
261 seta sv_vore_autotaunt_repeat_min 1 "how many seconds to attempt playing vore taunts, minimum"\r
262 seta sv_vore_autotaunt_repeat_max 3 "how many seconds to attempt playing vore taunts, maximum"\r
263 seta sv_taunt 1 "allow taunts on the server"\r
264 seta sv_autotaunt 1 "allow autotaunts on the server"\r
265 seta cl_voice_directional 1     "0 = all voices are non-directional, 1 = all voices are directional, 2 = only taunts are directional"\r
266 seta cl_voice_directional_taunt_attenuation 0.5 "this defines the distance from which taunts can be heared"\r
267 \r
268 // server settings\r
269 seta hostname "Voretournament $g_voretournamentversion Server"\r
270 seta sv_public 0\r
271 set sv_mapchange_delay 5\r
272 set minplayers 0 "number of players playing at the same time (if not enough real players are there the remaining slots are filled with bots)"\r
273 sv_cullentities_trace 1\r
274 r_cullentities_trace 1\r
275 \r
276 // restart server if all players hit "ready"-button\r
277 set sv_ready_restart 0 "if set to 1 allow a map to be restarted once all players pressed the \"ready\" button'"\r
278 set sv_ready_restart_after_countdown 0  "if set to 1 the players and map items are reset after the countdown ended, otherwise they're reset already at the beginning of the countdown"\r
279 set sv_ready_restart_repeatable 0       "allows the players to restart the game as often as needed"\r
280 \r
281 //nifreks lockonrestart feature, used in team-based game modes, if set to 1 and all players readied up no other player can then join the game anymore, useful to block spectators from joining\r
282 set teamplay_lockonrestart 0 "it set to 1 in a team-based game, the teams are locked once all players readied up and the game restarted (no new players can join after restart unless using the server-command unlockteams)"\r
283 \r
284 set g_maxplayers 0      "maximum number of players allowed to play at the same time, set to 0 to allow all players to join the game"\r
285 set g_maxplayers_spectator_blocktime 5  "if the players voted for the \"nospectators\" command, this setting defines the number of seconds a observer/spectator has time to join the game before he gets kicked"\r
286 \r
287 //tournament mod\r
288 set g_warmup 0  "split the game into a warmup- and match-stage when set to 1"\r
289 set g_warmup_limit 60   "if set to -1 the warmup-stage is not affected by any timelimit, if set to 0 the usual timelimit also affects warmup-stage, otherwise warmup will be limited to this time in SECONDS (useful for public matches)"\r
290 set g_warmup_allow_timeout 0    "if set to 1 timeouts can also be called in the warmup-stage, when sv_timeout is set to 1"\r
291 set g_warmup_allguns 0  "if set players start with all guns in warmup mode"\r
292 \r
293 set g_chat_nospectators 0       "if 0 spec/observer chat is always visible to the player, if 1 it is never visible to players, if 2 it is only visible to players during warmup stage"\r
294 set sv_vote_nospectators 0      "if set only players can call a vote (thus spectators and observers can't call a vote)"\r
295 \r
296 alias g_tourney "g_tourney_$1"\r
297 alias g_tourney_1 "g_warmup 1; g_chat_nospectators 2; sv_vote_nospectators 1"\r
298 alias g_tourney_0 "g_warmup 0; g_chat_nospectators 0; sv_vote_nospectators 0"\r
299 \r
300 set sv_timeout 0        "allows a player to call a timeout, this will pause the game for some time"\r
301 set sv_timeout_length 120       "how long the game will be paused at max, in seconds"\r
302 set sv_timeout_number 2 "how many timeouts one player is allowed to call (gets reset after a restart)"\r
303 set sv_timeout_leadtime 4       "how long the players will be informed that a timeout was called before it starts, in seconds"\r
304 set sv_timeout_resumetime 3     "how long the remaining timeout-time will be after a player called the timein command"\r
305 \r
306 set g_allow_oldnexbeam 0 "If enabled, clients are allowed to use old v2.3 Nexgun beam"\r
307 seta cl_particles_oldnexbeam 0 "Uses the old v2.3 Nexgun beam instead of the new beam, only works if server allows it (g_allow_oldnexbeam 1)"\r
308 set sv_qcweaponanimation 0\r
309 \r
310 set g_telefrags 1\r
311 set g_telefrags_avoid 0\r
312 set g_teleport_maxspeed 0 "maximum speed that a player can keep when going through a teleporter (if a misc_teleporter_dest also has a cap the smallest one of these will be used), 0 = don't limit, -1 = keep no speed"\r
313 \r
314 set g_respawn_ghosts 1 "if 1 dead bodies become ghosts and float away when the player respawns"\r
315 set g_respawn_ghosts_speed 5 "the speed with which respawn ghosts float and rotate"\r
316 set g_respawn_ghosts_maxtime 6 "maximum amount of time a respawn ghost can last, minimum time is half this value. 0 disables and ghosts fade when the body would"\r
317 \r
318 set g_leanplayer_damage 0.3 "lean players that are shot by this amount, based on the force they take"\r
319 set g_leanplayer_damage_fade 0.95 "how fast players return to normal angles, based on damage taken"\r
320 set g_leanplayer_damage_max 10 "damage leaning is limited to this amount"\r
321 set g_leanplayer_acceleration 0.05 "lean players as they accelerate, by this amount"\r
322 set g_leanplayer_acceleration_fade 5 "velocity averaging steps for acceleration, higher values cause a shorter leaning"\r
323 set g_leanplayer_acceleration_max 10 "acceleration leaning is limited to this amount"\r
324 \r
325 set sv_gibhealth -150 "Amount of health a dead body must have in order to get gibbed, influenced by player size"\r
326 \r
327 // fragmessage: This allows extra information to be displayed with the frag centerprints. \r
328 set sv_fragmessage_information_ping 0 "Enable ping display information, 0 = Never display; 1 = Always display (If the player is a bot, it will say bot instead of the ping.)"\r
329 set sv_fragmessage_information_handicap 1 "Enable handicap display information, 0 = Never display; 1 = Only when the player has handicap on; 2 = Always display (Displays Off if off)"\r
330 set sv_fragmessage_information_stats 0 "Enable statistics (health/armor) display information, 0 = Never display; 1 = Always display (Only available for the person who was killed)"\r
331 set sv_fragmessage_information_typefrag 1 "Enable typefrag display information, 0 = Never display; 1 = Always display"\r
332 \r
333 set sv_friction_on_land 0\r
334 \r
335 set sv_player_viewoffset "0 0 35" "view offset of the player model"\r
336 set sv_player_mins "-16 -16 -24" "playermodel mins"\r
337 set sv_player_maxs "16 16 45" "playermodel maxs"\r
338 set sv_player_crouch_viewoffset "0 0 15" "view offset of the player model when crouched"\r
339 set sv_player_crouch_mins "-16 -16 -24" "mins of a crouched playermodel"\r
340 set sv_player_crouch_maxs "16 16 25" "maxs of a crouched playermodel"\r
341 \r
342 set sv_pogostick 1 "don't require releasing the space bar for jumping again"\r
343 set sv_doublejump 0 "allow Quake 2-style double jumps"\r
344 set sv_jumpspeedcap_min "" "wont perform a doublejump if z-axis speed is higher than sv_jumpvelocity * this"\r
345 set sv_jumpspeedcap_max "" "wont perform a doublejump if z-axis speed is higher than sv_jumpvelocity * this"\r
346 set sv_jumpspeedcap_max_disable_on_ramps 0 "disable max jumpspeedcap on ramps to preserve the old rampjump style"\r
347 \r
348 seta sv_precacheplayermodels 1\r
349 seta sv_precacheweapons 0\r
350 seta sv_precacheitems 0\r
351 set sv_spectator_speed_multiplier 1.5\r
352 seta sv_spectate 1 "if set to 1, new clients are allowed to spectate or observe the game, if set to 0 joining clients spawn as players immediately (no spectating)"\r
353 seta sv_defaultcharacter 0 "master switch, if set to 1 the further configuration for replacing all player models, skins and colors is taken from the sv_defaultplayermodel, sv_defaultplayerskin and sv_defaultplayercolors variables"\r
354 seta sv_defaultplayermodel "models/player/vixen.zym" "default model selection, only works if sv_defaultcharacter is set to 1"\r
355 seta sv_defaultplayerskin 0 "each model has 1 or more skins (combination of model and skin = character), set which skin of the model you wish the default character to have, only works if sv_defaultcharacter is set to 1"\r
356 seta sv_defaultplayermodel_red ""       "\"\" means see sv_defaultplayermodel"\r
357 seta sv_defaultplayerskin_red 0\r
358 seta sv_defaultplayermodel_blue "" "\"\" means see sv_defaultplayermodel"\r
359 seta sv_defaultplayerskin_blue 0\r
360 seta sv_defaultplayermodel_yellow "" "\"\" means see sv_defaultplayermodel"\r
361 seta sv_defaultplayerskin_yellow 0\r
362 seta sv_defaultplayermodel_pink "" "\"\" means see sv_defaultplayermodel"\r
363 seta sv_defaultplayerskin_pink 0\r
364 seta sv_defaultplayercolors ""  "set to 16*shirt+pants to force a color, note: it does NOT depend on defaultcharacter! Set to \"\" to disable"\r
365 set sv_autoscreenshot 0 "if set to 1, the server forces all clients to create a local screenshot once the map ended"\r
366 net_messagetimeout 300\r
367 net_connecttimeout 30\r
368 sv_jumpstep 1 // step up stairs while jumping, makes it easier to reach ledges\r
369 set ekg 0       "Throw huge amounts of gibs"\r
370 \r
371 seta sv_shownames_cull_distance 2500 "distance after which to not send origin/health/armor of another player"\r
372 \r
373 cl_movement 1\r
374 cl_stairsmoothspeed 200\r
375 cl_forwardspeed $sv_maxspeed\r
376 cl_backspeed $sv_maxspeed\r
377 cl_sidespeed $sv_maxspeed\r
378 cl_upspeed $sv_maxspeed\r
379 cl_movement_accelerate $sv_accelerate\r
380 cl_movement_airaccel_qw $sv_airaccel_qw\r
381 cl_movement_airaccel_sideways_friction $sv_airaccel_sideways_friction\r
382 cl_movement_airaccelerate $sv_airaccelerate\r
383 cl_movement_edgefriction $edgefriction\r
384 cl_movement_friction $sv_friction\r
385 cl_movement_jumpvelocity $sv_jumpvelocity\r
386 cl_movement_crouchvelocity $sv_crouchvelocity\r
387 cl_movement_maxairspeed $sv_maxairspeed\r
388 cl_movement_maxspeed $sv_maxspeed\r
389 cl_movement_stepheight $sv_stepheight\r
390 cl_movement_stopspeed $sv_stopspeed\r
391 cl_movement_track_canjump 0 // till DP bug gets fixed\r
392 cl_movement_wallfriction $sv_wallfriction\r
393 cl_movement_wateraccelerate $sv_wateraccelerate\r
394 cl_movement_waterfriction $sv_waterfriction\r
395 \r
396 seta cl_autoswitch 1 "automatically switch to newly picked up weapons if they are better than what you are carrying"\r
397 alias autoswitch "set cl_autoswitch $1 ; cmd autoswitch $1"\r
398 \r
399 // waypoint editor enable\r
400 set g_waypointeditor 0\r
401 \r
402 alias g_waypointeditor_spawn "impulse 103"\r
403 alias g_waypointeditor_remove "impulse 104"\r
404 alias g_waypointeditor_relinkall "impulse 105"\r
405 alias g_waypointeditor_saveall "impulse 106"\r
406 alias g_waypointeditor_unreachable "impulse 107"\r
407 \r
408 locs_enable 0\r
409 pausable 0\r
410 seta g_spawnshieldtime 1 "number of seconds you are invincible after you spawned, this shield is lost after you fire or vore"\r
411 seta g_antilag 2        "AntiLag (0 = no AntiLag, 1 = verified client side hit scan, 2 = server side hit scan in the past, 3 = unverified client side hit scan)"\r
412 set g_antilag_nudge 0 "don't touch"\r
413 set g_antilag_bullets 1 "Bullets AntiLag (0 = no AntiLag, 1 = server side hit scan in the past) - DO NOT TOUCH (severely changes weapon balance)"\r
414 set g_shootfromclient 1 "let client decide if it has the gun left or right; if set to 2, center handedness is allowed, and defaulted to, too; see also cl_gunalign"\r
415 set g_shootfromeye 0 "shots are fired from your eye/crosshair; visual gun position can still be influenced by cl_gunalign 1 and 2"\r
416 set g_shootfromcenter 0 "weapon gets moved to the center, shots still come from the barrel of your weapon; visual gun position can still be influenced by cl_gunalign 1 and 2"\r
417 set g_shootfromfixedorigin "" "if set to a string like 0 y z, the gun is moved to the given y and z coordinates. If set to a string like x y z, the whole shot origin is used"\r
418 set g_pinata 0 "if set to 1 you will not only drop your current weapon when you are killed, but you will drop all weapons that you possessed"\r
419 set g_weapon_stay 0 "if set to 1 or 2, weapons stay after they were picked up (1: weapons you don't have yet give you ammo of their type and they can not be dropped, 2: weapons don't give ammo, but instead players start with one pickup-load of ammo by default, 3: weapons give ammo, weapons only stay as ammo-less ghosts)"\r
420 set g_weapon_throwable 1 "if set to 1, weapons can be dropped"\r
421 set g_powerup_superhealth 1 "if set to 0 the mega health powerup will not spawn on the map"\r
422 set g_powerup_strength 1 "if set to 0 the strength powerup will not spawn on the map"\r
423 set g_powerup_shield 1 "if set to 0 the shield (invincibility) powerup will not spawn on the map"\r
424 set g_balance_powerup_timer 1 "if set to 0 the powerups dont wear off"\r
425 set g_use_ammunition 1 "if set to 0 all weapons you pick up have unlimited ammunition"\r
426 set g_pickup_items 1 "if set to 0 all items (health, armor, ammo, weapons...) are removed from the map"\r
427 set g_vampire 0 "set to 1 to enable the vampire mode, where the damage done to your opponent gets added to your own health"\r
428 set g_weaponarena "0"   "put in a list of weapons to enable a weapon arena mode, or try \"all\" or \"most\""\r
429 set g_weaponarena_random "0"    "if set to a number, only that weapon count is given on every spawn (randomly)"\r
430 set g_midair 0 "if set to 1 you can only apply damage to your opponent while he is airborne"\r
431 set g_midair_shieldtime 0.3 "number of seconds you are still invincible since you lost contact to the ground"\r
432 set g_spawnsound 1 "set to 0 if you don't want to hear the spawn sound when a player spawns"\r
433 set g_spawnpoints_autodrop 0 "if set to 1, automatically drop spawn point locations if they were placed too high"\r
434 set g_spawnpoints_auto_move_out_of_solid 0 "if set to 1 you will see a warning if a spawn point was placed inside a solid"\r
435 set g_forced_respawn 0 "if set to 1 and a player died, that player gets automatically respawned once <g_respawn_delay> seconds are over"\r
436 set g_fullbrightplayers 0 "brightens up player models (note that the color, skin or model of the players does not change!)"\r
437 set g_fullbrightitems 0 "brightens up items"\r
438 set g_nodepthtestplayers 0 "disables depth testing on players"\r
439 set g_nodepthtestitems 0 "disables depth testing on items"\r
440 set g_casings 1 "enable casings"\r
441 set g_norecoil 0 "if set to 1 shooting weapons won't make you crosshair to move upwards (recoil)"\r
442 set g_maplist_mostrecent "" "contains the name of the maps that were most recently played"\r
443 seta g_maplist_mostrecent_count 3       "number of most recent maps that are blocked from being played again"\r
444 seta g_maplist "voretemple gasolinepowered reslimed skycastle greatwall_overloaded basementctf brokenworld arahia stormkeep basement farewell greatwall_revisited soylent warfare ruiner desertfactory evilspace strength toxic racetrack cyberparcour"\r
445 seta g_maplist_index 0  "this is used internally for saving position in maplist cycle"\r
446 seta g_maplist_selectrandom 0   "if 1, a random map will be chosen as next map - DEPRECATED in favor of g_maplist_shuffle"\r
447 seta g_maplist_shuffle 1        "new randomization method: like selectrandom, but avoid playing the same maps in short succession. This works by taking out the first element and inserting it into g_maplist with a bias to the end of the list"\r
448 set g_maplist_check_waypoints 0 "when 1, maps are skipped if there currently are bots, but the map has no waypoints"\r
449 set samelevel 0 "when 1, always play the same level over and over again"\r
450 set g_maxpushtime 8.0 "timeout for kill credit when your damage knocks someone into a death trap"\r
451 \r
452 set g_cloaked 0 "display all players mostly invisible"\r
453 set g_player_colisions 1 "when disabled, players won't colide with each other"\r
454 set g_player_alpha 1\r
455 set g_player_brightness 0       "set to 2 for brighter players"\r
456 seta g_balance_cloaked_alpha 0.25\r
457 \r
458 set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps"\r
459 set g_botclip_collisions 1 "0 = disable collision testing against botclips, might be useful on some defrag maps"\r
460 \r
461 // a cruel way to fix some "falling forever" situations (eg. facing horizontal warpzones)\r
462 set g_deathspeed 6000 "players going faster than this will die"\r
463 \r
464 set welcome_message_time 8\r
465 \r
466 alias clearmap "disconnect"\r
467 \r
468 set leadlimit 0\r
469 \r
470 // this means that timelimit can be overidden globally and fraglimit can be overidden for each game mode: DM/TDM, Domination, CTF.\r
471 seta timelimit_override -1      "Time limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
472 seta fraglimit_override -1      "Frag limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
473 seta leadlimit_override -1      "Lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
474 seta capturelimit_override -1   "Capture limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
475 seta captureleadlimit_override -1       "Capture llead imit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
476 seta g_ctf_capture_limit -1     "CTF capture limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
477 seta g_ctf_capture_leadlimit -1 "CTF capture lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
478 seta g_arena_point_limit -1     "Arena point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
479 seta g_arena_point_leadlimit -1 "Arena point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
480 seta g_domination_point_limit -1        "Domination point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
481 seta g_domination_point_leadlimit -1    "Domination point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
482 seta g_keyhunt_point_limit -1   "Keyhunt point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
483 seta g_keyhunt_point_leadlimit -1       "Keyhunt point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
484 seta g_race_laps_limit -1       "Race laps limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)"\r
485 \r
486 seta g_ctf_win_mode 0   "0: captures only, 1: captures, then points, 2: points only"\r
487 seta g_ctf_ignore_frags 0       "1: regular frags give no points"\r
488 \r
489 // 50% of the spawns shall be far away from any players\r
490 set g_spawn_furthest 0.5\r
491 // respawn delay\r
492 set g_respawn_delay 2 "number of seconds you have to wait before you can respawn again"\r
493 set g_respawn_waves 0 "respawn in waves (every n seconds), intended to decrease overwhelming base attacks"\r
494 // when variables are set to 0, they take over the global setting...\r
495 // to force disable delay or waves, set them to 0.125\r
496 set g_ctf_respawn_delay 0\r
497 set g_ctf_respawn_waves 0\r
498 set g_dm_respawn_delay 0\r
499 set g_dm_respawn_waves 0\r
500 set g_dom_respawn_delay 0\r
501 set g_dom_respawn_waves 0\r
502 set g_lms_respawn_delay 0\r
503 set g_lms_respawn_waves 0\r
504 set g_tdm_respawn_delay 0\r
505 set g_tdm_respawn_waves 0\r
506 set g_kh_respawn_delay 0\r
507 set g_kh_respawn_waves 0\r
508 set g_arena_respawn_delay 0\r
509 set g_arena_respawn_waves 0\r
510 set g_ca_respawn_delay 0\r
511 set g_ca_respawn_waves 0\r
512 set g_as_respawn_delay 0\r
513 set g_as_respawn_waves 0\r
514 set g_ons_respawn_delay 0\r
515 set g_ons_respawn_waves 0\r
516 set g_rc_respawn_waves 0\r
517 set g_rc_respawn_delay 0\r
518 set g_cts_respawn_waves 0\r
519 set g_cts_respawn_delay 0\r
520 set g_cts_selfdamage 1 "0 = disable all selfdamage and falldamage in cts"\r
521 set g_cts_finish_kill_delay 10 "prevent cheating by running back to the start line, and starting out with more speed than otherwise possible"\r
522 set g_rpg_respawn_waves 0\r
523 set g_rpg_respawn_delay 0\r
524 \r
525 // overtime\r
526 seta timelimit_overtime 2 "duration in minutes of one added overtime, added to the timelimit"\r
527 seta timelimit_overtimes 0 "how many overtimes to add at max"\r
528 seta timelimit_suddendeath 5 "number of minutes suddendeath mode lasts after all overtimes were added and still no winner was found"\r
529 \r
530 // common team values\r
531 seta g_tdm 0 "Team Deathmatch: the team who kills their opponents most often wins"\r
532 \r
533 seta teamplay_default 4 "default teamplay setting in team games. 1 = no friendly fire, self damage. 2 = friendly fire and self damage enabled. 3 = no friendly fire, but self damage enabled. 4 = obey the following four cvars"\r
534 seta g_mirrordamage 0.3 "for teamplay 4: mirror damage factor"\r
535 seta g_friendlyfire 0.5 "for teamplay 4: fiendly fire factor"\r
536 seta g_teamdamage_threshold 50  "for teamplay 4: threshold over which to apply mirror damage"\r
537 seta g_teamdamage_resetspeed 30 "for teamplay 4: how fast player's teamdamage count decreases"\r
538 \r
539 set deathmatch_force_teamplay 0 "Always play TDM instead of DM"\r
540 seta g_balance_teams 0  "automatically balance out players entering instead of asking them for their preferred team"\r
541 seta g_balance_teams_force 0    "automatically balance out teams when players move or disconnect"\r
542 seta g_balance_teams_prevent_imbalance  0       "prevent players from changing to larger teams"\r
543 set g_tdm_teams 2 "how many teams are in team deathmatch (set by mapinfo)"\r
544 seta g_tdm_teams_override 0     "how many teams are in team deathmatch"\r
545 set g_tdm_team_spawns 1 "when 1, a map can define team spawnpoints for TDM"\r
546 set g_changeteam_banned 0       "not allowed to change team"\r
547 set g_changeteam_fragtransfer 0 "% of frags you get to keep when you change teams (rounded down)"\r
548 \r
549 set sv_teamnagger 1 "enable a nag message when the teams are unbalanced"\r
550 \r
551 // dm\r
552 seta g_dm 1 "Deathmatch: killing any other player is one frag, player with most frags wins"\r
553 set gamecfg 1   // "deathmatch"\r
554 \r
555 // ctf\r
556 seta g_ctf 0 "Capture The Flag: take the enemy flag and bring it to yours at your base to score"\r
557 set g_ctf_flag_returntime 30\r
558 set g_ctf_flagcarrier_selfdamage 1\r
559 set g_ctf_flagcarrier_selfforce 1\r
560 set g_ctf_fullbrightflags 0\r
561 set g_ctf_dynamiclights 0\r
562 set g_ctf_allow_drop 1  "dropping allows circumventing carrierkill score, so enable this with care!"\r
563 set g_ctf_reverse 0     "when 1, bases/flags are switched :P you have to capture your OWN flag by bringing it to the ENEMY's"\r
564 set g_balance_ctf_delay_collect 1.0\r
565 set g_balance_ctf_damageforcescale 1\r
566 \r
567 set g_ctf_shield_max_ratio 0    "shield at most 0% of a team from the enemy flag (try: 0.4 for 40%)"\r
568 set g_ctf_shield_min_negscore 20        "shield the player from the flag if he's got -20 points or less"\r
569 set g_ctf_shield_force 100      "push force of the shield"\r
570 \r
571 // fun for server admins\r
572 set g_ctf_flag_red_model "models/ctf/flags.md3"\r
573 set g_ctf_flag_red_skin 0\r
574 set g_ctf_flag_blue_model "models/ctf/flags.md3"\r
575 set g_ctf_flag_blue_skin 1\r
576 set g_ctf_flag_glowtrails 0\r
577 set g_ctf_flag_pickup_effects 1\r
578 set g_ctf_flag_capture_effects 1\r
579 set g_ctf_captimerecord_always 0 "if enabled, assisted CTF records (with other players on the server) are recorded too"\r
580 \r
581 // domination\r
582 seta g_domination                       0 "Domination: capture and hold control points to gain points"\r
583 set g_domination_default_teams          2 "default number of teams for maps that aren't domination-specific"\r
584 seta g_domination_teams_override                0 "use a specific number of teams in domination games (minimum 2), disables dom_team entities"\r
585 set g_domination_disable_frags          0 "players can't get frags normally, only get points from kills"\r
586 set g_domination_point_amt              0 "override: how many points to get per ping"\r
587 set g_domination_point_fullbright       0 "domination point fullbright"\r
588 set g_domination_point_rate             0 "override: how often to give those points"\r
589 set g_domination_point_capturetime      0.1 "how long it takes to capture a point (given no interference)"\r
590 set g_domination_point_glow             0 "domination point glow (warning, slow)"\r
591 //set g_domination_balance_team_points  1 "# of points received is based on team sizes"\r
592 \r
593 // last man standing\r
594 seta g_lms 0 "Last Man Standing: everyone starts with a certain amount of lives, and the survivor wins"\r
595 set g_lms_lives_override -1\r
596 set g_lms_regenerate 0\r
597 set g_lms_campcheck_interval 10\r
598 set g_lms_campcheck_message "^1Don't camp!"\r
599 set g_lms_campcheck_damage 100\r
600 set g_lms_campcheck_distance 1800\r
601 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"\r
602 set g_lms_join_anytime 1        "if true, new players can join, but get same amount of lives as the worst player"\r
603 \r
604 // arena\r
605 seta g_arena 0 "Arena: many one-on-one rounds are played to find the winner"\r
606 set g_arena_maxspawned 2        "maximum number of players to spawn at once (the rest is spectating, waiting for their turn)"\r
607 set g_arena_roundbased 1        "if disabled, the next player will spawn as soon as someone dies"\r
608 set g_arena_warmup 5    "time, newly spawned players have to prepare themselves in round based matches"\r
609 set g_arena_powerups 0  "enables powerups (superhealth, strength and shield), which are removed by default"\r
610 \r
611 // ca\r
612 seta g_ca 0 "Clan Arena: Played in rounds, once you're dead you're out! The team with survivors wins the round."\r
613 set g_ca_point_limit 10 "point limit 10 is standard for clan arena"\r
614 set g_ca_point_leadlimit 0\r
615 set g_ca_warmup 10 "how long the players will have time to run around the map before the round starts"\r
616 \r
617 // onslaught\r
618 seta g_onslaught 0 "Onslaught: take control points towards the enemy generator and then destroy it"\r
619 set g_onslaught_gen_health 2000\r
620 set g_onslaught_cp_health 240\r
621 set g_onslaught_cp_buildhealth 100\r
622 set g_onslaught_cp_buildtime 10\r
623 set g_onslaught_cp_regen 5\r
624 \r
625 // assault\r
626 seta g_assault 0 "Assault: attack the enemy base as fast as you can, then defend the base against the enemy for that time to win"\r
627 \r
628 // race\r
629 seta g_race 0 "Race: be faster than your opponents"\r
630 set g_race_qualifying_timelimit 0\r
631 set g_race_qualifying_timelimit_override -1\r
632 set g_race_teams 0      "when 2, 3, or 4, the race is played as a team game (the team members can add up their laps)"\r
633 \r
634 // cts\r
635 seta g_cts 0 "CTS: complete the stage"\r
636 \r
637 // rpg\r
638 seta g_rpg 0 "RPG: RolePlay / Free Roam gametype"\r
639 set g_rpg_canleave 1 "when enabled, anyone can leave a predator's stomach in RPG (like leaving a team mate in team games)"\r
640 set g_rpg_botattack 1 "bot behavior in RPG. 0 causes bots to never attack, 1 allows bots to swallow you harmlessly, 2 allows bots to attack normally"\r
641 set g_rpg_turretattack 0 "if disabled, turrets don't attack anyone in RPG games. Otherwise, they attack everyone."\r
642 \r
643 set g_bloodloss 0   "amount of health below which blood loss occurs"\r
644 \r
645 set g_footsteps 1       "serverside footstep sounds"\r
646 \r
647 set g_deathglow 1.25 "when enabled, players stop glowing after they die (the value specifies glow fading speed)"\r
648 \r
649 set g_multijump 1       "Number of multiple jumps to allow (jumping again in the air), -1 allows for infinite jumps"\r
650 set g_multijump_add 0   "0 = make the current z velocity equal to jumpvelocity, 1 = add jumpvelocity to the current z velocity"\r
651 set g_multijump_speed -125      "Minimum vertical speed a player must have in order to jump again"\r
652 \r
653 // effects\r
654 r_glsl_postprocess 1\r
655 r_picmipsprites 0 // Voretournament uses sprites that should never be picmipped (team mate, typing, waypoints)\r
656 r_mipsprites 1\r
657 r_mipskins 1\r
658 r_shadow_realtime_world_lightmaps 1\r
659 seta r_ambient 4\r
660 cl_decals_fadetime 1\r
661 cl_decals_time 2\r
662 seta cl_gunalign 3 "Gun alignment; 1 = right, 2 = left, 3 = center or right, 4 = center or left"\r
663 seta cl_nogibs 0 "reduce number of violence effects, or remove them totally"\r
664 seta cl_particlegibs 0 "simpler gibs"\r
665 seta cl_gibs_damageforcescale 3.5 "force to push around gibs"\r
666 seta cl_gibs_lifetime 14 "average lifetime of gibs"\r
667 seta cl_gibs_velocity_scale 1 "gib throw velocity force scale"\r
668 seta cl_gibs_velocity_random 1 "gib throw velocity randomness scale"\r
669 seta cl_gibs_velocity_up 0 "extra z velocity for gibs"\r
670 seta cl_gibs_ticrate 0.1 "ticrate for gibs"\r
671 seta cl_gibs_sloppy 1 "sloppy gibs, may temporarily penetrate walls"\r
672 seta cl_casings 1 "enable or disable bullet casings"\r
673 seta cl_casings_time 10 "shell casing lifetime"\r
674 seta cl_casings_ticrate 0.1 "ticrate for casings"\r
675 seta cl_casings_sloppy 1 "sloppy casings, may temporarily penetrate walls"\r
676 seta cl_projectiles_sloppy 0 "sloppy projectiles, may temporarily penetrate walls"\r
677 cl_stainmaps 0\r
678 cl_particles_smoke 1\r
679 vid_gl20 1\r
680 r_glsl_deluxemapping 1\r
681 r_glsl_offsetmapping 0\r
682 r_glsl_offsetmapping_reliefmapping 0\r
683 r_glsl_offsetmapping_scale 0.02\r
684 // execute effects-normal.cfg to make sure that all effect settings are reset\r
685 alias menu_sync "" // will be re-aliased later\r
686 exec effects-normal.cfg\r
687 \r
688 // misc\r
689 fs_empty_files_in_pack_mark_deletions 1 // makes patches able to delete files\r
690 scr_conalpha 1\r
691 scr_conbrightness 0.2\r
692 scr_screenshot_jpeg 1\r
693 scr_screenshot_jpeg_quality 0.9\r
694 sv_maxvelocity 1000000000\r
695 seta cl_sound_maptime_warning "3" "play announcer sound telling you the remaining maptime - 0: do not play at all, 1: play at one minute, 2: play at five minutes, 3: play both"\r
696 seta cl_notify_carried_items "3" "notify you of carried items when you obtain them (e.g. flags in CTF) - 0: disabled, 1: notify of taken items, 2: notify of picking up dropped items, 3: notify of both"\r
697 \r
698 seta cl_hitsound 1 "play a hit notifier sound when you have hit an enemy"\r
699 seta cl_announcer default "name of the announcer you wish to use from data/sound/announcer"\r
700 \r
701 seta cl_helper 1 "enable helper system (voice that warns you in certain circumstances)"\r
702 seta cl_helper_voice default "name of the helper you wish to use from data/sound/helper"\r
703 seta cl_helper_pause 3 "number of seconds that must pass before the helper system can be triggered again"\r
704 seta cl_helper_item_health 25 "the helper will warn you when going below this amount of health"\r
705 seta cl_helper_item_armor 15 "the helper will warn you when going below this amount of armor"\r
706 seta cl_helper_item_ammo_fuel 25 "the helper will warn you when going below this amount of ammo"\r
707 seta cl_helper_item_speed 1000 "the helper will warn you when going faster than this speed"\r
708 seta cl_helper_item_stomachload 0.75 "the helper will warn you when your stomach is dangerously loaded by this amount"\r
709 \r
710 seta cl_eventchase_death 1 "camera goes into 3rd person mode when the player is dead"\r
711 seta cl_eventchase_distance 140 "final camera distance"\r
712 seta cl_eventchase_speed 1.3 "how fast the camera slides back, 0 is instant"\r
713 \r
714 seta cl_itembobheight 10\r
715 seta cl_itembobspeed 0.5\r
716 \r
717 // startmap_dm is used when running with the -listen or -dedicated commandline options\r
718 set serverconfig server.cfg\r
719 alias startmap_dm "set _sv_init 0; map _init/_init; exec $serverconfig; set _sv_init 1; map _init/_init"\r
720 alias sv_loadconfig "exec $serverconfig"\r
721 alias sv_restart "say \"Server will restart at the end of the match, you will all be reconnected automatically. $* \"; quit_and_redirect self"\r
722 \r
723 // aliases:\r
724 alias +attack2 +button3\r
725 alias -attack2 -button3\r
726 alias +zoom +button4\r
727 alias -zoom -button4\r
728 alias +crouch +button5\r
729 alias -crouch -button5\r
730 alias +regurgitate +button9\r
731 alias -regurgitate -button9\r
732 alias +digest +button10\r
733 alias -digest -button10\r
734 alias weapnext "_weapnext_${_supports_weaponpriority}${sbar_hudselector}${cl_weaponpriority_useforcycling}"\r
735 alias _weapnext_000 "impulse 10"\r
736 alias _weapnext_001 "impulse 10"\r
737 alias _weapnext_010 "impulse 10"\r
738 alias _weapnext_011 "impulse 10"\r
739 alias _weapnext_020 "impulse 10"\r
740 alias _weapnext_021 "impulse 10"\r
741 alias _weapnext_100 "impulse 10"\r
742 alias _weapnext_101 "impulse 15"\r
743 alias _weapnext_110 "impulse 18"\r
744 alias _weapnext_111 "impulse 15"\r
745 alias _weapnext_120 "impulse 18"\r
746 alias _weapnext_121 "impulse 15"\r
747 alias weaplast "impulse 11"\r
748 alias weapprev "_weapprev_${_supports_weaponpriority}${sbar_hudselector}${cl_weaponpriority_useforcycling}"\r
749 alias _weapprev_000 "impulse 12"\r
750 alias _weapprev_001 "impulse 12"\r
751 alias _weapprev_010 "impulse 12"\r
752 alias _weapprev_011 "impulse 12"\r
753 alias _weapprev_020 "impulse 12"\r
754 alias _weapprev_021 "impulse 12"\r
755 alias _weapprev_100 "impulse 12"\r
756 alias _weapprev_101 "impulse 16"\r
757 alias _weapprev_110 "impulse 19"\r
758 alias _weapprev_111 "impulse 16"\r
759 alias _weapprev_120 "impulse 19"\r
760 alias _weapprev_121 "impulse 16"\r
761 set _supports_weaponpriority 0  "set to 1 by csqc if supported, and to 0 on disconnect"\r
762 alias weapbest "impulse 13"\r
763 \r
764 alias reload "impulse 20"\r
765 \r
766 // movement\r
767 bind w +forward\r
768 bind a +moveleft\r
769 bind s +back\r
770 bind d +moveright\r
771 bind UPARROW +forward\r
772 bind LEFTARROW +moveleft\r
773 bind DOWNARROW +back\r
774 bind RIGHTARROW +moveright\r
775 bind SHIFT +crouch\r
776 bind ENTER +jump\r
777 bind SPACE +jump\r
778 \r
779 // weapons\r
780 bind 1 "impulse 1"\r
781 bind 2 "impulse 2"\r
782 bind 3 "impulse 3"\r
783 bind 4 "impulse 4"\r
784 bind 5 "impulse 5"\r
785 bind 6 "impulse 6"\r
786 bind 7 "impulse 7"\r
787 bind 8 "impulse 8"\r
788 bind 9 "impulse 9"\r
789 bind 0 "impulse 14" // cycles the superweapons\r
790 bind p weaplast\r
791 bind MOUSE1 +attack\r
792 bind MOUSE2 +attack2\r
793 bind MOUSE3 +zoom\r
794 bind MOUSE4 weaplast\r
795 bind MOUSE5 +hook\r
796 bind r reload\r
797 bind q +regurgitate\r
798 bind e +digest\r
799 bind BACKSPACE dropweapon\r
800 bind g dropweapon\r
801 bind f +use\r
802 \r
803 // misc\r
804 bind f +jetpack\r
805 bind ` toggleconsole\r
806 bind ~ toggleconsole\r
807 bind TAB +showscores\r
808 bind ESCAPE togglemenu\r
809 bind t messagemode\r
810 bind y messagemode2\r
811 bind z messagemode2\r
812 bind u "+con_chat_maximize"\r
813 bind i +show_info\r
814 bind PAUSE pause\r
815 bind F10 quit\r
816 bind F11 disconnect\r
817 bind F12 screenshot\r
818 bind F4 ready\r
819 bind m radar\r
820 bind ALT +showaccuracy\r
821 \r
822 // Gamepad defaults. Tested with Logitech Rumblepad 2, I hope similar ones works as well.\r
823 bind JOY1 "+crouch"\r
824 bind JOY2 "+jump"\r
825 bind JOY3 "weapprev"\r
826 bind JOY4 "weapnext"\r
827 bind JOY5 "+attack2"\r
828 bind JOY6 "+attack"\r
829 bind JOY7 "+zoom"\r
830 bind JOY8 "dropweapon"\r
831 bind JOY9 "menu_showteamselect"\r
832 bind JOY10 "+show_info"\r
833 bind JOY11 "+showscores"\r
834 bind JOY12 "+con_chat_maximize"\r
835 seta joyadvanced "1"\r
836 seta joyadvaxisr "2"\r
837 seta joyadvaxisx "3"\r
838 seta joyadvaxisy "1"\r
839 seta joyadvaxisz "4"\r
840 seta joysidesensitivity "1.0"\r
841 seta joypitchsensitivity "0.9"\r
842 seta joyyawsensitivity "-1.8"\r
843 // SDL only\r
844 seta joy_deadzoneforward "0.05"\r
845 seta joy_deadzonepitch "0.05"\r
846 seta joy_deadzoneside "0.05"\r
847 seta joy_deadzoneup "0.05"\r
848 seta joy_deadzoneyaw "0.05"\r
849 seta joy_sensitivitypitch "0.9"\r
850 seta joy_sensitivityyaw "-1.8"\r
851 \r
852 // team say\r
853 bind kp_ins messagemode\r
854 bind kp_del messagemode2\r
855 bind kp_end "+userbind 1"\r
856 bind kp_downarrow "+userbind 2"\r
857 bind kp_pgdn "+userbind 3"\r
858 bind kp_leftarrow "+userbind 4"\r
859 bind kp_5 "+userbind 6"\r
860 bind kp_rightarrow "+userbind 7"\r
861 bind kp_home "+userbind 9"\r
862 bind kp_uparrow "+userbind 10"\r
863 bind kp_pgup "+userbind 11"\r
864 bind kp_multiply "+userbind 12"\r
865 bind kp_slash "+userbind 13"\r
866 bind kp_enter "+userbind 16"\r
867 bind kp_plus "+userbind 17"\r
868 bind kp_minus "+userbind 18"\r
869 \r
870 set sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto" "these commands can be voted"\r
871 set sv_vote_only_commands ""\r
872 set sv_vote_master_commands "movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink"  "maybe add kickban here (but then sv_vote_master 0)"\r
873 set rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoteam_auto movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink"\r
874 set sv_vote_call 1      "users can call a vote for the above commands"\r
875 set sv_vote_master 1    "users can call a vote to become master"\r
876 set sv_vote_master_password ""  "when set, users can use \"vlogin PASSWORD\" to log in as master"\r
877 set sv_vote_change 0    "set to 1 to allow to change you vote/mind"\r
878 set sv_vote_singlecount 0       "set to 1 to count votes once after timeout or to 0 to count with every vote"\r
879 set sv_vote_timeout 60  "a vote will timeout after this many seconds"\r
880 set sv_vote_wait 120    "a player can not call a vote again for this many seconds when his vote was not accepted"\r
881 set sv_vote_stop 15     "a player can not call a vote again for this many seconds when he stopped this vote (e.g. to correct it)"\r
882 set sv_vote_majority_factor 0.5 "which quotient of the PLAYERS constitute a majority? (try: 0.667, 0.75 when using the above)"\r
883 set sv_vote_simple_majority_factor 0    "which quotient of the VOTERS constitute a majority too? (0 = off, otherwise it must be higher than or equal to sv_vote_majority_factor)"\r
884 // when disabled, don't allow game type changes "note: set these two equal to JUST support simple majorities"\r
885 set sv_vote_override_mostrecent 0\r
886 alias vhelp "cmd vote help"\r
887 alias vstatus "cmd vote status"\r
888 alias vcall "cmd vote call $*"\r
889 alias vstop "cmd vote stop"\r
890 alias vmaster "cmd vote master"\r
891 alias vlogin "cmd vote login $*"\r
892 alias vdo "cmd vote do $*"\r
893 alias vyes "cmd vote yes"\r
894 alias vno "cmd vote no"\r
895 alias vdontcare "cmd vote dontcare"\r
896 alias vabstain "cmd vote abstain"\r
897 \r
898 alias vmap "vcall gotomap $1"\r
899 alias vnextmap "vcall nextmap $1"\r
900 alias vkick "vcall kick $1"\r
901 alias vkickban "vcall kickban $1"\r
902 alias vend "vcall endmatch"\r
903 alias vdomap "vdo gotomap $1"\r
904 alias vdokick "vdo kick $*"\r
905 alias vdokickban "vdo kickban $*"\r
906 alias vdoend "vdo endmatch"\r
907 \r
908 alias lsmaps "cmd lsmaps" // lists all maps on server (for vmap, suggestmap, vnextmap)\r
909 alias lsnewmaps "cmd lsnewmaps" // lists all maps on server that do not yet have a record set (race/cts)\r
910 bind F1 vyes\r
911 bind F2 vno\r
912 \r
913 //used for spectate/observer mode\r
914 alias spec "cmd spectate"\r
915 bind F3 spec\r
916 \r
917 // score log\r
918 set sv_logscores_console 0      "print scores to server console"\r
919 set sv_logscores_file 0 "print scores to file"\r
920 set sv_logscores_filename scores.log    "filename"\r
921 set sv_logscores_bots 0 "exclude bots by default"\r
922 \r
923 // spam (frag/capture) log\r
924 set sv_eventlog 0       "the master switch for efficiency reasons"\r
925 set sv_eventlog_console 1\r
926 set sv_eventlog_files 0\r
927 set sv_eventlog_files_timestamps 1\r
928 seta sv_eventlog_files_counter 0\r
929 set sv_eventlog_files_nameprefix voretournament\r
930 set sv_eventlog_files_namesuffix .log\r
931 \r
932 set nextmap ""  "override the maplist when switching to the next map"\r
933 set lastlevel ""\r
934 set quit_when_empty 0   "set to 1, then the server exits when the next level would start but is empty"\r
935 set quit_and_redirect ""        "set to an IP to redirect all players at the end of the match to another server. Set to \"self\" to let all players reconnect at the end of the match (use it to make seamless engine updates)"\r
936 \r
937 // singleplayer campaign\r
938 set g_campaign 0\r
939 set g_campaign_forceteam 0 "Forces the player to a given team in campaign mode, 1 = red, 2 = blue, 3 = yellow, 4 = pink"\r
940 set g_campaign_changelevel 0 "When disabled, levels won't be automatically change after a match was won or lost (you're taken back to the menu instead)"\r
941 seta g_campaign_name "voretournament"\r
942 set g_campaign_skill 0\r
943 set g_campaignvoretournament_index 0\r
944 \r
945 alias singleplayer_start "g_campaign_index 0; set scmenu_campaign_goto 0"\r
946 alias singleplayer_continue "set scmenu_campaign_goto -1"\r
947 alias singleplayer_levellist "set scmenu_campaign_dump 1; togglemenu; wait; togglemenu"\r
948 \r
949 // Green's fullbright skins\r
950 alias cl_fbskin_green "playermodel models/player/vixen.zym; playerskin 6; color 3 3"\r
951 alias cl_fbskin_red "playermodel models/player/vixen.zym; playerskin 6; color 4 4"\r
952 alias cl_fbskin_orange "playermodel models/player/vixen.zym; playerskin 6; color 14 14"\r
953 alias cl_fbskin_off "playermodel models/player/vixen.zym; playerskin 0"\r
954 alias sv_fbskin_green "g_fullbrightplayers 1; sv_defaultcharacter 1; sv_defaultplayermodel models/player/vixen.zym; sv_defaultplayerskin 6; sv_defaultplayercolors 51"\r
955 alias sv_fbskin_red "g_fullbrightplayers 1; sv_defaultcharacter 1; sv_defaultplayermodel models/player/vixen.zym; sv_defaultplayerskin 6; sv_defaultplayercolors 68"\r
956 alias sv_fbskin_orange "g_fullbrightplayers 1; sv_defaultcharacter 1; sv_defaultplayermodel models/player/vixen.zym; sv_defaultplayerskin 6; sv_defaultplayercolors 238"\r
957 alias sv_fbskin_off "g_fullbrightplayers 0; sv_defaultcharacter 0; sv_defaultplayerskin 0; sv_defaultplayercolors \"\""\r
958 \r
959 seta sv_servermodelsonly 1\r
960 \r
961 cl_curl_enabled 1\r
962 cl_curl_maxspeed 300\r
963 sv_curl_defaulturl "http://www.alientrap.org/voretournament/contentdownload/getmap.php?file="\r
964 \r
965 set sv_motd ""\r
966 \r
967 seta cl_shownames 0     "show player names pointed to (0: never, 1: teamplay only, 2: always) (deprecated in VoreTournament)"\r
968 set sv_allow_shownames 1\r
969 \r
970 set g_waypoints_for_items 1     "make waypoints out of items, values: 0 = never, 1 = unless the mapper prevents it by worldspawn.spawnflags & 1, 2 = always"\r
971 \r
972 seta g_maplist_votable 6 "number of maps that are shown in the map voting at the end of a match"\r
973 seta g_maplist_votable_keeptwotime 15\r
974 seta g_maplist_votable_timeout 30       "timeout for the map voting; must be below 50 seconds!"\r
975 seta g_maplist_votable_suggestions 2\r
976 seta g_maplist_votable_suggestions_override_mostrecent 0\r
977 seta g_maplist_votable_nodetail 1       "nodetail only shows total count instead of all vote counts per map, so votes don't influence others that much"\r
978 seta g_maplist_votable_abstain 0        "when 1, you can abstain from your vote"\r
979 seta g_maplist_votable_screenshot_dir "maps levelshots" "where to look for map screenshots"\r
980 alias suggestmap "cmd suggestmap $1"\r
981 \r
982 set g_chat_flood_spl 3  "normal chat: seconds between lines to not count as flooding"\r
983 set g_chat_flood_lmax 2 "normal chat: maximum number of lines per chat message at once"\r
984 set g_chat_flood_burst 2        "normal chat: allow bursts of so many chat lines"\r
985 set g_chat_flood_spl_team 1     "team chat: seconds between lines to not count as flooding"\r
986 set g_chat_flood_lmax_team 2    "team chat: maximum number of lines per chat message at once"\r
987 set g_chat_flood_burst_team 2   "team chat: allow bursts of so many chat lines"\r
988 set g_chat_flood_spl_tell 1     "private chat: seconds between lines to not count as flooding"\r
989 set g_chat_flood_lmax_tell 2    "private chat: maximum number of lines per chat message at once"\r
990 set g_chat_flood_burst_tell 2   "private chat: allow bursts of so many chat lines"\r
991 set g_chat_flood_notify_flooder 1       "when 0, the flooder still can see his own message"\r
992 set g_chat_teamcolors 0 "colorize nicknames in team color for chat"\r
993 set g_voice_flood_spv 4 "normal voices: seconds between voices to not count as flooding"\r
994 set g_voice_flood_spv_team 2    "team voices: seconds between voices to not count as flooding"\r
995 set g_nick_flood_timeout 120 "time after which nick flood protection resets (set to 0 to disable nick flood checking)"\r
996 set g_nick_flood_penalty 0.5 "duration of the nick flood penalty"\r
997 set g_nick_flood_penalty_yellow 3 "number of changes to allow before warning and movement blocking"\r
998 set g_nick_flood_penalty_red 30 "number of changes to allow before totally disorienting the player"\r
999 \r
1000 set g_waypointsprite_normdistance 512\r
1001 set g_waypointsprite_minscale 0.5\r
1002 set g_waypointsprite_minalpha 0.4\r
1003 set g_waypointsprite_distancealphaexponent 2\r
1004 set g_waypointsprite_timealphaexponent 1\r
1005 set g_waypointsprite_deployed_lifetime 10\r
1006 set g_waypointsprite_deadlifetime 1\r
1007 set g_waypointsprite_limitedrange 5120\r
1008 set g_waypointsprite_stuffbinds 0\r
1009 seta g_waypointsprite_scale 1\r
1010 seta g_waypointsprite_alpha 1 "This allows the client to control transparency of the waypoint"\r
1011 seta g_waypointsprite_edgefadealpha 0.5 "alpha multiplier near the edge"\r
1012 seta g_waypointsprite_edgefadescale 1 "scale multiplier near the edge"\r
1013 seta g_waypointsprite_edgefadedistance 50 "distance in virtual pixels from edge where to start fading"\r
1014 seta g_waypointsprite_crosshairfadealpha 0.25 "alpha multiplier near crosshair"\r
1015 seta g_waypointsprite_crosshairfadescale 1 "scale multiplier near the crosshair"\r
1016 seta g_waypointsprite_crosshairfadedistance 150 "distance in virtual pixels from crosshair where to start fading"\r
1017 seta g_waypointsprite_distancefadealpha 1 "alpha multiplier near distance"\r
1018 seta g_waypointsprite_distancefadescale 0.7 "scale multiplier near the distance"\r
1019 seta g_waypointsprite_distancefadedistancemultiplier 0.5 "distance in map sizes from distance where to stop fading"\r
1020 alias "g_waypointsprite_personal"       "impulse 30"\r
1021 alias "g_waypointsprite_personal_p"     "impulse 31"\r
1022 alias "g_waypointsprite_personal_d"     "impulse 32"\r
1023 alias "g_waypointsprite_team_helpme"    "impulse 33"\r
1024 alias "g_waypointsprite_team_here"      "impulse 34"\r
1025 alias "g_waypointsprite_team_here_p"    "impulse 35"\r
1026 alias "g_waypointsprite_team_here_d"    "impulse 36"\r
1027 alias "g_waypointsprite_team_danger"    "impulse 37"\r
1028 alias "g_waypointsprite_team_danger_p"  "impulse 38"\r
1029 alias "g_waypointsprite_team_danger_d"  "impulse 39"\r
1030 alias "g_waypointsprite_clear_personal" "impulse 47"\r
1031 alias "g_waypointsprite_clear"  "impulse 48"\r
1032 alias "g_waypointsprite_toggle" "impulse 49"\r
1033 // key for that?\r
1034 seta cl_hidewaypoints 0 "disable static waypoints, only show team waypoints"\r
1035 \r
1036 // command extension\r
1037 alias qc_cmd    "sv_cmd $*" // menu QC will override this to menu_cmd\r
1038 alias adminmsg  "sv_cmd adminmsg $*"\r
1039 alias teamstatus        "cmd teamstatus; sv_cmd teamstatus" // yes, it is broken on listen servers that way, but well, who cares :P\r
1040 alias printstats        "sv_cmd printstats" // print status on demand\r
1041 alias g_maplist_add     "qc_cmd maplist add $*"\r
1042 alias g_maplist_remove  "qc_cmd maplist remove $*"\r
1043 alias g_maplist_putfirst        "qc_cmd maplist remove $* ; qc_cmd maplist add $*"\r
1044 alias g_maplist_shufflenow      "qc_cmd maplist shuffle"\r
1045 alias g_maplist_cleanup "qc_cmd maplist cleanup" // removes maps that don't exist from the map list\r
1046 alias gametype  "sv_cmd gametype $*"\r
1047 \r
1048 alias addfav "qc_cmd addtolist net_slist_favorites $*"\r
1049 alias addvote "qc_cmd addtolist sv_vote_commands $*"\r
1050 \r
1051 // key hunt\r
1052 seta g_keyhunt 0 "Key Hunt: collect all keys from the enemies and bring them together to score"\r
1053 set g_balance_keyhunt_delay_return 60\r
1054 set g_balance_keyhunt_delay_round 5\r
1055 set g_balance_keyhunt_delay_tracking 10\r
1056 set g_balance_keyhunt_delay_fadeout 2\r
1057 set g_balance_keyhunt_delay_collect 1.5\r
1058 set g_balance_keyhunt_delay_drop 0.4\r
1059 set g_balance_keyhunt_maxdist 150\r
1060 set g_balance_keyhunt_score_collect 3\r
1061 set g_balance_keyhunt_score_carrierfrag 2\r
1062 set g_balance_keyhunt_score_capture 100\r
1063 set g_balance_keyhunt_score_push 60\r
1064 set g_balance_keyhunt_score_destroyed 50\r
1065 set g_balance_keyhunt_score_destroyed_ownfactor 1\r
1066 set g_balance_keyhunt_dropvelocity 300\r
1067 set g_balance_keyhunt_throwvelocity 400\r
1068 set g_balance_keyhunt_protecttime 0.8\r
1069 set g_balance_keyhunt_damageforcescale 1\r
1070 seta g_keyhunt_teams_override 0\r
1071 set g_keyhunt_teams 0\r
1072 \r
1073 // so it can be stuffcmd-ed still\r
1074 set cl_gravity 800      "but ignored anyway"\r
1075 \r
1076 set g_ban_default_bantime 5400  "90 minutes"\r
1077 set g_ban_default_masksize 3    "whole 255.255.255.0 networks (set to 4 for single IPs); when UID support is compiled in, masksize 0 means banning by UID"\r
1078 set g_banned_list ""    "format: IP remainingtime IP remainingtime ..."\r
1079 alias bans "sv_cmd bans"\r
1080 alias ban "sv_cmd ban $*"         // usage: ban address(maybe incomplete, like 1.2.3) bantime(seconds)\r
1081 alias kickban "sv_cmd kickban $*" // usage: kickban # playerno bantime(seconds) masksize(bytes)\r
1082 alias unban "sv_cmd unban $*"     // usage: unban 3 (number from bans)\r
1083 \r
1084 r_labelsprites_scale 0.40625 // labels sprites get displayed at 0.5x from 640x480 to 1280x1024, and at 1x from 1600x1200 onwards\r
1085 \r
1086 // settemp subsystem. Do not touch. Usage: settemp variable value, next map resets it.\r
1087 set settemp_list 0\r
1088 set settemp_idx 0\r
1089 set _settemp_var UNUSED\r
1090 alias settemp "_settemp_var \"_settemp_x$settemp_idx\"; qc_cmd rpn /settemp_idx settemp_idx 1 add def; _settemp \"$1\" \"$2\""\r
1091 alias _settemp "settemp_list \"1 $1 $_settemp_var $settemp_list\"; set $_settemp_var \"${$1}\"; $1 \"$2\""\r
1092 alias settemp_restore "_settemp_restore_${settemp_list asis}"\r
1093 alias _settemp_restore_0 "set settemp_var 0; set settemp_list 0"\r
1094 alias _settemp_restore_1 "$1 \"${$2}\"; _settemp_restore_${3- asis}"\r
1095 \r
1096 // usercommands. These can be edited and bound by the menu.\r
1097 seta "userbind1_press" "say_team quad soon";  seta "userbind1_release" "";  seta "userbind1_description" "team: quad soon"\r
1098 seta "userbind2_press" "say_team free item %x^7 (l:%y^7); g_waypointsprite_team_here_p";  seta "userbind2_release" "";  seta "userbind2_description" "team: free item, icon"\r
1099 seta "userbind3_press" "say_team took item (l:%l^7); g_waypointsprite_team_here";  seta "userbind3_release" "";  seta "userbind3_description" "team: took item, icon"\r
1100 seta "userbind4_press" "say_team negative";  seta "userbind4_release" "";  seta "userbind4_description" "team: negative"\r
1101 seta "userbind5_press" "say_team positive";  seta "userbind5_release" "";  seta "userbind5_description" "team: positive"\r
1102 seta "userbind6_press" "say_team need help (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_helpme; cmd voice needhelp";  seta "userbind6_release" "";  seta "userbind6_description" "team: need help, icon"\r
1103 seta "userbind7_press" "say_team enemy seen (l:%y^7); g_waypointsprite_team_danger_p; cmd voice incoming";  seta "userbind7_release" "";  seta "userbind7_description" "team: enemy seen, icon"\r
1104 seta "userbind8_press" "say_team flag seen (l:%y^7); g_waypointsprite_team_here_p; cmd voice seenflag";  seta "userbind8_release" "";  seta "userbind8_description" "team: flag seen, icon"\r
1105 seta "userbind9_press" "say_team defending (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here";  seta "userbind9_release" "";  seta "userbind9_description" "team: defending, icon"\r
1106 seta "userbind10_press" "say_team roaming (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here";  seta "userbind10_release" "";  seta "userbind10_description" "team: roaming, icon"\r
1107 seta "userbind11_press" "say_team attacking (l:%l^7) (h:%h^7 a:%a^7 w:%w^7); g_waypointsprite_team_here";  seta "userbind11_release" "";  seta "userbind11_description" "team: attacking, icon"\r
1108 seta "userbind12_press" "say_team killed flagcarrier (l:%y^7); g_waypointsprite_team_p"; seta "userbind12_release" ""; seta "userbind12_description" "team: killed flag, icon"\r
1109 seta "userbind13_press" "say_team dropped flag (l:%d^7); g_waypointsprite_team_here_d"; seta "userbind13_release" ""; seta "userbind13_description" "team: dropped flag, icon"\r
1110 seta "userbind14_press" "say_team dropped gun %w^7 (l:%l^7); g_waypointsprite_team_here; wait; dropweapon"; seta "userbind14_release" ""; seta "userbind14_description" "team: drop gun, icon"\r
1111 seta "userbind15_press" "say_team dropped flag/key %w^7 (l:%l^7); g_waypointsprite_team_here; wait; +use"; seta "userbind15_release" "-use"; seta "userbind15_description" "team: drop flag/key, icon"\r
1112 seta "userbind16_press" "say :-) / nice one"; seta "userbind16_release" ""; seta "userbind16_description" "chat: nice one"\r
1113 seta "userbind17_press" "say good game"; seta "userbind17_release" ""; seta "userbind17_description" "chat: good game"\r
1114 seta "userbind18_press" "say hi / good luck and have fun"; seta "userbind18_release" ""; seta "userbind18_description" "chat: hi / good luck"\r
1115 seta "userbind19_press" "+showscores; +con_chat_maximize"; seta "userbind19_release" "-showscores; -con_chat_maximize"; seta "userbind19_description" "scoreboard / chat history"\r
1116 seta "userbind20_press" "toggle cl_capturevideo"; seta "userbind20_release" ""; seta "userbind20_description" "toggle recording .avi"\r
1117 seta "userbind21_press" "toggle vid_fullscreen; vid_restart"; seta "userbind21_release" ""; seta "userbind21_description" "toggle fullscreen"\r
1118 seta "userbind22_press" ""; seta "userbind22_release" ""; seta "userbind22_description" ""\r
1119 seta "userbind23_press" ""; seta "userbind23_release" ""; seta "userbind23_description" ""\r
1120 seta "userbind24_press" ""; seta "userbind24_release" ""; seta "userbind24_description" ""\r
1121 seta "userbind25_press" ""; seta "userbind25_release" ""; seta "userbind25_description" ""\r
1122 seta "userbind26_press" ""; seta "userbind26_release" ""; seta "userbind26_description" ""\r
1123 seta "userbind27_press" ""; seta "userbind27_release" ""; seta "userbind27_description" ""\r
1124 seta "userbind28_press" ""; seta "userbind28_release" ""; seta "userbind28_description" ""\r
1125 seta "userbind29_press" ""; seta "userbind29_release" ""; seta "userbind29_description" ""\r
1126 seta "userbind30_press" ""; seta "userbind30_release" ""; seta "userbind30_description" ""\r
1127 seta "userbind31_press" ""; seta "userbind31_release" ""; seta "userbind31_description" ""\r
1128 seta "userbind32_press" ""; seta "userbind32_release" ""; seta "userbind32_description" ""\r
1129 alias _userbind_call "${$1}"\r
1130 alias +userbind "_userbind_call userbind${1}_press"\r
1131 alias -userbind "_userbind_call userbind${1}_release"\r
1132 \r
1133 seta menu_skin "earthy"\r
1134 set menu_slowmo 1\r
1135 seta menu_sounds 2 "enables menu sound effects. 1 enables click sounds, 2 also enables hover sounds"\r
1136 \r
1137 r_textbrightness 0.2\r
1138 r_textcontrast 0.8\r
1139 r_textshadow 1\r
1140 \r
1141 // good settings for these fonts\r
1142 con_chat 5\r
1143 con_chatpos 2\r
1144 con_chatsize 10\r
1145 con_chatwidth 0.6\r
1146 con_notifysize 10\r
1147 con_notifyalign 0\r
1148 \r
1149 seta hud_damage 0.75 "an improved version of gl_polyblend for damage, draw an image instead when hurt"\r
1150 seta hud_damage_blur 8 "Use postprocessing to blur the screen when you have taken damage. This can be paired with current hud damage or just used alone. Higher values = more blur"\r
1151 seta hud_damage_blur_alpha 0.5 "Amount of alpha to use when merging the blurred layers back into the render. Turning this up higher will remove bloom, so it's best to find a balance"\r
1152 seta hud_damage_gentle_alpha_multiplier 0.10 "how much to multiply alpha of flash when using the cl_gentle version, it's much more opaque than the non-gentle version"\r
1153 seta hud_damage_gentle_color "1 0.7 1" "color of flash for cl_gentle version"\r
1154 seta hud_damage_color "1 0 0" "color of flash"\r
1155 seta hud_damage_factor 0.025 "(damage * factor) = how much to add to the alpha value"\r
1156 seta hud_damage_fade_rate 0.75 "how much to subtract from the alpha value each second"\r
1157 seta hud_damage_maxalpha 1.5 "how much to limit the alpha value to"\r
1158 seta hud_damage_pain_threshold 0.1 "how much alpha to ignore (must be bigger than the hud_damage_factor so that e.g. rot is ignored)"\r
1159 seta hud_damage_pain_threshold_lower 1.5 "how much we lower pain_threshold with when nearing 0 health (if pain_threshold gets negative then we always draw a flash at alpha = fabs(pain_threshold)"\r
1160 seta hud_damage_pain_threshold_lower_health 50 "at which health we start lowering pain_threshold"\r
1161 seta hud_damage_pain_threshold_pulsating_min 0.6 "minimum value when calculating the pulse: max(pulsating_min, fabs(sin(PI * time / period))"\r
1162 seta hud_damage_pain_threshold_pulsating_period 0.8 "one pulse every X seconds"\r
1163 \r
1164 seta hud_cartoon 0 "cartoon effect, reverses when you own a powerup, default is 1.5"\r
1165 seta hud_cartoon_tolerance 0.15 "where to apply the cartoon effect between bright and dark areas"\r
1166 \r
1167 seta hud_saturation 0 "saturation changes based on the amount of armor you have"\r
1168 \r
1169 seta hud_stomach 0.75 "displays a splash on the screen when inside the stomach, value specifies alpha"\r
1170 seta hud_stomach_color "1 1 0" "color of the stomach screen splash"\r
1171 seta hud_stomach_fade_in 0.2 "how quickly the stomach splash appears when you get swallowed"\r
1172 seta hud_stomach_fade_out 0.03 "how quickly the stomach splash disappears when you are regurgitated"\r
1173 \r
1174 seta hud_postprocessing 1 "enables the ability for effects such as hud_damage_blur and hud_contents to apply a postprocessing method upon the screen - enabling this disables manual editing of the postprocess cvars"\r
1175 seta hud_postprocessing_maxbluralpha 0 "maximum alpha which the blur postprocess can be, default is 0.5"\r
1176 seta hud_postprocessing_maxblurradius 8 "maximum radius which the blur postprocess can be, default is 8"\r
1177 \r
1178 seta hud_contents 1 "an improved version of gl_polyblend for liquids such as water/lava/slime, draw a filler when inside the liquid"\r
1179 seta hud_contents_liquid_blur 10 "Use postprocessing to blur the screen when you are inside a liquid. Higher values = more blur"\r
1180 seta hud_contents_liquid_blur_alpha 0.5 "Amount of alpha to use when merging the blurred layers back into the render. Turning this up higher will remove bloom, so it's best to find a balance"\r
1181 seta hud_contents_stomach_blur 2 "Use postprocessing to blur the screen when you are inside the stomach. Higher values = more blur"\r
1182 seta hud_contents_stomach_blur_alpha 0.2 "Amount of alpha to use when merging the blurred layers back into the render. Turning this up higher will remove bloom, so it's best to find a balance"\r
1183 seta hud_contents_factor 1 "factor at which to multiply the current faded value."\r
1184 seta hud_contents_fadeintime 0.02 "factor of time it takes for the alpha level to reach normal value when entering the liquid"\r
1185 seta hud_contents_fadeouttime 0.1 "factor of time it takes for the alpha level to reach normal value when leaving the liquid"\r
1186 seta hud_contents_lava_alpha 0.7 "alpha of the lava color blend when inside it"\r
1187 seta hud_contents_lava_color "0.8 0.1 0" \r
1188 seta hud_contents_slime_alpha 0.7 "alpha of the slime color blend when inside it"\r
1189 seta hud_contents_slime_color "0 0.4 0.1"\r
1190 seta hud_contents_water_alpha 0.5 "alpha of the water color blend when inside it"\r
1191 seta hud_contents_water_color "0.4 0.3 0.3"\r
1192 seta hud_contents_stomach_alpha 0.2 "alpha of the stomach color blend when inside it"\r
1193 seta hud_contents_stomach_color "0.3 0.2 0"\r
1194 \r
1195 seta hud_shownames 2 "1 = draw names of nearby team mates, 2 = also draw names of nearby enemies"\r
1196 seta hud_shownames_status 2 "1 = show when the team mate can be healed, 2 = also show health, 3 = also show armor"\r
1197 seta hud_shownames_aspect 8 "aspect ratio of total drawing area per name"\r
1198 seta hud_shownames_fontsize 8 "font size"\r
1199 seta hud_shownames_decolorize 1 "1 = decolorize name in team games, 2 = decolorize always"\r
1200 seta hud_shownames_alpha 0.7 "alpha"\r
1201 seta hud_shownames_resize 1 "enable resizing of the names, then the size cvars will correspond to the maximum size"\r
1202 seta hud_shownames_mindistance 1000 "start fading alpha/size at this distance"\r
1203 seta hud_shownames_maxdistance 1500 "alpha/size is 0 at this distance"\r
1204 seta hud_shownames_antioverlap 1 "if two tags get too close to each other, fade out the one further away from you"\r
1205 seta hud_shownames_antioverlap_distance 125 "2d distance to other tag after which to fade out"\r
1206 seta hud_shownames_offset 52 "offset (along z-axis) tag from player origin by this many units"\r
1207 seta hud_shownames_offset_healthsize 0.5 "offset (along z-axis) tag from player origin by this many units, based on player size"\r
1208 \r
1209 sbar_info_pos 50\r
1210 seta sbar_alpha_bg 0.8 "alpha value of the HUD background"\r
1211 seta sbar_alpha_fg 1 "alpha value of the HUD foreground items"\r
1212 seta sbar_border_thickness 1 "scoreboard border thickness"\r
1213 seta sbar_color_bg "0 0.25 0.75" "default color of the HUD background"\r
1214 seta sbar_color_bg_team 1 "team color multiplier of the HUD background"\r
1215 seta sbar_scoreboard_offset 100 "scoreboard vertical position"\r
1216 seta sbar_scoreboard_alpha_bg 0.6 "scoreboard background alpha"\r
1217 seta sbar_scoreboard_alpha_fg 1 "scoreboard foreground alpha"\r
1218 seta sbar_scoreboard_alpha_name 0.9 "alpha of player text in scoreboard list other than self"\r
1219 seta sbar_scoreboard_alpha_name_self 1 "alpha of player text in scoreboard list of self" \r
1220 seta sbar_scoreboard_fadeinspeed 10 "speed at which scoreboard fades in, higher is faster (0 = instant)"\r
1221 seta sbar_scoreboard_fadeoutspeed 5 "speed at which scoreboard fades out, higher is faster (0 = instant)"\r
1222 seta sbar_scoreboard_highlight 1 "enable highlighting for rows and columns in the scoreboard"\r
1223 seta sbar_scoreboard_highlight_alpha 0.10 "highlight alpha value (depends on sbar_scoreboard_highlight 1)"\r
1224 seta sbar_scoreboard_highlight_alpha_self 0.25 "self highlight alpha value"\r
1225 seta sbar_stomachboard_color1 "0 0.5 0" "RGB color of the stomach board highlights when showing self"\r
1226 seta sbar_stomachboard_color2 "0.5 0.5 0" "RGB color of the stomach board highlights when showing team mate predators"\r
1227 seta sbar_stomachboard_color3 "0.5 0 0" "RGB color of the stomach board highlights when showing enemy predators"\r
1228 seta sbar_stomachboard_status_alpha 0.75 "alpha of the stomach board status"\r
1229 seta sbar_stomachboard_status_fade 1 "color fading speed of the stomach board status"\r
1230 seta sbar_stomachboard_highlight_alpha 0.25 "alpha of the stomach board highlight"\r
1231 seta sbar_timer_increment 0 "1 = show elapsed time on the timer"\r
1232 seta sbar_timer_scale 1 "scale multiplier of the timer"\r
1233 seta sbar_ring1 1 "enables the first HUD ring"\r
1234 seta sbar_ring1_scale 110 "scale of the first HUD ring"\r
1235 seta sbar_ring1_text_scale 12 "scale of the text on the first HUD ring"\r
1236 seta sbar_ring1_alpha 0.75 "alpha of the first HUD ring"\r
1237 seta sbar_ring2 1 "enables the second HUD ring"\r
1238 seta sbar_ring2_scale 80 "scale of the second HUD ring"\r
1239 seta sbar_ring2_text_scale 10 "scale of the text on the second HUD ring"\r
1240 seta sbar_ring2_alpha 0.75 "alpha of the second HUD ring"\r
1241 seta sbar_vote_alreadyvoted_alpha 0.75 "alpha of the vote dialog after you have voted"\r
1242 seta sbar_portrait 1 "enables portraits"\r
1243 seta sbar_portrait_time 5 "how long a portrait lasts on the screen"\r
1244 seta sbar_portrait_fade 0.1 "amount of time fading the portrait takes from total time"\r
1245 \r
1246 // for menu server list (eventually make them have engine support?)\r
1247 seta menu_slist_showfull 1 "show servers even if they are full and have no slots to join"\r
1248 seta menu_slist_showempty 1 "show servers even if they are no empty and have no opponents to play against"\r
1249 set menu_slist_modfilter "=" // set to either: !modname or modname. modname of = means "same as we are running now".\r
1250 \r
1251 seta menu_maxplayers 16 "maxplayers value when the menu starts a game"\r
1252 \r
1253 // command executed before loading a map by the menu\r
1254 // makes sure maxplayers is at least minplayers or bot_number + 1\r
1255 alias _menu_loadmap_prepare_maxpl "maxplayers $_menu_loadmap_maxplayers"\r
1256 alias menu_loadmap_prepare "disconnect; wait; g_campaign 0; menu_cmd rpn /_menu_loadmap_maxplayers menu_maxplayers minplayers bot_number 1 add max max def; _menu_loadmap_prepare_maxpl; g_maplist_shufflenow"\r
1257 \r
1258 // useful vote aliases\r
1259 set timelimit_increment 5\r
1260 set timelimit_decrement 5\r
1261 set timelimit_min 5\r
1262 set timelimit_max 60\r
1263 alias extendmatchtime "sv_cmd rpn /timelimit timelimit timelimit_max timelimit timelimit_increment add bound def"\r
1264 alias reducematchtime "sv_cmd rpn /timelimit timelimit timelimit_decrement sub timelimit_min timelimit bound def"\r
1265 alias endmatch "timelimit -1"\r
1266 \r
1267 // useful keybind to maximize the chat area temporarily\r
1268 set _backup_con_chatvars_set 0\r
1269 alias _restore_con_chatvars_0 ""\r
1270 alias _restore_con_chatvars_1 "set _backup_con_chatvars_set 0; con_chatpos $_backup_con_chatpos; con_chat $_backup_con_chat; con_notify $_backup_con_notify; con_chattime $_backup_con_chattime; cl_deathscoreboard $_backup_cl_deathscoreboard; scr_centertime $_backup_scr_centertime;r_track_sprites $_backup_r_track_sprites"\r
1271 alias _restore_con_chatvars "_restore_con_chatvars_$_backup_con_chatvars_set"\r
1272 alias _backup_con_chatvars_0 "set _backup_con_chatvars_set 1; set _backup_con_chatpos $con_chatpos; set _backup_con_chat $con_chat; set _backup_con_notify $con_notify; set _backup_con_chattime $con_chattime; set _backup_cl_deathscoreboard $cl_deathscoreboard; set _backup_scr_centertime $scr_centertime;set _backup_r_track_sprites $r_track_sprites"\r
1273 alias _backup_con_chatvars_1 ""\r
1274 alias _backup_con_chatvars "_backup_con_chatvars_$_backup_con_chatvars_set"\r
1275 alias +con_chat_maximize "_backup_con_chatvars; con_chatpos -9; con_chat 100; con_notify 0; con_chattime 3600; cl_deathscoreboard 0; scr_centertime 0; r_track_sprites 0"\r
1276 alias -con_chat_maximize "_restore_con_chatvars"\r
1277 \r
1278 // tab completion\r
1279 set con_completion_playdemo     *.dem\r
1280 set con_completion_timedemo     *.dem\r
1281 set con_completion_ply          *.dem\r
1282 set con_completion_tdem         *.dem\r
1283 set con_completion_exec         *.cfg\r
1284 set con_completion_chmap        map\r
1285 set con_completion_gotomap      map\r
1286 set con_completion_vmap         map\r
1287 set con_completion_vnextmap     map\r
1288 set con_completion_vdomap       map\r
1289 \r
1290 // these non-saved engine cvars shall be savedG\r
1291 seta cl_port $cl_port\r
1292 seta r_showsurfaces $r_showsurfaces\r
1293 seta r_ambient $r_ambient\r
1294 seta skill $skill\r
1295 seta gl_finish $gl_finish\r
1296 seta v_kicktime $v_kicktime\r
1297 seta r_subdivisions_tolerance $r_subdivisions_tolerance\r
1298 \r
1299 // create CSQC physics cvars at normal defaults\r
1300 set cl_movement_crouchvelocity 0.5\r
1301 set sv_crouchvelocity 0.5\r
1302 \r
1303 // ticrate\r
1304 sys_ticrate 0.0166667\r
1305 cl_netfps 60 // should match\r
1306 sv_gameplayfix_delayprojectiles 0\r
1307 sv_gameplayfix_q2airaccelerate 1\r
1308 sv_gameplayfix_stepmultipletimes 1\r
1309 \r
1310 // delay for "kill" to prevent abuse\r
1311 set g_balance_kill_delay 2\r
1312 set g_balance_kill_antispam 5\r
1313 \r
1314 // this feature is currently buggy in the engine (it appears to PREVENT any dropping in lots of maps, leading to weirdly aligned entities, and in some cases even CAUSES them to drop through solid, like in facing worlds nex)\r
1315 sv_gameplayfix_droptofloorstartsolid 0\r
1316 \r
1317 seta gl_texturecompression 0\r
1318 gl_texturecompression_color 1\r
1319 gl_texturecompression_gloss 1\r
1320 gl_texturecompression_glow 1\r
1321 gl_texturecompression_lightcubemaps 1\r
1322 gl_texturecompression_q3bsplightmaps 0\r
1323 gl_texturecompression_sky 1\r
1324 \r
1325 set menu_mouse_absolute 0       "TODO make this seta if the engine understands this right"\r
1326 seta menu_mouse_speed 1 "speed multiplier for the mouse in the menu (does not affect in-game aiming)"\r
1327 set menu_use_default_hostname 0\r
1328 alias sethostname "set menu_use_default_hostname 0; hostname $*"\r
1329 \r
1330 // force fog for people who turn it off in game (set this to like 5 if you suspect people are "cheating" that way)\r
1331 set sv_foginterval 0\r
1332 \r
1333 // Audio track names (for old-style "cd loop NUMBER" usage)\r
1334 set g_cdtracks_remaplist "dark_intro feeding_frenzy digital-pursuit brokenlight ninesix sixtyfour_revisited infiltrator contemplation covert_operations determination stone_fortress high_tech_lab attack space_walk meltdown inner-peace out-there echelon techno_geek neon variable quiet boss_theme ghost-town" "list used by mapinfo system to automatically assign cdtracks - must match the cd remap command"\r
1335 set g_cdtracks_dontusebydefault "" "list used by mapinfo system to automatically assign cdtracks - must be a subset of g_cdtracks_remaplist"\r
1336 cd remap $g_cdtracks_remaplist\r
1337 seta cl_intermission 1 "play intermission music"\r
1338 seta cl_intermission_cdtrack_win "win_music"\r
1339 seta cl_intermission_cdtrack_lose "lose_music"\r
1340 seta menu_cdtrack dark_intro\r
1341 \r
1342 // maxidle (in seconds): kick players idle for more than that amount of time\r
1343 set sv_maxidle 0\r
1344 // when sv_maxidle is not 0, assume spectators are idle too\r
1345 set sv_maxidle_spectatorsareidle 0\r
1346 \r
1347 // CTF capture limit placeholder cvar\r
1348 set capturelimit 0\r
1349 \r
1350 // sbar: font size\r
1351 seta sbar_fontsize 11\r
1352 seta sbar_fontsize_spec 16\r
1353 seta scr_centersize 11\r
1354 seta sbar_width 420\r
1355 // alias sbar_font "loadfont user1 ${1},gfx/fallback ${2-}; loadfont user2 ${1}-big ${2-}; sbar_columns_set"\r
1356 alias sbar_font "set _requested_sbar_font \"${*}\""\r
1357 seta sbar_columns default\r
1358 sbar_font gfx/vera-sans 8 12 16 24 32\r
1359 seta sbar_showbinds 1   "display actions / bound keys in the strings shown during the game. 0 displays only actions, 1 displays only bound keys, 2 displays both"\r
1360 seta sbar_showbinds_limit 2     "maximum number of bound keys to show for an action. 0 for unlimited"\r
1361 \r
1362 // these entities are not referenced by anything directly, they just represent\r
1363 // teams and are found by find() when needed\r
1364 prvm_leaktest_ignore_classnames "ctf_team dom_team tdm_team"\r
1365 \r
1366 sv_allowdownloads_inarchive 1 // for csprogs.dat\r
1367 \r
1368 set g_jump_grunt 1      "Do you make a grunting noise every time you jump? Is it the same grunting noise every time?"\r
1369 \r
1370 alias allready "sv_cmd allready"\r
1371 \r
1372 // note: these cvars use weapon NUMBERS. Use the menu to edit this cvar, or look the numbers up in qcsrc/common/constants.qh.\r
1373 seta cl_weaponpriority "hook" "weapon priority list"\r
1374 seta cl_weaponpriority_useforcycling 0 "when set, weapon cycling by the mouse wheel makes use of the weapon priority list"\r
1375 \r
1376 seta sv_status_privacy 1        "hide IP addresses from \"status\" replies shown to clients"\r
1377 \r
1378 \r
1379 seta cl_teamradar 1     "show radar in teammatches when available"\r
1380 seta cl_teamradar_background_alpha 0.6  "set to -1 to disable"\r
1381 seta cl_teamradar_foreground_alpha 0.8  "alpha of the map"\r
1382 seta cl_teamradar_scale 4096 "distance you can see on the team radar"\r
1383 seta cl_teamradar_rotation 0    "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north"\r
1384 seta cl_teamradar_size "128 128" "size of the team radar in pixels"\r
1385 seta cl_teamradar_position "1 0" "1 0 would be upper right corner, 0.5 0.5 the center, append a 2 at the end to disable the corner hack, and a 1 to disable half the hack"\r
1386 seta cl_teamradar_zoommode 0    "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out"\r
1387 alias cl_teamradar_rotate "toggle cl_teamradar_rotation 0 1 2 3 4"\r
1388 \r
1389 set g_maplist_allow_hidden 0            "allow hidden maps to be, e.g., voted for and in the maplist"\r
1390 set g_maplist_allow_frustrating 0       "allow impossible maps to be, e.g., voted for and in the maplist (if set to 2, ONLY impossible maps are allowed)"\r
1391 \r
1392 seta g_start_delay 0    "delay before the game starts, so everyone can join; recommended to set this to like 15 on a public server"\r
1393         if_dedicated set g_start_delay 15\r
1394 \r
1395 alias ons_map           "cl_cmd radar" // legacy alias\r
1396 alias radar             "cl_cmd radar"\r
1397 alias sbar_columns_set  "cl_cmd sbar_columns_set $*"\r
1398 alias sbar_columns_help "cl_cmd sbar_columns_help $*"\r
1399 \r
1400 alias _gl_flashblend_update_00 "gl_flashblend 1"\r
1401 alias _gl_flashblend_update_10 "gl_flashblend 0"\r
1402 alias _gl_flashblend_update_01 "gl_flashblend 0"\r
1403 alias _gl_flashblend_update_11 "gl_flashblend 0"\r
1404 alias gl_flashblend_update "_gl_flashblend_update_$r_shadow_realtime_dlight$r_showsurfaces"\r
1405 \r
1406 set sv_clones 0 "number of clones a player may make (reset by the \"kill\" command)"\r
1407 \r
1408 set cl_handicap 1       "the higher, the more damage you will receive (client setting)"\r
1409 \r
1410 seta cl_clippedspectating 1 "movement collision for spectators so that you can't pass through walls and such. (client setting) NOTE: reconnect or use sendcvar command to update the choice." \r
1411 \r
1412 // must be at the bottom of this file:\r
1413 // alias for switching the teamselect menu\r
1414 alias menu_showteamselect "menu_cmd directmenu TeamSelect"\r
1415 alias menu_sync "menu_cmd sync"\r
1416 bind f5 menu_showteamselect\r
1417 \r
1418 set g_bugrigs 0\r
1419 set g_bugrigs_planar_movement 1 "BROTRR bug emulation"\r
1420 set g_bugrigs_planar_movement_car_jumping 1     "my own bug"\r
1421 set g_bugrigs_reverse_speeding 1        "BROTRR bug emulation"\r
1422 set g_bugrigs_reverse_spinning 1        "BROTRR bug emulation"\r
1423 set g_bugrigs_reverse_stopping 1        "BROTRR bug emulation"\r
1424 set g_bugrigs_air_steering 1    "NFS bug emulation"\r
1425 set g_bugrigs_angle_smoothing 5 "smooth the car angle a bit, looks nice"\r
1426 set g_bugrigs_friction_floor 50 "units/sec friction on floor"\r
1427 set g_bugrigs_friction_brake 950        "units/sec friction for braking"\r
1428 set g_bugrigs_friction_air 0.00001      "(very small) v <- v - v^2 * g_bugrigs_friction_air"\r
1429 set g_bugrigs_accel 800 "acceleration"\r
1430 set g_bugrigs_speed_ref 400     "reference speed for accel and steer responsiveness"\r
1431 set g_bugrigs_speed_pow 2       "reference power for accel and steer responsiveness"\r
1432 set g_bugrigs_steer 1   "steering amount"\r
1433 \r
1434 set g_touchexplode 0\r
1435 set g_touchexplode_radius 50\r
1436 set g_touchexplode_damage 10\r
1437 set g_touchexplode_edgedamage 0\r
1438 set g_touchexplode_force 150\r
1439 \r
1440 set g_ban_sync_uri ""   "sync using this ban list provider (empty string to disable)"\r
1441 set g_ban_sync_interval 5       "sync every 5 minutes"\r
1442 set g_ban_sync_trusted_servers ""       "request ban lists from these voretournament servers (do not include your own server there, or unbanning may fail)"\r
1443 set g_ban_sync_timeout 45       "time out in seconds for the ban sync requests"\r
1444 set g_ban_sync_trusted_servers_verify 0 "when set to 1, additional bans sent by the servers are ignored, and only bans for the requested IP are used"\r
1445 \r
1446 set g_showweaponspawns 0        "1: display sprites for weapon spawns found on the map when a weapon key is pressed and the weapon is not available"\r
1447 \r
1448 alias records "cmd records"\r
1449 alias rankings "cmd rankings"\r
1450 \r
1451 // ballistics use physical units, but qu based\r
1452 //   Quake-Newton: 1 qN  = 1 qu * 1 g / 1 s^2\r
1453 //   Quake-Joule:  1 qJ  = 1 qN * 1 qu\r
1454 //   Quake-Pascal: 1 qPa = 1 qN / 1 qu^2\r
1455 \r
1456 set g_ballistics_materialconstant 1414213562\r
1457 set g_ballistics_mindistance 16\r
1458 // unit: qJ / qu^3 (energy needed per volume unit of solid to push/burn away\r
1459 // parameter: bullet constant: mass / area in g/qu^2\r
1460 // = mass / (pi/4 * caliber^2)\r
1461 // with caliber in inches, mass in grams:\r
1462 // = 1.273239544735163 * mass / caliber^2\r
1463 // with caliber in inches, mass in grains:\r
1464 // = 0.082633246453312 * mass / caliber^2\r
1465 \r
1466 // bullet max travel distance inside solid:\r
1467 //   0.5 * v^2 * bulletconstant / g_ballistics_materialconstant\r
1468 \r
1469 // some bullet constants:\r
1470 //   http://hypertextbook.com/facts/2000/ShantayArmstrong.shtml\r
1471 //     second bullet: caliber .45, mass 16.2g, bullet constant 101.859163578813\r
1472 //     third bullet: caliber .338, mass 16.2g, bullet constant 180.5476053421592\r
1473 //     fourth bullet: caliber .25, mass 2.3g, bullet constant 46.85521524625399\r
1474 //   http://en.wikipedia.org/wiki/.50_BMG\r
1475 //     caliber .5, 360 grains, bullet constant 118.9918748927693\r
1476 //   AK-47:\r
1477 //     caliber .3, 62 grains, bullet constant 56.92512533450383\r
1478 //   .3 winchester magnum:\r
1479 //     caliber .3, 150 grains, bullet constant 137.7220774221867\r
1480 \r
1481 set cl_stripcolorcodes 0        "experimental feature (notes: strips ALL color codes from messages!)"\r
1482 \r
1483 sv_status_show_qcstatus 1       "Voretournament uses this field instead of frags"\r
1484 set g_full_getstatus_responses 0        "this currently breaks qstat"\r
1485 \r
1486 // Demo camera\r
1487 set camera_enable               0       "Enables the camera for demo playback"\r
1488 set camera_free                 0       "Free camera instead of chasing the player"\r
1489 set camera_reset                0       "Resets the camera position and switch to chase mode"\r
1490 set camera_speed_roll           0.9     "Camera rotation speed"\r
1491 set camera_speed_chase          4       "Camera movement speed on the x/y/z axis while chasing the player"\r
1492 set camera_speed_free           8       "Camera movement speed on the x/y/z axis in free mode"\r
1493 set camera_speed_attenuation    10      "Camera movements attenuation factor. Bigger is smoother. Applies to mouse movements"\r
1494 set camera_mouse_treshold       0.5     "Use to ignore small mouse movements. This allows for smoother camera control"\r
1495 set camera_chase_smoothly       0       "Attenuate player movements (only in chase mode)"\r
1496 set camera_look_player          0       "Always look to the player. Mouse input is ignored in this mode"\r
1497 set camera_look_attenuation     8       "Attenuation of \"looking\" movements, only if camera_look_player is set. Bigger is smoother"\r
1498 set camera_forward_follows      1       "0: Move the camera forwards without changing altitude. 1: Move towards what you are looking"\r
1499 \r
1500 // "Gentle mode": show no blood\r
1501 seta sv_gentle 0        "force gentle mode for everyone, also remove references to acts of killing from the messages"\r
1502 seta cl_gentle 0        "client side gentle mode (only replaces gibs); when set to 1, white smoke replaces gibs, when set to 2, colorful clouds replace gibs"\r
1503 \r
1504 seta cl_racetimer_position 0.25 "Y-axis positioning of the race timer (from 0 to 1)"\r
1505 seta cl_showpressedkeys 0       "Show which movement keys someone is pressing: 1 for spectating, 2 for always"\r
1506 seta cl_showpressedkeys_position "0.5 0.8"      "1 0 would be upper right corner, 0.5 0.5 the center"\r
1507 \r
1508 seta cl_showspeed 0 "show the XY speed of the player"\r
1509 seta cl_showspeed_unit 0 "unit selection (0 = qu/s (no postfix), 1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots)"\r
1510 seta cl_showspeed_z 0 "include the speed on the Z-axis"\r
1511 seta cl_showspeed_size 30 "size of the numbers"\r
1512 seta cl_showspeed_position 0.7 "Y-axis positioning of the numbers"\r
1513 \r
1514 seta cl_showacceleration 0 "show the XY acceleration of the player"\r
1515 seta cl_showacceleration_z 0 "include the speed on the Z-axis"\r
1516 seta cl_showacceleration_size 40 "height of the bar"\r
1517 seta cl_showacceleration_scale 5 "X-axis scale of the bar"\r
1518 seta cl_showacceleration_alpha 0.5 "alpha of the bar"\r
1519 seta cl_showacceleration_color_custom 0 "0 = dynamic color depending on acceleration, 1 = use custom color"\r
1520 seta cl_showacceleration_color "1 0 0" "color of the bar, needs cl_showacceleration_color_custom to be 1"\r
1521 seta cl_showacceleration_position 0.6 "Y-axis positioning of the bar"\r
1522 \r
1523 set g_jetpack 0 "Jetpack mutator (uses the hook's button, can't coexist with the offhand hook, but only with the onhand one)"\r
1524 \r
1525 set g_running_guns 0 "... or wonder, till it drives you mad, what would have followed if you had."\r
1526 \r
1527 set cl_effects_lightningarc_simple 0\r
1528 set cl_effects_lightningarc_segmentlength 64\r
1529 set cl_effects_lightningarc_drift_start 0.45\r
1530 set cl_effects_lightningarc_drift_end 0.1\r
1531 set cl_effects_lightningarc_branchfactor_start 0.25\r
1532 set cl_effects_lightningarc_branchfactor_add 0.1\r
1533 \r
1534 set g_hitplots 0 "when set to 1, hitplots are stored by the server to provide a means of proving that a triggerbot was used"\r
1535 seta g_hitplots_individuals "" "the individuals, by IP, that should have their hitplots recorded"\r
1536 alias g_hitplots_add "qc_cmd rpn /g_hitplots_individuals g_hitplots_individuals $1 union def"\r
1537 alias g_hitplots_remove "qc_cmd rpn /g_hitplots_individuals g_hitplots_individuals $1 difference def"\r
1538 \r
1539 alias mute "prvm_edictset server $1 muted 1" // I am lazy and not making an actual command of this\r
1540 alias unmute "prvm_edictset server $1 muted 0" // dito\r
1541 \r
1542 rcon_secure 1\r
1543 \r
1544 set menu_updatecheck 1\r
1545 \r
1546 // broken, sorry (cannot handle weapon attachment properly)\r
1547 //seta cl_forceplayermodels 0 "force all players to look like you; WARNING: animations can look very bad with this"\r
1548 //seta cl_forceplayermodelsfromvoretournament 0 "force models coming from voretournament; WARNING: animations can look very bad with this"\r
1549 //set sv_clforceplayermodels 1 "allow clients to use cl_forcemodels"\r
1550 \r
1551 set g_mapinfo_settemp_acl "+*" "ACL for mapinfo setting cvars"\r
1552 \r
1553 // hooks\r
1554 alias _cl_hook_gamestart "set _cl_hook_gametype $1; _cl_hook_gamestart_stage2"\r
1555 alias _cl_hook_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}"\r
1556 alias _cl_hook_campaign_gamestart "set _cl_hook_gametype $1; _cl_hook_campaign_gamestart_stage2"\r
1557 alias _cl_hook_campaign_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}"\r
1558 alias cl_hook_gamestart_all\r
1559 alias cl_hook_gamestart_nop  //is only called when CSQC unloads before knowing the gametype, very unlikely\r
1560 alias cl_hook_gamestart_dm\r
1561 alias cl_hook_gamestart_tdm\r
1562 alias cl_hook_gamestart_dom\r
1563 alias cl_hook_gamestart_ctf\r
1564 alias cl_hook_gamestart_lms\r
1565 alias cl_hook_gamestart_arena\r
1566 alias cl_hook_gamestart_ca\r
1567 alias cl_hook_gamestart_kh\r
1568 alias cl_hook_gamestart_ons\r
1569 alias cl_hook_gamestart_as\r
1570 alias cl_hook_gamestart_rc\r
1571 alias cl_hook_gamestart_cts\r
1572 alias cl_hook_gamestart_rpg\r
1573 alias cl_hook_gameend\r
1574 alias cl_hook_campaign_gameend\r
1575 \r
1576 alias _sv_hook_gamestart "set _sv_hook_gametype $1; _sv_hook_gamestart_stage2"\r
1577 alias _sv_hook_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}"\r
1578 alias _sv_hook_campaign_gamestart "set _sv_hook_gametype $1; _sv_hook_campaign_gamestart_stage2"\r
1579 alias _sv_hook_campaign_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}"\r
1580 alias sv_hook_gamestart_all\r
1581 alias sv_hook_gamestart_dm\r
1582 alias sv_hook_gamestart_tdm\r
1583 alias sv_hook_gamestart_dom\r
1584 alias sv_hook_gamestart_ctf\r
1585 alias sv_hook_gamestart_lms\r
1586 alias sv_hook_gamestart_arena\r
1587 alias sv_hook_gamestart_ca\r
1588 alias sv_hook_gamestart_kh\r
1589 alias sv_hook_gamestart_ons\r
1590 alias sv_hook_gamestart_as\r
1591 alias sv_hook_gamestart_rc\r
1592 alias sv_hook_gamestart_cts\r
1593 alias sv_hook_gamestart_rpg\r
1594 alias sv_hook_gamerestart\r
1595 alias sv_hook_gameend\r
1596 alias sv_hook_campaign_gameend\r
1597 \r
1598 seta cl_casings_maxcount 100 "maximum amount of shell casings (must be at least 1)"\r
1599 seta cl_gibs_maxcount 100 "maximum amount of gibs (must be at least 1)"\r
1600 seta cl_vehicle_spiderbot_cross_alpha 0.6\r
1601 seta cl_vehicle_spiderbot_cross_size 1\r
1602 \r
1603 //cl_gunalign calculator\r
1604 seta menu_cl_gunalign 3 "Gun alignment; 1 = right, 2 = left, 3 = center or right, 4 = center or left"\r
1605 alias _gunalign_01 "cl_gunalign 1"\r
1606 alias _gunalign_02 "cl_gunalign 2"\r
1607 alias _gunalign_03 "cl_gunalign 3"\r
1608 alias _gunalign_04 "cl_gunalign 4"\r
1609 alias _gunalign_11 "cl_gunalign 2"\r
1610 alias _gunalign_12 "cl_gunalign 1"\r
1611 alias _gunalign_13 "cl_gunalign 4"\r
1612 alias _gunalign_14 "cl_gunalign 3"\r
1613 alias _gunalign_update "_gunalign_$v_flipped$menu_cl_gunalign"\r
1614 \r
1615 set _menu_alpha "" // will be set by menu QC to the current fading of the menu, can be used by CSQC to fade items\r
1616 \r
1617 set g_triggerimpulse_accel_power 1 "trigger_impulse accelerator power (applied BEFORE the multiplier)"\r
1618 set g_triggerimpulse_accel_multiplier 1 "trigger_impulse accelerator multiplier (applied AFTER the power)"\r
1619 set g_triggerimpulse_directional_multiplier 1 "trigger_impulse directional field multiplier"\r
1620 set g_triggerimpulse_radial_multiplier 1 "trigger_impulse radial field multiplier"\r
1621 \r
1622 seta g_ghost_items 1 "enable ghosted items (when between 0 and 1, overrides the alpha value)"\r
1623 seta g_ghost_items_color "-1 -1 -1" "color of ghosted items, 0 0 0 leaves the color unchanged"\r
1624 \r
1625 seta cl_vore_stomachmodel 1 "when enabled, we see the stomach model around us when eaten. -1 = disabled, 1 = enabled, anything between = alpha"\r
1626 seta cl_vore_swallowmodel 1 "when enabled, we see the swallow model around us while getting eaten. -1 = disabled, 1 = enabled, anything between = alpha"\r
1627 seta cl_vore_cutvolume_sound 0.90 "sound volume is reduced by this amount when you are in a stomach or being swallowed"\r
1628 seta cl_vore_cutvolume_music 0.75 "music volume is reduced by this amount when you are in a stomach or being swallowed"\r
1629 seta cl_vore_autodigest 2 "when enabled, the player will automatically begin digesting stuff as long as no team mates are inside. 0 = disabled, 1 = items, 2 = items & players"\r
1630 seta cl_vore_vieweffects_idlescale_predator 35 "the view will move around by this ammount while swallowing someone (based on progress), reserves the cvar v_idlescale"\r
1631 seta cl_vore_vieweffects_idlescale_prey 50 "the view will move around by this ammount while being swallowed (based on progress), reserves the cvar v_idlescale"\r
1632 seta cl_vore_vieweffects_idlescale_stomach 15 "the view will move around by this ammount while in the stomach, reserves the cvar v_idlescale"\r
1633 set g_vore 1 "enables the vore system, you want this on!"\r
1634 set g_vore_digestion 1 "enables digestion system, you want this on!"\r
1635 set g_vore_kick 1 "enables stomach kick system, you want this on!"\r
1636 set g_vore_spawnshield 0 "when disabled, players with spawn shields cannot be swallowed"\r
1637 set g_vore_reversescoring 0 "reverses vore scoring, and gives digested prey a frag rather than the predator (offer yourself gameplay), does not affect suicides, weapon kills and team kills"\r
1638 set g_vore_teamvore 1 "allow players to swallow their team mates"\r
1639 set g_vore_biggergut 0 "when enabled, a player can't swallow someone with more players in their stomach than them"\r
1640 set g_vore_biggersize 0 "when enabled, a player can't swallow someone larger than them, when g_healthsize is enabled"\r
1641 set g_vore_showhealth 1 "when enabled, a predator can see their prey's health on the stomach board, and prey can see the health of players he's joining in the stomach"\r
1642 set g_vore_gurglesound 1 "predators make an ambient gurgling sound"\r
1643 set g_vore_soundocclusion 0.25 "directional player sounds are cut to this amount of their initial volume for eaten players (simulates hearing harder from the stomach)"\r
1644 set g_vore_regurgitatecolor_color_normal "0.6 0.4 0" "the color players will have when regurgitated without having been digested"\r
1645 set g_vore_regurgitatecolor_color_digest "0.3 0.15 0" "the color players will have when regurgitated after having been digested"\r
1646 set g_vore_regurgitatecolor_fade 0.01 "how quickly the regurgitation color washes off players once they leave the stomach, does not apply to dead bodies"\r
1647 set g_vore_regurgitatecolor_particles 0.75 "players who are dirty from regurgitation generate particles this often, based on the amount of goo they have on them"\r
1648 set g_vore_neighborprey_distance 4 "Distance by which prey inside the same stomach are positioned away from each other. 0 disables seeing neighboring prey"\r
1649 set g_vore_neighborprey_distance_item 16 "Distance by which items inside the same stomach are positioned away from each other. 0 disables seeing neighboring items"\r
1650 set g_vore_swallowmodel_range 100 "Distance by which the swallow model oscillates based on swallow progress"\r
1651 set g_vore_swallowfade 1 "Players fade out while being swallowed"\r
1652 \r
1653 seta cl_healthsize_fov 0.2 "offset field of view by this amount based on size, to further induce the effect of being large or small"\r
1654 set g_healthsize 1 "Players shrink and grow based on health, by this amount"\r
1655 set g_healthsize_center 100 "Health at which the player has the default size"\r
1656 set g_healthsize_min 50 "Player size may not drop below this amount of health"\r
1657 set g_healthsize_max 150 "Player size may not grow past this amount of health"\r
1658 set g_healthsize_death 0.25 "Dead players are further shrunken by this amount"\r
1659 set g_healthsize_death_min -100 "Health at which dead players stop being shrunken"\r
1660 set g_healthsize_movementfactor 0.5 "Amount by which player size affects jumping and running"\r
1661 set g_healthsize_viewfactor 2 "The view is offset by this amount based on player size"\r
1662 set g_healthsize_soundfactor 0.5 "The sounds players make are amplified or reduced by this amount based on their size"\r
1663 set g_healthsize_exteriorweapon_scalefactor 1 "Amount by which player size resizes the exterior weapon model"\r
1664 set g_healthsize_weapon_scalefactor 1 "Amount by which player size resizes the view weapon model"\r
1665 set g_healthsize_weapon_scalefactor_pos 6 "Amount by which the view model is moved vertically based on player size"\r
1666 \r
1667 set g_power 5 "when armor is below this level, the HUD, crosshair and helper will not work"\r
1668 set g_power_reboot 2 "amount of time it takes to boot a player's subsystems once he has enough armor"\r
1669 set g_power_reboot_spawn 1 "when enabled, a player's subsystems must boot whenever he spawns"\r
1670 \r
1671 // part of an ugly hack for the menu audio sliders to work with the cutsound feature\r
1672 seta menu_volume 1\r
1673 seta menu_bgmvolume 0.5\r
1674 set volume $menu_volume\r
1675 set bgmvolume $menu_bgmvolume\r
1676 set mastervolume 1.4\r
1677 \r
1678 seta menu_fov 90\r
1679 \r
1680 set sv_weaponstats_damagefile "" "when set to a file name, per-weapon damage stats get written to that file"\r
1681 set sv_weaponstats_killfile "" "when set to a file name, per-weapon kill stats get written to that file"\r
1682 \r
1683 seta cl_noantilag 0 "turn this on if you believe antilag is bad"\r
1684 \r
1685 set sv_pitch_min -35 "minimum aiming angle for shooting direction display of the gun"\r
1686 set sv_pitch_max  35 "maximum aiming angle for shooting direction display of the gun"\r
1687 set sv_pitch_fixyaw 1 "workaround to fix the aiming direction on stupidly made player models, FIXME fix the models and set this to 0"\r
1688 \r
1689 set rescan_pending 0 "set to 1 to schedule a fs_rescan at the end of this match"\r
1690 \r
1691 seta g_mapinfo_allow_unsupported_modes_and_let_stuff_break "0" "set to 1 to be able to force game types using g_ cvars even if the map does not support them"\r
1692 \r
1693 // weapon accuracy stats\r
1694 set sv_accuracy_data_share 1 "1 send weapon accuracy data statistics to spectating clients, depends on cl_accuracy_data_share"\r
1695 set sv_accuracy_data_send 1 "1 send weapon accuracy data statistics and improved score info to all the clients at the end of the match, depends on cl_accuracy_data_receive, 0 send the current 'player has won' to all the clients"\r
1696 set cl_accuracy_data_share 0 "1 share my weapon accuracy data statistics with other players, 0 keep my weapon accuracy data statistics hidden"\r
1697 set cl_accuracy_data_receive 0 "1 receive weapon accuracy data statistics at the end of the match"\r
1698 \r
1699 set developer_fteqccbugs 0 "check fteqcc bugs on startup"\r
1700 set _allow_unacceptable_compiler_bugs 0 "don't bail out if certain bugs are detected (HANDLE WITH CARE)"\r
1701 set spawn_debug 0 "use all spawns one by one, then abort, to verify all spawnpoints"\r
1702 set loddebug 0 "force this LOD level"\r
1703 set spawn_debugview 0 "display spawnpoints and their rating on spawn to debug spawnpoint rating calculation"\r
1704 set g_mutatormsg "" "mutator message"\r
1705 set speedmeter 0 "print landing speeds"\r
1706 set developer_shtest 0 "experimental speedhack detection"\r
1707 set waypoint_benchmark 0 "quit after waypoint loading to benchmark bot navigation code"\r
1708 set g_debug_bot_commands 0 "print scripted bot commands before executing"\r
1709 \r
1710 // debug cvars for keyhunt attaching\r
1711 set _angles "0 0 0"\r
1712 set _origin "0 0 0"\r
1713 \r
1714 // campaign internal, set when loading a campaign map1G\r
1715 set _campaign_index ""\r
1716 set _campaign_name ""\r
1717 \r
1718 // define some engine cvars that we need even on dedicated server\r
1719 set r_showbboxes 0\r
1720 \r
1721 // we REALLY need the end pos nudging DP bug workaround for trace-to-end-of-solid to work\r
1722 collision_endposnudge 1\r
1723 \r
1724 // animation tuning\r
1725 set cl_lerpanim_maxdelta_framegroups 0.05 // must be faster than fastest weapon refire\r
1726 set cl_lerpanim_maxdelta_server 0.1 // must be slower than slowest server controlled anim (e.g. animinfo stuff)\r
1727 \r
1728 // sucks less than the old one\r
1729 seta cl_decals_newsystem 1\r
1730 seta cl_decals_models 0\r
1731 \r
1732 // FIXME temporary\r
1733 set menu_font_size_snapping_fix 1\r
1734 \r
1735 // player ID\r
1736 seta _cl_userid "" "player ID (e.g. for tournaments)"\r
1737 \r
1738 // FIXME workaround for engine bug\r
1739 sv_gameplayfix_nudgeoutofsolid 0\r
1740 // to div0: remove this once 5b7ac1706712977bbc0297d2d53294e73574c7cd (svn r9537) is in the stable branch of the engine again\r
1741 \r
1742 // otherwise, antilag breaks\r
1743 sv_gameplayfix_consistentplayerprethink 1\r
1744 \r
1745 // support Q1BSP maps\r
1746 mod_q1bsp_polygoncollisions 1\r
1747 \r
1748 // improve some minor details\r
1749 sv_gameplayfix_gravityunaffectedbyticrate 1\r
1750 sv_gameplayfix_nogravityonground 1\r
1751 \r
1752 scr_conalpha 0.75\r
1753 scr_conalpha2factor 1\r
1754 scr_conalpha3factor 0.5\r
1755 scr_conalphafactor 1\r
1756 scr_conbrightness 0.5\r
1757 scr_conforcewhiledisconnected 1\r
1758 scr_conscroll2_x 0\r
1759 scr_conscroll2_y 0\r
1760 scr_conscroll3_x 0\r
1761 scr_conscroll3_y 0\r
1762 scr_conscroll_x -0.05\r
1763 scr_conscroll_y -0.15\r
1764 \r
1765 // loading screen\r
1766 scr_loadingscreen_scale 1\r
1767 scr_loadingscreen_scale_base 1\r
1768 scr_loadingscreen_scale_limit 1\r
1769 scr_loadingscreen_background 0\r
1770 scr_loadingscreen_barcolor "0.5 1 0"\r
1771 scr_loadingscreen_barheight 12\r
1772 scr_loadingscreen_count 2\r
1773 scr_conforcewhiledisconnected 0\r
1774 scr_infobar_height 16\r
1775 \r
1776 // DP cannot properly detect this, so rather turn off the detection\r
1777 r_texture_dds_load_dxt1_noalpha 1\r
1778 r_texture_dds_load_swdecode 1 // SW decode to quarter res if we want to load DDS but don't support the extension for it\r
1779 r_texture_dds_load_logfailure 0 // this engine feature SUCKS\r
1780 set vid_netwmfullscreen 0 // doesn't support non-native res\r
1781 \r
1782 // particles optimization\r
1783 r_drawparticles_nearclip_min 8\r
1784 r_drawparticles_nearclip_max 16\r
1785 \r
1786 // exact gloss looks better\r
1787 r_shadow_glossexact 1\r
1788 r_shadow_glossintensity 3\r
1789 r_shadow_glossexponent 32\r
1790 \r
1791 // use fake light if map has no lightmaps\r
1792 r_fakelight 1\r
1793 \r
1794 // equalize looks better than fullbright\r
1795 r_equalize_entities_fullbright 1\r
1796 \r
1797 // UTF-8\r
1798 utf8_enable 1\r
1799 \r
1800 // safe font defaults\r
1801 r_font_hinting 1\r
1802 r_font_disable_freetype 0\r
1803 r_font_size_snapping 4\r
1804 \r
1805 // polygonoffset for submodel SUCKS SUCKS SUCKS (only a hack for quake1, we don't need that)\r
1806 r_polygonoffset_submodel_offset 0\r
1807 r_polygonoffset_submodel_factor 0\r
1808 // decals: need a higher polygonoffset than default to not compete with _decal surfaces too much\r
1809 r_polygonoffset_decals_offset -28\r
1810 r_polygonoffset_decals_factor 0\r
1811 // this is mainly for _decal entities (their shaders should use "polygonoffset" shader parameter) - this is "good enough" as it seems, but smaller than the decals one so these don't zfight decals\r
1812 mod_q3shader_default_polygonoffset -14\r
1813 mod_q3shader_default_polygonfactor 0\r
1814 \r
1815 // sRGB configuration (EXPERIMENTAL, needs maps to be relit)\r
1816 alias sRGBcorrect_on  "r_texture_sRGB_skin_diffuse 1;r_texture_sRGB_skin_gloss 1;r_texture_sRGB_skin_glow 1;r_texture_sRGB_reflect 1;r_texture_sRGB_skybox 1;v_gamma 2.2;r_restart"\r
1817 alias sRGBcorrect_off "r_texture_sRGB_skin_diffuse 0;r_texture_sRGB_skin_gloss 0;r_texture_sRGB_skin_glow 0;r_texture_sRGB_reflect 0;r_texture_sRGB_skybox 0;v_gamma 1.0;r_restart"\r