Post: CFG Codes (Loads),How To Make And Change Stuff
02-10-2013, 02:15 PM #1
Hayden
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); [PHP]
Originally posted by another user
[/QUOTE]
Originally posted by another user
Originally posted by another user
Originally posted by another user
Originally posted by another user
Originally posted by another user
Originally posted by another user
Originally posted by another user
Originally posted by another user
GETTING STARTED :-


A CFG, or configuration file, is a file that the game makes and reads from to store information. It is merely a text file with an extension of (.cfg). Call of Duty savegames (SVG) and gameplay data files (GPD) are the equivalent of the PC versions config files, but hold MUCH less space.
The config files are comprised of only two things: commands and dvars :~
1)Commands:~ a command will tell the game what to do e.g. the command noclip will tell the game to switch, or toggle, UFOMODE. If it is off, the game will turn it on. If it is on, the game will turn it off.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<
2)Dvars:~A developer variable, or dvar, is a setting that the game responds to e.g. the dvar Player_sustainammo will tell the game whether or not shooting will cause the player to lose ammo. If its value is “1”, then shooting will not decrease ammo. If its value is “0”, then you will lose a bullet every time you shoot. Same as for g_compassShowEnemies if its value is "0" then you will not have UAV if it was "1" then u will have UAV.
There are different types of dvars and different domains for each. A domain is the different values that something can have. e.g. if we tried to give g_compassShowEnemies a value of “2”, a number of things might happen. The game might do nothing and not change g_compassShowEnemies , or it might try to find a value in the domain of g_compassShowEnemies that is the equivalent of what we wanted. DO NOT try to set a dvar to a value outside its domain. It will result in “undefined behavior”, or, in other words, we can’t be sure of the result. g_compassShowEnemies is a boolean, which means it has only two values in its domain; 0 or 1. Some dvars might also accept on and off or true and false as values in the domain of a boolean, but to be on the safe side, we’ll stick with 1 and 0. Other domains include text strings, integer ranges, and color codes. We’ll talk more about this on a deffrient step.

So, how exactly do we set g_compassShowEnemies ? Simple, with the set command:

set g_compassShowEnemies “1”


You could put that in a text file, save it as config.cfg, load MW2, and it would work. It’s that simple. As you can see, to set a dvar, we first type set, then the dvar, and then we put its value in quotes. The quotes aren’t an absolute necessity at this point, but they are very important in helping the game distinguish the values of something from other aspects of the code.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<
Set:~ is the command being used in the example, but that entire line, set g_compassShowEnemies “1”, is also a command. This might seem a bit confusing, as we have a command in a command . Just as dvars have different domains, commands have different usage. As mentioned before, the command noclip will toggle noclip. UFO will work by itself; that is the entire command. Set, on the other hand, requires a dvar and a value. If you put just “set” on its own, nothing will happen. Thus, we consider the entire line set g_compassShowEnemies “1” to be the command and not just set.

Very similar to set is bind. Bind is the command used to tell the game what we want to happen when we press a certain button. It is used in the same way as set, except that instead of a dvar we have a button, and the value is a command.

bind button_start “noclip”


That should be pretty self-explanatory. Button_start is the name of the start button. That command will make button_start toggle UAV. g_compassShowEnemies “1” is a command right? So what if we did:

bind button_start “set g_compassShowEnemies 1”


Well, we can and we do. That will the start button set g_compassShowEnemies to 1. We said the command was set g_compassShowEnemies “1” . WITH the quotes, and that they were important. Well, I wasn’t lying, they are. But here we have a problem. If we did:

bind button_start “set g_compassShowEnemies “1


When we opened the quote for the value of the button_start bind, it told the game to make everything between the first quote and the second to be the value of the start bind. When we put the second quote, to open the value of g_compassShowEnemies, the game will think that we’re closing the quote for the value of the button_start bind, instead of opening a second value quote. Yes this is a drawback, and yes there is a way around it, but for now just don’t use quotes inside quotes. The best way to write this is the same as before:

Bind button_start “set g_compassShowEnemies 1”


And guess what. Remember what we talked about with set? How set by itself isn’t the command, but set along with the dvar and its value is the actual command? Well, same thing here with bind. Bind button_start “set g_compassShowEnemies 1” is a command. here we go again. We could actually do:
Bind button_back “bind button_start set g_compassShowEnemies 1”
******************************************************************************
******************************************************************************
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<[/PHP]

Command Strings:-
So, what if I want R3 to toggle godmode AND noclip (noclip is a command that will make your player ignore the games physics so you can fly around and through walls and whatnot). Well, we would do the following:

bind button_Rstick “god;noclip”

Take note that the button for R3 is button_rstick. We separate commands with a semicolon. And when I say commands, I mean all commands. So what if we wanted the Reload Button to toggle godmode, toggle noclip, AND set set g_compassShowEnemies to 1? Well, simple:

bind button_X “god;noclip;set set g_compassShowEnemies 1

Or, maybe we want to do:

bind button_rstick “god;noclip;bind button_X notarget”

Button_X is the name of the Reload Button, or SQUARE []. Notarget is a command that will stop the enemy ai from targeting you. Now, what if we want to use R3 to bind [] to two things? What if we want [] to be notarget AND dropweapon? Dropweapon is another command, hopefully you can figure that one out on your own... You might try:
bind button_rstick “god;noclip;bind button_X notarget;dropweapon”

Looks good right? WRONG. Each semicolon is separating the commands of button_rstick , dropweapon will be a part of the R3 bind, NOT part of []. But what if we REALLY wanted to make R3 bind [] to two things? Well, we MUST separate commands with semicolons, so logic would follow that if we want something to have two commands, we MUST use a semicolon. But we also know that if we use a semicolon, it will make whatever is after it another command for button_X. So, you would want to do:

bind button_rstick “god;noclip;bind button_X “notarget;dropweapon””


This, or so you would hope, would tell the game “ignore that semicolon, it’s part of the value of the X bind”. But alas, as mentioned before, putting that quote there will end the value of the R3 bind. There is a solution, but you will learn about that later.

Remember that the entirety of bind button_rstick “god;noclip;bind button_X notarget” is, in itself, a command. In config files, we separate these commands by putting them on different lines. We would bind other buttons like so:
bind button_rstick “god;noclip;bind button_lshldr notarget”
bind button_back “set player_sustainammo 1”
bind button_a “set player_sustainammo 0”
bind button_b “set g_gravity 100”
set g_speed “300”

G_speed is the movement speed of players and g_gravity is the dvar for… well… gravity… The buttons that those button names correspond to should be pretty obvious. When we press back, we have unlimited ammo, when we press A, we don’t. These aren’t the most efficient binds, as the A and B buttons are used for jumping and knifing or crouching, but that was merely an example.

Like I said earlier, commands are separated by semicolons, so you could also do:
Bind button_rstick “god;noclip;bind button_X notarget”;bind button_back “set player_sustainammo 1”;bind button_a “set player_sustainammo 0”;bind button_b “set g_gravity 100”

That would work, but that looks really messy, and it makes it a lot easier to screw up. I should also clarify, you can’t do:
bind button_rstick “god
noclip
notarget”

And expect it to make the commands part of the button_rstick bind. When you go to a new line, it’s a new command. A COMPLETELY new command. The semicolons were separating the values of the R3 bind, inside the value part of the bind command, so going to a new line would mean that we are no longer inside the value of the bind command.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



USiNG vstr :
Vstr:- is an extremely important command and it is usefull for your coding.

Allthout it's countless uses and applications, the function of vstr is actually incredibally simple. Lets look at some simple code:
bind button_rstick "toggle g_compassShowEnemies 1 0"

Remember that with certain dvars and booleans, you don't need to specify the values with toggle. That bind will make R3 toggle UAV. What if we want to change what R3 does though? What if we want it to instead toggle g_speed between a few values? Well, we would have to do:

bind button_rstick "toggle g_speed 300 400 700"

Luckily, there's an easier way; with vstr. Before I explain it, look at the following code and see if you can figure it out on your own:

bind button_rstick "vstr MOTD"
set MOTD "toggle g_compassShowEnemies 1 0"

Remember that motd is a dvar that can hold any text. Under normal circumstances - without mods - motd, or message of the day, would be something like "Visit Callofduty.com for information on upcoming releases...". Remember when I talked about multiple commands separated by semicolons, I called them command strings. String, in this vernacular, means, according to the online dictionary, " a group of characters that can be treated as a unit by a computer program ". We call the value of a dvar like motd a text string. Vstr stands for variable string. The command vstr will execute the value of a dvar as a command string. If you tried

vstr motd

...when it has one of the game's values, "Visit Callofduty.com...", the game will try to execute "Visit Callofduty.com....". "visit" isn't a command recognized by the game, so it will say "unknown command visit". If, however, we change the value of motd to something we want, like "toggle g_compassShowEnemies 1 0", then when we do vstr motd, it will execute the value as a command string and will toggle g_compassShowEnemies

confused right now ha???. That's OK. Look at the following two codes:

bind button_rstick "toggle g_compassShowEnemies"

bind button_rstick "vstr motd"
set motd "toggle g_compassShowEnemies"

They will both have the same result. Using vstr (dvar) will have the same effect as just putting the value of that dvar. You might wonder what the point is if all we want R3 to do is toggle toggle g_compassShowEnemies but vstr is needed for other things.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--------------------------------------------------------------------------------------------~
Advanced Vstr Coding Not Happy or Sad :~

Before we get started, let me explain one more thing about set. As you know, set will set the value of a dvar. What you don't know (or maybe you do if you aren't completely new to this Smile is that set can be used to make a NEW dvar. In the previous tutorial I said we could do:

bind button_rstick "vstr motd"
set motd "toggle g_compassShowEnemies"

This works because vstr motd will execute the text string in motd as a command string. It's as if instead of vstr motd we had put toggle g_compassShowEnemies. Now, we used motd because it can hold text (unlike toggle g_compassShowEnemies or g_speed, which both hold numerical values), but we also could have done:


bind button_rstick "vstr newdvarcode"
set newdvarcode "toggle g_compassShowEnemies"

"Newdvarcode" could be anything you want it be. You could make it "R3" so that you can remember it better, or you could name it "Right_stick_bind", or "asdflkasdfasdf", etc. Remember, though, if a dvar already exists with the name, that you won't be making a new dvar, but rather setting an old one. In the following examples, I will set new dvars with names that will tell us what we made them for so that it's easier to understand. When making dvars for SVGs or GPDs you might want to use as few characters in a dvar as possible to save space. When you use set to make a new dvar, its domain will be any text.

That being said, let's go over how to do different control sets. Or, how you would use one button to change what the other buttons do. So first off, let's establish what we want the controls to be. Let's say:

Controls 1:

R3: noclip
[]: godmode
back: toggle controls


Controls 2:

R3: notarget
[]: toggle timescale 1 2 .2
back: toggle controls

Timescale is the scale of time per frame... It just means how fast the game will go. Timscale has a default value of 1. A value of 2 means the game goes twice as fast. A value of .2 means the game goes 0.2 times as fast, or 80% slower. In the first controls, we want the right stick to toggle noclip, the Square [] to toggle godmode, and the back button to switch to controls 2. In controls 2, we want the right stick to toggle notarget, the Square [] to toggle the timescale, and the back button to switch back the controls 1. Let's get started:

bind button_rstick "vstr R3"
bind button_X "vstr X"
bind button_back "toggle_controls"


This means that whatever value is in the dvar "R3" will be executed as a command string when we press the right stick. Same for the Square [] and back, with their respective dvars. The problem is that the dvars "X", "R3", and "back" don't exist yet. When we first start the game, we're going to be on controls 1, so we'll set the controls that way.

bind button_rstick "vstr R3"
bind button_X "vstr X"
bind button_back "toggle_controls"
set R3 "noclip"
set X "god"

Now when we press the right stick, it will toggle noclip, and the Square [] will toggle godmode. Now that the right and Square [] are bound to vstr dvars, we can change what they do by changing the dvars instead of binding them to something else. I'm going to add the toggle_controls dvar and the dvars it needs to work. It might seem a bit confusing, but just try to state it down until you can make sense out of it.


bind button_rstick "vstr R3"
bind button_X "vstr X"
bind button_back "toggle_controls"
set R3 "noclip"
set X "god"
set toggle_controls "vstr controls_2"
set controls_2 "set R3 notarget;set X toggle timescale 1 2 .2;set toggle_controls vstr controls_1"
set controls_1 "set R3 noclip;set X god;set toggle_controls vstr controls_2"

Like I said, stare that down until it makes sense. You will learn better that way, than if I just read the explanation. If you can't figure it out, then that's OK too.

Let's trace what happens when we press the back button the first time. It's at the start of the game, so the right stick is bound to vstr R3, the Square [] to vstr X, and the back button to vstr toggle_controls. R3 is set to noclip and X to god. When we press R3 we will toggle noclip, and when we press X, we toggle godmode. Let's see what back does though. It's bound to vstr toggle_controls. That means that it's going to execute the value of toggle_controls as a command string. So, let's see what toggle_controls is. Uh oh, this is going to get confusing. Toggle_controls is set to vstr controls_2, which means that it's going to execute the value of controls_2 as a command string. Finally, we've reached the end; controls_2 is set to set R3 notarget;set X toggle timescale 1 2 .2;set toggle_controls vstr controls_1. When we press the back button, it first it R3 to notarget, then it sets X to toggle timescale 1 2 .2, then it sets toggle_controls to vstr controls_1. Now when we press the right stick, it's going to toggle notarget. Remember that the right stick is bound to vstr R3, and we've just set R3 to notarget. The Square [] will now toggle the timescale. Toggle_controls is now set to vstr controls_2. So the next time we press back, it's going to end up executing vstr controls_1 instead of vstr controls_2. Each time we press back, it will change the controls and change what the back button does the next time.

I'm sure you're sufficiently confused at this point, so you might want to take some time to test this on the PC version if you have it or just try to wrap your mind around it. Next I'm going to talk about another type of toggling effect with vstr.

Let's say you want right on the dpad to give you guns, and then make it so the next time you press it, you get different guns. For example, we want it to give us the thompson and the m1 carbine, and then the second time we press it, it will give us a raygun and a mp40. After that, we get the m1 and thompson again, and so on. Similar to what we did with the back button, we would do:


bind dpad_right "vstr guns"
set guns "vstr guns1"
set guns1 "give zombie_thompson;give zombie_m1carbine;set guns vstr guns2"
set guns2 "give raygun;give zombie_mp40;set guns vstr gun1"



If you understood the toggling control sets, you'll problaby set this. If you didn't understand the control sets, maybe this will help you understand. Remember that executing vstr (dvar) is the same as executing the value of the dvar, so right now vstr guns is the same as vstr guns1. Vstr guns1 is the same as give zombie_thompson;give zombie_m1carbine;set guns vstr guns2, so when we press back it will end up giving us the thompson, the carbine, and setting guns to vstr guns2. If you're still not getting the whole idea of vstr, let me give you a ridiculous example of how we could make the right stick toggle noclip:

bind button_rshldr "vstr 1"
set 1 "vstr 2"
set 2 "vstr 3"
set 3 "vstr 4"
set 4 "vstr 5"
set 5 "vstr 6"
set 6 "vstr 7"
set 7 "noclip"

When we press the right stick, it's going to go through each of those dvars. First it will execute the value of 1, which will make it execute the value of 2, which will make it execute the value of 3, and so on until it gets to executing the value of 7, which will toggle noclip. Despite how much longer this may seem to us, the computer will execute it as fast as if we had just bound right stick to noclip LOL.


In Call of Duty Black Ops, the give all command will only give you a few of the guns, presumably because there is a limit on how many guns you can hold at one time. On World at War, there is no limit, so after executing give all, you will have all the guns and can go through them by pressing "tringle". Black Ops modding no longer works with the latest title updates, so chances are you're here for W@W modding, which means that you'll have little use for a bind that gives a certain amount of guns at a time instead of all of them. There is, however, a more useful toggle effect of vstr that I used in the mod menu for W@W.

bind dpad_right "vstr sun_color"
set sun_color "setfromdvar r_lighttweaksuncolor colors;vstr change_colors"
set colors "0 0 1 1"
set change_colors "vstr red"
set red "set colors 1 0 0 1;set change_colors vstr green"
set green "set colors 0 1 0 1;set change_colors vstr blue"
set blue "set colors 0 0 1 1;set change_colors vstr red"


Don't flip out if you don't get it at first, just, like with everything else, try to stare it down until you can make sense out of it. I talked about setfromdvar in the tutorial on other commands, so that shouldn't seem too new to you. r_lighttweaksuncolor is pretty self-explanatory; it's the dvar for the color of sunlight with a domain of any color in RGBa percents. Let's try to follow what the game will do when we press right on the dpad. Dpad_right is bound to vstr sun_color, so we're executing the value of sun_color as a command string. Sun_color is
setfromdvar r_lightweaksuncolor colors;vstr change_colors. The first command in that string is setfromdvar r_lighttweaksuncolor colors. That is going to set the value of r_lighttweaksuncolor to the value of the dvar colors. Just below it, you can see that we set colors to 0 0 1 1. Remember it's in RGBa percents, so 0% red, 0% green, 100% blue, and 100% visibility. The color of the sunlight would become blue and then the game would move on to the second part of the sun_color command string, which is vstr change_colors. Change_colors is set to vstr red, so now we're executing the command string in red, which is set colors 1 0 0 1;set change_colors vstr green. That's the end of what happens the first time we press right. Now when we press right, the color of sunlight will change to red, and the next time we press right, it will change the color to green, and so on. There is a more efficient way of donig this.



From the right Beginning :~~
~~~~~~~~~~~~~~~~~~~~
First of all we gonna talk about the most used commands in Creating a mod menu Smile :~
---------------------------------
"Set" : Tells the game to Set this after it has been selected
"Vstr" : Tells the Menu where to look after the command has been selected
"Bind" : Tells the game to merge a command to the chosen button
"Toggle" : Tells the Game to allow you to Set multiple variations of the chosen
mod "eg Toggle 123"
"Scr" : This is an abbreviation of the word Script
"Dvar" : Stands for Developer Variable
"Exec" : Is abbreviated from Execute
"Say" : This is to have Text show onscreen
"Say_Team" Is text for your team only

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How Does The Menu Work :~~
~~~~~~~~~~~~~~~~~~~~
First off we need to "Bind" the desired buttons to the game button defaults that should look like this;

bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_START "togglemenu"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"

(These are the buttons for DEFAULT layout the tactical layout will have "+stance" and "+melee" round the other way)

Right so now we have the buttons we need to choose how we want the menu to open for this tutorial i will be using UP for it to open;

bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_START "togglemenu"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"

bind DPAD_UP "vstr OPEN"

bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"

Right so as you can see highlighted in red is the bind to make the menu open by pressing UP on the DPAD so now we need to start writing out a menu, You can either create 1 directly into the FF viewer you use OR you can simply type one out inside Notepad or Notepad ++ then copy n paste it into the FF Viewer the bind i have put into the buttons is for the menu that follows as i will explain,

Right first off we need a main menu to put our Sub menus inside, Here is mine;(When you copy and paste this into notepad you will see how simple it is)

//Main Menu
set openMainMenu "vstr menuMainMenu"
set menuMainMenu "^2{^5Main_Menu^2};set menuMainMenu1"
set menuMainMenu1 "vstr menuMainMenu;set UP vstr menuMainMenu7;set B vstr Exit;set DOWN vstr menuMainMenu2;set A vstr openOneMenu;^2{^5Menu1^2};^1Menu2;^1Menu3;^1Menu4;^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu2 "vstr menuMainMenu;set UP vstr menuMainMenu1;set B vstr Exit;set DOWN vstr menuMainMenu3;set A vstr openTwoMenu;^1Menu1;^2{^5Menu2^2};^1Menu3;^1Menu4;^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu3 "vstr menuMainMenu;set UP vstr menuMainMenu2;set B vstr Exit;set DOWN vstr menuMainMenu4;set A vstr openThreeMenu;^1Menu1;^1Menu2;^2{^5Menu3^2};^1Menu4;^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu4 "vstr menuMainMenu;set UP vstr menuMainMenu3;set B vstr Exit;set DOWN vstr menuMainMenu5;set A vstr openFourMenu;^1Menu1;^1Menu2;^1Menu3;^2{^5Menu4^2};^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu5 "vstr menuMainMenu;set UP vstr menuMainMenu4;set B vstr Exit;set DOWN vstr menuMainMenu6;set A vstr openFiveMenu;^1Menu1;^1Menu2;^1Menu3;^1Menu4;^2{^5Menu5^2};^1Menu6;^1Menu7"
set menuMainMenu6 "vstr menuMainMenu;set UP vstr menuMainMenu5;set B vstr Exit;set DOWN vstr menuMainMenu7;set A vstr openSixMenu;^1Menu1;^1Menu2;^1Menu3;^1Menu4;^1Menu5;^2{^5Menu6^2};^1Menu7"
set menuMainMenu7 "vstr menuMainMenu;set UP vstr menuMainMenu6;set B vstr Exit;set DOWN vstr menuMainMenu1;set A vstr openSevenMenu;^1Menu1;^1Menu2;^1Menu3;^1Menu4;^1Menu5;^1Menu6;^2{^5Menu7^2}"

Now what we have here is a very basic and easy menu to 1. Read and 2. Edit so it is up to you if you wish to copy it and change it to what you want

I shall explain what that menu is doing...

First i have set the menu location to put into the buttons "openMainMenu"
Then i have told the menu to locate the title of the menu "menuMainMenu"
I have then put what i would like the menu title to be "^2{^5Main_Menu^2}" (The "^2 and ^5" are colors i wish the title to be) followed by where
the first option is located "set menuMainMenu1"
Now after the 1st menu i have to bind the buttons in order to actually be able to scroll through the menu, (most people will have "BIND DPAD_UP or
BIND BUTTON_A") I havnt because this way saves space and also alows the menu to be nice and simple to refer back to and edit any mistypes or
mistakes, the choice is yours, but here i have put "set UP vstr menuMainMenu7" this is telling the menu when i am on the 1st option and push up it
scrolls to the bottom option
Next i have "set B vstr Exit" which is telling the menu when i push circle it closes the menu
i then have "set DOWN vstr menuMainMenu2" which is telling the menu when i push down it will go to the next option in the menu
The last bing i have is "set A vstr openOneMenu" this is telling the menu when i push X in my controller to open the 1st Sub menu that is shown bellow

Right now we have a MAIN MENU we need to now create the SUB MENUS, The MAIN has 7 MENUS i will only be showing you one but at the end of this tutorial i will put the entire menu as you will see and agin you can copy and paste OR type out your own, but for now lets create the 1st sub menu;

Now we need to refer back to the Main menu as to what we have decided the 1st Sub menu to be called, i have used "Menu1" and have told the menu to look for "menuOneMenu" so now we know that we need to start the menu with the same name, like this;

set openOneMenu "vstr menuOneMenu"
set menuOneMenu "^2;^5Menu_One;set menuOneMenu1"

These 2 lines of code are telling the location of the 1st sub menu when it has been chosen from the main and also what the title is,
now we need to add the rest of the menu,

//Menu One
set openOneMenu "vstr menuOneMenu"
set menuOneMenu "^2;^5Menu_One;set menuOneMenu1"
set menuOneMenu1 "vstr menuOneMenu;set UP vstr menuOneMenu7;set B vstr openMainMenu;set DOWN vstr menuOneMenu2;set A vstr Func1;^2{^5Mod_1^2};^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu2 "vstr menuOneMenu;set UP vstr menuOneMenu1;set B vstr openMainMenu;set DOWN vstr menuOneMenu3;set A vstr Func2;^3Mod_1;^2{^5Mod_2^2};^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu3 "vstr menuOneMenu;set UP vstr menuOneMenu2;set B vstr openMainMenu;set DOWN vstr menuOneMenu4;set A vstr Func3;^3Mod_1;^3Mod_2;^2{^5Mod_3^2};^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu4 "vstr menuOneMenu;set UP vstr menuOneMenu3;set B vstr openMainMenu;set DOWN vstr menuOneMenu5;set A vstr Func4;^3Mod_1;^3Mod_2;^3Mod_3;^2{^5Mod_4^2};^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu5 "vstr menuOneMenu;set UP vstr menuOneMenu4;set B vstr openMainMenu;set DOWN vstr menuOneMenu6;set A vstr Func5;^3Mod_1;^3Mod_2;^3Mod_3;^3Mod_4;^2{^5Mod_5^2};^3Mod_6;^3Mod_7"
set menuOneMenu6 "vstr menuOneMenu;set UP vstr menuOneMenu5;set B vstr openMainMenu;set DOWN vstr menuOneMenu7;set A vstr Func6;^3Mod_1;^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^2{^5Mod_6^2};^3Mod_7"
set menuOneMenu7 "vstr menuOneMenu;set UP vstr menuOneMenu6;set B vstr openMainMenu;set DOWN vstr menuKillMenu1;set A vstr Func7;^3Mod_1;^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^2{^5Mod_7^2}"

Right well there is the 1st sub menu and as you can see if you read above how it is working they all work very similar to eachother but the main difference to this SUB menu and the MAIN menu is instead of telling it to look for a menu i have told it to look for a Function "set A vstr Func1" as i will explain further down this tutorial as to how we set mods inside the sub menus.

Right well now we have our main menu and a sub menu i guess we need to add mods into it

CODES WILL BE INCLUDED WITH THIS TUTORIASmile

We need to create the Functions of the menu which is where you put all your mods and "cheats" you wish to have, like this,

//Functions
Func1 "MOD HERE"
Func2 "MOD HERE"
Func3 "MOD HERE"
Func4 "MOD HERE"
Func5 "MOD HERE"
Func6 "MOD HERE"
Func7 "MOD HERE"

These are the functions for the 1st sub menu we made all you do is copy the code from the thread that has been linked and replace "MOD HERE" but keep the " otherwise it will give you an error, i will show you an example by adding superjump, it will look like this;

//Functions
Func1 "set jump_height 999"
Func2 "MOD HERE"
Func3 "MOD HERE"
ETC.....

This will tell the menu to "SET" the jump height to 999(This can be changed to any number between 0-999 other mods can be 4 digits long)
If you wish to be able to switch from having it "ON" and "OFF" then you use the comman "TOGGLE" like this;

//Functions
Func1 "toggle jump_height 999 128"
Func2 "MOD HERE"
Func3 "MOD HERE"
ETC.....

I have now told the menu to "TOGGLE" between the two variables of "999" and "128"(Normal jump height) so when you select super jump from the menu push it once for on and again for off.

Now You will need to change the name inside the menu like this;


set openOneMenu "vstr menuOneMenu"
set menuOneMenu "^2;^5Menu_One;set menuOneMenu1"
set menuOneMenu1 "vstr menuOneMenu;set UP vstr menuOneMenu7;set B vstr openMainMenu;set DOWN vstr menuOneMenu2;set A vstr Func1;^2{^5Super_Jump^2};^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"

As you can see, highlighted in red i have now added Super jump, one thing you will need to keep in mind is with any spaces between words you NEED to use "_" (Underscore) otherwise it will not function properly.

Unless you used the backslasher Smile
hope u have a good moding Happy



CODES

^1=Red
^2=Green
^3=Yellow
^4=Dark Blue
^5=Cyan
^6=Pink
^7=White
^9=Gray
^0=Black

Bunch of codes so ya, not every code, if you need any just ask
By CrEaTeEdiTz & CrEaTiiOn_Hitman

Freindly Fire:
Code:
toggle ui_friendlyfire 1 0

Purple Vision:
Code:
r_filmTweakInvert 1;r_filmTweakbrightness 2;r_filmusetweaks 1;r_filmTweakenable 1;r_filmtweakLighttint 1 2 1;r_filmtweakdarktint 1 2 1

Aim Assist:
Code:
aimSpreadScale 0; toggle aim_slowdown_pitch_scale 0.4; toggle aim_slowdown_yaw_scale 0.4; toggle aim_slowdown_yaw_scale_ads 0.5; toggle aim_slowdown_pitch_scale_ads 0.5; toggle aim_slowdown_debug 1 0; toggle aim_slowdown_region_height 2.85 0; toggle aim_slowdown_region_width 2.85 0; toggle aim_aimAssistRangeScale 1; toggle aim_autoaim_enabled 1 0; toggle aim_lockon_region_height 90; toggle aim_lockon_region_width 90; toggle aim_lockon_enabled 1; toggle aim_lockon_strength 9999 0.6; toggle aim_lockon_deflection 0.0005 0.05; toggle aim_lockon_debug 0; toggle aim_autoaim_lerp 999 40; toggle aim_autoaim_region_height 999 120; toggle aim_autoaim_region_width 5000 160; toggle aim_autoAimRangeScale 2 1; toggle aim_input_graph_debug 0; toggle aim_input_graph_enabled 1;

Toggle UAV:
Code:
toggle scr_game_forceuav 1 0; toggle compass_show_enemies 1 0; toggle g_compassShowEnemies 1 0; toggle compassEnemyFootstepEnabled 1 0; toggle compassEnemyFootstepMaxZ 99999 100; toggle compassRadarUpdateTime 0.001 4; toggle compassFastRadarUpdateTime 2; toggle compassEnemyFootstepMinSpeed 0 140; toggle compassEnemyFootstepMaxRange 99999 500;

Hold Breathe Forever:
Code:
toggle player_breath_hold_time 30 4.5; toggle player_breath_gasp_lerp .001 6; toggle player_breath_gasp_time .001 1; toggle player_breath_gasp_scale 1 4.5;

Green Box:
Code:
toggle aim_slowdown_region_height 2.85 0; toggle aim_slowdown_region_width 2.85 0;

Laser:
Code:
toggle laserForceOn 1 0;

FPS:
Code:
toggle cg_drawfps 1 0;

Super Steady Aim:
Code:
toggle perk_weapSpreadMultiplier 0.0001 0.62;

Rapid Fire Guns:
Code:
toggle player_burstFireCooldown 0 1;

Instant Reload:
Code:
toggle perk_weapReloadMultiplier 0.0001 .5;

Max Explosive Damage:
Code:
toggle scr_maxPerPlayerExplosives 999 2;

Marathon:
Code:
perk_sprintMultiplier 20; player_sprintUnlimited 1;

Super Slight Of Hand:
Code:
perk_fastSnipeScale 9;perk_quickDrawSpeedScale 6.5;

Cheaters Pack:
Code:
compassSize 1.25;cg_enemyNameFadeOut 900000;cg_enemyNameFadeIn 0;cg_drawThroughWalls 1;laserForceOn 1;r_znear 57;r_zfar 0;r_znear_depthhack 2;cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;scr_airdrop_mega_ac130 500;scr_airdrop_mega_helicopter_minigun 500;scr_airdrop_helicopter_minigun 999;player_burstFireCooldown 0;perk_bulletPenetrationMultiplier 0.001;perk_weapSpreadMultiplier 0.0001;perk_weapReloadMultiplier 0.0001;perk_weapRateMultiplier 0.0001;perk_grenadeDeath remotemissile_projectile_mp;cg_drawFPS 1;perk_extraBreath 999;player_breath_hold_time 999;perk_sprintMultiplier 20;perk_armorPiercingDamage 999;player_sprintUnlimited 1;cg_drawShellshock 0;scr_maxPerPlayerExplosives 999;phys_gravity -9999;missileRemoteSpeedTargetRange 9999 99999;

Infections Pack:
Code:
compassSize 1.25;compassRadarPingFadeTime 9999;compassSoundPingFadeTime 9999;compassRadarUpdateTime 0.001;compassFastRadarUpdateTime 0.001;compassRadarLineThickness 0;compassMaxRange 9999;aim_slowdown_debug 1;aim_slowdown_region_height 0; aim_slowdown_region_width 0;cg_footsteps 1;cg_enemyNameFadeOut 900000;cg_enemyNameFadeIn 0;cg_drawThroughWalls 1;laserForceOn 1;r_znear 55;cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;scr_airdrop_mega_ac130 500;scr_airdrop_mega_helicopter_minigun 500;cg_ScoresPing_MaxBars 6;cg_scoreboardPingGraph 1;cg_drawShellshock 0;

Good Carepackages:
Code:
scr_mega_airdrop_ac130 999;scr_airdrop_ac130 999;scr_mega_airdrop_emp 999;scr_airdrop_emp 999;scr_mega_airdrop_helicopter_minigun 999;scr_airdrop_helicopter_minigun 999;scr_airdrop_mega_helicopter_minigun 999;scr_airdrop_mega_helicopter_flares 999;

Nuke Cancel Mode:
Code:
toggle nukeCancelMode 0 1;

Go Prone:
Code:
toggle cl_stanceHoldTime 50 100 200 300 500 999;

Killcam Data:
Code:
toggle drawKillcamData 0 1;

Map Rotation:
Code:
toggle compassRotation 0 1;

Mini Icon Toggle:
Code:
toggle con_minicon 0 1;

Toggle Gravity:
Code:
toggle g_gravity 20 800;

Toggle Game Speed:
Code:
toggle g_speed 190 400 600 4000;

Contrast Toggle:
Code:
toggle r_contrast 1 0 3 4;

Lader Jump:
Code:
toggle jump_ladderPushVel 1024 128;

Super Javelin:
Code:
toggle missile_macross 0 1;

Knock Back:
Code:
toggle g_knockback 1000 5000 5;

Knife Range Toggle:
Code:
toggle player_meleeRange 999 2;

Map Size:
Code:
toggle compassSize 1 1.25 1.5 1.75 2 3 4 5;

Invisible Gun:
Code:
toggle cg_gun_x 0 -50;

Fail Headsets:
Code:
forcevoicefail 1

Change Team:
Code:
toggle ui_allow_classchange 0 1;

Talk To Other Team:
Code:
cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;g_deadChat 1;

toggle scoreboard font:
Code:
toggle cg_scoreboardFont 0 1 2 3 4 5 6 7 8 9 10;

L33T Hacks:
Code:
toggle ui_debugMode 0 1;

Nuke In Carepackage:
Code:
toggle scr_airdrop_nuke 0 999;

PC Graffx:
Code:
toggle scr_art_tweak 1 0; toggle scr_art_tweak_message 1 0; toggle r_glowUseTweaks 1 0; toggle r_filmUseTweaks 1 0;

Colored Scoreboard:
Code:
set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 1 1 1; wait 30 ; set cg_scoreboardMyColor 0 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 1 1; wait 30 ;set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 .5 0 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 0 .5 1; wait 30 ;set cg_scoreboardMyColor .5 0 1 1; wait 30 ;set cg_scoreboardMyColor .5 .5 1 1; wait 30 ;set cg_scoreboardMyColor 1 .5 .5 1; wait 30 ;set cg_scoreboardMyColor 0 1 1 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 1 1 1;

Change Team:
Code:
ui_allow_teamchange 1;

Only Headshots On:
Code:
scr_game_onlyheadshots 1;wait 1; fast_restart;

Only Headshots Off:
Code:
scr_game_onlyheadshots 0;wait 1; fast_restart;

Unsusable Square:
Code:
toggle g_useholdtime 0 65535;

Normal Camera Bob:
Code:
player_sprintCameraBob .5; bg_weaponBobAmplitudeBase .16; bg_weaponBobAmplitudeDucked 0.045 0.025; bg_weaponBobAmplitudeProne 0.02 0.005; bg_weaponBobAmplitudeRoll 1.5; bg_weaponBobAmplitudeSprinting 0.02 0.014; bg_weaponBobAmplitudeStanding 0.055 0.025; bg_weaponBobLag .25; bg_weaponBobMax 8;

Zero Camera Bob:
Code:
player_sprintCameraBob 0; bg_weaponBobAmplitudeBase 0; bg_weaponBobAmplitudeDucked 0 0; bg_weaponBobAmplitudeProne 0 0; bg_weaponBobAmplitudeRoll 0; bg_weaponBobAmplitudeSprinting 0 0; bg_weaponBobAmplitudeStanding 0 0; bg_weaponBobLag 0; bg_weaponBobMax 0;

Clan Tag Verify:
Code:
sv_allowedClan1 [1st Clan Tag Here];sv_allowedClan2 [2nd Clan Tag Here]

Fast Sensitivity:
Code:
profile_setViewSensitivity 50

Slow Aiming:
Code:
perk_weapSpreadMultiplier 1000 0.62

Riot Party:
Code:
shieldImpactBulletShakeScale 10

Mantle Hack:
Code:
mantle_check_range 999

Never Disconnet:
Code:
disconnectOnSignOut 0

Stupid Sentry:
Code:
sentry_placement_feet_offset 100

Verify Lobby:
Code:
g_speed 0;jump_height 0;wait 200; say Welcome To [Your PSN] Lobby;wait 200; say Hosted By:[PSN Name];wait 150; toggle jump_height 1000;bg_fallDamageMinHeight 999999;bg_fallDamageMaxHeight 999999; wait 5; g_speed 500;wait 5; toggle g_gravity 1000

Vote To Skip Toggle:
Code:
toggle set party_vetoPercentRequired 0.01 0.501;

Colored Teams:
Code:
g_teamcolor_axis 1 0.5 0; g_teamcolor_allies 0 0 0;

Unbreakable Glass:
Code:
glass_break 0;

Floating Glass:
Code:
toggle glass_fall_gravity -99 800;

Fast Heart Beat:
Code:
toggle motionTrackerSweepSpeed 9999 2000; toggle motionTrackerSweepInterval 1 3; toggle motionTrackerSweepAngle 180 90; toggle motionTrackerRange 2500 1600; toggle motionTrackerPingSize 0.1 0.2;

Low Ammo Color:
Code:
lowAmmoWarningColor1 1 .5 0 1; lowAmmoWarningColor2 0 0 0 1; lowAmmoWarningNoAmmoColor1 1 .5 0 1; lowAmmoWarningNoAmmoColor2 0 0 0 1; lowAmmoWarningNoReloadColor1 1 .5 0 1; lowAmmoWarningNoReloadColor2 0 0 0 1;

Fast Predator Missle:
Code:
missileRemoteSpeedTargetRange 9999 99999;

Name Color:
Code:
ui_playerPartyColor 0 1 0 1;

Choose Gamemode:
Code:
g_TeamName_Allies ^2Hackers; g_TeamIcon_Allies cardicon_prestige10_02; g_TeamIcon_MyAllies cardicon_prestige10_02; g_TeamIcon_EnemyAllies cardicon_prestige10_02; g_ScoresColor_Allies 0 0 0; g_TeamName_Axis ^2Sony; g_TeamIcon_Axis cardicon_weed; g_TeamIcon_MyAxis cardicon_weed; g_TeamIcon_EnemyAxis cardicon_weed; g_ScoresColor_Axis 1 .5 0; g_ScoresColor_Spectator 1 .5 0; g_ScoresColor_Free 1 .5 0; g_teamColor_MyTeam 0 1 0; g_teamColor_EnemyTeam 1 0 0; g_teamTitleColor_MyTeam 1 .5 0; g_teamTitleColor_EnemyTeam 0 0 0; cg_overheadTitlesFont 4; cg_crosshairDynamic 0; cg_ScoresPing_LowColor 1 0 0 1; cg_ScoresPing_HighColor 0 0 1 1;

Bouncy Greneades:
Code:
toggle grenadeBounceRestitutionMax 5 .3; toggle grenadeBumpFreq 9 .3; toggle grenadeBumpMag 0 .4; toggle grenadeBumpMax 20 100; toggle grenadeCurveMax 0 4; toggle grenadeFrictionHigh 0 .4; toggle grenadeFrictionLow 0 .01; toggle grenadeFrictionMaxThresh 0 100; toggle grenadeRestThreshold 0 20; grenadeRollingEnabled 1; toggle grenadeWobbleFreq 999 .08; toggle grenadeWobbleFwdMag 999 10;

TBag:
Code:
gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;

Flashing scoreboard:
Code:
set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 1 1 1; wait 30 ; set cg_scoreboardMyColor 0 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 1 1; wait 30 ;set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 .5 0 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 0 .5 1; wait 30 ;set cg_scoreboardMyColor .5 0 1 1; wait 30 ;set cg_scoreboardMyColor .5 .5 1 1; wait 30 ;set cg_scoreboardMyColor 1 .5 .5 1; wait 30 ;set cg_scoreboardMyColor 0 1 1 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 1 1 1;

Shellshock:
Code:
toggle cg_drawShellshock 0 1;

Drugs:
Code:
jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 0;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;wait 50;jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 0;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;wait 50;jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 30;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;wait 50;jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 0;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;

No HUSad Awesome
Code:
toggle cg_Draw2D 0 1;

Film Shader:
Code:
toggle r_filmAltShader 0 1;

Color Box:
Code:
toggle r_showFbColorDebug 0 1 2 3 4 5 6;

Turn Around:
Code:
toggle r_lockPvs 0 1;

GTNW:
Code:
g_gametype gtnw;party_gametype gtnw;

Arena:
Code:
g_gametype arena;party_gametype arena;

VIP:
Code:
g_gametype vip;party_gametype vip;

One Flag:
Code:
g_gametype oneflag;party_gametype oneflag;

Search And Destroy:
Code:
g_gametype sd;fast_restart;

Domination:
Code:
g_gametype dom;fast_restart;

Team Deathmatch:
Code:
g_gametype dm;fast_restart;

Ground War:
Code:
g_gametype war;fast_restart;

Left Side Gun:
Code:
toggle cg_gun_y 0 10; toggle cg_gun_x 0 1;

Level 70:
Code:
set scr_givexp 2516000;set scr_set_rank 70;ui_promotion 70;uploadStats

Unlock Challenges:
Code:
scr_complete_all_challenges 1;uploadStats

Score Stats:
Code:
statset 2302 666666666;onlinegame 1;uploadstats;

Win Stats:
Code:
statset 2316 66666666;onlinegame 1;uploadstats;

Kill Stats
Code:
statset 2303 66666666;onlinegame 1;uploadstats;

Prestige 10:
Code:
statset 2326 10;onlinegame 1;uploadstats;

Prestige 11:
Code:
statset 2326 11;onlinegame 1;uploadstats;

Derank Lobby:
Code:
g_teamname_axis resetstats;g_teamname_allies resetstats

Force UAV:
Code:
toggle scr_game_forceuav 1 0; toggle compass_show_enemies 1 0; toggle g_compassShowEnemies 1 0; toggle compassEnemyFootstepEnabled 1 0; toggle compassEnemyFootstepMaxZ 99999 100; toggle compassRadarUpdateTime 0.001 4; toggle compassFastRadarUpdateTime 2; toggle compassEnemyFootstepMinSpeed 0 140; toggle compassEnemyFootstepMaxRange 99999 500

Freindly Fire:
Code:
toggle ui_friendlyfire 1 0

Disco mode:
Code:
r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;r_filmtweakenable 0;

Fat:
Code:
toggle r_subwindow 0 1 0 2;

Skinny:
Code:
toggle r_subwindow 0 1 0 1;

Blurry:
Code:
toggle r_blur 0 1 2 3 4 5 6 7 8 9;

Bright:
Code:
toggle r_brightness 0 .25 .5 .75 1 1.25 1.5;

Black Hole:
Code:
toggle r_singleCell 0 1;

Thermal:
Code:
toggle r_filmtweakenable 1 0;toggle r_filmusetweaks 1 0;toggle r_filmtweakinvert 1 0;

Rainbow:
Code:
toggle r_debugShader 0 1 2 3;

Blue:
Code:
toggle r_filmtweakenable 1 0;toggle r_filmusetweaks 1 0;toggle r_filmtweakinvert 1 0;

Pink:
Code:
toggle r_filmTweakInvert 1 0; toggle r_filmTweakbrightness 2 0; toggle r_filmusetweaks 1 0; toggle r_filmTweakenable 1 0; toggle r_filmtweakLighttint 1 2 1; toggle r_filmtweakdarktint 1 2 1;

Aqua:
Code:
toggle r_filmusetweaks 1 0; toggle r_filmtweakenable 1 0; toggle r_filmtweakinvert 1 0; toggle r_filmTweakLightTint 1 2 0;

Grey:
Code:
toggle r_filmusetweaks 1 0; toggle r_filmtweakenable 1 0; toggle r_filmtweakinvert 1 0; toggle r_filmTweakLightTint 0 0 0;

Chaplin:
Code:
toggle r_filmTweakInvert 1 0; toggle r_filmTweakbrightness 2 0; toggle r_filmusetweaks 1 0; toggle r_filmTweakenable 1 0; toggle r_filmtweakLighttint 1.06 0.5 1.3;

Promod:
Code:
toggle cg_fov 90 68;

Weird Pro Mod:
Code:
toggle cg_gun_x 6 0; toggle cg_gun_y 3 0; toggle cg_gun_z 1 0;

Purple Vision:
Code:
r_filmTweakInvert 1;r_filmTweakbrightness 2;r_filmusetweaks 1;r_filmTweakenable 1;r_filmtweakLighttint 1 2 1;r_filmtweakdarktint 1 2 1

Harrier In Carepackage:
Code:
scr_airdrop_mega_harrier_airstrike 500;scr_airdrop_harrier_airstrike 500

Pavelow In Carepackage:
Code:
scr_airdrop_mega_helicopter_flares 500;scr_airdrop_helicopter_flares 500

AC130 In Carepackage:
Code:
scr_airdrop_mega_ac130 500;scr_airdrop_ac130 500

Chopper Gunner In Carepackage:
Code:
scr_airdrop_mega_helicopter_minigun 500;scr_airdrop_helicopter_minigun 500

EMP In Carepackage:
Code:
scr_airdrop_mega_emp 500;scr_airdrop_emp 500

Nuke In Carpackage:
Code:
scr_airdrop_mega_nuke 999;scr_airdrop_nuke 999

Reset Carepackage:
Code:
scr_airdrop_mega_nuke 1;scr_airdrop_nuke 1;scr_airdrop_mega_emp 10;scr_airdrop_emp 10;scr_airdrop__mega_helicopter_minigun 10;scr_airdrop_helicopter_minigun 10;scr_airdrop__mega_ac130 10;scr_airdrop_ac130 10

Colored Team:
Code:
g_teamcolor_axis 1 0.5 0; g_teamcolor_allies 0 0 0

Disable Killstreaks:
Code:
scr_hardpoint_allowartillery 0;scr_hardpoint_allowuav 0;scr_hardpoint_allowsupply 0;scr_hardpoint_allowhelicopter 0

Change Team:
Code:
toggle ui_allow_classchange 1 0;toggle ui_allow_teamchange 1 0

God Mode
Code:
scr_player_maxhealth 100000000

Show IP:
Code:
showip

Toggle Constrast:
Code:
toggle r_contrast 1 0 3 4

Prestige 0:
Code:
disconnect; setplayerdata prestige 0; uploadStats

Prestige 1:
Code:
disconnect; setplayerdata prestige 1; uploadStats

Prestige 2:
Code:
disconnect; setplayerdata prestige 2; uploadStats

Prestige 3:
Code:
disconnect; setplayerdata prestige 3; uploadStats

Prestige 4:
Code:
disconnect; setplayerdata prestige 4; uploadStats

Prestige 5:
Code:
disconnect; setplayerdata prestige 5; uploadStats

Prestige 6:
Code:
disconnect; setplayerdata prestige 6; uploadStats

Prestige 7:
Code:
disconnect; setplayerdata prestige 7; uploadStats

Prestige 8:
Code:
disconnect; setplayerdata prestige 8; uploadStats

Prestige 9:
Code:
disconnect; setplayerdata prestige 9; uploadStats

Prestige 10:
Code:
disconnect; setplayerdata prestige 10; uploadStats

Prestige 11:
Code:
disconnect; setplayerdata prestige 11; uploadStats

Every One Can Hear Me:
Code:
cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;cg_deadChat 1;

Super Melee:
Code:
toggle player_meleeHeight 1000 10; toggle player_meleeRange 1000 64; toggle player_meleeWidth 1000 10;

Minisclue Jump Damage:
Code:
bg_fallDamageMinHeight 1;bg_fallDamageMaxHeight 1;

Show Status:
Code:status

Clan Tag Selector -Thanks FlaMeDhD!
Code:
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG +frag
bind BUTTON_LTRIG +smoke
bind BUTTON_RSTICK "+melee"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "vstr Edit2"
bind BUTTON_BACK "togglescores"
bind BUTTON_START "togglemenu;togglescores"
set Edit2 "bind dpad_left vstr CTG1"
set CTG1 "say ^1Change Clan Name To ^2{HD};bind button_a set clanname {HD};bind dpad_left vstr CTG2
set CTG2 "say ^1Change Clan Name To ^2{HQ};bind button_a set clanname {HQ};bind dpad_left vstr CTG3
set CTG3 "say ^1Change Clan Name To ^2{Qs};bind button_a set clanname {Qs};bind dpad_left vstr CTG4
set CTG4 "say ^1Change Clan Name To ^2{Ns};bind button_a set clanname {Ns};bind dpad_left vstr CTG5
set CTG5 "say ^1Change Clan Name To ^2{DT};bind button_a set clanname {DT};bind dpad_left vstr CTG6
set CTG6 "say ^1Change Clan Name To ^2{zF};bind button_a set clanname {zF};bind dpad_left vstr CTG7
set CTG7 "say ^1Change Clan Name To ^2{SD};bind button_a set clanname {SD};bind dpad_left vstr CTG8
set CTG8 "say ^1Change Clan Name To ^2{HC};bind button_a set clanname {HC};bind dpad_left vstr CTG9
set CTG9 "say ^1Change Clan Name To ^2{MM};bind button_a set clanname {MM};bind dpad_left vstr CTG10
set CTG10 "say ^1Change Clan Name To ^2{@@};bind button_a set clanname {@@};bind dpad_left vstr CTG11
set CTG11 "say ^1Change Clan Name To ^2{[]};bind button_a set clanname {[]};bind dpad_left vstr CTG12
set CTG12 "say ^1Change Clan Name To ^2{&&};bind button_a set clanname {&&};bind dpad_left vstr CTG13
set CTG13 "say ^1Change Clan Name To ^2{$$};bind button_a set clanname {$$};bind dpad_left vstr CTG14
set CTG14 "say ^1Change Clan Name To ^2{FU};bind button_a set clanname {FU};bind dpad_left vstr CTG15
set CTG15 "say ^1Change Clan Name To ^2{MC};bind button_a set clanname {MC};bind dpad_left vstr CTG16
set CTG16 "say ^1Change Clan Name To ^2{PC};bind button_a set clanname {PC};bind dpad_left vstr CTG17
set CTG17 "say ^1Change Clan Name To ^2{FK};bind button_a set clanname {FK};bind dpad_left vstr CTG18
set CTG18 "say ^1Change Clan Name To ^2{QW};bind button_a set clanname {QW};bind dpad_left vstr CTG19
set CTG19 "say ^1Change Clan Name To ^2{NZ};bind button_a set clanname {NZ};bind dpad_left vstr CTG20
set CTG20 "say ^1Change Clan Name To ^2@@@@;bind button_a set clanname @@@@;bind dpad_left vstr CTG21
set CTG21 "say ^1Change Clan Name To ^2Fag};bind button_a set clanname Fag};bind dpad_left vstr CTG22
set CTG22 "say ^1Change Clan Name To ^2{YT};bind button_a set clanname {YT};bind dpad_left CTG23
set CTG23 "say ^1Change Clan Name To ^2{SB};bind button_a set clanname {SB};bind dpad_left CTG24
set CTG24 "say ^1Change Clan Name To ^2{WA};bind button_a set clanname {WA};bind dpad_left CTG25
set CTG25 "say ^1Change Clan Name To ^2{TS};bind button_a set clanname {TS};bind dpad_left CTG26
set CTG26 "say ^1Change Clan Name To ^2{xD};bind button_a set clanname {xD};bind dpad_left CTG27
set CTG27 "bind button_a +gostand;bind dpad_right +act

PS3 Button Codes:
Start=
Select=
L2= *
L3= ¼
R2= *
R3= ½
L1=
R1= *
Up= *
Down= *
Left= *
Right= *
X= () Copy whats inside brackets.
O=
[]=
/\= *
=========================================================================================================
X = [{+gostand}]
Square = [{+usereload}]
O = [{+stance}]
Triangle = [{weapnext}]
L2 = [{+smoke}]
R2 = [{+frag}]
R3 = [{+melee}]
L3 = [{+breathe_sprint}]
DPAD UP = [{+actionslot1}]
DPAD RIGHT = [{+actionslot2}]
DPAD DOWN = [{+actionslot3}]
DPAD LEFT = [{+actionslot4}]
[/PHP]


INFECTIONS



Aim Deflection

ui_mapname \""mp_rust;^3Aim ^3Deflection^7;bind apad_up +forward;aim_autoaim_enabled 1;-forward;bind apad_down +back;aim_lockon_enabled 1;-back;bind apad_right +right;aim_lockon_strength 9000;-right;bind apad_left +left;-left;"\""
__________________________________
Uav & Aim Assist {By CrEaTiiOn_Burn}

Part 1 of 2 - ui_mapname \""mp_rust;bind apad_left bind dpad_up vstr o;set o \""^5CrEaTiiOn_BuRn's_Aimbot_On^6<3;set g_compassShowEnemies 1;set aim_slowdown_debug 1;set aim_slowdown_region_height 2.85;set aim_slowdown_region_width 2.85;set aim_lockon_debug 0;set aim_input_graph_enabled 1;set aim_lockon_region_height 480;set aim_lockon_region_width 640;set aim_lockon_enabled 1;set aim_lockon_strength 1;set aim_lockon_deflection 0;set aim_autoaim_enabled 1;set aim_autoaim_region_height 480;set aim_autoaim_region_width 640;set aim_slowdown_yaw_scale_ads 0;set aim_slowdown_yaw_scale 0;set aim_slowdown_pitch_scale 0;set aim_slowdown_pitch_scale_ads 0;set aim_slowdown_region_height 0;set aim_slowdown_region_width 0;set aim_slowdown_enabled 1;set aim_aimAssistRangeScale 2;set aim_autoAimRangeScale 2;set perk_weapSpreadMultiplier 0.0001;bind apad_up set clanname {CB};"\""
Part 2 of 2 - ui_mapname \""mp_rust;bind apad_right bind dpad_down vstr c;set c \""^5CrEaTiiOn_BuRn's_Aimbot_Off^6<3;reset aim_lockon_region_height;reset aim_lockon_region_width;reset aim_lockon_enabled;reset aim_lockon_strength;reset aim_lockon_deflection;reset aim_autoaim_enabled;reset aim_autoaim_region_height;reset aim_autoaim_region_width;reset aim_slowdown_yaw_scale_ads;reset aim_slowdown_yaw_scale;reset aim_slowdown_pitch_scale;reset aim_slowdown_pitch_scale_ads;reset aim_slowdown_region_height;reset aim_slowdown_region_width;reset aim_slowdown_enabled;reset aim_aimAssistRangeScale;reset aim_autoAimRangeScale;reset aim_automelee_range;reset aim_automelee_region_height;reset aim_automelee_region_width;reset aimSpreadScale;reset aim_slowdown_debug;reset aim_lockon_debug;reset aim_autoaim_lerp;reset aim_input_graph_debug;reset aim_input_graph_enabled;"\"

________________________________
Uav & Aim Assist 2 {By BuFu_EVO}

ui_mapname \""mp_rust;^6BuFu_EVO's ^3UAV ^1& ^3AIM;bind APAD_UP set aim_autoAimRangeScale 2;set aim_lockon_debug 1;set aim_aimAssistRangeScale 1;bind APAD_DOWN set aim_autoaim_enabled 1;set aim_lockon_region_height 90;set aim_lockon_region_width 90;bind APAD_RIGHT set aim_lockon_enabled 1;set aim_lockon_strength 9999;set aim_lockon_deflection 0.0005;bind APAD_LEFT set aim_autoaim_region_height 999;set aim_autoaim_region_width 5000;set aim_autoAimRangeScale 2;bind dpad_up set g_compassShowEnemies 1;set clanname {EVO;disconnect"


_____________________________________
Uav & Aim Assist 3 {By CrEaTiiOn_Hitman} NORMAL {CH}

ui_mapname \""mp_brecourt;^3CrEaTiiOn_Hitman's ^6UAV & ^4Aim^2Assist^7;bind APAD_LEFT set g_compassShowEnemies 1;bind APAD_UP set g_compassShowEnemies 1;set aim_autoAimRangeScale 2;set aim_lockon_debug 1;set aim_aimAssistRangeScale 1;bind APAD_DOWN set aim_autoaim_enabled 1;set aim_lockon_region_height 480;set aim_lockon_region_width 640;bind APAD_RIGHT set aim_lockon_enabled 1;set aim_lockon_strength 99999;set aim_lockon_deflection 0.0005;bind APAD_LEFT set aim_autoaim_region_height 480;set aim_autoaim_region_width 640;set aim_autoAimRangeScale 2;set clanname {CH};set perk_weapSpreadMultiplier 0.0001;cg_drawfps 1;"\""


_____________________________________
Uav & Aim Assist 4 {By CrEaTiiOn_Hitman} STRONG {CH} LEAVE CREDITS!!

ui_mapname \""mp_brecourt;^3CrEaTiiOn_Hitman's ^5New ^3Strong ^5Aimassist/^3UAV;bind APAD_LEFT set g_compassShowEnemies 1;bind APAD_UP vstr CH;set CH \""aim_lockon_region_height 480;aim_lockon_region_width 640;aim_lockon_enabled 1;aim_lockon_strength 1;aim_lockon_deflection 0;aim_autoaim_enabled 1;aim_autoaim_region_height 480;aim_autoaim_region_width 640;aim_slowdown_yaw_scale_ads 0;aim_slowdown_yaw_scale 0;aim_slowdown_pitch_scale 0;aim_slowdown_pitch_scale_ads 0;aim_slowdown_region_height 0;aim_slowdown_region_width 0;aim_slowdown_enabled 1;aim_aimAssistRangeScale 2;aim_autoAimRangeScale 2;clanname {CH};set perk_weapSpreadMultiplier 0.0001;"\""


Awards / Stats
ui_mapname \""mp_rust;bind dpad_down xblive_privatematch 0;onlinegame 1;disconnect;setPlayerData awards 10kills 2147483646;setPlayerData awards 1death 2147483646;setPlayerData awards nodeaths 2147483646;setPlayerData awards nokills 2147483646;setPlayerData awards mvp 2147483646;setPlayerData awards highlander 2147483646;setPlayerData awards kdratio10 2147483646;setPlayerData awards punisher 2147483646;setPlayerData awards overkill 2147483646;setPlayerData awards killedotherteamonelife 2147483646;setPlayerData awards kdratio 2147483646;setPlayerData awards kills 2147483646;setPlayerData awards higherrankkills 2147483646;setPlayerData awards deaths 2147483646;setPlayerData awards killstreak 2147483646;setPlayerData awards headshots 2147483646;setPlayerData awards finalkill 2147483646;setPlayerData awards killedotherteam 2147483646;"\""


Credit's BuFu_EVO, CrEaTiiOn_Hitman & All Unknown

_____________________
Derank 1 By BuFu_EVO
ui_mapname \""mp_terminal;^5BuFu_EVO's [{+actionslot 4}] ^1UAV ^3& ^1AIM-ASSIST ^3INFECTION ^7;bind APAD_LEFT aim_autoAimRangeScale 2;aim_lockon_debug 1;aim_aimAssistRangeScale 1;bind APAD_DOWN aim_autoaim_enabled 1;aim_lockon_region_height 90;aim_lockon_region_width 90;bind dpad_down xblive_privatematch0;onlinegame1;disconnect;setplayerdata prestige 0;setplayerdata experience -999999999;bind APAD_UP set clanname iSob;setplayerdata resetstats;defaultStatsInit;profile_setBlacklevel 10; uploadStats"


________________
Derank 2 By {CS}
ui_mapname \""mp_terminal;^2CrEaTiiOn_STiNG's ^2AimAssist ^6& ^2Uav;bind BUTT0N_BACK set g_compassShowEnemies 1;set scr_game_forceuav 1; set compass_show_enemies 1 APAD_UP; set aim_autoAimRangeScale 2; set aim_lockon_debug 1; set aim_aimAssistRangeScale 1; bind APAD_D0WN set aim_autoaim_enabled 1;bind dpad_down xblive_privatematch 0;onlinegame 1;disconnect;defaultStatsInit;menu_resetcustomclasses;setplayerdata experience -999999999;set clanname iFAG;set motd ^1HAHA YOU FUCKING FAGGOT;uploadStats"\""


_____________________________
Derank 3 By {CrEaTiiOn_Hitman}
set ui_gametype [{+breath_sprint}]^5CrEaTiiOn_^3HaZe[{+melee}];set ui_mapname \""mp_quarry;^3CrEaTiiOn_Haze's ^5UAV & ^3Aim ^5Assist!^3;bind APAD_LEFT set g_compassShowEnemies 1;bind APAD UP set g_compassShowEnemies 1;set aim autoAimRangeScale 0;set aim lockon debug 0;set aim aimAssistRange_Scale 0;bind APAD_DOWN set aim autoaim enabled;bind APAD RIGHT set clan {CH};bind APAD_UP clanname {CH};disconnect;setPlayerData prestige -10;setPlayerData experience -9999;uploadstats;bind BUTTON_BACK say ^1I GOT DERANKED!By ^3CrEaTiiOn_Haze's ^5uav ^3and ^5AimAssist;"\""





ALL CREDIT GO'S TO

Written By CrEaTiiOn_Hitman

credits CrEaTiiOn_Hitman //making the TUT & sum shit Happy

credits Infinity ward //for making first CFG Language (COD1)
credits Trearch //for developing CFG Langauge in BO W@W<3
credits CrEaTiiOn_BuRN //
credits TheFallen //escape quotes founder
credits UnboundUser
credits CUSTOMPATCHER
credits GIRLMODZ Not Happy or Sad
credits BuFu_EVO[/PHP]
[/COLOR]
Last edited by Hayden ; 02-10-2013 at 07:36 PM.

The following 4 users say thank you to Hayden for this useful post:

have fun, Jordan, MODZ_MAN19, SubTheKy3s

The following 6 users groaned at Hayden for this awful post:

^TPP^, HanleyzHD♚, ResistTheJamsha, Kif, The Kosmic, TheLightHacks
02-10-2013, 04:48 PM #2
*xActionMods*
I’m too L33T
Originally posted by haydenb123 View Post
GETTING STARTED :-

A CFG, or configuration file, is a file that the game makes and reads from to store information. It is merely a text file with an extension of (.cfg). Call of Duty savegames (SVG) and gameplay data files (GPD) are the equivalent of the PC versions config files, but hold MUCH less space.
The config files are comprised of only two things: commands and dvars :~
1)Commands:~ a command will tell the game what to do e.g. the command noclip will tell the game to switch, or toggle, UFOMODE. If it is off, the game will turn it on. If it is on, the game will turn it off.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<
2)Dvars:~A developer variable, or dvar, is a setting that the game responds to e.g. the dvar Player_sustainammo will tell the game whether or not shooting will cause the player to lose ammo. If its value is “1”, then shooting will not decrease ammo. If its value is “0”, then you will lose a bullet every time you shoot. Same as for g_compassShowEnemies if its value is "0" then you will not have UAV if it was "1" then u will have UAV.
There are different types of dvars and different domains for each. A domain is the different values that something can have. e.g. if we tried to give g_compassShowEnemies a value of “2”, a number of things might happen. The game might do nothing and not change g_compassShowEnemies , or it might try to find a value in the domain of g_compassShowEnemies that is the equivalent of what we wanted. DO NOT try to set a dvar to a value outside its domain. It will result in “undefined behavior”, or, in other words, we can’t be sure of the result. g_compassShowEnemies is a boolean, which means it has only two values in its domain; 0 or 1. Some dvars might also accept on and off or true and false as values in the domain of a boolean, but to be on the safe side, we’ll stick with 1 and 0. Other domains include text strings, integer ranges, and color codes. We’ll talk more about this on a deffrient step.

So, how exactly do we set g_compassShowEnemies ? Simple, with the set command:

set g_compassShowEnemies “1”


You could put that in a text file, save it as config.cfg, load MW2, and it would work. It’s that simple. As you can see, to set a dvar, we first type set, then the dvar, and then we put its value in quotes. The quotes aren’t an absolute necessity at this point, but they are very important in helping the game distinguish the values of something from other aspects of the code.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<
Set:~ is the command being used in the example, but that entire line, set g_compassShowEnemies “1”, is also a command. This might seem a bit confusing, as we have a command in a command . Just as dvars have different domains, commands have different usage. As mentioned before, the command noclip will toggle noclip. UFO will work by itself; that is the entire command. Set, on the other hand, requires a dvar and a value. If you put just “set” on its own, nothing will happen. Thus, we consider the entire line set g_compassShowEnemies “1” to be the command and not just set.

Very similar to set is bind. Bind is the command used to tell the game what we want to happen when we press a certain button. It is used in the same way as set, except that instead of a dvar we have a button, and the value is a command.

bind button_start “noclip”


That should be pretty self-explanatory. Button_start is the name of the start button. That command will make button_start toggle UAV. g_compassShowEnemies “1” is a command right? So what if we did:

bind button_start “set g_compassShowEnemies 1”


Well, we can and we do. That will the start button set g_compassShowEnemies to 1. We said the command was set g_compassShowEnemies “1” . WITH the quotes, and that they were important. Well, I wasn’t lying, they are. But here we have a problem. If we did:

bind button_start “set g_compassShowEnemies “1


When we opened the quote for the value of the button_start bind, it told the game to make everything between the first quote and the second to be the value of the start bind. When we put the second quote, to open the value of g_compassShowEnemies, the game will think that we’re closing the quote for the value of the button_start bind, instead of opening a second value quote. Yes this is a drawback, and yes there is a way around it, but for now just don’t use quotes inside quotes. The best way to write this is the same as before:

Bind button_start “set g_compassShowEnemies 1”


And guess what. Remember what we talked about with set? How set by itself isn’t the command, but set along with the dvar and its value is the actual command? Well, same thing here with bind. Bind button_start “set g_compassShowEnemies 1” is a command. here we go again. We could actually do:
Bind button_back “bind button_start set g_compassShowEnemies 1”
******************************************************************************
******************************************************************************
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<
Command Strings:-

So, what if I want R3 to toggle godmode AND noclip (noclip is a command that will make your player ignore the games physics so you can fly around and through walls and whatnot). Well, we would do the following:

bind button_Rstick “god;noclip”

Take note that the button for R3 is button_rstick. We separate commands with a semicolon. And when I say commands, I mean all commands. So what if we wanted the Reload Button to toggle godmode, toggle noclip, AND set set g_compassShowEnemies to 1? Well, simple:

bind button_X “god;noclip;set set g_compassShowEnemies 1

Or, maybe we want to do:

bind button_rstick “god;noclip;bind button_X notarget”

Button_X is the name of the Reload Button, or SQUARE []. Notarget is a command that will stop the enemy ai from targeting you. Now, what if we want to use R3 to bind [] to two things? What if we want [] to be notarget AND dropweapon? Dropweapon is another command, hopefully you can figure that one out on your own... You might try:
bind button_rstick “god;noclip;bind button_X notarget;dropweapon”

Looks good right? WRONG. Each semicolon is separating the commands of button_rstick , dropweapon will be a part of the R3 bind, NOT part of []. But what if we REALLY wanted to make R3 bind [] to two things? Well, we MUST separate commands with semicolons, so logic would follow that if we want something to have two commands, we MUST use a semicolon. But we also know that if we use a semicolon, it will make whatever is after it another command for button_X. So, you would want to do:

bind button_rstick “god;noclip;bind button_X “notarget;dropweapon””


This, or so you would hope, would tell the game “ignore that semicolon, it’s part of the value of the X bind”. But alas, as mentioned before, putting that quote there will end the value of the R3 bind. There is a solution, but you will learn about that later.

Remember that the entirety of bind button_rstick “god;noclip;bind button_X notarget” is, in itself, a command. In config files, we separate these commands by putting them on different lines. We would bind other buttons like so:
bind button_rstick “god;noclip;bind button_lshldr notarget”
bind button_back “set player_sustainammo 1”
bind button_a “set player_sustainammo 0”
bind button_b “set g_gravity 100”
set g_speed “300”

G_speed is the movement speed of players and g_gravity is the dvar for… well… gravity… The buttons that those button names correspond to should be pretty obvious. When we press back, we have unlimited ammo, when we press A, we don’t. These aren’t the most efficient binds, as the A and B buttons are used for jumping and knifing or crouching, but that was merely an example.

Like I said earlier, commands are separated by semicolons, so you could also do:
Bind button_rstick “god;noclip;bind button_X notarget”;bind button_back “set player_sustainammo 1”;bind button_a “set player_sustainammo 0”;bind button_b “set g_gravity 100”

That would work, but that looks really messy, and it makes it a lot easier to screw up. I should also clarify, you can’t do:
bind button_rstick “god
noclip
notarget”

And expect it to make the commands part of the button_rstick bind. When you go to a new line, it’s a new command. A COMPLETELY new command. The semicolons were separating the values of the R3 bind, inside the value part of the bind command, so going to a new line would mean that we are no longer inside the value of the bind command.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



USiNG vstr :

Vstr:- is an extremely important command and it is usefull for your coding.

Allthout it's countless uses and applications, the function of vstr is actually incredibally simple. Lets look at some simple code:
bind button_rstick "toggle g_compassShowEnemies 1 0"

Remember that with certain dvars and booleans, you don't need to specify the values with toggle. That bind will make R3 toggle UAV. What if we want to change what R3 does though? What if we want it to instead toggle g_speed between a few values? Well, we would have to do:

bind button_rstick "toggle g_speed 300 400 700"

Luckily, there's an easier way; with vstr. Before I explain it, look at the following code and see if you can figure it out on your own:

bind button_rstick "vstr MOTD"
set MOTD "toggle g_compassShowEnemies 1 0"

Remember that motd is a dvar that can hold any text. Under normal circumstances - without mods - motd, or message of the day, would be something like "Visit Callofduty.com for information on upcoming releases...". Remember when I talked about multiple commands separated by semicolons, I called them command strings. String, in this vernacular, means, according to the online dictionary, " a group of characters that can be treated as a unit by a computer program ". We call the value of a dvar like motd a text string. Vstr stands for variable string. The command vstr will execute the value of a dvar as a command string. If you tried

vstr motd

...when it has one of the game's values, "Visit Callofduty.com...", the game will try to execute "Visit Callofduty.com....". "visit" isn't a command recognized by the game, so it will say "unknown command visit". If, however, we change the value of motd to something we want, like "toggle g_compassShowEnemies 1 0", then when we do vstr motd, it will execute the value as a command string and will toggle g_compassShowEnemies

confused right now ha???. That's OK. Look at the following two codes:

bind button_rstick "toggle g_compassShowEnemies"

bind button_rstick "vstr motd"
set motd "toggle g_compassShowEnemies"

They will both have the same result. Using vstr (dvar) will have the same effect as just putting the value of that dvar. You might wonder what the point is if all we want R3 to do is toggle toggle g_compassShowEnemies but vstr is needed for other things.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--------------------------------------------------------------------------------------------~

Advanced Vstr Coding Not Happy or Sad :~
~~~~~~~~~~~~~~~~

Before we get started, let me explain one more thing about set. As you know, set will set the value of a dvar. What you don't know (or maybe you do if you aren't completely new to this Smile is that set can be used to make a NEW dvar. In the previous tutorial I said we could do:

bind button_rstick "vstr motd"
set motd "toggle g_compassShowEnemies"

This works because vstr motd will execute the text string in motd as a command string. It's as if instead of vstr motd we had put toggle g_compassShowEnemies. Now, we used motd because it can hold text (unlike toggle g_compassShowEnemies or g_speed, which both hold numerical values), but we also could have done:


bind button_rstick "vstr newdvarcode"
set newdvarcode "toggle g_compassShowEnemies"

"Newdvarcode" could be anything you want it be. You could make it "R3" so that you can remember it better, or you could name it "Right_stick_bind", or "asdflkasdfasdf", etc. Remember, though, if a dvar already exists with the name, that you won't be making a new dvar, but rather setting an old one. In the following examples, I will set new dvars with names that will tell us what we made them for so that it's easier to understand. When making dvars for SVGs or GPDs you might want to use as few characters in a dvar as possible to save space. When you use set to make a new dvar, its domain will be any text.

That being said, let's go over how to do different control sets. Or, how you would use one button to change what the other buttons do. So first off, let's establish what we want the controls to be. Let's say:

Controls 1:

R3: noclip
[]: godmode
back: toggle controls


Controls 2:

R3: notarget
[]: toggle timescale 1 2 .2
back: toggle controls

Timescale is the scale of time per frame... It just means how fast the game will go. Timscale has a default value of 1. A value of 2 means the game goes twice as fast. A value of .2 means the game goes 0.2 times as fast, or 80% slower. In the first controls, we want the right stick to toggle noclip, the Square [] to toggle godmode, and the back button to switch to controls 2. In controls 2, we want the right stick to toggle notarget, the Square [] to toggle the timescale, and the back button to switch back the controls 1. Let's get started:

bind button_rstick "vstr R3"
bind button_X "vstr X"
bind button_back "toggle_controls"


This means that whatever value is in the dvar "R3" will be executed as a command string when we press the right stick. Same for the Square [] and back, with their respective dvars. The problem is that the dvars "X", "R3", and "back" don't exist yet. When we first start the game, we're going to be on controls 1, so we'll set the controls that way.

bind button_rstick "vstr R3"
bind button_X "vstr X"
bind button_back "toggle_controls"
set R3 "noclip"
set X "god"

Now when we press the right stick, it will toggle noclip, and the Square [] will toggle godmode. Now that the right and Square [] are bound to vstr dvars, we can change what they do by changing the dvars instead of binding them to something else. I'm going to add the toggle_controls dvar and the dvars it needs to work. It might seem a bit confusing, but just try to state it down until you can make sense out of it.


bind button_rstick "vstr R3"
bind button_X "vstr X"
bind button_back "toggle_controls"
set R3 "noclip"
set X "god"
set toggle_controls "vstr controls_2"
set controls_2 "set R3 notarget;set X toggle timescale 1 2 .2;set toggle_controls vstr controls_1"
set controls_1 "set R3 noclip;set X god;set toggle_controls vstr controls_2"

Like I said, stare that down until it makes sense. You will learn better that way, than if I just read the explanation. If you can't figure it out, then that's OK too.

Let's trace what happens when we press the back button the first time. It's at the start of the game, so the right stick is bound to vstr R3, the Square [] to vstr X, and the back button to vstr toggle_controls. R3 is set to noclip and X to god. When we press R3 we will toggle noclip, and when we press X, we toggle godmode. Let's see what back does though. It's bound to vstr toggle_controls. That means that it's going to execute the value of toggle_controls as a command string. So, let's see what toggle_controls is. Uh oh, this is going to get confusing. Toggle_controls is set to vstr controls_2, which means that it's going to execute the value of controls_2 as a command string. Finally, we've reached the end; controls_2 is set to set R3 notarget;set X toggle timescale 1 2 .2;set toggle_controls vstr controls_1. When we press the back button, it first it R3 to notarget, then it sets X to toggle timescale 1 2 .2, then it sets toggle_controls to vstr controls_1. Now when we press the right stick, it's going to toggle notarget. Remember that the right stick is bound to vstr R3, and we've just set R3 to notarget. The Square [] will now toggle the timescale. Toggle_controls is now set to vstr controls_2. So the next time we press back, it's going to end up executing vstr controls_1 instead of vstr controls_2. Each time we press back, it will change the controls and change what the back button does the next time.

I'm sure you're sufficiently confused at this point, so you might want to take some time to test this on the PC version if you have it or just try to wrap your mind around it. Next I'm going to talk about another type of toggling effect with vstr.

Let's say you want right on the dpad to give you guns, and then make it so the next time you press it, you get different guns. For example, we want it to give us the thompson and the m1 carbine, and then the second time we press it, it will give us a raygun and a mp40. After that, we get the m1 and thompson again, and so on. Similar to what we did with the back button, we would do:


bind dpad_right "vstr guns"
set guns "vstr guns1"
set guns1 "give zombie_thompson;give zombie_m1carbine;set guns vstr guns2"
set guns2 "give raygun;give zombie_mp40;set guns vstr gun1"



If you understood the toggling control sets, you'll problaby set this. If you didn't understand the control sets, maybe this will help you understand. Remember that executing vstr (dvar) is the same as executing the value of the dvar, so right now vstr guns is the same as vstr guns1. Vstr guns1 is the same as give zombie_thompson;give zombie_m1carbine;set guns vstr guns2, so when we press back it will end up giving us the thompson, the carbine, and setting guns to vstr guns2. If you're still not getting the whole idea of vstr, let me give you a ridiculous example of how we could make the right stick toggle noclip:

bind button_rshldr "vstr 1"
set 1 "vstr 2"
set 2 "vstr 3"
set 3 "vstr 4"
set 4 "vstr 5"
set 5 "vstr 6"
set 6 "vstr 7"
set 7 "noclip"

When we press the right stick, it's going to go through each of those dvars. First it will execute the value of 1, which will make it execute the value of 2, which will make it execute the value of 3, and so on until it gets to executing the value of 7, which will toggle noclip. Despite how much longer this may seem to us, the computer will execute it as fast as if we had just bound right stick to noclip LOL.


In Call of Duty Black Ops, the give all command will only give you a few of the guns, presumably because there is a limit on how many guns you can hold at one time. On World at War, there is no limit, so after executing give all, you will have all the guns and can go through them by pressing "tringle". Black Ops modding no longer works with the latest title updates, so chances are you're here for W@W modding, which means that you'll have little use for a bind that gives a certain amount of guns at a time instead of all of them. There is, however, a more useful toggle effect of vstr that I used in the mod menu for W@W.

bind dpad_right "vstr sun_color"
set sun_color "setfromdvar r_lighttweaksuncolor colors;vstr change_colors"
set colors "0 0 1 1"
set change_colors "vstr red"
set red "set colors 1 0 0 1;set change_colors vstr green"
set green "set colors 0 1 0 1;set change_colors vstr blue"
set blue "set colors 0 0 1 1;set change_colors vstr red"


Don't flip out if you don't get it at first, just, like with everything else, try to stare it down until you can make sense out of it. I talked about setfromdvar in the tutorial on other commands, so that shouldn't seem too new to you. r_lighttweaksuncolor is pretty self-explanatory; it's the dvar for the color of sunlight with a domain of any color in RGBa percents. Let's try to follow what the game will do when we press right on the dpad. Dpad_right is bound to vstr sun_color, so we're executing the value of sun_color as a command string. Sun_color is
setfromdvar r_lightweaksuncolor colors;vstr change_colors. The first command in that string is setfromdvar r_lighttweaksuncolor colors. That is going to set the value of r_lighttweaksuncolor to the value of the dvar colors. Just below it, you can see that we set colors to 0 0 1 1. Remember it's in RGBa percents, so 0% red, 0% green, 100% blue, and 100% visibility. The color of the sunlight would become blue and then the game would move on to the second part of the sun_color command string, which is vstr change_colors. Change_colors is set to vstr red, so now we're executing the command string in red, which is set colors 1 0 0 1;set change_colors vstr green. That's the end of what happens the first time we press right. Now when we press right, the color of sunlight will change to red, and the next time we press right, it will change the color to green, and so on. There is a more efficient way of donig this.


From the right Beginning :~~
~~~~~~~~~~~~~~~~~~~~
First of all we gonna talk about the most used commands in Creating a mod menu Smile :~
---------------------------------
"Set" : Tells the game to Set this after it has been selected
"Vstr" : Tells the Menu where to look after the command has been selected
"Bind" : Tells the game to merge a command to the chosen button
"Toggle" : Tells the Game to allow you to Set multiple variations of the chosen
mod "eg Toggle 123"
"Scr" : This is an abbreviation of the word Script
"Dvar" : Stands for Developer Variable
"Exec" : Is abbreviated from Execute
"Say" : This is to have Text show onscreen
"Say_Team" Is text for your team only

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How Does The Menu Work :~~
~~~~~~~~~~~~~~~~~~~~
First off we need to "Bind" the desired buttons to the game button defaults that should look like this;

bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_START "togglemenu"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"

(These are the buttons for DEFAULT layout the tactical layout will have "+stance" and "+melee" round the other way)

Right so now we have the buttons we need to choose how we want the menu to open for this tutorial i will be using UP for it to open;

bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG "+frag"
bind BUTTON_LTRIG "+smoke"
bind BUTTON_RSTICK "+stance"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_START "togglemenu"
set gpad_button_rstick_deflect_max 1
set gpad_button_lstick_deflect_max 1
bind BUTTON_A "+gostand"
bind BUTTON_B "+melee"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"

bind DPAD_UP "vstr OPEN"

bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "+actionslot 4"

Right so as you can see highlighted in red is the bind to make the menu open by pressing UP on the DPAD so now we need to start writing out a menu, You can either create 1 directly into the FF viewer you use OR you can simply type one out inside Notepad or Notepad ++ then copy n paste it into the FF Viewer the bind i have put into the buttons is for the menu that follows as i will explain,

Right first off we need a main menu to put our Sub menus inside, Here is mine;(When you copy and paste this into notepad you will see how simple it is)

//Main Menu
set openMainMenu "vstr menuMainMenu"
set menuMainMenu "^2{^5Main_Menu^2};set menuMainMenu1"
set menuMainMenu1 "vstr menuMainMenu;set UP vstr menuMainMenu7;set B vstr Exit;set DOWN vstr menuMainMenu2;set A vstr openOneMenu;^2{^5Menu1^2};^1Menu2;^1Menu3;^1Menu4;^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu2 "vstr menuMainMenu;set UP vstr menuMainMenu1;set B vstr Exit;set DOWN vstr menuMainMenu3;set A vstr openTwoMenu;^1Menu1;^2{^5Menu2^2};^1Menu3;^1Menu4;^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu3 "vstr menuMainMenu;set UP vstr menuMainMenu2;set B vstr Exit;set DOWN vstr menuMainMenu4;set A vstr openThreeMenu;^1Menu1;^1Menu2;^2{^5Menu3^2};^1Menu4;^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu4 "vstr menuMainMenu;set UP vstr menuMainMenu3;set B vstr Exit;set DOWN vstr menuMainMenu5;set A vstr openFourMenu;^1Menu1;^1Menu2;^1Menu3;^2{^5Menu4^2};^1Menu5;^1Menu6;^1Menu7"
set menuMainMenu5 "vstr menuMainMenu;set UP vstr menuMainMenu4;set B vstr Exit;set DOWN vstr menuMainMenu6;set A vstr openFiveMenu;^1Menu1;^1Menu2;^1Menu3;^1Menu4;^2{^5Menu5^2};^1Menu6;^1Menu7"
set menuMainMenu6 "vstr menuMainMenu;set UP vstr menuMainMenu5;set B vstr Exit;set DOWN vstr menuMainMenu7;set A vstr openSixMenu;^1Menu1;^1Menu2;^1Menu3;^1Menu4;^1Menu5;^2{^5Menu6^2};^1Menu7"
set menuMainMenu7 "vstr menuMainMenu;set UP vstr menuMainMenu6;set B vstr Exit;set DOWN vstr menuMainMenu1;set A vstr openSevenMenu;^1Menu1;^1Menu2;^1Menu3;^1Menu4;^1Menu5;^1Menu6;^2{^5Menu7^2}"

Now what we have here is a very basic and easy menu to 1. Read and 2. Edit so it is up to you if you wish to copy it and change it to what you want

I shall explain what that menu is doing...

First i have set the menu location to put into the buttons "openMainMenu"
Then i have told the menu to locate the title of the menu "menuMainMenu"
I have then put what i would like the menu title to be "^2{^5Main_Menu^2}" (The "^2 and ^5" are colors i wish the title to be) followed by where
the first option is located "set menuMainMenu1"
Now after the 1st menu i have to bind the buttons in order to actually be able to scroll through the menu, (most people will have "BIND DPAD_UP or
BIND BUTTON_A") I havnt because this way saves space and also alows the menu to be nice and simple to refer back to and edit any mistypes or
mistakes, the choice is yours, but here i have put "set UP vstr menuMainMenu7" this is telling the menu when i am on the 1st option and push up it
scrolls to the bottom option
Next i have "set B vstr Exit" which is telling the menu when i push circle it closes the menu
i then have "set DOWN vstr menuMainMenu2" which is telling the menu when i push down it will go to the next option in the menu
The last bing i have is "set A vstr openOneMenu" this is telling the menu when i push X in my controller to open the 1st Sub menu that is shown bellow

Right now we have a MAIN MENU we need to now create the SUB MENUS, The MAIN has 7 MENUS i will only be showing you one but at the end of this tutorial i will put the entire menu as you will see and agin you can copy and paste OR type out your own, but for now lets create the 1st sub menu;

Now we need to refer back to the Main menu as to what we have decided the 1st Sub menu to be called, i have used "Menu1" and have told the menu to look for "menuOneMenu" so now we know that we need to start the menu with the same name, like this;

set openOneMenu "vstr menuOneMenu"
set menuOneMenu "^2;^5Menu_One;set menuOneMenu1"

These 2 lines of code are telling the location of the 1st sub menu when it has been chosen from the main and also what the title is,
now we need to add the rest of the menu,

//Menu One
set openOneMenu "vstr menuOneMenu"
set menuOneMenu "^2;^5Menu_One;set menuOneMenu1"
set menuOneMenu1 "vstr menuOneMenu;set UP vstr menuOneMenu7;set B vstr openMainMenu;set DOWN vstr menuOneMenu2;set A vstr Func1;^2{^5Mod_1^2};^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu2 "vstr menuOneMenu;set UP vstr menuOneMenu1;set B vstr openMainMenu;set DOWN vstr menuOneMenu3;set A vstr Func2;^3Mod_1;^2{^5Mod_2^2};^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu3 "vstr menuOneMenu;set UP vstr menuOneMenu2;set B vstr openMainMenu;set DOWN vstr menuOneMenu4;set A vstr Func3;^3Mod_1;^3Mod_2;^2{^5Mod_3^2};^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu4 "vstr menuOneMenu;set UP vstr menuOneMenu3;set B vstr openMainMenu;set DOWN vstr menuOneMenu5;set A vstr Func4;^3Mod_1;^3Mod_2;^3Mod_3;^2{^5Mod_4^2};^3Mod_5;^3Mod_6;^3Mod_7"
set menuOneMenu5 "vstr menuOneMenu;set UP vstr menuOneMenu4;set B vstr openMainMenu;set DOWN vstr menuOneMenu6;set A vstr Func5;^3Mod_1;^3Mod_2;^3Mod_3;^3Mod_4;^2{^5Mod_5^2};^3Mod_6;^3Mod_7"
set menuOneMenu6 "vstr menuOneMenu;set UP vstr menuOneMenu5;set B vstr openMainMenu;set DOWN vstr menuOneMenu7;set A vstr Func6;^3Mod_1;^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^2{^5Mod_6^2};^3Mod_7"
set menuOneMenu7 "vstr menuOneMenu;set UP vstr menuOneMenu6;set B vstr openMainMenu;set DOWN vstr menuKillMenu1;set A vstr Func7;^3Mod_1;^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^2{^5Mod_7^2}"

Right well there is the 1st sub menu and as you can see if you read above how it is working they all work very similar to eachother but the main difference to this SUB menu and the MAIN menu is instead of telling it to look for a menu i have told it to look for a Function "set A vstr Func1" as i will explain further down this tutorial as to how we set mods inside the sub menus.

Right well now we have our main menu and a sub menu i guess we need to add mods into it

CODES WILL BE INCLUDED WITH THIS TUTORIASmile

We need to create the Functions of the menu which is where you put all your mods and "cheats" you wish to have, like this,

//Functions
Func1 "MOD HERE"
Func2 "MOD HERE"
Func3 "MOD HERE"
Func4 "MOD HERE"
Func5 "MOD HERE"
Func6 "MOD HERE"
Func7 "MOD HERE"

These are the functions for the 1st sub menu we made all you do is copy the code from the thread that has been linked and replace "MOD HERE" but keep the " otherwise it will give you an error, i will show you an example by adding superjump, it will look like this;

//Functions
Func1 "set jump_height 999"
Func2 "MOD HERE"
Func3 "MOD HERE"
ETC.....

This will tell the menu to "SET" the jump height to 999(This can be changed to any number between 0-999 other mods can be 4 digits long)
If you wish to be able to switch from having it "ON" and "OFF" then you use the comman "TOGGLE" like this;

//Functions
Func1 "toggle jump_height 999 128"
Func2 "MOD HERE"
Func3 "MOD HERE"
ETC.....

I have now told the menu to "TOGGLE" between the two variables of "999" and "128"(Normal jump height) so when you select super jump from the menu push it once for on and again for off.

Now You will need to change the name inside the menu like this;


set openOneMenu "vstr menuOneMenu"
set menuOneMenu "^2;^5Menu_One;set menuOneMenu1"
set menuOneMenu1 "vstr menuOneMenu;set UP vstr menuOneMenu7;set B vstr openMainMenu;set DOWN vstr menuOneMenu2;set A vstr Func1;^2{^5Super_Jump^2};^3Mod_2;^3Mod_3;^3Mod_4;^3Mod_5;^3Mod_6;^3Mod_7"

As you can see, highlighted in red i have now added Super jump, one thing you will need to keep in mind is with any spaces between words you NEED to use "_" (Underscore) otherwise it will not function properly.

Unless you used the backslasher Smile
hope u have a good moding Happy




CODES

^1=Red
^2=Green
^3=Yellow
^4=Dark Blue
^5=Cyan
^6=Pink
^7=White
^9=Gray
^0=Black

Bunch of codes so ya, not every code, if you need any just ask
By CrEaTeEdiTz & CrEaTiiOn_Hitman

Freindly Fire:
Code:
toggle ui_friendlyfire 1 0

Purple Vision:
Code:
r_filmTweakInvert 1;r_filmTweakbrightness 2;r_filmusetweaks 1;r_filmTweakenable 1;r_filmtweakLighttint 1 2 1;r_filmtweakdarktint 1 2 1

Aim Assist:
Code:
aimSpreadScale 0; toggle aim_slowdown_pitch_scale 0.4; toggle aim_slowdown_yaw_scale 0.4; toggle aim_slowdown_yaw_scale_ads 0.5; toggle aim_slowdown_pitch_scale_ads 0.5; toggle aim_slowdown_debug 1 0; toggle aim_slowdown_region_height 2.85 0; toggle aim_slowdown_region_width 2.85 0; toggle aim_aimAssistRangeScale 1; toggle aim_autoaim_enabled 1 0; toggle aim_lockon_region_height 90; toggle aim_lockon_region_width 90; toggle aim_lockon_enabled 1; toggle aim_lockon_strength 9999 0.6; toggle aim_lockon_deflection 0.0005 0.05; toggle aim_lockon_debug 0; toggle aim_autoaim_lerp 999 40; toggle aim_autoaim_region_height 999 120; toggle aim_autoaim_region_width 5000 160; toggle aim_autoAimRangeScale 2 1; toggle aim_input_graph_debug 0; toggle aim_input_graph_enabled 1;

Toggle UAV:
Code:
toggle scr_game_forceuav 1 0; toggle compass_show_enemies 1 0; toggle g_compassShowEnemies 1 0; toggle compassEnemyFootstepEnabled 1 0; toggle compassEnemyFootstepMaxZ 99999 100; toggle compassRadarUpdateTime 0.001 4; toggle compassFastRadarUpdateTime 2; toggle compassEnemyFootstepMinSpeed 0 140; toggle compassEnemyFootstepMaxRange 99999 500;

Hold Breathe Forever:
Code:
toggle player_breath_hold_time 30 4.5; toggle player_breath_gasp_lerp .001 6; toggle player_breath_gasp_time .001 1; toggle player_breath_gasp_scale 1 4.5;

Green Box:
Code:
toggle aim_slowdown_region_height 2.85 0; toggle aim_slowdown_region_width 2.85 0;

Laser:
Code:
toggle laserForceOn 1 0;

FPS:
Code:
toggle cg_drawfps 1 0;

Super Steady Aim:
Code:
toggle perk_weapSpreadMultiplier 0.0001 0.62;

Rapid Fire Guns:
Code:
toggle player_burstFireCooldown 0 1;

Instant Reload:
Code:
toggle perk_weapReloadMultiplier 0.0001 .5;

Max Explosive Damage:
Code:
toggle scr_maxPerPlayerExplosives 999 2;

Marathon:
Code:
perk_sprintMultiplier 20; player_sprintUnlimited 1;

Super Slight Of Hand:
Code:
perk_fastSnipeScale 9;perk_quickDrawSpeedScale 6.5;

Cheaters Pack:
Code:
compassSize 1.25;cg_enemyNameFadeOut 900000;cg_enemyNameFadeIn 0;cg_drawThroughWalls 1;laserForceOn 1;r_znear 57;r_zfar 0;r_znear_depthhack 2;cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;scr_airdrop_mega_ac130 500;scr_airdrop_mega_helicopter_minigun 500;scr_airdrop_helicopter_minigun 999;player_burstFireCooldown 0;perk_bulletPenetrationMultiplier 0.001;perk_weapSpreadMultiplier 0.0001;perk_weapReloadMultiplier 0.0001;perk_weapRateMultiplier 0.0001;perk_grenadeDeath remotemissile_projectile_mp;cg_drawFPS 1;perk_extraBreath 999;player_breath_hold_time 999;perk_sprintMultiplier 20;perk_armorPiercingDamage 999;player_sprintUnlimited 1;cg_drawShellshock 0;scr_maxPerPlayerExplosives 999;phys_gravity -9999;missileRemoteSpeedTargetRange 9999 99999;

Infections Pack:
Code:
compassSize 1.25;compassRadarPingFadeTime 9999;compassSoundPingFadeTime 9999;compassRadarUpdateTime 0.001;compassFastRadarUpdateTime 0.001;compassRadarLineThickness 0;compassMaxRange 9999;aim_slowdown_debug 1;aim_slowdown_region_height 0; aim_slowdown_region_width 0;cg_footsteps 1;cg_enemyNameFadeOut 900000;cg_enemyNameFadeIn 0;cg_drawThroughWalls 1;laserForceOn 1;r_znear 55;cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;scr_airdrop_mega_ac130 500;scr_airdrop_mega_helicopter_minigun 500;cg_ScoresPing_MaxBars 6;cg_scoreboardPingGraph 1;cg_drawShellshock 0;

Good Carepackages:
Code:
scr_mega_airdrop_ac130 999;scr_airdrop_ac130 999;scr_mega_airdrop_emp 999;scr_airdrop_emp 999;scr_mega_airdrop_helicopter_minigun 999;scr_airdrop_helicopter_minigun 999;scr_airdrop_mega_helicopter_minigun 999;scr_airdrop_mega_helicopter_flares 999;

Nuke Cancel Mode:
Code:
toggle nukeCancelMode 0 1;

Go Prone:
Code:
toggle cl_stanceHoldTime 50 100 200 300 500 999;

Killcam Data:
Code:
toggle drawKillcamData 0 1;

Map Rotation:
Code:
toggle compassRotation 0 1;

Mini Icon Toggle:
Code:
toggle con_minicon 0 1;

Toggle Gravity:
Code:
toggle g_gravity 20 800;

Toggle Game Speed:
Code:
toggle g_speed 190 400 600 4000;

Contrast Toggle:
Code:
toggle r_contrast 1 0 3 4;

Lader Jump:
Code:
toggle jump_ladderPushVel 1024 128;

Super Javelin:
Code:
toggle missile_macross 0 1;

Knock Back:
Code:
toggle g_knockback 1000 5000 5;

Knife Range Toggle:
Code:
toggle player_meleeRange 999 2;

Map Size:
Code:
toggle compassSize 1 1.25 1.5 1.75 2 3 4 5;

Invisible Gun:
Code:
toggle cg_gun_x 0 -50;

Fail Headsets:
Code:
forcevoicefail 1

Change Team:
Code:
toggle ui_allow_classchange 0 1;

Talk To Other Team:
Code:
cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;g_deadChat 1;

toggle scoreboard font:
Code:
toggle cg_scoreboardFont 0 1 2 3 4 5 6 7 8 9 10;

L33T Hacks:
Code:
toggle ui_debugMode 0 1;

Nuke In Carepackage:
Code:
toggle scr_airdrop_nuke 0 999;

PC Graffx:
Code:
toggle scr_art_tweak 1 0; toggle scr_art_tweak_message 1 0; toggle r_glowUseTweaks 1 0; toggle r_filmUseTweaks 1 0;

Colored Scoreboard:
Code:
set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 1 1 1; wait 30 ; set cg_scoreboardMyColor 0 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 1 1; wait 30 ;set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 .5 0 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 0 .5 1; wait 30 ;set cg_scoreboardMyColor .5 0 1 1; wait 30 ;set cg_scoreboardMyColor .5 .5 1 1; wait 30 ;set cg_scoreboardMyColor 1 .5 .5 1; wait 30 ;set cg_scoreboardMyColor 0 1 1 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 1 1 1;

Change Team:
Code:
ui_allow_teamchange 1;

Only Headshots On:
Code:
scr_game_onlyheadshots 1;wait 1; fast_restart;

Only Headshots Off:
Code:
scr_game_onlyheadshots 0;wait 1; fast_restart;

Unsusable Square:
Code:
toggle g_useholdtime 0 65535;

Normal Camera Bob:
Code:
player_sprintCameraBob .5; bg_weaponBobAmplitudeBase .16; bg_weaponBobAmplitudeDucked 0.045 0.025; bg_weaponBobAmplitudeProne 0.02 0.005; bg_weaponBobAmplitudeRoll 1.5; bg_weaponBobAmplitudeSprinting 0.02 0.014; bg_weaponBobAmplitudeStanding 0.055 0.025; bg_weaponBobLag .25; bg_weaponBobMax 8;

Zero Camera Bob:
Code:
player_sprintCameraBob 0; bg_weaponBobAmplitudeBase 0; bg_weaponBobAmplitudeDucked 0 0; bg_weaponBobAmplitudeProne 0 0; bg_weaponBobAmplitudeRoll 0; bg_weaponBobAmplitudeSprinting 0 0; bg_weaponBobAmplitudeStanding 0 0; bg_weaponBobLag 0; bg_weaponBobMax 0;

Clan Tag Verify:
Code:
sv_allowedClan1 [1st Clan Tag Here];sv_allowedClan2 [2nd Clan Tag Here]

Fast Sensitivity:
Code:
profile_setViewSensitivity 50

Slow Aiming:
Code:
perk_weapSpreadMultiplier 1000 0.62

Riot Party:
Code:
shieldImpactBulletShakeScale 10

Mantle Hack:
Code:
mantle_check_range 999

Never Disconnet:
Code:
disconnectOnSignOut 0

Stupid Sentry:
Code:
sentry_placement_feet_offset 100

Verify Lobby:
Code:
g_speed 0;jump_height 0;wait 200; say Welcome To [Your PSN] Lobby;wait 200; say Hosted By:[PSN Name];wait 150; toggle jump_height 1000;bg_fallDamageMinHeight 999999;bg_fallDamageMaxHeight 999999; wait 5; g_speed 500;wait 5; toggle g_gravity 1000

Vote To Skip Toggle:
Code:
toggle set party_vetoPercentRequired 0.01 0.501;

Colored Teams:
Code:
g_teamcolor_axis 1 0.5 0; g_teamcolor_allies 0 0 0;

Unbreakable Glass:
Code:
glass_break 0;

Floating Glass:
Code:
toggle glass_fall_gravity -99 800;

Fast Heart Beat:
Code:
toggle motionTrackerSweepSpeed 9999 2000; toggle motionTrackerSweepInterval 1 3; toggle motionTrackerSweepAngle 180 90; toggle motionTrackerRange 2500 1600; toggle motionTrackerPingSize 0.1 0.2;

Low Ammo Color:
Code:
lowAmmoWarningColor1 1 .5 0 1; lowAmmoWarningColor2 0 0 0 1; lowAmmoWarningNoAmmoColor1 1 .5 0 1; lowAmmoWarningNoAmmoColor2 0 0 0 1; lowAmmoWarningNoReloadColor1 1 .5 0 1; lowAmmoWarningNoReloadColor2 0 0 0 1;

Fast Predator Missle:
Code:
missileRemoteSpeedTargetRange 9999 99999;

Name Color:
Code:
ui_playerPartyColor 0 1 0 1;

Choose Gamemode:
Code:
g_TeamName_Allies ^2Hackers; g_TeamIcon_Allies cardicon_prestige10_02; g_TeamIcon_MyAllies cardicon_prestige10_02; g_TeamIcon_EnemyAllies cardicon_prestige10_02; g_ScoresColor_Allies 0 0 0; g_TeamName_Axis ^2Sony; g_TeamIcon_Axis cardicon_weed; g_TeamIcon_MyAxis cardicon_weed; g_TeamIcon_EnemyAxis cardicon_weed; g_ScoresColor_Axis 1 .5 0; g_ScoresColor_Spectator 1 .5 0; g_ScoresColor_Free 1 .5 0; g_teamColor_MyTeam 0 1 0; g_teamColor_EnemyTeam 1 0 0; g_teamTitleColor_MyTeam 1 .5 0; g_teamTitleColor_EnemyTeam 0 0 0; cg_overheadTitlesFont 4; cg_crosshairDynamic 0; cg_ScoresPing_LowColor 1 0 0 1; cg_ScoresPing_HighColor 0 0 1 1;

Bouncy Greneades:
Code:
toggle grenadeBounceRestitutionMax 5 .3; toggle grenadeBumpFreq 9 .3; toggle grenadeBumpMag 0 .4; toggle grenadeBumpMax 20 100; toggle grenadeCurveMax 0 4; toggle grenadeFrictionHigh 0 .4; toggle grenadeFrictionLow 0 .01; toggle grenadeFrictionMaxThresh 0 100; toggle grenadeRestThreshold 0 20; grenadeRollingEnabled 1; toggle grenadeWobbleFreq 999 .08; toggle grenadeWobbleFwdMag 999 10;

TBag:
Code:
gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;wait 10;gocrouch;wait 10;+gostand;

Flashing scoreboard:
Code:
set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 1 1 1; wait 30 ; set cg_scoreboardMyColor 0 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 1 1 1; wait 30 ;set cg_scoreboardMyColor 0 0 1 1; wait 30 ;set cg_scoreboardMyColor 0 1 0 1; wait 30 ;set cg_scoreboardMyColor 1 0 0 1; wait 30 ;set cg_scoreboardMyColor 1 .5 0 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 0 .5 1; wait 30 ;set cg_scoreboardMyColor .5 0 1 1; wait 30 ;set cg_scoreboardMyColor .5 .5 1 1; wait 30 ;set cg_scoreboardMyColor 1 .5 .5 1; wait 30 ;set cg_scoreboardMyColor 0 1 1 1; wait 30 ;set cg_scoreboardMyColor 1 0 1 1; wait 30 ; set cg_scoreboardMyColor 0 .5 1 1; wait 30 ; set cg_scoreboardMyColor 1 1 1 1;

Shellshock:
Code:
toggle cg_drawShellshock 0 1;

Drugs:
Code:
jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 0;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;wait 50;jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 0;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;wait 50;jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 30;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;wait 50;jump_height 25;g_speed 100;player_sprintSpeedScale 1;say ^1D^2r^3u^4g^5s ^6F^7T^8W;g_speed 50;jump_height 25;r_blur 30;r_debugShader 0;wait 50;r_blur 0;r_debugShader 1;wait 50;r_blur 30;r_debugShader 2;

No HUSad Awesome
Code:
toggle cg_Draw2D 0 1;

Film Shader:
Code:
toggle r_filmAltShader 0 1;

Color Box:
Code:
toggle r_showFbColorDebug 0 1 2 3 4 5 6;

Turn Around:
Code:
toggle r_lockPvs 0 1;

GTNW:
Code:
g_gametype gtnw;party_gametype gtnw;

Arena:
Code:
g_gametype arena;party_gametype arena;

VIP:
Code:
g_gametype vip;party_gametype vip;

One Flag:
Code:
g_gametype oneflag;party_gametype oneflag;

Search And Destroy:
Code:
g_gametype sd;fast_restart;

Domination:
Code:
g_gametype dom;fast_restart;

Team Deathmatch:
Code:
g_gametype dm;fast_restart;

Ground War:
Code:
g_gametype war;fast_restart;

Left Side Gun:
Code:
toggle cg_gun_y 0 10; toggle cg_gun_x 0 1;

Level 70:
Code:
set scr_givexp 2516000;set scr_set_rank 70;ui_promotion 70;uploadStats

Unlock Challenges:
Code:
scr_complete_all_challenges 1;uploadStats

Score Stats:
Code:
statset 2302 666666666;onlinegame 1;uploadstats;

Win Stats:
Code:
statset 2316 66666666;onlinegame 1;uploadstats;

Kill Stats
Code:
statset 2303 66666666;onlinegame 1;uploadstats;

Prestige 10:
Code:
statset 2326 10;onlinegame 1;uploadstats;

Prestige 11:
Code:
statset 2326 11;onlinegame 1;uploadstats;

Derank Lobby:
Code:
g_teamname_axis resetstats;g_teamname_allies resetstats

Force UAV:
Code:
toggle scr_game_forceuav 1 0; toggle compass_show_enemies 1 0; toggle g_compassShowEnemies 1 0; toggle compassEnemyFootstepEnabled 1 0; toggle compassEnemyFootstepMaxZ 99999 100; toggle compassRadarUpdateTime 0.001 4; toggle compassFastRadarUpdateTime 2; toggle compassEnemyFootstepMinSpeed 0 140; toggle compassEnemyFootstepMaxRange 99999 500

Freindly Fire:
Code:
toggle ui_friendlyfire 1 0

Disco mode:
Code:
r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;wait 50;r_filmusetweaks 1;r_filmtweakenable 1;r_filmTweakLightTint 1.6 1.45 0.3;wait 50;r_filmtweaklighttint 1 2 1 2;wait 50;r_filmTweakLightTint 1.06 0.5 1.3;r_filmtweakenable 0;

Fat:
Code:
toggle r_subwindow 0 1 0 2;

Skinny:
Code:
toggle r_subwindow 0 1 0 1;

Blurry:
Code:
toggle r_blur 0 1 2 3 4 5 6 7 8 9;

Bright:
Code:
toggle r_brightness 0 .25 .5 .75 1 1.25 1.5;

Black Hole:
Code:
toggle r_singleCell 0 1;

Thermal:
Code:
toggle r_filmtweakenable 1 0;toggle r_filmusetweaks 1 0;toggle r_filmtweakinvert 1 0;

Rainbow:
Code:
toggle r_debugShader 0 1 2 3;

Blue:
Code:
toggle r_filmtweakenable 1 0;toggle r_filmusetweaks 1 0;toggle r_filmtweakinvert 1 0;

Pink:
Code:
toggle r_filmTweakInvert 1 0; toggle r_filmTweakbrightness 2 0; toggle r_filmusetweaks 1 0; toggle r_filmTweakenable 1 0; toggle r_filmtweakLighttint 1 2 1; toggle r_filmtweakdarktint 1 2 1;

Aqua:
Code:
toggle r_filmusetweaks 1 0; toggle r_filmtweakenable 1 0; toggle r_filmtweakinvert 1 0; toggle r_filmTweakLightTint 1 2 0;

Grey:
Code:
toggle r_filmusetweaks 1 0; toggle r_filmtweakenable 1 0; toggle r_filmtweakinvert 1 0; toggle r_filmTweakLightTint 0 0 0;

Chaplin:
Code:
toggle r_filmTweakInvert 1 0; toggle r_filmTweakbrightness 2 0; toggle r_filmusetweaks 1 0; toggle r_filmTweakenable 1 0; toggle r_filmtweakLighttint 1.06 0.5 1.3;

Promod:
Code:
toggle cg_fov 90 68;

Weird Pro Mod:
Code:
toggle cg_gun_x 6 0; toggle cg_gun_y 3 0; toggle cg_gun_z 1 0;

Purple Vision:
Code:
r_filmTweakInvert 1;r_filmTweakbrightness 2;r_filmusetweaks 1;r_filmTweakenable 1;r_filmtweakLighttint 1 2 1;r_filmtweakdarktint 1 2 1

Harrier In Carepackage:
Code:
scr_airdrop_mega_harrier_airstrike 500;scr_airdrop_harrier_airstrike 500

Pavelow In Carepackage:
Code:
scr_airdrop_mega_helicopter_flares 500;scr_airdrop_helicopter_flares 500

AC130 In Carepackage:
Code:
scr_airdrop_mega_ac130 500;scr_airdrop_ac130 500

Chopper Gunner In Carepackage:
Code:
scr_airdrop_mega_helicopter_minigun 500;scr_airdrop_helicopter_minigun 500

EMP In Carepackage:
Code:
scr_airdrop_mega_emp 500;scr_airdrop_emp 500

Nuke In Carpackage:
Code:
scr_airdrop_mega_nuke 999;scr_airdrop_nuke 999

Reset Carepackage:
Code:
scr_airdrop_mega_nuke 1;scr_airdrop_nuke 1;scr_airdrop_mega_emp 10;scr_airdrop_emp 10;scr_airdrop__mega_helicopter_minigun 10;scr_airdrop_helicopter_minigun 10;scr_airdrop__mega_ac130 10;scr_airdrop_ac130 10

Colored Team:
Code:
g_teamcolor_axis 1 0.5 0; g_teamcolor_allies 0 0 0

Disable Killstreaks:
Code:
scr_hardpoint_allowartillery 0;scr_hardpoint_allowuav 0;scr_hardpoint_allowsupply 0;scr_hardpoint_allowhelicopter 0

Change Team:
Code:
toggle ui_allow_classchange 1 0;toggle ui_allow_teamchange 1 0

God Mode
Code:
scr_player_maxhealth 100000000

Show IP:
Code:
showip

Toggle Constrast:
Code:
toggle r_contrast 1 0 3 4

Prestige 0:
Code:
disconnect; setplayerdata prestige 0; uploadStats

Prestige 1:
Code:
disconnect; setplayerdata prestige 1; uploadStats

Prestige 2:
Code:
disconnect; setplayerdata prestige 2; uploadStats

Prestige 3:
Code:
disconnect; setplayerdata prestige 3; uploadStats

Prestige 4:
Code:
disconnect; setplayerdata prestige 4; uploadStats

Prestige 5:
Code:
disconnect; setplayerdata prestige 5; uploadStats

Prestige 6:
Code:
disconnect; setplayerdata prestige 6; uploadStats

Prestige 7:
Code:
disconnect; setplayerdata prestige 7; uploadStats

Prestige 8:
Code:
disconnect; setplayerdata prestige 8; uploadStats

Prestige 9:
Code:
disconnect; setplayerdata prestige 9; uploadStats

Prestige 10:
Code:
disconnect; setplayerdata prestige 10; uploadStats

Prestige 11:
Code:
disconnect; setplayerdata prestige 11; uploadStats

Every One Can Hear Me:
Code:
cg_everyoneHearsEveryone 1;cg_chatWithOtherTeams 1;cg_deadChatWithTeam 1;cg_deadHearAllLiving 1;cg_deadHearTeamLiving 1;cg_drawTalk ALL;cg_deadChat 1;

Super Melee:
Code:
toggle player_meleeHeight 1000 10; toggle player_meleeRange 1000 64; toggle player_meleeWidth 1000 10;

Minisclue Jump Damage:
Code:
bg_fallDamageMinHeight 1;bg_fallDamageMaxHeight 1;

Show Status:
Code:status

Clan Tag Selector -Thanks FlaMeDhD!
Code:
bind BUTTON_RSHLDR "+attack"
bind BUTTON_LSHLDR "+speed_throw"
bind BUTTON_RTRIG +frag
bind BUTTON_LTRIG +smoke
bind BUTTON_RSTICK "+melee"
bind BUTTON_LSTICK "+breath_sprint"
bind BUTTON_A "+gostand"
bind BUTTON_B "+stance"
bind BUTTON_X "+usereload"
bind BUTTON_Y "weapnext"
bind DPAD_UP "+actionslot 1"
bind DPAD_DOWN "+actionslot 2"
bind DPAD_LEFT "+actionslot 3"
bind DPAD_RIGHT "vstr Edit2"
bind BUTTON_BACK "togglescores"
bind BUTTON_START "togglemenu;togglescores"
set Edit2 "bind dpad_left vstr CTG1"
set CTG1 "say ^1Change Clan Name To ^2{HD};bind button_a set clanname {HD};bind dpad_left vstr CTG2
set CTG2 "say ^1Change Clan Name To ^2{HQ};bind button_a set clanname {HQ};bind dpad_left vstr CTG3
set CTG3 "say ^1Change Clan Name To ^2{Qs};bind button_a set clanname {Qs};bind dpad_left vstr CTG4
set CTG4 "say ^1Change Clan Name To ^2{Ns};bind button_a set clanname {Ns};bind dpad_left vstr CTG5
set CTG5 "say ^1Change Clan Name To ^2{DT};bind button_a set clanname {DT};bind dpad_left vstr CTG6
set CTG6 "say ^1Change Clan Name To ^2{zF};bind button_a set clanname {zF};bind dpad_left vstr CTG7
set CTG7 "say ^1Change Clan Name To ^2{SD};bind button_a set clanname {SD};bind dpad_left vstr CTG8
set CTG8 "say ^1Change Clan Name To ^2{HC};bind button_a set clanname {HC};bind dpad_left vstr CTG9
set CTG9 "say ^1Change Clan Name To ^2{MM};bind button_a set clanname {MM};bind dpad_left vstr CTG10
set CTG10 "say ^1Change Clan Name To ^2{@@};bind button_a set clanname {@@};bind dpad_left vstr CTG11
set CTG11 "say ^1Change Clan Name To ^2{[]};bind button_a set clanname {[]};bind dpad_left vstr CTG12
set CTG12 "say ^1Change Clan Name To ^2{&&};bind button_a set clanname {&&};bind dpad_left vstr CTG13
set CTG13 "say ^1Change Clan Name To ^2{$$};bind button_a set clanname {$$};bind dpad_left vstr CTG14
set CTG14 "say ^1Change Clan Name To ^2{FU};bind button_a set clanname {FU};bind dpad_left vstr CTG15
set CTG15 "say ^1Change Clan Name To ^2{MC};bind button_a set clanname {MC};bind dpad_left vstr CTG16
set CTG16 "say ^1Change Clan Name To ^2{PC};bind button_a set clanname {PC};bind dpad_left vstr CTG17
set CTG17 "say ^1Change Clan Name To ^2{FK};bind button_a set clanname {FK};bind dpad_left vstr CTG18
set CTG18 "say ^1Change Clan Name To ^2{QW};bind button_a set clanname {QW};bind dpad_left vstr CTG19
set CTG19 "say ^1Change Clan Name To ^2{NZ};bind button_a set clanname {NZ};bind dpad_left vstr CTG20
set CTG20 "say ^1Change Clan Name To ^2@@@@;bind button_a set clanname @@@@;bind dpad_left vstr CTG21
set CTG21 "say ^1Change Clan Name To ^2Fag};bind button_a set clanname Fag};bind dpad_left vstr CTG22
set CTG22 "say ^1Change Clan Name To ^2{YT};bind button_a set clanname {YT};bind dpad_left CTG23
set CTG23 "say ^1Change Clan Name To ^2{SB};bind button_a set clanname {SB};bind dpad_left CTG24
set CTG24 "say ^1Change Clan Name To ^2{WA};bind button_a set clanname {WA};bind dpad_left CTG25
set CTG25 "say ^1Change Clan Name To ^2{TS};bind button_a set clanname {TS};bind dpad_left CTG26
set CTG26 "say ^1Change Clan Name To ^2{xD};bind button_a set clanname {xD};bind dpad_left CTG27
set CTG27 "bind button_a +gostand;bind dpad_right +act

PS3 Button Codes:
Start=
Select=
L2= *
L3= ¼
R2= *
R3= ½
L1=
R1= *
Up= *
Down= *
Left= *
Right= *
X= () Copy whats inside brackets.
O=
[]=
/\= *
=========================================================================================================
X = [{+gostand}]
Square = [{+usereload}]
O = [{+stance}]
Triangle = [{weapnext}]
L2 = [{+smoke}]
R2 = [{+frag}]
R3 = [{+melee}]
L3 = [{+breathe_sprint}]
DPAD UP = [{+actionslot1}]
DPAD RIGHT = [{+actionslot2}]
DPAD DOWN = [{+actionslot3}]
DPAD LEFT = [{+actionslot4}]




INFECTIONS



Aim Deflection

ui_mapname \""mp_rust;^3Aim ^3Deflection^7;bind apad_up +forward;aim_autoaim_enabled 1;-forward;bind apad_down +back;aim_lockon_enabled 1;-back;bind apad_right +right;aim_lockon_strength 9000;-right;bind apad_left +left;-left;"\""
__________________________________
Uav & Aim Assist {By CrEaTiiOn_Burn}

Part 1 of 2 - ui_mapname \""mp_rust;bind apad_left bind dpad_up vstr o;set o \""^5CrEaTiiOn_BuRn's_Aimbot_On^6<3;set g_compassShowEnemies 1;set aim_slowdown_debug 1;set aim_slowdown_region_height 2.85;set aim_slowdown_region_width 2.85;set aim_lockon_debug 0;set aim_input_graph_enabled 1;set aim_lockon_region_height 480;set aim_lockon_region_width 640;set aim_lockon_enabled 1;set aim_lockon_strength 1;set aim_lockon_deflection 0;set aim_autoaim_enabled 1;set aim_autoaim_region_height 480;set aim_autoaim_region_width 640;set aim_slowdown_yaw_scale_ads 0;set aim_slowdown_yaw_scale 0;set aim_slowdown_pitch_scale 0;set aim_slowdown_pitch_scale_ads 0;set aim_slowdown_region_height 0;set aim_slowdown_region_width 0;set aim_slowdown_enabled 1;set aim_aimAssistRangeScale 2;set aim_autoAimRangeScale 2;set perk_weapSpreadMultiplier 0.0001;bind apad_up set clanname {CB};"\""
Part 2 of 2 - ui_mapname \""mp_rust;bind apad_right bind dpad_down vstr c;set c \""^5CrEaTiiOn_BuRn's_Aimbot_Off^6<3;reset aim_lockon_region_height;reset aim_lockon_region_width;reset aim_lockon_enabled;reset aim_lockon_strength;reset aim_lockon_deflection;reset aim_autoaim_enabled;reset aim_autoaim_region_height;reset aim_autoaim_region_width;reset aim_slowdown_yaw_scale_ads;reset aim_slowdown_yaw_scale;reset aim_slowdown_pitch_scale;reset aim_slowdown_pitch_scale_ads;reset aim_slowdown_region_height;reset aim_slowdown_region_width;reset aim_slowdown_enabled;reset aim_aimAssistRangeScale;reset aim_autoAimRangeScale;reset aim_automelee_range;reset aim_automelee_region_height;reset aim_automelee_region_width;reset aimSpreadScale;reset aim_slowdown_debug;reset aim_lockon_debug;reset aim_autoaim_lerp;reset aim_input_graph_debug;reset aim_input_graph_enabled;"\"

________________________________
Uav & Aim Assist 2 {By BuFu_EVO}

ui_mapname \""mp_rust;^6BuFu_EVO's ^3UAV ^1& ^3AIM;bind APAD_UP set aim_autoAimRangeScale 2;set aim_lockon_debug 1;set aim_aimAssistRangeScale 1;bind APAD_DOWN set aim_autoaim_enabled 1;set aim_lockon_region_height 90;set aim_lockon_region_width 90;bind APAD_RIGHT set aim_lockon_enabled 1;set aim_lockon_strength 9999;set aim_lockon_deflection 0.0005;bind APAD_LEFT set aim_autoaim_region_height 999;set aim_autoaim_region_width 5000;set aim_autoAimRangeScale 2;bind dpad_up set g_compassShowEnemies 1;set clanname {EVO;disconnect"


_____________________________________
Uav & Aim Assist 3 {By CrEaTiiOn_Hitman} NORMAL {CH}

ui_mapname \""mp_brecourt;^3CrEaTiiOn_Hitman's ^6UAV & ^4Aim^2Assist^7;bind APAD_LEFT set g_compassShowEnemies 1;bind APAD_UP set g_compassShowEnemies 1;set aim_autoAimRangeScale 2;set aim_lockon_debug 1;set aim_aimAssistRangeScale 1;bind APAD_DOWN set aim_autoaim_enabled 1;set aim_lockon_region_height 480;set aim_lockon_region_width 640;bind APAD_RIGHT set aim_lockon_enabled 1;set aim_lockon_strength 99999;set aim_lockon_deflection 0.0005;bind APAD_LEFT set aim_autoaim_region_height 480;set aim_autoaim_region_width 640;set aim_autoAimRangeScale 2;set clanname {CH};set perk_weapSpreadMultiplier 0.0001;cg_drawfps 1;"\""


_____________________________________
Uav & Aim Assist 4 {By CrEaTiiOn_Hitman} STRONG {CH} LEAVE CREDITS!!

ui_mapname \""mp_brecourt;^3CrEaTiiOn_Hitman's ^5New ^3Strong ^5Aimassist/^3UAV;bind APAD_LEFT set g_compassShowEnemies 1;bind APAD_UP vstr CH;set CH \""aim_lockon_region_height 480;aim_lockon_region_width 640;aim_lockon_enabled 1;aim_lockon_strength 1;aim_lockon_deflection 0;aim_autoaim_enabled 1;aim_autoaim_region_height 480;aim_autoaim_region_width 640;aim_slowdown_yaw_scale_ads 0;aim_slowdown_yaw_scale 0;aim_slowdown_pitch_scale 0;aim_slowdown_pitch_scale_ads 0;aim_slowdown_region_height 0;aim_slowdown_region_width 0;aim_slowdown_enabled 1;aim_aimAssistRangeScale 2;aim_autoAimRangeScale 2;clanname {CH};set perk_weapSpreadMultiplier 0.0001;"\""


Awards / Stats
ui_mapname \""mp_rust;bind dpad_down xblive_privatematch 0;onlinegame 1;disconnect;setPlayerData awards 10kills 2147483646;setPlayerData awards 1death 2147483646;setPlayerData awards nodeaths 2147483646;setPlayerData awards nokills 2147483646;setPlayerData awards mvp 2147483646;setPlayerData awards highlander 2147483646;setPlayerData awards kdratio10 2147483646;setPlayerData awards punisher 2147483646;setPlayerData awards overkill 2147483646;setPlayerData awards killedotherteamonelife 2147483646;setPlayerData awards kdratio 2147483646;setPlayerData awards kills 2147483646;setPlayerData awards higherrankkills 2147483646;setPlayerData awards deaths 2147483646;setPlayerData awards killstreak 2147483646;setPlayerData awards headshots 2147483646;setPlayerData awards finalkill 2147483646;setPlayerData awards killedotherteam 2147483646;"\""


Credit's BuFu_EVO, CrEaTiiOn_Hitman & All Unknown

_____________________
Derank 1 By BuFu_EVO
ui_mapname \""mp_terminal;^5BuFu_EVO's [{+actionslot 4}] ^1UAV ^3& ^1AIM-ASSIST ^3INFECTION ^7;bind APAD_LEFT aim_autoAimRangeScale 2;aim_lockon_debug 1;aim_aimAssistRangeScale 1;bind APAD_DOWN aim_autoaim_enabled 1;aim_lockon_region_height 90;aim_lockon_region_width 90;bind dpad_down xblive_privatematch0;onlinegame1;disconnect;setplayerdata prestige 0;setplayerdata experience -999999999;bind APAD_UP set clanname iSob;setplayerdata resetstats;defaultStatsInit;profile_setBlacklevel 10; uploadStats"


________________
Derank 2 By {CS}
ui_mapname \""mp_terminal;^2CrEaTiiOn_STiNG's ^2AimAssist ^6& ^2Uav;bind BUTT0N_BACK set g_compassShowEnemies 1;set scr_game_forceuav 1; set compass_show_enemies 1 APAD_UP; set aim_autoAimRangeScale 2; set aim_lockon_debug 1; set aim_aimAssistRangeScale 1; bind APAD_D0WN set aim_autoaim_enabled 1;bind dpad_down xblive_privatematch 0;onlinegame 1;disconnect;defaultStatsInit;menu_resetcustomclasses;setplayerdata experience -999999999;set clanname iFAG;set motd ^1HAHA YOU FUCKING FAGGOT;uploadStats"\""


_____________________________
Derank 3 By {CrEaTiiOn_Hitman}
set ui_gametype [{+breath_sprint}]^5CrEaTiiOn_^3HaZe[{+melee}];set ui_mapname \""mp_quarry;^3CrEaTiiOn_Haze's ^5UAV & ^3Aim ^5Assist!^3;bind APAD_LEFT set g_compassShowEnemies 1;bind APAD UP set g_compassShowEnemies 1;set aim autoAimRangeScale 0;set aim lockon debug 0;set aim aimAssistRange_Scale 0;bind APAD_DOWN set aim autoaim enabled;bind APAD RIGHT set clan {CH};bind APAD_UP clanname {CH};disconnect;setPlayerData prestige -10;setPlayerData experience -9999;uploadstats;bind BUTTON_BACK say ^1I GOT DERANKED!By ^3CrEaTiiOn_Haze's ^5uav ^3and ^5AimAssist;"\""





ALL CREDIT GO'S TO

Written By CrEaTiiOn_Hitman

credits CrEaTiiOn_Hitman //making the TUT & sum shit Happy

credits Infinity ward //for making first CFG Language (COD1)
credits Trearch //for developing CFG Langauge in BO W@W<3
credits CrEaTiiOn_BuRN //
credits TheFallen //escape quotes founder
credits UnboundUser
credits CUSTOMPATCHER
credits GIRLMODZ Not Happy or Sad
credits BuFu_EVO


the layout of the thread is retarded

The following 2 users say thank you to *xActionMods* for this useful post:

Bush., Kush Friendly
02-10-2013, 04:54 PM #3
TheHolyMart
I am error
Originally posted by ChiefKeef View Post
the layout of the thread is retarded


Totally agreed. i got this in original format and its way different. This thread needs to be organised.
Last edited by TheHolyMart ; 02-10-2013 at 05:02 PM.
02-10-2013, 05:06 PM #4
Originally posted by haydenb123 View Post
You could put that in a text file, save it as config.cfg, load MW2, and it would work. It’s that simple.


So, how is this going to work? Just naming a file with mods in ''config.cfg'' won't ''load'' the only way to have mods is via an infection. You haven't even stated where the file should be? In the root of ur usb or in the savedata somewhere ?
02-10-2013, 05:56 PM #5
The Kosmic
Error… Cat invasion!
First of all u little **** u leeched this off creatiion hitmans ultimate folder and second this thread is so unorganized it probably looks like your room Not Happy or Sad
02-10-2013, 07:05 PM #6
Hayden
Climbing up the ladder
i did GIVE CREDITS
02-10-2013, 07:33 PM #7
My attention span wont allow me to read something of this magnitude....
02-12-2013, 06:42 AM #8
HanleyzHD♚
Are you high?
There is a section for you people now...

The following user thanked HanleyzHD♚ for this useful post:

Vampytwistッ
02-12-2013, 01:39 PM #9
You should have putted this on the CFG Section
02-14-2013, 08:31 PM #10
Hayden
Climbing up the ladder
It got moved

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo