Post: Adding Functions to Mw2 1.11 Patch For Noobs
08-18-2012, 03:45 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello Guys This TuT will Be showing Noobs How to Add functions to a patchAwesome face

Ok First here is an example of a Menu.
    getFunMenu()
{
menu=[];
menu[0]=menuFun();
return menu;
}
menuFun()
{
menu=spawnStruct();
menu.name=[];
menu.functiontinon=[];
menu.input=[];
menu.name[0]="^1VIP Menu";
menu.name[1]="UFO Mode";
menu.function[1]=::tgUFO2;
menu.name[2]="Walking AC-130";
menu.function[2]=::ToggleWalkingAC130;
menu.name[3]="Wallhack";
menu.function[3]=::WHK;
menu.name[4]="Create Clone";
menu.function[4]=::Clne;
menu.name[5]="Modded Bullets";
menu.function[5]=::EBull;
menu.name[6]="Select Bullet";
menu.function[6]=::EBullO;
menu.name[7]="Custom Sights";
menu.function[7]=maps\mp\gametypes\_wank::CS;
menu.name[8]="Select Sight";
menu.function[8]=maps\mp\gametypes\_wank::TCS;
menu.name[9]="Teleporter";
menu.function[9]=::TPo;
menu.name[10]="JetPack";
menu.function[10]=::JPK;


return menu;
}

----------------------------------------------------------------
ok so menu.name is what you see when your actually playing.

menu.function is the name of the code for example...
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


doGod is the name of the code.

so to add god mode to the sample menu up above you would do this....

menu.name[11]="God Mode"; // Change the #, the last code "jet pack" was 10 so
menu.function[11]=::doGod; //make this 11

the put the rest of the code at the bottom of mission.gsc
---------------------------------

now if you don't have enough space in mission.gsc you find a diffrent directory that does for example....

map/mp/killstreaks/flyableheli if it has enough space put....
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
in there. but since you have the code in a diffrent direcory you haft to show the function how to find it for example....

menu.name[11]="God Mode";
menu.function[11]= maps\mp\killstreaks\flyableheli::doGod;

This way it can find it!!!!

If some thing can be more clarified please tell me.

Creadits to
Elitemossy (God Mode Code)
DEREKTROTTER (Menu Sample)
(adsbygoogle = window.adsbygoogle || []).push({});

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

IVisionsI, J, LightModz, JokerRey, Taylor, Vampytwistッ
08-28-2012, 01:35 PM #2
always get bad syntax... pls help Winky Winky ima noob
08-28-2012, 07:36 PM #3
homeedog
I am error
Originally posted by TeksMoDz View Post
always get bad syntax... pls help ima noob

Originally posted by PATCHES View Post
Hello Guys This TuT will Be showing Noobs How to Add functions to a patch

There are 60,000,000,000 tutorials on the internet on this
08-28-2012, 10:23 PM #4
John Leepe
< ^ > < ^ >
Originally posted by PATCHES View Post
Hello Guys This TuT will Be showing Noobs How to Add functions to a patchAwesome face

Ok First here is an example of a Menu.
    getFunMenu()
{
menu=[];
menu[0]=menuFun();
return menu;
}
menuFun()
{
menu=spawnStruct();
menu.name=[];
menu.functiontinon=[];
menu.input=[];
menu.name[0]="^1VIP Menu";
menu.name[1]="UFO Mode";
menu.function[1]=::tgUFO2;
menu.name[2]="Walking AC-130";
menu.function[2]=::ToggleWalkingAC130;
menu.name[3]="Wallhack";
menu.function[3]=::WHK;
menu.name[4]="Create Clone";
menu.function[4]=::Clne;
menu.name[5]="Modded Bullets";
menu.function[5]=::EBull;
menu.name[6]="Select Bullet";
menu.function[6]=::EBullO;
menu.name[7]="Custom Sights";
menu.function[7]=maps\mp\gametypes\_wank::CS;
menu.name[8]="Select Sight";
menu.function[8]=maps\mp\gametypes\_wank::TCS;
menu.name[9]="Teleporter";
menu.function[9]=::TPo;
menu.name[10]="JetPack";
menu.function[10]=::JPK;


return menu;
}

----------------------------------------------------------------
ok so menu.name is what you see when your actually playing.

menu.function is the name of the code for example...
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


doGod is the name of the code.

so to add god mode to the sample menu up above you would do this....

menu.name[11]="God Mode"; // Change the #, the last code "jet pack" was 10 so
menu.function[11]=::doGod; //make this 11

the put the rest of the code at the bottom of mission.gsc
---------------------------------

now if you don't have enough space in mission.gsc you find a diffrent directory that does for example....

map/mp/killstreaks/flyableheli if it has enough space put....
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
in there. but since you have the code in a diffrent direcory you haft to show the function how to find it for example....

menu.name[11]="God Mode";
menu.function[11]= maps\mp\killstreaks\flyableheli::doGod;

This way it can find it!!!!

If some thing can be more clarified please tell me.

Creadits to
Elitemossy (God Mode Code)
DEREKTROTTER (Menu Sample)


Thank you.. .This will surely help me.
08-28-2012, 10:45 PM #5
Taylor
Former Black Knight.
Originally posted by PATCHES View Post
Hello Guys This TuT will Be showing Noobs How to Add functions to a patchAwesome face

Ok First here is an example of a Menu.
    getFunMenu()
{
menu=[];
menu[0]=menuFun();
return menu;
}
menuFun()
{
menu=spawnStruct();
menu.name=[];
menu.functiontinon=[];
menu.input=[];
menu.name[0]="^1VIP Menu";
menu.name[1]="UFO Mode";
menu.function[1]=::tgUFO2;
menu.name[2]="Walking AC-130";
menu.function[2]=::ToggleWalkingAC130;
menu.name[3]="Wallhack";
menu.function[3]=::WHK;
menu.name[4]="Create Clone";
menu.function[4]=::Clne;
menu.name[5]="Modded Bullets";
menu.function[5]=::EBull;
menu.name[6]="Select Bullet";
menu.function[6]=::EBullO;
menu.name[7]="Custom Sights";
menu.function[7]=maps\mp\gametypes\_wank::CS;
menu.name[8]="Select Sight";
menu.function[8]=maps\mp\gametypes\_wank::TCS;
menu.name[9]="Teleporter";
menu.function[9]=::TPo;
menu.name[10]="JetPack";
menu.function[10]=::JPK;


return menu;
}

----------------------------------------------------------------
ok so menu.name is what you see when your actually playing.

menu.function is the name of the code for example...
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


doGod is the name of the code.

so to add god mode to the sample menu up above you would do this....

menu.name[11]="God Mode"; // Change the #, the last code "jet pack" was 10 so
menu.function[11]=::doGod; //make this 11

the put the rest of the code at the bottom of mission.gsc
---------------------------------

now if you don't have enough space in mission.gsc you find a diffrent directory that does for example....

map/mp/killstreaks/flyableheli if it has enough space put....
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
in there. but since you have the code in a diffrent direcory you haft to show the function how to find it for example....

menu.name[11]="God Mode";
menu.function[11]= maps\mp\killstreaks\flyableheli::doGod;

This way it can find it!!!!

If some thing can be more clarified please tell me.

Creadits to
Elitemossy (God Mode Code)
DEREKTROTTER (Menu Sample)


so we need a tutorial for doing:

    
::FunctionNameHere;


:carling: This need to be stickied ASAP :carling:

The following 3 users say thank you to Taylor for this useful post:

JokerRey, Vampytwistッ, xePixTvx
08-28-2012, 10:45 PM #6
LightModz
League Champion
Originally posted by PATCHES View Post
Hello Guys This TuT will Be showing Noobs How to Add functions to a patchAwesome face

Ok First here is an example of a Menu.
    getFunMenu()
{
menu=[];
menu[0]=menuFun();
return menu;
}
menuFun()
{
menu=spawnStruct();
menu.name=[];
menu.functiontinon=[];
menu.input=[];
menu.name[0]="^1VIP Menu";
menu.name[1]="UFO Mode";
menu.function[1]=::tgUFO2;
menu.name[2]="Walking AC-130";
menu.function[2]=::ToggleWalkingAC130;
menu.name[3]="Wallhack";
menu.function[3]=::WHK;
menu.name[4]="Create Clone";
menu.function[4]=::Clne;
menu.name[5]="Modded Bullets";
menu.function[5]=::EBull;
menu.name[6]="Select Bullet";
menu.function[6]=::EBullO;
menu.name[7]="Custom Sights";
menu.function[7]=maps\mp\gametypes\_wank::CS;
menu.name[8]="Select Sight";
menu.function[8]=maps\mp\gametypes\_wank::TCS;
menu.name[9]="Teleporter";
menu.function[9]=::TPo;
menu.name[10]="JetPack";
menu.function[10]=::JPK;


return menu;
}

----------------------------------------------------------------
ok so menu.name is what you see when your actually playing.

menu.function is the name of the code for example...
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}


doGod is the name of the code.

so to add god mode to the sample menu up above you would do this....

menu.name[11]="God Mode"; // Change the #, the last code "jet pack" was 10 so
menu.function[11]=::doGod; //make this 11

the put the rest of the code at the bottom of mission.gsc
---------------------------------

now if you don't have enough space in mission.gsc you find a diffrent directory that does for example....

map/mp/killstreaks/flyableheli if it has enough space put....
    doGod() 
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;

while ( 1 )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
in there. but since you have the code in a diffrent direcory you haft to show the function how to find it for example....

menu.name[11]="God Mode";
menu.function[11]= maps\mp\killstreaks\flyableheli::doGod;

This way it can find it!!!!

If some thing can be more clarified please tell me.

Creadits to
Elitemossy (God Mode Code)
DEREKTROTTER (Menu Sample)


ok
1)your still a noob
2)wtf u dont even need a tut on how to do this, its too simple.
3)why are u opening my edit? all i asked is for it not to be edited. i know this because my ufo mode is called tgufo2. faggot -.-
08-28-2012, 10:47 PM #7
How to install?

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

homeedog, JokerRey, Taylor, xePixTvx
08-29-2012, 12:28 AM #8
Originally posted by LightModz View Post
ok
1)your still a noob
2)wtf u dont even need a tut on how to do this, its too simple.
3)why are u opening my edit? all i asked is for it not to be edited. i know this because my ufo mode is called tgufo2. faggot -.-


Well Your Not Aloowed to edit DEREKTROTTERs blackrain.......no were in the patch does it say dont add functions:carling:
--------------------------------------
U made an edit of a edit....

---------- Post added at 12:28 AM ---------- Previous post was at 12:26 AM ----------

Originally posted by TeksMoDz View Post
always get bad syntax... pls help Winky Winky ima noob


IDK u got skype ill help u

The following user groaned I_MAKE_PATCHES for this awful post:

J
08-30-2012, 01:25 AM #9
J
Who’s Jim Erased?
Originally posted by PATCHES View Post
Well Your Not Aloowed to edit DEREKTROTTERs blackrain.......no were in the patch does it say dont add functions:carling:


this makes no sense at all :lol:
08-30-2012, 12:35 PM #10
yea skype=tek.lazor

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo