|
|
Simple Console/Autoexec Info Difficulty: Beginner |
| Category: CS:S > Scripting | Author(s): egaMi |

The first thing you have to do is add "-console" to the launch options in CS:S. This is done by right clicking Counter-Strike Source in the "Play games" menu in steam.
Then you get a window that looks like this. Here you click the "Launch Options" button, and add the wanted commands (In this case "-console") and click OK.
The next thing you have to do is to bind a button to the "toggleconsole" function. The best way to do this is to the "cfg" folder in Cs:S and create a file called "autoexec.cfg".
The folder is located in "X:\steam\steamapps\yourmail\counter-strike source\cstrike\cfg" where X is your diskdrive and yourmail is your e-mail account/steam login.
Here you create a new txt document, add the two lines marked in red and select "Save as" to change the file ending to "cfg" instead of the normal "TXT".
"bind "F3" "toggleconsole" will bind the F3 button on your keyboard to the console command. this can be replaced by other buttons. The "/" is what equals the "|" button (might apply to norwegian/danish keyboards only...) next to the "1" (top left of your keyboard), so add "bind "/" "toggleconsole" if you want to use the same key as you did in CS 1.x.. just remember, might not work on keyboards other than norwegian/danish.
You don't need to add any more commands here, but it's a nice place to put them, since it will be executed every time you start CS:S.
The next and final thing you have to do is to start CS:S, select options->keyboard->advanced-> check the "Enable developer console (~)"
// Now you should be ready to play CS:S with the console enabled.
Enjoy!
// There are other things wich can also be used in the Autoexec.cfg.
(This is simple and its very easy to do, and there is plenty of more you can add, but you can find out your self)
(_-:Exsample of my Autoexec File:-_)
bind "F3" "toggleconsole"
bind "/" "toggleconsole"
cl_autowepswitch "1"
cl_righthand "1"
sensitivity "10"
net_graph "3.000"
hud_fastswitch "1"
name "TeaM 24-7 | egaMi"
cl_cmdrate "80"
cl_updaterate "50"
con_enable "1"
rate "25000"
cl_logofile "materials/vgui/logos/egaMi.vtf" |
| Added: 6 months ago | Tags: console, autoexec, information, usefull, other |
None Found Add Feedback Provide constructive feedback. What is "constructive"?You cannot post yet!Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop. To post in this submission register or login. |
 The community's verdict. No assessments made... please vote!You cannot assess yet!Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure. To vote on this submission register or login. This Tutorial in a nutshell... No stamps recordedYou cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login. egaMi .Games dosent make ppl violent, lagg does Want more? Find related tuts. |