Welcome To Trip6 Gaming Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Welcome To Trip6 Gaming Forums


 
HomeSearchLatest imagesRegisterLog in

 

 CS:Source War Strat Guide Pt.9

Go down 
AuthorMessage
Loke
Admin
Loke


Number of posts : 82
Age : 41
Localisation : Vancouver, BC
Registration date : 2007-04-27

CS:Source War Strat Guide Pt.9 Empty
PostSubject: CS:Source War Strat Guide Pt.9   CS:Source War Strat Guide Pt.9 Icon_minitimeWed Jul 18, 2007 10:51 am

Common Binds:

This section will guide you through setting up a basic Counter-Strike Config.

All your configs and scripts and aliases should be in the file userconfig.cfg which is located in your \steam\steamapps\your@email\counter-strike\cstrike\ directory.

We'll begin with the ubiquitous wait commands. Most scripts will use wait aliases something like this.

Waits

* //waits (Required to put pauses in your script commands so they don't all try to run simultaneously)
* alias w1 "wait"
* alias w2 "w1; w1"
* alias w3 "w1; w2"
* alias w4 "w2; w2"
* alias w5 "w2; w3"
* alias w10 "w5; w5"

Its important to note that anything on the same line after // in a config file is ignored by Counter-Strike (in fact, is ignored by almost all scripting languages). This is designed to allow commenting in a script, as I've done.

Buy Binds:

All you need to add to your userconfig.cfg file is the following:

The general format of a bind expression is: bind "some-key" "some-alias" - It is important you use the quotes!

Here are some examples of single key buy binds:

* bind "F3" "deagle"
* bind "F4" "mp5"
* bind "F7" "defender; w5; clarion"
* bind "F6" "ak47; w5; m4a1" // Bind a key to m4a1 for Counter-Terrorists, or AK47 for Terrorists
* bind "F7" "awp"

Here are some examples of buy binds using aliases:

* //Buy Binds
* alias gren01 "hegren; w5; buyammo1; w5; flash; w5; flash; w5; sgren" //Buys All Grenades
* alias defs01 "defuser" //Buys Defuse Kit since there is nothing worse than buying night vision
* alias armr01 "vest; w5; devon" //Buys Vest Only
* alias armr02 "vest; w5; buyammo1; w5; vesthelm" //Buys Full Armour

Then binding those aliases to a key:

* bind "F9" "gren01"
* bind "F10" "defs01"
* bind "F11" "armr01"
* bind "F12" "armr02"

Grenade Scripts:

* //HE Grenade Selecting Script
* alias grenny "weapon_hegrenade"
* //FlashBang Selecting Script
* alias flashy "weapon_flashbang; say_team Throwing a Flashbang Take Cover!"

Here is how to bind it:

* bind "MOUSE5" "grenny"
* bind "e" "flashy"


Radio Binds:

All you need to do is bind them directly to a key, or create an alias to string multiple radio commands together.

Radio Bind Examples:

* bind "e" "enemyspot"
* bind "q" "needbackup"
* bind "r" "takingfire"


Radio Binds as Aliases Example:

* //enemy spotted script
* alias enemy "e_spot"
* alias e_spot "enemyspot; w10; needbackup"
* bind "q" "enemy"

Other Useful Scripts:

Here are scripts for taking screenshots and creating demos

* //Takes ScreenShot
* alias screeny "screen"
* alias screen "snapshot"
* bind "F5" "screeny"
* //Drops Console Takes Screenshot of Status Screen
* alias con_d "toggleconsole; w10; w10; w10; status; w10; w10; w10; snapshot; w10; w10; w10; toggleconsole"
* bind "del" "con_d"
* //Drops Console Takes Screenshot of RCON Status Screen (includes IP) (You need to have input your rcon password first before using this)
* alias con_d "toggleconsole; w10; w10; w10; rcon status; w10; w10; w10; snapshot; w10; w10; w10; toggleconsole"
* bind "del" "con_d"
* //Drops Console Takes Screenshot of Status Screen and Starts Demo
* alias con_d "toggleconsole; w10; w10; w10; rcon status; w10; w10; w10; snapshot; w10; w10; w10; toggleconsole"
* alias recdemo "recon"
* alias recon "csdemo; alias recdemo recoff"
* alias recoff "stop; devon; echo Demo Complete!; devoff; alias recdemo recon"
* alias csdemo "csdemo01"
* alias csdemo01 "con_d; w20; record FirstHalf; devon; echo Recording First Half of War; devoff; alias csdemo csdemo02"
* alias csdemo02 "con_d; w20; record SecondHalf; devon; echo Recording Second Half of War; devoff; alias csdemo csdemo01"
* bind "ins" "recdemo"

Pressing the insert key will create the First Halves Demo, Pressing the insert key again will stop it.

Once you have completed the First Half and changed sides, Pressing the insert key will start the Second Halves Demo, Pressing the insert key again will stop it.

The Finished Config

So in the end, this is what your userconfig.cfg file ought to look like, if you have followed my examples:

* //Start of userconfig.cfg
* //waits
* alias w1 "wait"
* alias w2 "w1; w1"
* alias w3 "w1; w2"
* alias w4 "w2; w2"
* alias w5 "w2; w3"
* alias w10 "w5; w5"
* //Buy Binds
* bind "F3" "deagle"
* bind "F4" "mp5"
* bind "F7" "defender; w5; clarion"
* bind "F6" "ak47; w5; m4a1"
* bind "F7" "awp"
* alias gren01 "hegren; w5; buyammo1; w5; flash; w5; flash; w5; sgren" //Buys All Grenades
* alias defs01 "defuser" //Buys Defuse Kit
* alias armr01 "vest; w5; devon" //Buys Vest Only
* alias armr02 "vest; w5; buyammo1; w5; vesthelm" //Buys Full Armour
* bind "F9" "gren01"
* bind "F10" "defs01"
* bind "F11" "armr01"
* bind "F12" "armr02"
* //HE Grenade Selecting Script
* alias grenny "weapon_hegrenade"
* bind "MOUSE5" "grenny"
* //FlashBang Selecting Script
* alias flashy "weapon_flashbang; say_team Throwing a Flashbang Take Cover!"
* bind "e" "flashy"
* //Enemy Spotted Script
* alias enemy "e_spot"
* alias e_spot "enemyspot; w10; needbackup"
* bind "q" "enemy"
* //Screenshot and Demo Scripts
* alias screeny "screen"
* alias screen "snapshot"
* bind "F5" "screeny"
* alias con_d "toggleconsole; w10; w10; w10; rcon status; w10; w10; w10; snapshot; w10; w10; w10; toggleconsole"
* bind "del" "con_d"
* alias con_d "toggleconsole; w10; w10; w10; rcon status; w10; w10; w10; snapshot; w10; w10; w10; toggleconsole"
* alias recdemo "recon"
* alias recon "csdemo; alias recdemo recoff"
* alias recoff "stop; devon; echo Demo Complete!; devoff; alias recdemo recon"
* alias csdemo "csdemo01"
* alias csdemo01 "con_d; w20; record FirstHalf; devon; echo Recording First Half of War; devoff; alias csdemo csdemo02"
* alias csdemo02 "con_d; w20; record SecondHalf; devon; echo Recording Second Half of War; devoff; alias csdemo csdemo01"
* bind "ins" "recdemo"
* //End of userconfig.cfg
Back to top Go down
http://trip666gaming.users-board.net
 
CS:Source War Strat Guide Pt.9
Back to top 
Page 1 of 1
 Similar topics
-
» CS:Source War Strat Guide Pt.4
» CS:Source War Strat Guide Pt.5
» CS:Source War Strat Guide Pt.6
» CS:Source War Strat Guide Pt.7
» CS:Source War Strat Guide Pt.8

Permissions in this forum:You cannot reply to topics in this forum
Welcome To Trip6 Gaming Forums :: Counter-Strike Source :: General Discussion-
Jump to: