Post: How To Completely Customize DERREKTROTTER's Patch
01-21-2011, 12:13 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); That's right, I'm releasing yet another tutorial on how to edit a patch. This time we will be editing DERREKTROTTERS v2.0 patch. Be sure to check out my other tutorial, most of the things on there apply for here. You must login or register to view this content.

Credit to Elite Mossy for all his work with his patch and his codes, Bucn for his amazing patch switcher, TheUnknown for getting me into hacking and DerekTrotter for getting me interested in patch editing and for this edit of Mossy's patch. I love you guys :love:

Before we begin, you will need the following:

Derektrotters patch.

Bucn's Patch Editor: You must login or register to view this content.

Any .ff Viewr

Now you are going to want to convert mossy's private patch into an xbox patch with the patch converter and then open it up in your .ff Viewer.


This one will take a little longer to get all the information as this is actually the first time I'm looking at his patch :P

Adding Items to the admin menu!
Start by navigating to
    maps/mp/gametypes/_missions.gsc


Scroll down until you reach
    menuAdmin(){
menu=spawnStruct();
menu.namer=[];
menu.funcs=[];
menu.input=[];
menu.namer[menu.namer.size]="^4Admin";
menu.funcs[menu.funcs.size]=::Blank;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Godmode";
menu.funcs[menu.funcs.size]=::Godmode;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Teleport Players";
menu.funcs[menu.funcs.size]=::TelePlayers;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Teleport Players to Me";
menu.funcs[menu.funcs.size]=::TelePlayersMe;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Teleport Everyone";
menu.funcs[menu.funcs.size]=::TeleEveryone;
menu.input[menu.input.size]="";
if (self isAllowed(4)){
menu.namer[menu.namer.size]="Invisible";
menu.funcs[menu.funcs.size]=::Invisible;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Spawn 3x Bots";
menu.funcs[menu.funcs.size]=::SpawnBots;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Bots Play";
menu.funcs[menu.funcs.size]=::BotsPlay;
menu.input[menu.input.size]="";
}
menu.namer[menu.namer.size]="Speed x2";
menu.funcs[menu.funcs.size]=::Speed2;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="No-Recoil";
menu.funcs[menu.funcs.size]=::NoRecoil;
menu.input[menu.input.size]="";
if (self isHost()){
menu.namer[menu.namer.size]="Destroy Choppers";
menu.funcs[menu.funcs.size]=:HappyestroyChoppers;
menu.input[menu.input.size]="";
}
This starts at about line 585

(This may look really similar as DEREKTROTTER just edit mossy's patch Winky Winky )

Now we will be adding the ability to have money shoot out of your body. So we need to start by creating the label in his patch. To do this go to the last line that should read
    menu.input[menu.input.size]="";
press enter at the end of this code and paste:
    menu.namer[menu.namer.size]="Rain Money";
menu.funcs[menu.funcs.size]=::rainMoney;
menu.input[menu.input.size]="";


now paste this at the bottom of the gsc:
    
rainMoney()
{
if(self.name == level.hostname)
{
self endon ( "disconnect" );
self endon ( "death" );
while (1)
{
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 0.5;
}
}
}


How to edit the background color:
Navigate to
    maps/mp/gametypes/_missions.gsc

scroll down until you see:
    menuOpen(){
level.p[self.myName]["MenuOpen"]=1;
if(level.p[self.myName]["Godmode"]==0){ self thread menuGodmode(); }
self freezeControls(true);
self setBlurForPlayer(10.3,0.1);
self VisionSetNakedForPlayer("cobra_sunset2",.4);
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++)
self.menuSize[i]=menu[i].namer.size;
}
This starts at about line 155

Now find:
    self VisionSetNakedForPlayer("cobra_sunset2",.4);


Just change the cobra_sunset2 to whatever vision you want and the .4 is the amount of time it takes to fade to that color. Also, if you want to get rid of the blur so that it is just the background color, edit this code which is above the one we just edited:
    self setBlurForPlayer(10.3,0.1);
The lower the two numbers they are, the less blur there will be. My favorite is to make it black and white with no blur.


Editing the scroll features of the menu!:



Navigate to
    maps/mp/gametypes/_missions.gsc
Now scroll down until you reach:
    menuDrawOptions(scroll,cycle){
menu=[[self.getMenu]]();
display=[];
for(i=0;i<menu[cycle].namer.size;i++){
if(i < 1)
display[i]=self createFontString("hudbig",0.Cool Man (aka Tustin);
else
display[i]=self createFontString("hudbig",0.6);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll){
display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.0;
display[i] setText("^1[ ^1"+menu[cycle].namer[i]+" ^1]");
}else
display[i] setText(menu[cycle].namer[i]);
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
} }


Changing the scroll color:
To change this find the code:
    display[i] setText("^1[ ^1"+menu[cycle].namer[i]+" ^1]");
. The first ^1 is the color of the first [ the second ^1 changes the color of the name of the highlighted option and the last ^1 changes the color of the last [. You can change them all to your liking.

Changing the size of the highlighted text:
To change this you need to find the code:
     display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.0;

To change how big it gets you can edit this:
    display[i].fontScale=1.0;
Change the 1.0 to change the size. The bigger the number, the bigger the text and vice versa.

To change the speed that it grows, you can edit this:
    ChangeFontScaleOverTime(0.3);
Just change the 0.3 to your liking. The bigger the number, the longer it takes and vice versa.


How to edit the advertisement prices:
Navigate to
    maps/mp/gametypes/_missions.gsc

Now scroll down until you reach this:
    Advert(){foreach(p in level.players)p thread DisplayAdvert();}
DisplayAdvert(){
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1MONSTER ^0PATCH ^1v3");
wait 4;
AdvertText setText("^0VERIFY = ^2$1");
wait 4;
AdvertText setText("^0VIP = ^2$3");
wait 4;
AdvertText setText("^0CO-ADMIN = ^2$5");
wait 4;
AdvertText setText("^0ADMIN = ^2$7");
wait 4;
AdvertText destroy();
}
This starts at about line 924


All you need to do is change the numbers after the $ sign. You can also change the color of the text by changing the ^2 and ^0 to different numbers


More to come! Just ask me what you want and I will post it, but I need suggestions!


List of visions for the mod menu:

A:

ac130
ac130_inverted
af_caves_indoor
af_caves_indoor_breachroom
af_caves_indoor_overlook
af_caves_indoor_skylight
af_caves_indoor_steamroom
af_caves_indoor_steamroom_dark
af_caves_outdoors
af_caves_outdoors_airstrip
af_chase_ending_noshock
af_chase_indoors
af_chase_indoors2
af_chase_indoors3
af_chase_outdoors
af_chase_outdoors2
af_chase_outdoors3
aftermath
aftermath_dying
aftermath_hurt
aftermath_nodesat
aftermath_pain
aftermath_walking
airplane
airport
airport_death
airport_exterior
airport_green
airport_intro
airport_stairs
ambush
arcadia
arcadia_checkpoint
arcadia_golfcourse
arcadia_house2
arcadia_house
arcadia_secondbridge
arcadia_secondstreet
arcadia_wrekage
amada
amada_ground
amada_sound
amada_tvs
amada_water


B:

bigcity_destroyed
black_bw
blackout
blackout_darkness
blackout_nvg
blacktest
bog
bog_a
bog_a_sunrise
bog_b
boneyard
boneyard_flyby
boneyard_ride
boneyard_steer
bridge

C:

cargoship
cargoship_blast
cargoship_indoor2
cargoship_indoor
cheat_bw
cheat_bw_contrast
cheat_invert
cheat_invert_contrast
cheat_chaplinnight
cheat_contrast
cheat_invert
cheat_invert_contrast
cliffhanger
co_break
co_overgrown
cobra_down
cobra_sunset1
cobra_sunset2
cobra_sunset3
cobrapilot
contingency
contingency_thermal_inverted

Sad Awesome

dc_whitehouse_interior
dc_whitehouse_lawn
dc_whitehouse_roof
dc_whitehouse_tunnel
dcburning_bunker
dcburning_commerce
dcburning_crash
dcburning_heliride
dcburning_rooftops
dcburning_trnches
dcemp
default
default_night
default_night_mp

E:

end_game2
end_game
estate
exterior_concept


F:

favela
favela_alleys
favela_chase
favela_ending
favela_escape
favela_hill
favela_shanty
favela_torture

G:

grayscale
gulag
gulag_circle
gulag_hallways


M:

mpintro
mpnuke
mpnuke_aftermath
mpoutro

N:

nate_test
near_death
near_death_mp


S:

sepia
slomo_breach

T:

thermal_mp


More on its way!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 19 users say thank you to FourzerotwoFAILS for this useful post:

agtiger, bertieboy7, Brian235026, CleanMODSHD, crime2010, DRFT-ii_JOKER, duderly, iNexus, JamesSwagger, lmg123, LordOlliee, NeOn-_-NiNjA, Nero., noobzilla, Platinum G, randomguy1, slim355, ww2gamer3, xELiT3_Sn1PaXx
01-21-2011, 05:22 PM #20
Nikeymikey
Do a barrel roll!
Could you look into adding HomerSimpsons "EndCredits" mod into this patch? I Have tried and failed a number of times lol

Thanks in advance.
01-21-2011, 06:13 PM #21
DezMode2
The World Its Not Enough
same here i try lot of times and no success epic fail every time lol thanks god legitmod its helping me
01-22-2011, 02:12 AM #22
firefox7
XBOX 360 SUCKS
Originally posted by FourzerotwoFAILS View Post
That's right, I'm releasing yet another tutorial on how to edit a patch. This time we will be editing DERREKTROTTERS v2.0 patch. Be sure to check out my other tutorial, most of the things on there apply for here. You must login or register to view this content.

Credit to Elite Mossy for all his work with his patch and his codes, Bucn for his amazing patch switcher, TheUnknown for getting me into hacking and DerekTrotter for getting me interested in patch editing and for this edit of Mossy's patch. I love you guys :love:

Before we begin, you will need the following:

Derektrotters patch.

Bucn's Patch Editor: You must login or register to view this content.

Any .ff Viewr

Now you are going to want to convert mossy's private patch into an xbox patch with the patch converter and then open it up in your .ff Viewer.


This one will take a little longer to get all the information as this is actually the first time I'm looking at his patch :P

Adding Items to the admin menu!
Start by navigating to
    maps/mp/gametypes/_missions.gsc


Scroll down until you reach
    menuAdmin(){
menu=spawnStruct();
menu.namer=[];
menu.funcs=[];
menu.input=[];
menu.namer[menu.namer.size]="^4Admin";
menu.funcs[menu.funcs.size]=::Blank;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Godmode";
menu.funcs[menu.funcs.size]=::Godmode;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Teleport Players";
menu.funcs[menu.funcs.size]=::TelePlayers;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Teleport Players to Me";
menu.funcs[menu.funcs.size]=::TelePlayersMe;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Teleport Everyone";
menu.funcs[menu.funcs.size]=::TeleEveryone;
menu.input[menu.input.size]="";
if (self isAllowed(4)){
menu.namer[menu.namer.size]="Invisible";
menu.funcs[menu.funcs.size]=::Invisible;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Spawn 3x Bots";
menu.funcs[menu.funcs.size]=::SpawnBots;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Bots Play";
menu.funcs[menu.funcs.size]=::BotsPlay;
menu.input[menu.input.size]="";
}
menu.namer[menu.namer.size]="Speed x2";
menu.funcs[menu.funcs.size]=::Speed2;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="No-Recoil";
menu.funcs[menu.funcs.size]=::NoRecoil;
menu.input[menu.input.size]="";
if (self isHost()){
menu.namer[menu.namer.size]="Destroy Choppers";
menu.funcs[menu.funcs.size]=:HappyestroyChoppers;
menu.input[menu.input.size]="";
}
This starts at about line 585

(This may look really similar as DEREKTROTTER just edit mossy's patch Winky Winky )

Now we will be adding the ability to have money shoot out of your body. So we need to start by creating the label in his patch. To do this go to the last line that should read
    menu.input[menu.input.size]="";
press enter at the end of this code and paste:
    menu.namer[menu.namer.size]="Rain Money";
menu.funcs[menu.funcs.size]=::rainMoney;
menu.input[menu.input.size]="";


now paste this at the bottom of the gsc:
    
rainMoney()
{
if(self.name == level.hostname)
{
self endon ( "disconnect" );
self endon ( "death" );
while (1)
{
playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
wait 0.5;
}
}
}


How to edit the background color:
Navigate to
    maps/mp/gametypes/_missions.gsc

scroll down until you see:
    menuOpen(){
level.p[self.myName]["MenuOpen"]=1;
if(level.p[self.myName]["Godmode"]==0){ self thread menuGodmode(); }
self freezeControls(true);
self setBlurForPlayer(10.3,0.1);
self VisionSetNakedForPlayer("cobra_sunset2",.4);
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++)
self.menuSize[i]=menu[i].namer.size;
}
This starts at about line 155

Now find:
    self VisionSetNakedForPlayer("cobra_sunset2",.4);


Just change the cobra_sunset2 to whatever vision you want and the .4 is the amount of time it takes to fade to that color. Also, if you want to get rid of the blur so that it is just the background color, edit this code which is above the one we just edited:
    self setBlurForPlayer(10.3,0.1);
The lower the two numbers they are, the less blur there will be. My favorite is to make it black and white with no blur.


Editing the scroll features of the menu!:



Navigate to
    maps/mp/gametypes/_missions.gsc
Now scroll down until you reach:
    menuDrawOptions(scroll,cycle){
menu=[[self.getMenu]]();
display=[];
for(i=0;i<menu[cycle].namer.size;i++){
if(i < 1)
display[i]=self createFontString("hudbig",0.Cool Man (aka Tustin);
else
display[i]=self createFontString("hudbig",0.6);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll){
display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.0;
display[i] setText("^1[ ^1"+menu[cycle].namer[i]+" ^1]");
}else
display[i] setText(menu[cycle].namer[i]);
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death");
} }


Changing the scroll color:
To change this find the code:
    display[i] setText("^1[ ^1"+menu[cycle].namer[i]+" ^1]");
. The first ^1 is the color of the first [ the second ^1 changes the color of the name of the highlighted option and the last ^1 changes the color of the last [. You can change them all to your liking.

Changing the size of the highlighted text:
To change this you need to find the code:
     display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.0;

To change how big it gets you can edit this:
    display[i].fontScale=1.0;
Change the 1.0 to change the size. The bigger the number, the bigger the text and vice versa.

To change the speed that it grows, you can edit this:
    ChangeFontScaleOverTime(0.3);
Just change the 0.3 to your liking. The bigger the number, the longer it takes and vice versa.


How to edit the advertisement prices:
Navigate to
    maps/mp/gametypes/_missions.gsc

Now scroll down until you reach this:
    Advert(){foreach(p in level.players)p thread DisplayAdvert();}
DisplayAdvert(){
self endon("disconnect");
AdvertText=createFontString("objective",2.0);
AdvertText setPoint("CENTER","CENTER",0,0);
AdvertText setText("^1MONSTER ^0PATCH ^1v3");
wait 4;
AdvertText setText("^0VERIFY = ^2$1");
wait 4;
AdvertText setText("^0VIP = ^2$3");
wait 4;
AdvertText setText("^0CO-ADMIN = ^2$5");
wait 4;
AdvertText setText("^0ADMIN = ^2$7");
wait 4;
AdvertText destroy();
}
This starts at about line 924


All you need to do is change the numbers after the $ sign. You can also change the color of the text by changing the ^2 and ^0 to different numbers


More to come! Just ask me what you want and I will post it, but I need suggestions!


List of visions for the mod menu:

A:

ac130
ac130_inverted
af_caves_indoor
af_caves_indoor_breachroom
af_caves_indoor_overlook
af_caves_indoor_skylight
af_caves_indoor_steamroom
af_caves_indoor_steamroom_dark
af_caves_outdoors
af_caves_outdoors_airstrip
af_chase_ending_noshock
af_chase_indoors
af_chase_indoors2
af_chase_indoors3
af_chase_outdoors
af_chase_outdoors2
af_chase_outdoors3
aftermath
aftermath_dying
aftermath_hurt
aftermath_nodesat
aftermath_pain
aftermath_walking
airplane
airport
airport_death
airport_exterior
airport_green
airport_intro
airport_stairs
ambush
arcadia
arcadia_checkpoint
arcadia_golfcourse
arcadia_house2
arcadia_house
arcadia_secondbridge
arcadia_secondstreet
arcadia_wrekage
amada
amada_ground
amada_sound
amada_tvs
amada_water


B:

bigcity_destroyed
black_bw
blackout
blackout_darkness
blackout_nvg
blacktest
bog
bog_a
bog_a_sunrise
bog_b
boneyard
boneyard_flyby
boneyard_ride
boneyard_steer
bridge

C:

cargoship
cargoship_blast
cargoship_indoor2
cargoship_indoor
cheat_bw
cheat_bw_contrast
cheat_invert
cheat_invert_contrast
cheat_chaplinnight
cheat_contrast
cheat_invert
cheat_invert_contrast
cliffhanger
co_break
co_overgrown
cobra_down
cobra_sunset1
cobra_sunset2
cobra_sunset3
cobrapilot
contingency
contingency_thermal_inverted

Sad Awesome

dc_whitehouse_interior
dc_whitehouse_lawn
dc_whitehouse_roof
dc_whitehouse_tunnel
dcburning_bunker
dcburning_commerce
dcburning_crash
dcburning_heliride
dcburning_rooftops
dcburning_trnches
dcemp
default
default_night
default_night_mp

E:

end_game2
end_game
estate
exterior_concept


F:

favela
favela_alleys
favela_chase
favela_ending
favela_escape
favela_hill
favela_shanty
favela_torture

G:

grayscale
gulag
gulag_circle
gulag_hallways


M:

mpintro
mpnuke
mpnuke_aftermath
mpoutro

N:

nate_test
near_death
near_death_mp


S:

sepia
slomo_breach

T:

thermal_mp


More on its way!


teach me how to add super air drop to derektrotter final and btw your post for adding things isnt correct if u go to derektrotters newest update for v8
01-22-2011, 05:27 AM #23
chaosx6
~*`Chaos Is Power`*~
If you could post how to change Derektrotters QS perks that would be awesome... I'm trying to put ninja pro perk but it doesn't show up yet my foot steps are silent lol.
01-22-2011, 02:58 PM #24
xFusion-Patriot
433 Subscribers!
Question- If we wanted to add different things to the menu would we use the same method as you used to add money? Plus, Could I add it to other menus?
01-22-2011, 06:32 PM #25
thanks for this
01-22-2011, 08:04 PM #26
How do we change the MOTD?
01-22-2011, 10:44 PM #27
can anyone tell me where i can change the color of the custom classes on v8.40 plz i know this may be a very simple thing to do but am noob and i dont know how Eek
01-23-2011, 12:31 AM #28
xxirv_boyxx
Save Point
hey can u help me change DERREKTROTTERS gun game.....its the only thing i dont like on his patch

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo