bubulinas Posted June 28, 2010 Share Posted June 28, 2010 What is a config file? In Counter-Strike Game, the config file is the .cfg extension file from your cstrike directory that allows you to edit and configure binds, settings, and game configurations that will be used during the game. There are 2 types of config files: config.cfg and userconfig.cfg. The first is the default one and can be modifued by the CS server. Second cannot be modified by the server and is executed separately with the following console command: /exec userconfig.cfg. The game is loading initially all those parameters from the config.cfg file which is loaded when the game starts. This config.cfg file may be loaded at any time from the console and it can be personalized There are two ways to save a config file: - configure the game settings from the meniu and after that you enter in console and save the settings with the following command: /writecfg userconfig - access the userconfig.cfg file and edit every option manually. Making your own config file has the advantage of having all the key binds and configurations in one file which can easily be executed from any computer by copying it from the internet to the game path. Note that userconfig can have any name and usually has all control binds. This file will be saved in C:\Program Files\Steam\SteamApps\YOUR-EMAIL\counter-strike\cstrike\userconfig.cfg path How do I make my own config file? 1) Open a text editor (Textpad, Notepad, Wordpad etc). 2) Enter in your key binds and commands each on a different line. Even the ones that are inaccessible through the user interface configuration tool. 3) Save the file as "userconfig.cfg" to the default cstrike folder (usually C:\Program Files\Steam\SteamApps\YOUR-EMAIL\counter-strike\cstrike\). 4) Go into your config.cfg at the end of the file and write down the following command: exec userconfig.cfg. This will make the userconfig file to be executed each time the game starts. You can also do this manually by opening the game console and type exec userconfig.cfg. 5) Save and exit the config file. Config file examples unbindall bind "TAB" "+showscores" bind "ENTER" "+reload" bind "ESCAPE" "cancelselect" bind "'" "+moveup" bind "+" "sizeup" bind "," "buyammo1" bind "-" "sizedown" bind "." "buyammo2" 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 "b" "buy" bind "c" "radio3" bind "e" "+use" bind "f" "impulse 100" bind "g" "drop" bind "h" "+commandmenu" bind "i" "showbriefing" bind "j" "cheer" bind "k" "+voicerecord" bind "m" "chooseteam" bind "n" "nightvision" bind "o" "buyequip" bind "q" "lastinv" bind "s" "+back" bind "t" "impulse 201" bind "u" "messagemode2" bind "w" "+forward" bind "x" "radio2" bind "y" "messagemode" bind "z" "radio1" bind "[" "invprev" bind "]" "invnext" bind "`" "toggleconsole" bind "~" "toggleconsole" bind "UPARROW" "+forward" bind "DOWNARROW" "+back" bind "LEFTARROW" "+moveleft" bind "RIGHTARROW" "+moveright" bind "ALT" "+strafe" bind "CTRL" "+duck" bind "SHIFT" "+jump" bind "F5" "buy;menuselect 3;menuselect 1;buy;menuselect 6;buy;menuselect 7" bind "f7" "buy;menuselect 1;menuselect 3;buy;menuselect 7" bind "F6" "buy;menuselect 4;menuselect 3;buy;menuselect 4;menuselect 1;buy;menuselect 6;buy;menuselect 7" bind "F8" "buy;menuselect 6;buy;menuselect 7;buy;menuselect 8;menuselect 4;buy;menuselect 8;menuselect 2;buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 6" bind "F10" "quit prompt" bind "F11" "say nextmap" bind "F12" "say timeleft" bind "INS" "+klook" bind "DEL" "slot1" bind "PGDN" "slot4" bind "END" "slot3" bind "KP_INS" "drop" bind "MWHEELDOWN" "invnext" bind "MWHEELUP" "invprev" bind "MOUSE1" "+attack" bind "MOUSE2" "+attack2" bind "MOUSE4" "slot2" bind "PAUSE" "pause" setinfo lefthand "0" setinfo vgui_menus "0" setinfo _ah "0" setinfo _vgui_menus "0" hud_classautokill "1" voice_modenable "0.000000" hud_centerid "1" hud_fastswitch "1" cl_dynamiccrosshair "1" cl_minmodels "0" cl_righthand "1" hud_draw "1" hud_capturemouse "1" _cl_autowepswitch "1" cl_corpsestay "600.000000" fastsprites "0" hud_takesshots "0" joystick "0.000000" sensitivity "3.800000" m_filter "0.000000" m_side "0.8" m_forward "1" m_yaw "0.022" m_pitch "0.022" cl_vsmoothing "0.05" cl_backspeed "99999" cl_forwardspeed "99999" lookspring "0.000000" lookstrafe "0.000000" cl_cmdrate "30" cl_allowupload "1" cl_allowdownload "1" cl_download_ingame "1" cl_cmdbackup "2" cl_timeout "60" cl_idealpitchscale "0.8" cl_himodels "0.000000" cl_dlmax "128" cl_lc "1" cl_lw "1" cl_updaterate "20" rate "819.000000" bottomcolor "6" topcolor "30" model "gordon" _snd_mixahead "0.1" MP3Volume "0.800000" bgmvolume "0.000000" hisound "1.000000" suitvolume "1.000000" volume "0.300000" s_eax "1.000000" s_a3d "1.000000" s_verbwet "0.25" s_bloat "2.0" s_numpolys "200" s_polysize "10000000" s_polykeep "1000000000" s_refdelay "4" s_refgain "0.4" s_leafnum "0" s_max_distance "1000.0" s_min_distance "8.0" s_automax_distance "30.0" s_automin_distance "2.0" s_distance "60" s_doppler "0.0" s_rolloff "1.0" gl_monolights "0" gl_flipmatrix "0" gl_overbright "0.000000" gl_polyoffset "0.1" gl_dither "1" mp_decals "300.000000" r_bmodelhighfrac "5.0" ati_npatch "1.0" ati_subdiv "2.0" viewsize "110.000000" hpk_maxsize "0" sv_aim "0.000000" sv_voiceenable "1" net_graphpos "1" net_scale "5" net_graph "0" con_color "170 170 300" brightness "1.000000" gamma "30.000000" crosshair "1.000000" fps_modem "0.0" fps_max "72.0" console "1.0" voice_forcemicrecord "0.000000" voice_enable "1" voice_scale "1.000000" +mlook alias loc "connect 1." alias c "connect cs.cstrike.ro" sensitivity "5.000000" cl_sidespeed 9999 cl_forwardspeed 9999 cl_backspeed 9999 setinfo "vgui_menus" "0" setinfo "lefthand" "0" hud_fastswitch "1" cl_drawnames "1" echo \"-------------------------CFG Loaded-------------------------\" VALVE ANTI-CHEAT (VAC) What is VAC? Valve Anti-Cheat, abbreviated to VAC, is a proprietary anti-cheat solution developed and maintained by Valve Corporation as a component of the Steam platform. Although predating Steam, VAC has been fully adapted to its network. VAC was first released with Counter-Strike 1.4 in 2002. The initial version, VAC1, saw success for a period, but in March or April 2004 updates ran dry as the Valve engineers maintaining it moved on to the production of its successor, VAC2. VAC1 swiftly became virtually useless during this period of development. VAC2 has been implemented in GoldSrc, Source, and Unreal Engine 2 titles. It is included in the Steam SDK for licencees. Advantages Total integration through Steam, including using the Steam framework for any update tasks Delayed bans deny cheat producers accurate and timely information As of VAC2, client-side updates are not always required to detect new cheats, again denying cheat producers information. Disadvantages Delayed bans means that cheaters are free to play (and therefore disrupt play) until the ban takes effect some undisclosed (and possibly variable) time later. This may entice others to cheat, taking an "if they can do it so can I" attitude. The burden of banning individual cheaters (who have been detected by VAC but not yet banned) is placed on server administrators. This also leads to the skewing of statistics and ranking systems, even if the cheaters data are removed when they are banned. Cheats need to be individually found and added to the VAC database. VAC cannot detect 'material wallhacks', where texture transparency and color is manipulated by overwriting content files. In the Source engine the option to create "pure" servers that disallow custom materials was created to alleviate this. Installing VAC on your server Installing VAC on your server is a very easy process, and can be achieved in a number of ways: 1. add -secure to your hlds target line which will initiate the module download automatically from speakeasy.net when you start the hlds session. OR 2. navigate to your cstrike/liblist.gam file, and open it with an editor such as notepad. You'll see a line in there which will say "secure 0", change the 0 to a 1 to activate it, save the file, and start your server up. The server will then download the latest version of the modules to your server. Credits www cstrike ro i search it but i dont find so i decide to share it! Quote Link to comment Share on other sites More sharing options...
salim Posted June 28, 2010 Share Posted June 28, 2010 Good Job Bro realy Good Work Keep Doing this =) Quote Link to comment Share on other sites More sharing options...
bubulinas Posted June 28, 2010 Author Share Posted June 28, 2010 Good Job Bro realy Good Work Keep Doing this =) tthx alot but i put credits.. and is not my work!! Quote Link to comment Share on other sites More sharing options...
CryStaliN Posted June 28, 2010 Share Posted June 28, 2010 Good work mate,i dont saw this share till now,as mine (i mean when i posted how to make a plugin) here you have a explanation of the cfg files,cuz it is for the first time here shared and its a good share i will reward you,+1 karma keep sharing. Quote Link to comment Share on other sites More sharing options...
wasawat Posted July 22, 2010 Share Posted July 22, 2010 yes, that's a nice work. thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.