PDA

View Full Version : Default Config.cfg not so messy anymore


Low
09-17-2007, 06:47 AM
I decided to clean up the default "config.cfg" so that its easier to read instead of having everything in one sentence basically. Surely someone else may find this useful.
Everything is default except for default_fov, mouse sensitivity. and name.


unbindall
bind "TAB" "+showscores"
bind "ENTER" "+attack"
bind "ESCAPE" "cancelselect"
bind "SPACE" "+jump"
bind "'" "+moveup"
bind "+" "sizeup"
bind "-" "sizedown"
bind "/" "+movedown"
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind ";" "+mlook"
bind "=" "sizeup"
bind "[" "invprev"
bind "]" "invnext"
bind "`" "toggleconsole"
bind "a" "+moveleft"
bind "b" "changeclass"
bind "c" "dropitems"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "+gren1"
bind "g" "+gren2"
bind "h" "+hintcenter"
bind "k" "+voicerecord"
bind "l" "impulse 100"
bind "n" "changeteam"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "say_team"
bind "w" "+forward"
bind "x" "discard"
bind "y" "say"
bind "z" "+medengymenu"
bind "}" "}"
bind "~" "toggleconsole"
bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+left"
bind "RIGHTARROW" "+right"
bind "ALT" "+strafe"
bind "CTRL" "+duck"
bind "SHIFT" "+speed"
bind "F3" "askconnect_accept"
bind "F5" "jpeg"
bind "F10" "quit prompt"
bind "INS" "+klook"
bind "PGDN" "+lookdown"
bind "PGUP" "+lookup"
bind "END" "centerview"
bind "MWHEELDOWN" "invnext"
bind "MWHEELUP" "invprev"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+jump"
bind "PAUSE" "pause"
cl_rumblescale "0"
cl_debugrumble "0"
cl_team "default"
cl_class "default"
cl_drawhud "1"
cc_linger_time "1.0"
cc_predisplay_time "0.25"
cc_subtitles "0"
cc_lang ""
crosshair "1"
cl_observercrosshair "1"
cam_snapto "0"
cam_idealyaw "90"
cam_idealpitch "0"
cam_idealdist "64"
c_maxpitch "90"
c_minpitch "0"
c_maxyaw "135"
c_minyaw "-135"
c_maxdistance "200"
c_mindistance "30"
c_orthowidth "100"
c_orthoheight "100"
joy_name "joystick"
joy_forwardthreshold "0.15"
joy_sidethreshold "0.15"
joy_pitchthreshold "0.15"
joy_yawthreshold "0.15"
joy_forwardsensitivity "-1"
joy_sidesensitivity "1"
joy_pitchsensitivity "1"
joy_yawsensitivity "-1"
joy_response_move "1"
joy_response_look "0"
joy_lowend "1"
joy_lowmap "1"
joy_accelscale "0.6"
joy_autoaimdampenrange "0"
joy_autoaimdampen "0"
joy_diagonalpov "0"
joy_display_input "0"
joy_wingmanwarrior_turnhack "0"
cl_upspeed "1000"
cl_forwardspeed "1000"
cl_backspeed "1000"
lookspring "0"
lookstrafe "0"
joystick "0"
m_pitch "0.022"
m_filter "0"
sensitivity "13"
m_side "0.8"
m_yaw "0.022"
m_forward "1"
m_customaccel "0"
m_customaccel_scale "0.04"
m_customaccel_max "0"
m_customaccel_exponent "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
cl_mouselook "1"
cl_idealpitchscale "0.8"
net_graph "1"
net_scale "5"
net_graphpos "2"
net_graphsolid "1"
r_drawviewmodel "1"
voice_modenable "1"
hud_fastswitch "1"
ffdev_disablemuzzleflashes "0"
cl_projectilesdetail "1"
muzzleflash_light "0"
overview_health "1"
overview_names "1"
overview_tracks "1"
overview_locked "1"
overview_alpha "1.0"
spec_scoreboard "0"
cl_spec_mode "1"
cl_spawnslot "0"
cl_classautokill "0"
cl_grenadetimer "default"
cl_ragdoll_deathview "0"
default_fov "120"
cl_effectsdetail "1"
hud_centerid "1"
cl_hints "1"
cl_cmusemouse "1"
cl_cmcapture "1"
cl_cmhidecursor "0"
cl_cmsize "120"
cl_cmbounds "120"
cl_cmprogresstime "0.7"
cl_cmsquash "0.7"
cl_cmhighlightdistance "50"
cl_cmwaitforrelease "1"
cl_cmdefaultactiontime "0.5"
cl_autoreload "1"
commentary_firstrun "0"
scene_showfaceto "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
npc_height_adjust "1"
sv_pvsskipanimation "1"
scene_showlook "0"
scene_showmoveto "0"
commentary "0"
xbox_throttlebias "100"
xbox_throttlespoof "200"
xbox_autothrottle "1"
func_break_max_pieces "15"
suitvolume "0"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_specaccelerate "5"
sv_specspeed "2"
sv_specnoclip "1"
sv_skyname "sky_day01_09"
sv_backspeed "0.6"
sv_mapluasuffix "0"
ff_stats_enable "1"
omnibot_enable "1"
omnibot_path "omni-bot"
omnibot_nav "1"
omnibot_debug "0"
joy_wingmanwarrior_centerhack "0"
joy_axisbutton_threshold "0.3"
voice_forcemicrecord "1"
voice_enable "1"
voice_scale "0.450000"
snd_duckerthreshold "0.15"
snd_duckerreleasetime "2.5"
snd_duckerattacktime "0.5"
snd_ducktovolume "0.55"
adsp_debug "0"
dsp_dist_max "1440.0"
dsp_dist_min "0.0"
snd_mixahead "0.1"
snd_musicvolume "0"
volume "1"
snd_pitchquality "1"
snd_digital_surround "0"
vprof_warningmsec "10"
vprof_unaccounted_limit "0.3"
vprof_verbose "1"
vprof_graphheight "256"
vprof_graphwidth "512"
texture_budget_background_alpha "9999999"
texture_budget_panel_bottom_of_history_fraction ".25"
texture_budget_panel_height "0"
texture_budget_panel_width "0"
texture_budget_panel_y "450"
texture_budget_panel_x "0"
budget_panel_height "384"
budget_panel_width "512"
budget_panel_y "50"
budget_panel_x "0"
budget_background_alpha "0"
budget_bargraph_range_ms "16.6666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_history_range_ms "5"
budget_history_numsamplesvisible "0"
budget_show_history "0"
budget_show_averages "0"
budget_show_peaks "0"
budget_averages_window "0"
budget_peaks_window "0"
budget_bargraph_background_alpha "128"
r_gamma "0.5"
sv_forcepreload "0"
sv_voiceenable "0"
sv_logbans "0"
sv_log_onefile "0"
sv_logecho "1"
sv_logflush "0"
sv_logfile "1"
sv_logsdir "logs"
dsp_enhance_stereo "0"
dsp_volume "0.400000"
dsp_slow_cpu "0"
cl_allowupload "0"
mp_decals "0"
r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.01"
r_ambientfactor "1"
r_ambientfraction "0.1"
r_ambientmin "0.3"
r_ambientboost "0"
r_eyesize "0"
r_eyeshift_z "0"
r_eyeshift_y "0"
r_eyeshift_x "0"
r_eyemove "0"
r_eyegloss "0"
skill "1"
closecaption "0"
con_enable "1"
cl_downloadfilter "nosounds"
cl_allowdownload "0"
cl_forcepreload "1"
cl_soundfile "sound/player/jingle.wav"
cl_logofile "materials/vgui/logos/.vtf"
cl_timeout "30"
cl_showpluginmessages "1"
tv_nochat "0"
sv_unlockedchapters "1"
cl_updaterate "101"
cl_cmdrate "100.000000"
bgmvolume "1"
password ""
name "Player"

AcidUK
09-17-2007, 09:50 AM
It only appears as one line because the file is seperated using *nix line ends (\n instead of \r\n).

If you open the config file in wordpad instead of notepad, it will take care of this, and then you can copy/paste into notepad to carry on as normal :)

4est
09-17-2007, 10:58 AM
You want to ignore that config.cfg exists. If you make changes, put them in autoexec.cfg or in <classname>.cfg.


That being said, I do occasionally check a default config.cfg just to see what the various default values are.

Low
09-17-2007, 01:57 PM
It only appears as one line because the file is seperated using *nix line ends (\n instead of \r\n).

If you open the config file in wordpad instead of notepad, it will take care of this, and then you can copy/paste into notepad to carry on as normal :)

I figured notepad was a suspect in this

EdGruberman
09-17-2007, 03:54 PM
notepad is NOT suspect, missing a carriage return is! ;)~

(insert unix/windows arguments/flames below)

GenghisTron
09-17-2007, 07:30 PM
You want to ignore that config.cfg exists. If you make changes, put them in autoexec.cfg or in <classname>.cfg.


That being said, I do occasionally check a default config.cfg just to see what the various default values are.

So wait, we should just forget about config.cfg?

4est
09-17-2007, 07:56 PM
So wait, we should just forget about config.cfg?

Exactly

GenghisTron
09-17-2007, 08:11 PM
I've grown very attached to my config.cfg over the years.

This is unacceptable!

Circuitous
09-18-2007, 03:22 AM
Use autoexec or the classnames, as config.cfg will gladly be overwritten.