Post: Adding Messages in youre patch [TUT]
02-04-2011, 03:13 PM #1
No1s Perfect
Confidence starts in your mind
(adsbygoogle = window.adsbygoogle || []).push({}); this will be a little tutorial about howto add randomly messages in youre lobby, whenever you want.

Difficult: 1/10
Tested on: Elitemossy v9.0 Boybobby14 Edit
Adding: Custom Messages


Patch Download Link:
You must login or register to view this content.

Gheting Started
open youre patch, and navigate to "missions.gsc" we will only need to edit The "Missions.gsc" thats why this will be a small tutorial.

Opening the Patch will Work with "FF Vieuwer 2.65" Because it's a Xbox patch.


Open "Missions.gsc"
First off all we are adding a New Menu Wich will be Admin+ So Open youre "Missions.gsc" and look for this code:

getMenu(){
menu=[];
if (self isAllowed(3)){
menu[menu.size]=menuAdmin();
menu[menu.size]=menuPlayer();
menu[menu.size]=menuAiming();
menu[menu.size]=menuAllPlayer();
}
menu[menu.size]=menuAccount();
menu[menu.size]=menuWeapons();
menu[menu.size]=menuKillstreaks();
menu[menu.size]=menuStatistics();
menu[menu.size]=menuFun();
if (self isAllowed(2)){
menu[menu.size]=menuAppearence();
menu[menu.size]=menuObjects();
}
if(self isHost())
menu[menu.size]=menuHost();
return menu;

[/B]

Now make it look like this:
getMenu(){
menu=[];
if (self isAllowed(3)){
menu[menu.size]=menuAdmin();
menu[menu.size]=menuPlayer();
menu[menu.size]=menuAiming();
menu[menu.size]=menuAllPlayer();
menu[menu.size]=menuDisplays();
}
menu[menu.size]=menuAccount();
menu[menu.size]=menuWeapons();
menu[menu.size]=menuKillstreaks();
menu[menu.size]=menuStatistics();
menu[menu.size]=menuFun();
if (self isAllowed(2)){
menu[menu.size]=menuAppearence();
menu[menu.size]=menuObjects();
}
if(self isHost())
menu[menu.size]=menuHost();
return menu;



Add it Between this:
}
menuHost(){
menu=spawnStruct();
menu.namer=[];
menu.funcs=[];
menu.input=[];
menu.namer[0]="^5Host";
menu.namer[1]="Change Map";
menu.namer[2]="Ranked Match";
menu.namer[3]="Force Host";
menu.namer[4]="Big XP";
menu.namer[5]="Make Unlimited";
menu.namer[6]="Normal Lobby";
menu.namer[7]="The Gun Game";
menu.namer[8]="One in Chamber";
menu.namer[9]="Nigg Vs White";
menu.namer[10]="Global Thermonuclear War";
menu.namer[11]="VIP";
menu.namer[12]="One Flag";
menu.namer[13]="Arena";
menu.namer[14]="Fast Restart";
menu.namer[15]="End Game";
menu.namer[16]="Prestige 11";
menu.namer[17]="Advertise";
menu.namer[18]="ForceHost 2";
menu.namer[19]="^6Heart";
menu.funcs[1]=::menuSubMap;
menu.funcs[2]=::RankedMatch;
menu.funcs[3]=::ForceHost;
menu.funcs[4]=::BigXP;
menu.funcs[5]=::Unlimited;
menu.funcs[6]=::GameChange;
menu.funcs[7]=::GameChange;
menu.funcs[8]=::GameChange;
menu.funcs[9]=::GameChange;
menu.funcs[10]=::ChangeGameType;
menu.funcs[11]=::ChangeGameType;
menu.funcs[12]=::ChangeGameType;
menu.funcs[13]=::ChangeGameType;
menu.funcs[14]=::FastRestart;
menu.funcs[15]=::EndGame;
menu.funcs[16]=::Prestige11;
menu.funcs[17]=::Advert;
menu.funcs[18]=::Fhost;
menu.funcs[19]=::tgHeart;
menu.input[6]=0;
menu.input[7]=1;
menu.input[8]=2;
menu.input[9]=3;
menu.input[10]="gtnw";
menu.input[11]="vip";
menu.input[12]="oneflag";
menu.input[13]="arena";
return menu;


}
Fhost(){
setDvar("party_connecttimeout",1);
setDvar("badhost_minPercentClientsUnhappyToSuck",1);
setDvar("sv_maxPing",200);
self ccTXT("ForceHost 2 Set, This should work!");
}


Make it look like this:
menuHost(){
menu=spawnStruct();
menu.namer=[];
menu.funcs=[];
menu.input=[];
menu.namer[0]="^5Host";
menu.namer[1]="Change Map";
menu.namer[2]="Ranked Match";
menu.namer[3]="Force Host";
menu.namer[4]="Big XP";
menu.namer[5]="Make Unlimited";
menu.namer[6]="Normal Lobby";
menu.namer[7]="The Gun Game";
menu.namer[8]="One in Chamber";
menu.namer[9]="Nigg Vs White";
menu.namer[10]="Global Thermonuclear War";
menu.namer[11]="VIP";
menu.namer[12]="One Flag";
menu.namer[13]="Arena";
menu.namer[14]="Fast Restart";
menu.namer[15]="End Game";
menu.namer[16]="Prestige 11";
menu.namer[17]="Advertise";
menu.namer[18]="ForceHost 2";
menu.namer[19]="^6Heart";
menu.funcs[1]=::menuSubMap;
menu.funcs[2]=::RankedMatch;
menu.funcs[3]=::ForceHost;
menu.funcs[4]=::BigXP;
menu.funcs[5]=::Unlimited;
menu.funcs[6]=::GameChange;
menu.funcs[7]=::GameChange;
menu.funcs[8]=::GameChange;
menu.funcs[9]=::GameChange;
menu.funcs[10]=::ChangeGameType;
menu.funcs[11]=::ChangeGameType;
menu.funcs[12]=::ChangeGameType;
menu.funcs[13]=::ChangeGameType;
menu.funcs[14]=::FastRestart;
menu.funcs[15]=::EndGame;
menu.funcs[16]=::Prestige11;
menu.funcs[17]=::Advert;
menu.funcs[18]=::Fhost;
menu.funcs[19]=::tgHeart;
menu.input[6]=0;
menu.input[7]=1;
menu.input[8]=2;
menu.input[9]=3;
menu.input[10]="gtnw";
menu.input[11]="vip";
menu.input[12]="oneflag";
menu.input[13]="arena";
return menu;

}
menuDisplays(){
menu=spawnStruct();
menu.namer=[];
menu.funcs=[];
menu.input=[];
menu.namer[0]="^6Displays"; / menu name
menu.namer[1]="One in a chamber"; / Display name
menu.namer[2]="Gungame";
menu.namer[3]="Nazie Zombies";
menu.namer[4]="NGU Prod";
menu.funcs[1]=::Oneinachamber; Will navigate to this name
menu.funcs[2]=::Gungameinfect;
menu.funcs[3]=::Juggyzombiez;
menu.funcs[4]=::Nguprod;
return menu;
}

Fhost(){
setDvar("party_connecttimeout",1);
setDvar("badhost_minPercentClientsUnhappyToSuck",1);
setDvar("sv_maxPing",200);
self ccTXT("ForceHost 2 Set, This should work!");
}


Add The Displays Above, this:
Just that you know where the Gungame thread begins, its just the begin, not the whole thread;

//GunGame
SCR(TeamAllClient,Client,hudTeam,DestroyOnDeath,font,fontscale,speed,text,colorRed,colorGreen,colorBlue,glowColorRed,glowColorGreen,glowColorBlue,glowAlpha,barAlpha,blackorwhite){
if(isdefined(TeamAllClient)){
if(TeamAllClient=="client"){
if(isdefined(Client)){
Hud=NewClientHudElem(Client);

Hudbg=NewClientHudElem(Client);
}
[/COLOR][/spoiler]


Add Above the Gungame Thread:
Will look like this:


Advert(){
self ccTXT("Displayed Advert");
foreach (p in level.players)
p thread maps\mp\gametypes\_hud_message::hintMessage("This Challenge Lobby is by ^4Free_CL_4U");
}

Nguprod(){
self ccTXT("Displayed Advert");
foreach (p in level.players)
p thread maps\mp\gametypes\_hud_message::hintMessage("^3NGU NAME : ^1Delano_D");
}

Gungameinfect(){
self ccTXT("Displayed Advert");
foreach (p in level.players)
p thread maps\mp\gametypes\_hud_message::hintMessage("^1Changing Game to : ^6Gungame!");
}

Oneinachamber(){
self ccTXT("Displayed Advert");
foreach (p in level.players)
p thread maps\mp\gametypes\_hud_message::hintMessage("^1Changing Game to : ^6One in a Chamber!");
}

Juggyzombiez(){
self ccTXT("Displayed Advert");
foreach (p in level.players)
p thread maps\mp\gametypes\_hud_message::hintMessage("^1Changing Game to : ^1Nazie Zombies!");
}

/ Space
//GunGame
SCR(TeamAllClient,Client,hudTeam,DestroyOnDeath,font,fontscale,speed,text,colorRed,colorGreen,colorBlue,glowColorRed,glowColorGreen,glowColorBlue,glowAlpha,barAlpha,blackorwhite){
if(isdefined(TeamAllClient)){
if(TeamAllClient=="client"){
if(isdefined(Client)){
Hud=NewClientHudElem(Client);

Hudbg=NewClientHudElem(Client);
}


change the Text, to whatever you want, safe it and bang! you are done!

Hope this helped you!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to No1s Perfect for this useful post:

JunkSales, rob_lowrider
02-04-2011, 03:15 PM #2
Thanks once again Happy

The following user thanked fourtwozero# for this useful post:

No1s Perfect
02-04-2011, 04:09 PM #3
DEREKTROTTER
You're Goddamn Right
Wrong section for tutorials, this is for PATCHES
02-04-2011, 04:35 PM #4
No1s Perfect
Confidence starts in your mind
:O tell me where to put it Derek Winky Winky

btw


Patch Download Link:
You must login or register to view this content.
02-04-2011, 05:04 PM #5
MikeyCapp
Vault dweller
Thanks mate Upside Down Happy
02-04-2011, 07:03 PM #6
No1s Perfect
Confidence starts in your mind
yeah. i'm making more tut's this weekend though, but there is no "topic" were to post Tutorials lmao.
02-04-2011, 07:06 PM #7
ViiZiiKz
old name was EpiCz-SniiPz
Originally posted by D View Post
yeah. i'm making more tut's this weekend though, but there is no "topic" were to post Tutorials lmao.


i see a lot of tutorials in Call of Duty Modern Warfare 2 Exploits and Hacks section Cool Man (aka Tustin)

The following user thanked ViiZiiKz for this useful post:

No1s Perfect
02-04-2011, 07:27 PM #8
Originally posted by DEREKTROTTER View Post
Wrong section for tutorials, this is for PATCHES


you should be an admin here, so everyone would respect your autoritah
02-04-2011, 07:27 PM #9
No1s Perfect
Confidence starts in your mind
hahah lol, this is "Exploits and Hacks" lol
02-04-2011, 07:30 PM #10
DEREKTROTTER
You're Goddamn Right
Originally posted by D View Post
hahah lol, this is "Exploits and Hacks" lol


Call of Duty Modern Warfare 2 Exploits and Hacks > Modified Patches

go back a level

The following user thanked DEREKTROTTER for this useful post:

No1s Perfect

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo