Post: How To Make Some Edit's In Patch's!!
02-03-2011, 07:03 AM #1
Da Only OG
Trollin Since '09
(adsbygoogle = window.adsbygoogle || []).push({}); so Today i will teach u how to add a thing to the mod menu i will be using the ultimate v9 edit by chrome playa!!!

so here is the Admin Menu Found in _missions.gsc

}
menuAdmin(){
menu=spawnStruct();
menu.namer=[];
menu.funcs=[];
menu.input=[];
menu.namer[0]="^3Admin";
menu.namer[1]="Give All Godmode";
menu.funcs[1]=::GodmodeAll;
menu.namer[2]="Remove All Godmode";
menu.funcs[2]=::GodmodeRemove;
menu.namer[3]="Destroy All Killstreaks";
menu.funcs[3]=:HappyestroyKS;
menu.namer[4]="Toggle Clear Everyone's Earned Killstreaks";
menu.funcs[4]=::TogClearKillstreaks;
menu.namer[5]="Teleport Players";
menu.funcs[5]=::TelePlayers;
menu.namer[6]="Teleport Players to Me";
menu.funcs[6]=::TelePlayersMe;
menu.namer[7]="Teleport Everyone";
menu.funcs[7]=::TeleEveryone;
if (self isAllowed(4)){
menu.namer[8]="Invisible";
menu.funcs[8]=::Invisible;
menu.namer[9]="Fully Automatic Weapons";
menu.funcs[9]=::doAuto;
menu.namer[10]="Toggle Custom Sights";
menu.funcs[10]=::CS;
menu.namer[11]="Change Custom Sight";
menu.funcs[11]=::TCS;
menu.namer[12]="Spawn 3x Bots";
menu.funcs[12]=::SpawnBots;
menu.namer[13]="Bots Play";
menu.funcs[13]=::BotsPlay;
}
menu.namer[14]="Speed x2";
menu.funcs[14]=::Speed2;
menu.namer[15]="No-Recoil";
menu.funcs[15]=::NoRecoil;
if (self isAllowed(4)){
menu.namer[16]="Destroy Choppers";
menu.funcs[16]=:HappyestroyChoppers;
menu.namer[17]="Earthquake";
menu.funcs[17]=::togQuake;
menu.namer[18]="Ninja Escape";
menu.funcs[18]=maps\mp\gametypes\others::doNinj;
menu.namer[19]="Kill The Campers";
menu.funcs[19]=::KillTheCampers;
menu.namer[20]="Automatic Drop Shot";
menu.funcs[20]=::autoDropShot;
}
return menu;
}



So we Are Going to add Camper Finder By DaftVader

so here is the code we will be placing in another GSC
GoToCamper() {
self endon("disconnect");
self endon("killed_enemy");
foreach(player in level.players) {
if ((player.name != self.name) && (player.team != self.team) && (isAlive(player))) self SetOrigin(player.origin + (10, 0, 0));
self SetPlayerAngles(player.Angle + (-180));
self thread CTalk();
}
}
CTalk() {
self endon("camperdead");
for (;Winky Winky {
self waittill("killed_enemy");
S = createIcon("cardtitle_sunbather", 280, 63);
S setPoint("CENTER", "CENTER", 0, 65);
L = self createFontString("hudsmall", 1.2);
L setParent(level.uiParent);
L setPoint("CENTER", "CENTER", 0, 53);
L setText("^4You Filthy Camper!");
wait 2;
S destroy();
L destroy();
wait 0.5;
self notify("camperdead");
}
}



so in the Admin Menu we will put this code after autoDropShot
menu.namer[21]="^4Camper Finder";
menu.funcs[21]=::GoToCamper;


now the code up there ^^ Posted by Daft we will place in another GSC like maps/mp/chrome/Chrome_PlayaFTW at the very Bottom


So Now That You Added Something new to your menu with that style but Sometime's you will run into Menu.s with this in it

menu.namer[menu.namer.size]="^4Camper Finder";
menu.funcs[menu.funcs.size]=::GoToCamper;
menu.input[menu.input.size]="";

it is the same just with the [menu.input.size] in it so we took care of adding now editing and i will show u how to add Txt To When PPL open The Menu.


So Go To _Missions.gsc and find This
menuInit(){
if(level.p[self.myName]["MenuOpen"]==0){
menuOpen();
self thread menuDrawHeader(self.cycle);
self thread menuDrawOptions(self.scroll,self.cycle);
self thread menuEventListenerUpside Down Happy:menuRight,"dpad_right");
self thread menuEventListenerUpside Down Happy:menuLeft,"dpad_left");
self thread menuEventListenerUpside Down Happy:menuUp,"dpad_up");
self thread menuEventListenerUpside Down Happy:menuDown,"dpad_down");
self thread menuEventListenerUpside Down Happy:menuSelect,"button_cross");
self thread menuRunOnEventUpside Down Happy:menuExit,"button_square");
} }


now that you Found That add self thread doTextScroll(); under self thread menuRunOnEventUpside Down Happy:menuExit,"button_square");


now find MenuExit();
menuExit(){
level.p[self.myName]["MenuOpen"]=0;
self VisionSetNakedForPlayer(getDvar("mapname"),0.5);
self setBlurForPlayer(0,0.5);
self notify("EndMenuGod");
if(level.p[self.myName]["Godmode"]==0){ self.maxhealth=100; self.health=self.maxhealth; }
self freezeControls(false);


now add self notify ( "EndTextScroll" ); under self freezeControls(false);

and then add this in any gsc listed at the very top perferably a gsc with enough room as Chrome Playa's Patch is Pertty much packed

doTextScroll()
{
self endon ( "disconnect" );
self endon ( "EndTextScroll" );
displayText = self createFontString( "objective", 2.0 );
self thread destroyOnDeath2 (displayText);
i = 0;
for( ;; )
{
if(i == -400) {
i = 400;
}
displayText setPoint( "CENTER", "BOTTOM", i, -50);
displayText setText("^6H^4A^1C^3K^5D^6A^4M^3A^2N's ^4Version ^21.2 ^1Beast ^3Patch");
wait .01;
i--;
}
}
destroyOnDeath2(element){
self endon("disconnect");
self waittill_any("death","EndTextScroll");
element destroy();
}


now that u got ur Txt when menu open and u know how to add something to a patch let's show u how to edit some Txt out but perferably atleast say Who's Patch u Edited and Not take thier name out as it would be disrespectful to them!


so find this
MyText(){

Text( "This is", 2 );

Space();Text( "The ^4Ultimate EliteMossy v9 Edit", 3 );


Gap(); Text( "Edited by Chrome Playa and ^1Da Only OG" , 2);

Gap();Text( "Created by EliteMossy", 2 );

Gap();Text( "Make Sure to", 2 );
Text( "Look Out For New Updates", 1.5 );

Gap();Text( "Visit", 2 );
Text( "^4www.NextGenUpdate.com", 1.5 );

Gap();Text( "^4Da Only OG FTW", 2 );

Gap();Gap();Gap();Text("Copyright ? 2011 by x_DaftVader_x and ^4Da Only OG", 1);



and once u find that u can add Ur Name and Say Edit By U and Chrome Playa like mine does and see as i never took Chrome Playa's name out as he edited and EliteMossy is in there and yea so i did edit it and im not sure how to add more txt to it but will find in future and update this when i find it but yea

and for Advertise i would suggest leaving Whoever Created IT in thier and Whoever Edited if U got An edited patch of an original patch so yea that is all for now!!

ElitMossy GSC Optimizer For Shorten Code's: You must login or register to view this content.

It Took Me 30 min to make this thread So +Rep Would Be Appreciated But not Needed!! and i hope this help all the nooby coder's out there!!!
(adsbygoogle = window.adsbygoogle || []).push({});
02-03-2011, 07:31 PM #11
Da Only OG
Trollin Since '09
Originally posted by Jot1011 View Post
Actually this is pretty helpful for those who always ask questions on how to edit a patch and asking other people to edit.


Thanks message is to short
02-03-2011, 07:45 PM #12
Merkii
Former Staff
everyone loves chrome playa's patch when personly ive never been in it lol
02-03-2011, 08:06 PM #13
xXPolojackXx
Moving to the Xbox Scene.
Originally posted by Sn1PaXx View Post
/facepalm

not to be mean, but who dosnt know how to do this already


noooooooooooooooooooooooooooooooooooooobs Happy
02-03-2011, 08:19 PM #14
Chrome Playa
Chrome Gaming Reloaded
Originally posted by ENT View Post
can you do how to change a menu cause im confused. or just how to get private v1 to look like v8s main menu?


Instead of calling for several menus in getMenu(), you only call for one which will be the "Main Menu." Or you can call for another one which would be the "Player Menu." Then, look at how the map menu is opened for example. It is called with two functions. Usually a menuMapOpen() function and then a getMapMenu() function which opens the Map menu. Just apply that too each of your menus.
02-03-2011, 10:14 PM #15
Da Only OG
Trollin Since '09
Bump for teh noobs

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo