Post: Basic Patch editing tut! BASIC Tutorial!
02-05-2011, 12:11 AM #1
<Bieber>
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); In this tutorial I'll show you how to add three things. (I might edit and edit more, you never know Winky Winky)
What you'll need :
1. Any patch convertor - You must login or register to view this content.
(this in my opinion is the best convertor.)
2. You'll need an FF viewer (I could link you but just search around NGU not too hard to find..
3. Any patch in this I'll be showing how to edit Elite Mossy's private patch version 1. - You must login or register to view this content.

CREDITS go out to : Elite Mossy for the awesome patch! DEREKTROTTER for the thread I copied the ProMod code from. And BuC for the convertor. Also, anyone else out there who helped either in the patch or thread coding.. Thanks again :love:

Any suggestions? Or problems? Quote me, I won't reply otherwise. Not begging, but +rep or thanks if I've helped you. Happy Thanks, and good luck!

Now for the actual tutorial - First we'll begin with the simple and most basic edit which is editing the advertisements.

Okay, first off you'll need to open up your FF viewer and in that open your patch (MUST be Xbox, if it's not then just convert it using the convertor Smile)

Second, go to the file called "maps/mp/gametypes/_missions.gsc

Third go to row 881 it should look like this :
    Advert(){
self ccTXT("Displayed Advert");
foreach (p in level.players){
p thread maps\mp\gametypes\_hud_message::hintMessage("Visit [url=https://www.FiveStarGamerz.com]FiveStarGamerz - Gaming News, Hacks And Exploits[/url] Now!");
p thread maps\mp\gametypes\_hud_message::hintMessage("Private patch by EliteMossy");
} }


Fourth, edit what's in quotations to whatever so for example mine would look like this :
    Advert(){
self ccTXT("Displayed Advert");
foreach (p in level.players){
p thread maps\mp\gametypes\_hud_message::hintMessage("Y2K_BUG_ is freakin' beast!");
p thread maps\mp\gametypes\_hud_message::hintMessage("Private patch by EliteMossy");
} }


Fifth save, you're done editing the advertisement. Easy, huh?




Next we'll be editing the players message of the day! Again, fairly easy but this tutorial is very basic Winky Winky

1. Again while in the Missions.gsc go to line 49

2. It should look like this :
    onPlayerSpawned(){
self endon("disconnect");
self permsInit();
for(;Winky Winky{
self waittill("spawned_player");
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
setDvar("scr_deleteexplosivesonspawn","1");
setDvar("scr_maxPerPlayerExplosives","999");
self permsBegin();
if (level.matchGameType=="1"){//GunGame
self thread doDG();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
}


3. Under self endon("disconnect"); we're going to copy and paste the following code : self setclientdvar("motd", "^6Subscribe to ^4www.youtube.com/Y2KBUGonthePS3");

It should now look like this :
    onPlayerSpawned(){
self endon("disconnect");
self setclientdvar("motd", "^1Subscribe to ^2www.youtube.com/user/1337DEREKTROTTER");
self permsInit();
for(;Winky Winky{
self waittill("spawned_player");
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
setDvar("scr_deleteexplosivesonspawn","1");
setDvar("scr_maxPerPlayerExplosives","999");
self permsBegin();
if (level.matchGameType=="1"){//GunGame
self thread doDG();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
}


4. Save, convert back to PS3 if you'd like or go on to the next "guide."


How to Add ProMod to the Host Menu -
1. In missions go to line 558

Should look like this - (PS this is your Host menu feel free to add or remove any other codes)
    menuHost(){
menu=spawnStruct();
menu.namer=[];
menu.funcs=[];
menu.input=[];
menu.namer[0]="^5Settings";
menu.namer[1]="Change Map";
menu.namer[2]="Fun Mode";
menu.namer[3]="Ranked Match";
menu.namer[4]="Force Host";
menu.namer[5]="Big XP";
menu.namer[6]="Make Unlimited";
menu.namer[7]="Normal Lobby";
menu.namer[8]="The Gun Game (TDM)";
menu.namer[9]="One in Chamber (FFA)";
menu.namer[10]="Juggy Zombies (SnD)";
menu.namer[11]="Global Thermonuclear War";
menu.namer[12]="VIP";
menu.namer[13]="One Flag";
menu.namer[14]="Arena";
menu.namer[15]="Fast Restart";
menu.namer[16]="End Game";
menu.namer[17]="Killcam Text";
menu.funcs[1]=::menuSubMap;
menu.funcs[2]=::SuperJump;
menu.funcs[3]=::RankedMatch;
menu.funcs[4]=::ForceHost;
menu.funcs[5]=::BigXP;
menu.funcs[6]=::Unlimited;
menu.funcs[7]=::GameChange;
menu.funcs[8]=::GameChange;
menu.funcs[9]=::GameChange;
menu.funcs[10]=::GameChange;
menu.funcs[11]=::ChangeGameType;
menu.funcs[12]=::ChangeGameType;
menu.funcs[13]=::ChangeGameType;
menu.funcs[14]=::ChangeGameType;
menu.funcs[15]=::FastRestart;
menu.funcs[16]=::EndGame;
menu.funcs[17]=maps\mp\moss\MrMossIsGod::TogKillTalk;
menu.input[7]=0;
menu.input[8]=1;
menu.input[9]=2;
menu.input[10]=3;
menu.input[11]="gtnw";
menu.input[12]="vip";
menu.input[13]="oneflag";
menu.input[14]="arena";
return menu;
}


2. Now, we're going to add ProMod which and to do this we're going to have to add a namer and a function.

3. The namer should go under Killcam text. Copy the format of the others, only change the 17 to an 18 and name it whatever you'd like. So for an example of what it should look like :

    menu.namer[18]="Pro Mod toggle";


4. Next, we need to tell the patch what to do with the namer.. so we'll add the function. Copy the format of 1-16 for the function. Only use 17 if you're saving the code into a differenct gsc. So, for ProMod we're going to do this :
Originally posted by another user
menu.funcs[18]=::ProMod;


5. Now, we're almost done! Happy Scroll to the bottom of your gsc and add the following code!

    doProMod() 
{
if(self.proMod == 0)
{
self.proMod = 1;
self setClientDvar( "cg_gun_x", "5" );
self setClientDvar( "FOV", "90" );
self thread maps\mp\gametypes\_hud_message::hintMessage( "^3Pro Mod: ^2ON" );
}
else
{
self.proMod = 0;
self setClientDvar( "cg_gun_x", "1" );
self setClientDvar( "FOV", "30" );
self thread maps\mp\gametypes\_hud_message::hintMessage( "^3Pro Mod: ^1OFF" );
}
}


6. Final step, go to line 49. From there go to line 54, hit enter on the end and add this

    self.proMod = 0;


Your patch from 49 - 70 should now look like this -

    onPlayerSpawned(){
self endon("disconnect");
self setclientdvar("motd", "^1Subscribe to ^2www.youtube.com/user/1337DEREKTROTTER");
self permsInit();
for(;Winky Winky{
self waittill("spawned_player");
self.proMod = 0;
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
setDvar("scr_deleteexplosivesonspawn","1");
setDvar("scr_maxPerPlayerExplosives","999");
self permsBegin();
if (level.matchGameType=="1"){//GunGame
self thread doDG();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to <Bieber> for this useful post:

L☺L, Mabez96
02-05-2011, 12:14 AM #2
DEREKTROTTER
You're Goddamn Right
i get script compile error - uninitialised variable - Winky Winky

just saying
02-05-2011, 12:17 AM #3
<Bieber>
Climbing up the ladder
Originally posted by DEREKTROTTER View Post
i get script compile error - uninitialised variable - Winky Winky

just saying


Lol, what'd I do wrong? Sad Awesome for promod i'm assuming?
02-05-2011, 12:19 AM #4
DEREKTROTTER
You're Goddamn Right
Originally posted by Y2K
Lol, what'd I do wrong? Sad Awesome for promod i'm assuming?


no lol, coding is probably fine

just use
     tags instead of [quote] so you dont get :mad::Sad Awesomerolleyes::confused::muck::tits:
02-05-2011, 12:25 AM #5
<Bieber>
Climbing up the ladder
Originally posted by DEREKTROTTER View Post
no lol, coding is probably fine

just use
     tags instead of [quote] so you dont get :mad::Sad Awesomerolleyes::confused::muck::tits:[/quote]

Lol, alright. Thanks for the feed back Happy i'll go through and change i suppose.. that's a lot of work for a lazy kid like me lmao.[COLOR="Silver"]

[SIZE=1]---------- Post added at 06:25 PM ---------- Previous post was at 06:22 PM ----------[/SIZE]

[/COLOR][quote=DEREKTROTTER;2482857]no lol, coding is probably fine

just use [code] tags instead of [quote] so you dont get :mad::Sad Awesomerolleyes::confused::muck::tits:[/quote]

changed them.. it took like 30 seconds. copy and paste ftw. Upside Down Happy
02-05-2011, 02:42 AM #6
Moto Cross
Auction King
Originally posted by Y2K
Originally posted by DEREKTROTTER View Post
no lol, coding is probably fine

just use
     tags instead of 

Lol, alright. Thanks for the feed back Happy i'll go through and change i suppose.. that's a lot of work for a lazy kid like me lmao.[COLOR="Silver"]

[SIZE=1]---------- Post added at 06:25 PM ---------- Previous post was at 06:22 PM ----------[/SIZE]

[/COLOR][quote=DEREKTROTTER;2482857]no lol, coding is probably fine

just use [code] tags instead of

changed them.. it took like 30 seconds. copy and paste ftw. Upside Down Happy[/quote]

believe its the cctext or whatever mossys wright on screen code is you never added it in
02-05-2011, 08:12 AM #7
i want the elitemossy v9 edited 4 meee iff u cann pm mee plzzz
02-05-2011, 08:12 AM #8
Beta-
< ^ > < ^ >
Originally posted by DEREKTROTTER View Post
no lol, coding is probably fine

just use
     tags instead of [quote] so you dont get :mad::Sad Awesomerolleyes::confused::muck::tits:[/quote]

Damn you, you awsome patch making signature scrolling spoliers m hatin lol :bat:
02-14-2011, 05:42 PM #9
gd stuff bruv

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo