Username:    Password:    Remember Me:     Click Here to Signup     Forgotten Password
Main Menu
Online
Guests: 5, Members: 0 ...

most ever online: 45
(Members: 0, Guests: 45) on 12 Jun : 16:00

Members: 390
Newest member: forpicuanec1975
Advertisement
Hosting Provided By

Banner


Donate!

Powered by
e107
PHP
MySQL
Hello Guest!
If you are seeing this message it is because you are not currently logged in. You are more than welcome to visit this site as a guest, but if you sign up you will have permission to post in our forum for suggestions or help and can also play games in our arcade section or have a live chat session with me if I am online! Registration is simple and free and just a few clicks away. CLICK HERE to go to our sign up page today. stu-pidaso.net will not sell your personal info or send spam to your email.
Writing a Custom Userconfig File
*WARNING*

Read the full article before making any changes. Not doing so may result in loss of custom settings you may already have.


Using a custom userconfig file is a way of keeping things nice and neat so you can make easy changes to any command variable. Anytime the game starts, this file gets executed and overides any commands that may be in the config.cfg file. The userconfig used to be named autoexec before the days of Steam. Autoexec may still work but we are going to use userconfig for now. First we need to find your userconfig.cfg file. This is usually found in the Valve folder of your Half-Life installation.

Image: http://stu-pidaso.net/ e107_images/custom/ userconfig_file_location.j pg


If you do not have a userconfig.cfg file, you can create one or download a generic one here.

Open the file with a text editor such as notepad.

Image: http://stu-pidaso.net/ e107_images/custom/ generic_userconfig.jpg


Notice the // marks in front of the text? These 2 forward slash marks makes the line "commented" and will be ignored by the Half-Life engine.

Lets customize the begining of the file. Erase the //This is a generic usercong file and type something different such as //My custom userconfig file. Press the enter key twice and add another line that looks like this..

//------------------------ ---||Binds||-------------------------- -
//---------------------- -------------------------- ---------------


Now is where we start adding some binds and command variables. If you want, you can open the config.cfg file with notepad and copy the binds you already have setup. The defaults are as follows...

bind "TAB" "+showscores"
bind "ENTER" "+attack"
bind "ESCAPE" "escape"
bind "SPACE" "+jump"
bind "'" "+moveup"
bind "+" "sizeup"
bind "," "+moveleft"
bind "-" "sizedown"
bind "." "+moveright"
bind "/" "+movedown"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind ";" "+mlook"
bind "=" "sizeup"
bind "a" "+moveleft"
bind "c" "+movedown"
bind "d" "+moveright"
bind "e" "+use"
bind "f" "impulse 100"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "messagemode2"
bind "v" "+moveup"
bind "w" "+forward"
bind "y" "messagemode"
bind "[" "invprev"
bind "]" "invnext"
bind "`" "toggleconsole"
bind "~" "toggleconsole"
bind "UPARROW" "+forward"
bind "DOWNARROW" "+back"
bind "LEFTARROW" "+left"
bind "RIGHTARROW" "+right"
bind "ALT" "+strafe"
bind "CTRL" "+duck"
bind "SHIFT" "+speed"
bind "F5" "snapshot"
bind "F6" "save quick"
bind "F7" "load quick"
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 "PAUSE" "pause"


Now press enter twice and create a line like this..

//----------------------||Audio settings||----------------------
//- -------------------------- -------------------------- ----------


Here is where you would place your audio settings. Below are my particular settings but you may have your own..

ambient_level 0
bgmvolume "0.000000"
hisound "1"
MP3FadeTime "2.0"
MP3Volume "0.8"
room_off 1
s_a3d "0"
s_automax_distance "30.0"
s_automin_distance "2.0"
s_bloat "2.0"
s_distance "60"
s_doppler "0.0"
s_eax "1"
s_leafnum "0"
s_max_distance "1000.0"
s_min_distance "8.0"
s_numpolys "200"
s_occlude "0"
s_polykeep "1000000000"
s_polysize "10000000"
s_refdelay "4"
s_refgain "0.4"
s_reverb "0"
s_rolloff "1.0"
s_usepvs "0"
s_verbwet "0.25"
suitvolume "0.250000"
voice_enable "1"
voice_forcemicrecord "1"
voice_modenable "1"
voice_scale "1"
volume "0.8"


Continue to do these steps until you have all you prefered settings entered into the userconfig file. Once you are done, at the top left corner click on File and then Save as... The Save As window will pop open. At the bottom where it says Save as type:, make sure it says All Files in the drop down box. Now type userconfig.cfg in the File name box and click on save.

Image: http://stu-pidaso.net/ e107_images/custom/ filename.jpg

Confused about what all you should put in your userconfig file? Don't worry, I have provided a link with a copy of my userconfig file so you can see what a finished one looks like. For more custom userconfig files, download the userconfig_pack here. If you have any questions feel free to email me at [e-mail]

You must be logged in to make comments on this site - please log in, or if you are not registered click here to signup
Traduction automatique en Français Maschinelle Übersetzung in Deutschen Traducción automática en español Tradução de máquina no português 日本語への機械翻訳 한국어에게 기계번역 机器翻译中文 الترجمه الي العربيه
Server Admins
Head Admin
Stu Pidaso

Co-Admin
Bry

Co-Admin
Uncle Daddy
This site is not associated or affiliated with Valve Software or Sierra Distributions.
© Valve Corporation. All rights reserved. Valve,
Half-Life, and Counter-Strike are trademarks and/or registered trademarks of Valve Corporation.
All trademarks are © to their respective owners, all other content is © to this website.
This site is powered by e107, which is released under the terms of the GNU GPL License.
Render time: 0.2806 sec, 0.0574 of that for queries.