Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Moving everything to reddit!
Wed Mar 16, 2016 12:51 am by Dunciboy

» Got my driver license!
Sun Mar 06, 2016 6:47 pm by Heist

» When do I get my VIP?
Mon Jan 11, 2016 4:36 pm by Suroks

» Happy new year
Wed Jan 06, 2016 11:31 pm by Hade$ :3

» Admin clean up
Sun Dec 27, 2015 4:02 pm by Dunciboy

» Zombie server updated
Sun Dec 27, 2015 4:00 pm by Dunciboy

» Deathrun Map:mp_Deathrun_water
Sat Dec 26, 2015 9:12 pm by Ali Sajjad

» Searching active admins for zombie server
Sat Dec 19, 2015 11:13 pm by Suroks

» CS:GO Zombie Escape server ready for public
Fri Dec 18, 2015 11:28 pm by Dunciboy


Script & Binds Tutorial

View previous topic View next topic Go down

Script & Binds Tutorial

Post by Amitoz on Sat Jan 03, 2015 11:23 pm


If you have any question, leave a comment below Wink
What's Included
All about the Console
Binding Basics
Names
Making a .CFG
Scripting Basics
Name Scripts
VSTR's (Mini Scripts)


All about Colors
Colors are something that are very important to CoD. You can use them in binds, your name, text and just about anything. How you add colors is using ^followed ( ^ = Shift+6) by a number. For example ^4 would be blue. Here is a complete list of all the colors. 
^1 = Red 
^2 = Green 
^3 = Yellow
^4 = Blue
^5 = Turquoise
^6 = Pink
^7 = White
^8 = Color of the current Allie Team (Green for American, Azure Blue for British, Burgundy for Russian) 
^9 = Grey
^0 = Black (For using in a name, you must have it ^^0 or permanent ^^00) 

All about the Console
The console is where you enter all your commands. You open it by pressing the ~ key. (It's located above Tab) You must enter a / in front of your commands. Some examples of commands would be: 
/say
/quit
/reconnect
/disconnect
/name "Amitoz"
Technically, what scripts are, is a bunch of commands placed into one file. 

Binding Basics
In game: How you make a bind in game is rather simple! Just follow these instructions.
Open up the Console (~)
Type /bind
Now press space, and then type which button you would like to use ( J, H, F5, =, etc)
Now add what command you wish to have� We will have the bind say something. What it will say is "CoD Files FTW" In green & white. It now looks like /bind YOUR-KEY-HERE say ^2CoD ^7Files ^2FTW
Press enter and now when you press the binded key, it will say CoD Files FTW, or do whatever you want it to. I.E. /bind F5 say ^2Amitoz ^2FTW

Out of Game: (Good for complex binds, or ones you can easily mess up on)
Go to "Cstick out tonguerogram FilesCall of DutyMain" and look for your config_mp.cfg file, and open it.
Go to the bottom of the pages, and make a new line by pressing enter.
Now do the exact same thing as above, just don't include the / at the start.
After the command, add " before and after the value, text etc.
Save the file and it will be on CoD as long as you did it correctly!

Names
Setting your name is simple! Open up console and type /name "Your Name Here" Your Name Here will be replaced with your name. So you could do /name "^1Amitoz^7!" or anything at all. Make sure to use colors to make it look better!

Making a CFG
Here's how to make a .CFG (A script file)
Open notepad
Type all your stuff in it.
File>Save As
Select all files (*.*)
For the name, type in a name and make sure to have .cfg at the end. (I.E. name.cfg crouch.cfg etc)

Scripting Basics
First off, what you must know are these things!
Scripts are replicating commands in CoD. They contain CoD commands, or binds, like the commands you use to move (You could make a script that makes you move in a circle).
All scripts must be saved to your Call of Duty/Main folder (Mine is Cstick out tonguerogram FilesCall of Duty Game of the Year EditionMain)
Very often, you must use the "wait" command. What this does is make the script wait, a certain amount of milliseconds. I want to shoot one bullet. I did /bindlist to find out what the command to shoot is and I found it is +attack. Now everything that has a + must have a - somewhere afterward. That's where I got the -attack.
Adding // Infront of text ( // SPACE) or anything, makes it not activate in the script, and is good for adding little notes for next time you open the file!
+attack
wait 5
-attack
Almost anything you can do in CoD, can be replicated (To a certain extent) in a script!

Name Scripts
Have you ever seen someone change their name extremely fast and wondered how it's done? Well what you do is make a script!
Make a new .cfg file, named name.cfg and open it.
Now look at this example.
name "^1Mr_Nickle" 
wait 10
name "^7Amitoz" 
wait 10
name "^1Amitoz" 
wait 10
name "^7Amitoz" 
wait 10
name "^1Amitoz" 
wait 10
name "^7Amitoz" 
wait 10
name "^1Amitoz" 
wait 10
name "^7Amitoz"

Make something similar to this, in your file. (The best wait time is between 5-20, The best wait time for names that say something like "Nevander is the best" 200-350 is good)
Make sure you always have name before your name.
Save the file.
Launch CoD, enter a server and do /bind KEY exec name KEY is replaced with the button you want to bind it to.
Press and hold TAB then press your bind!

VSTR's (Mini Scripts)
What a VSTR is, technically is a What a VSTR is, technically is a exec'ing a command, in a script. They are very useful if you understand them. Here are some examples. 

Lets say I do set JH1 "exec name; +attack; wait 5; -attack; say Woot Woot" 
So, JH1, will exec name, shoot, and say woot woot and I place this into a script, with JH2 and JH3. But how do I make it do that? 
Well, I do /bind KEY VSTR JH1 and whenever I press that key, it will do all of that. You can place numurous of these into one script, which is useful if you often switch binds, or know how to do other things. Here are some examples! 

#1
set cod1 "say hello" 
set cod2 "say cya later!" 
set cod3 "say Amitoz is bae" 
bind 1 VSTR cod1
bind 2 VSTR cod2
bind 3 VSTR cod3

#2
(A much more complicated VSTR) 
set secJ "vstr secJ01"
bind 6 "vstr secJ"
set secJ01 "say I killed someone!; set secJ vstr secJ02"
set secJ02 "say I got SHOT; set secJ vstr secJ01"

What this does, is the first time I press 6, it says I killed someone, and the second time, it says I got shot.

Thanks for reading! 
avatar
Amitoz

Posts : 178
Reputation : 4
Registration date : 2013-06-30

View user profile

Back to top Go down

Re: Script & Binds Tutorial

Post by Dem Chax <3 on Sat Jan 03, 2015 11:32 pm

ty no more google Wink gj continue pls
avatar
Dem Chax <3

Posts : 447
Reputation : 25
Registration date : 2013-06-24
Living place : Germany

View user profile http://www.youtube.com/trollinggameplays

Back to top Go down

Re: Script & Binds Tutorial

Post by Suroks on Sat Jan 03, 2015 11:34 pm

Keep up the work!

_________________
avatar
Suroks

Posts : 476
Reputation : 23
Registration date : 2014-06-04
Living place : Holland!

View user profile

Back to top Go down

Re: Script & Binds Tutorial

Post by Sonic<3 on Sat Jan 03, 2015 11:40 pm

GG. Mate.

_________________
You're time is limited, so don't waste it living someone else's life. -Steve Jobs.

Every man dies, but not every man really lives.


Sonic<3

Posts : 996
Reputation : 40
Registration date : 2014-04-26
Living place : 'Murica Fuck Yeah!!!

View user profile

Back to top Go down

Re: Script & Binds Tutorial

Post by Dunciboy on Sun Jan 04, 2015 9:30 am

/say command doesn't work on our server (thank god)
avatar
Dunciboy

Posts : 904
Reputation : 42
Registration date : 2013-06-03

View user profile http://www.sync-gaming.com

Back to top Go down

Re: Script & Binds Tutorial

Post by disrespected on Thu Jan 15, 2015 9:42 pm

Dunciboy wrote:/say command doesn't work on our server (thank god)
Why can i make a bind with say !wtf then?
avatar
disrespected

Posts : 144
Reputation : 4
Registration date : 2014-11-27
Living place : Germany

View user profile

Back to top Go down

Re: Script & Binds Tutorial

Post by G0DZ|LLA on Thu Jan 15, 2015 9:44 pm

disrespected wrote:
Dunciboy wrote:/say command doesn't work on our server (thank god)
Why can i make a bind with say !wtf then?

Commands do work, but not the regular say binds which people use to spam.

_________________



avatar
G0DZ|LLA

Posts : 811
Reputation : 42
Registration date : 2013-09-30
Living place : COUNTRY OP

View user profile

Back to top Go down

Re: Script & Binds Tutorial

Post by disrespected on Thu Jan 15, 2015 11:02 pm

Ahh ok thx
avatar
disrespected

Posts : 144
Reputation : 4
Registration date : 2014-11-27
Living place : Germany

View user profile

Back to top Go down

Re: Script & Binds Tutorial

Post by Basia Kot on Fri Jan 16, 2015 12:09 am

GG m8, this will be usefull

Basia Kot

Posts : 124
Reputation : 2
Registration date : 2014-08-21

View user profile

Back to top Go down

Re: Script & Binds Tutorial

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum