[Register] [731851 Members] [102221 Online; 1829 Members, 100392 Guests]  
Call of Duty 6: Modern Warfare 2
File Search






Call of Duty Files
 » File Browser
 » File Search
 » Submit Files

Call of Duty News
 » News
 » News Archive
 » Submit News

 Picture of the Month

Call of Duty Files Site Info
 » Staff
 » Vacancies
 » Submit PotD
 » PotD Archive
 » About Us
 » Apply To Volunteer
 » FAQ
 » Forums
    - Call of Duty
    - CoD: United Offensive
    - Call of Duty 2
    - Call of Duty 4
    - Call of Duty: WaW
    - Call of Duty: MW2
 » Latest Poll
 » Links
 » Link to us
 » Tutorials

Call of Duty
 » Articles
 » Cheats
 » Downloads
    - Demos
    - Maps
    - Media
    - Mods
    - Patches
    - Scripts and Binds
    - Skins
    - Templates
    - Utilities
    - Wallpapers
 » Multiplayer
 » Overview
 » Press Releases
 » Requirements
 » Screenshots
 » SP Missions

Call of Duty: United Offensive
 » Articles
 » Cheats
 » Downloads
    - Maps
    - Media
    - Official Releases
    - Scripts And Binds
    - Skins
    - Tutorials
    - Utilities
 » Requirements
 » Screenshots
 » Vehicles
 » Weapons

Call of Duty 2
 » Cheats
 » Downloads
    - Maps
    - Media
    - Media
    - Miscellaneous
    - Mods
    - Official Releases
    - Skins
    - Utilities
 » Requirements

Call of Duty 4
 » Cheats
 » Downloads
    - Maps
    - Media
    - Miscellaneous
    - Mods
    - Official Releases
    - Skins
    - Utilities
 » Requirements

Call of Duty 5: World at War
 » Cheats
 » Downloads
    - Maps
    - Media
    - Miscellaneous
    - Mods
    - Official Releases
    - Skins
    - Utilities
 » Requirements





  Scripting Tutorial
This Page has been viewed 45,118 times

v.1.0


Mr_Nickle's Extensive Script and Binds Tutorial

On CoDfiles.com

Any questions you have, please CONTACT ME instead of leaving a comment!


/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

What's Included

Things that are included in this tutorial are:
All about Colors
All about the Console
Binding Basics
Names
Making a .CFG
Scripting Basics
Name Scripts
VSTR's (Mini Scripts)

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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)

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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 "Mr_Nickle"

Technically, what scripts are, is a bunch of commands placed into one file.

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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 ^2CoD ^7Files ^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!

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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 "^1Reaper^7!" or anything at all. Make sure to use colors to make it look better!

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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)

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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!

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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 "^7Mr_Nickle"
    wait 10
    name "^1Mr_Nickle"
    wait 10
    name "^7Mr_Nickle"
    wait 10
    name "^1Mr_Nickle"
    wait 10
    name "^7Mr_Nickle"
    wait 10
    name "^1Mr_Nickle"
    wait 10
    name "^7Mr_Nickle"

  • 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!

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

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 Im a rebel"
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.

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

Special Thanks

Special thanks to the following people and anybody else who helped out with reviewing the tutorial.
  • Zipperdude
  • Nevander

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

Contact

Questions?
Comments?
Script ideas?
Anything at all?
Contact me at:

Xfire= MrNickle
MSN = Mr_Nickle@hotmail.com
Email = Mr_Nickle@hotmail.com

/-*-/-*-/-*-/-*-/=-*-/JH-*-=-*--*--*--*-

Hope all of you find this useful!

Mr_Nickle

Average User Rating: 6.4
Number of Votes: 251


User Comments  
Comment posting has been disabled by the Administrator


 Latest Files
 » Map Manager Tool.. (1.0)
 » D Coy Modern Wea.. (1.3)
 » The Vapor Complex
 » Rafi's ingame Rc.. (2.0)
 » Firefight (COD2).. (1.3)
 » Firefight (COD2).. (1.2)
 » DOB_Nuketown (1.0)
 » Firefight (COD2).. (1.1)
 » Precision Scope .. (1.0)
 » Wanted Clan Glov.. (1.1)

 Latest News
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..
 » Weekly Poll Results ..

 The Network
 » Gaming News
 » Game Demos
 » Game Patches
 » Trailer Videos
 » Gaming Forums

 Game Portals:
 » Age of Empires 3
 » Aliens vs Predator 2
 » America's Army
 » ArmA 2
 » Armada 2
 » Battlefield 1943
 » Bridge Commander
 » Brothers in Arms 2
 » Call of Duty 4
 » Command & Conquer
 » Company of Heroes
 » Crysis
 » Counter-Strike: Source
 » Dawn of War Series
 » Day of Defeat: Source
 » Diablo 3
 » Doom 3
 » Elite Force
 » Enemy Territory
 » Fallout 3
 » Far Cry 2
 » F.E.A.R.
 » Flight Simulator X
 » GTA San Andreas
 » Half-Life 2
 » Halo
 » Jedi Knight 3
 » Knights of the Old Republic
 » Left 4 Dead 2
 » LOTR: Battle 4 Middle Earth
 » Medal of Honor
 » Operation Flashpoint
 » Quake 4
 » Red Faction: Guerrilla
 » rFactor
 » Silent Hunter 4
 » Sins of a Solar Empire
 » Soldier of Fortune 2
 » S.T.A.L.K.E.R.
 » Star Trek: Legacy
 » Star Wars Battlefront 2
 » Star Wars Empire at War
 » StarCraft II
 » Starfleet Command III
 » Supreme Commander
 » Team Fortress 2
 » The Elder Scrolls IV
 » The Sims 2
 » TrackMania United
 » Unreal Tournament 3
 » Warcraft III
 » World of Warcraft
 » X3: Terran Conflict

You got served by FN1 in 0.0268 seconds using 7 MySQL queries and 12 includes
Copyright © 2014 FileFront, Inc. All rights reserved.
Design by Pro-Filer & Delta. Use of Call of Duty Files materials is subject to certain Terms & Conditions.
TM & © 2014 Activision. All rights reserved. Call of Duty and related marks are trademarks of Activison.