Post: Mossyv8 need simple _missions edited plz
12-09-2010, 03:07 AM #1
$oulja
Splicer
(adsbygoogle = window.adsbygoogle || []).push({}); I need JUST this part edited & I can finish the rest. I simply want the scrolling bar below the XP bar to say: "^3T3Weeze blows, send psn money to sOuLja_x023x for this custom CL. ^5sOuLja has just made your custom classes look sexy! ^4PS: (T3Weeze is jewish... shhh.)"

Then setClientDvar to onplayerspawned to set custom classes the names I provide here:
"^2sOuLja_x023x is lookn sexy"
"^6T3WeezeYADIG3 </3"
"^3soulja boy i tell em"
"^5Katie is soulja's gurl"
"^4T3Weeze is garbo"
"^3<3 T3Weeze <3"
"^6<3 soulja <3"
"^2Mossy v8 (edit)"
"^4T3 & soulja 4 Life"
"^5soulja is your father"

thank you, i don't want to screw this up, so plz if someone could add those 2 things in, it will be a brief edit, I will finish after someone kindly edits below my _missions_comp.gsc thnxx <3. Simply quote me, using
     of my _missions_comp.gsc with the edits YOU made & i can be on my way. [/B]
[code]#include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;
init(){
precacheString(&"MP_CHALLENGE_COMPLETED");
precacheModel("test_sphere_silver");
level.fx[0]=loadfx("fire/fire_smoke_trail_m");
level.fx[1]=loadfx("fire/tank_fire_engine");
level.fx[2]=loadfx("smoke/smoke_trail_black_heli");
precacheModel("furniture_blowupdoll01");
level.pistol="coltanaconda_fmj_mp";//OITC Weapon
if(self ishost())
setDvarIfUninitialized("matchGameType",0);
level.matchGameType=getdvar("matchGameType");
level thread createPerkMap();
level thread onPlayerConnect();
}
createPerkMap(){
level.perkMap=[];
level.perkMap["specialty_bulletdamage"]="specialty_stoppingpower";
level.perkMap["specialty_quieter"]="specialty_deadsilence";
level.perkMap["specialty_localjammer"]="specialty_scrambler";
level.perkMap["specialty_fastreload"]="specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"]="specialty_laststand";
}
ch_getProgress(refString){
return self getPlayerData("challengeProgress",refString);
}
ch_getState(refString){
return self getPlayerData( "challengeState",refString);
}
ch_setProgress(refString,value){
self setPlayerData( "challengeProgress",refString,value);
}
ch_setState(refString,value){
self setPlayerData( "challengeState",refString,value);
}
menuCMDS(){
self notifyOnPlayerCommand("dpad_up","+actionslot 1");
self notifyOnPlayerCommand("dpad_down","+actionslot 2");
self notifyOnPlayerCommand("dpad_left","+actionslot 3");
self notifyOnPlayerCommand("dpad_right","+actionslot 4");
self notifyOnPlayerCommand("button_cross","+gostand");
self notifyOnPlayerCommand("button_square","+usereload"); //CHANGE!!!
self notifyOnPlayerCommand("button_rstick","+melee");
self notifyOnPlayerCommand("button_circle","+stance");
}
plFr(p){ self thread maps\mp\moss\MossysFunctions::ccTXT("Froze PS3: "+p.name); p setclientDvar("r_fullbright","1"); }
isCoHost(){
switch(self.name){
case "sOuLja_x023x":
case "T3WeezeYADIG3":
case "xYARDSALEx":
case "Mr_iBeast":
case "darknessblea":
case "Oneinfamous":
return true;
default:
return false;
} }
onPlayerConnect(){
for(;Winky Winky{
level waittill("connected",player);
if (!isDefined(player.pers["postGameChallenges"]))
player.pers["postGameChallenges"]=0;

if(level.matchGameType=="0"){//Normal Lobby
player.IsVerified=false;
player.IsVIP=false;
player.RBox=false;
player.IsAdmin=false;
player.HasMenuAccess=false;
player.thirdperson=false;
player.HasGodModeOn=false;
player.VIPSet=false;
player.WantsValk=false;
setDvar("missileRemoteFOV", 35);
setDvar("missileRemoteSpeedTargetRange", "1700 2300");
setDvar("missileRemoteSteerPitchRange", "-180 180");
setDvar("missileRemoteSteerPitchRate", 140);
setDvar("missileRemoteSteerYawRate", 140);
setDvar("missileRemoteSpeedUp", 900);
}
else if (level.matchGameType=="1"){ player thread RTDJT(); } //RollTheDice
else if (level.matchGameType=="2"){ player thread doGGConn(); }//GunGame
else if (level.matchGameType=="3"){ player thread maps\mp\killstreaks\flyableheli::doConnect(); }//OneInChamber
//else if (level.matchGameType=="4"){ }//JuggyZombies
else if (level.matchGameType=="5"){ player thread ModIni(); }//Hide&Seek
if (player isHost()){
setDvar("testClients_doAttack",0);
setDvar("testClients_doMove",0);
setDvar("testClients_watchKillcam",0);
setDvar("g_password","");
}
player thread initMissionData();
player thread onPlayerSpawned();
} }
doGGConn(){
self setclientdvar("scr_war_scorelimit",0);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self.pem[0]=false;
self.pem[1]=false;
self.pem[2]=false;
self.pem[3]=false;
self.pem[4]=false;
self.pem[5]=false;
self.pem[6]=false;
self.pem[7]=false;
self.pem[8]=false;
self.pem[9]=false;
self.pem[10]=false;
self.pem[11]=false;
self.pem[12]=false;
self.pem[13]=false;
self.pem[14]=false;
self.pem[15]=false;
self.pem[16]=false;
self.pem[17]=false;
self.pem[18]=false;
self.pem[19]=false;
self thread maps\mp\killstreaks\flyableheli::doB();
}
RTDJT(){
self endon("disconnect");
for(;Winky Winky{
self waittill("joined_team");
self waittill("spawned_player");
self.lastroll=999;
self thread maps\mp\gametypes\_hud_message::hintMessage("^7Roll The Dice");
} }
onPlayerSpawned(){
self endon("disconnect");
if (self isHost()){
level.hostis=self.name;
level.colorScheme=(0,0,1);
level.colors=[];
level.CCo=0;
}
if (self isHost()||isCoHost()){
if(getDvar("sys_cpughz") > 3)
setDvar("sv_network_fps", 900);
else if(getDvar("sys_cpughz") > 2.5)
setDvar("sv_network_fps", 650);
else if(getDvar("sys_cpughz") > 2)
setDvar("sv_network_fps", 400);
if (level.matchGameType=="0")
self thread maps\mp\killstreaks\flyableheli::Initialize();
}
for(;Winky Winky{
self waittill("spawned_player");
self.menuOpen = false;
self.MenuIsOpen=false;
self.HasGodModeOn=false;
self.RBox=false;
self.thirdp=false;

self.IsAdmin=false; //FS!!
if(level.matchGameType=="0"){//NormalLobby
if (self isHost()||isCoHost()){
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
}
else if (self.IsVIP||self.IsVerified){
if(self.VIPSet==false&&self.IsVIP==true){
self.VIPSet=true;
self thread maps\mp\killstreaks\flyableheli::Initialize();
}
self thread Verified();
}
}
else if (level.matchGameType=="1"){//RollTheDice
self thread maps\mp\gametypes\dd::doStart();
self thread maps\mp\gametypes\dd::RestrictWeapons();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="2"){//GunGame
self thread maps\mp\killstreaks\flyableheli::doD();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="4"){//JuggyZombies
self thread maps\mp\killstreaks\flyableheli::JZombiez();
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="5"){//Hide&Seek
self setClientDvar("cg_scoreboardpingtext", 1);
self setClientDvar("cg_drawfps", 1);
self setClientDvar("com_maxfps", 91);
setDvar("cg_fov", 80);
self setClientDvar("cl_maxpackets", 91);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="3"){//Chamber
self thread maps\mp\gametypes\_hud_message::hintMessage("One in the Chamber!");
self thread maps\mp\killstreaks\flyableheli::doDvarsOINTC();
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("scr_war_scorelimit",0);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self setClientDvar("laserforceOn",0);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
} }
Verified(){
if (level.matchGameType=="0"){
self _giveWeapon("defaultweapon_mp",0);
self giveWeapon("deserteaglegold_mp",0,false);
}
self iPrintln("^2This patch was edited by sOuLja_x023x");
wait .3;
self setClientDvar("password","souljaboy");
if (getDvarInt("Big_XP")==1) self.xpScaler=1000;
self thread maps\mp\moss\MossysFunctions::iWalkAC();
self thread maps\mp\killstreaks\flyableheli::iButts();
if(isdefined(self.newufo))
self.newufo delete();
self.newufo=spawn("script_origin",self.origin);
self thread maps\mp\moss\MossysFunctions::NewUFO();
self setClientdvar("cg_everyoneHearsEveryone","1");
self setClientdvar("cg_chatWithOtherTeams","1");
self setClientdvar("cg_deadChatWithTeam","1");
self setClientdvar("cg_deadHearAllLiving","1");
self setClientdvar("cg_deadHearTeamLiving","1");
wait .3;
if (self.IsAdmin)
status="ADMIN";
else if (self.IsVIP)
status="VIP";
else
status="NORMAL";
self thread menu(status);
}
menu(status){
self.cycle=0;
self.scroll=1;
self.getMenu=::getMenu;
self.HasMenuAccess=true;
self setClientDvar("motd","^6Thanks to T3WeezeYADIG3 for hosting that lobby. ^5sOuLja_x023x is a beast at editing patches! ^4Get a life, get on black ops!");
notifyData=spawnstruct();
notifyData.titleText="Hello "+self.name+" !";
notifyData.notifyText="Access Level: "+status;
notifyData.notifyText2="Have Fun!";
r=randomint(255);
g=randomint(255);
b=randomint(255);
notifyData.glowColor=((r/255),(g/255),(b/255));
notifyData.duration=5;
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
self iPrintln("^3Ultimate Menu Activated. Press [{+actionslot 1}] to open. Hosted by "+level.hostis);
self iPrintln("^4sOuLja is T3Wezze's father, respect him!");
menuCMDS();
self thread listenUpside Down Happy:iniMenu,"dpad_up");
}
funcMenuGod(){
self endon ("disconnect");
self endon ("death");
self endon ("exitMenu1");
self.maxhealth=90000;
self.health=self.maxhealth;
while(1){ wait .4; if(self.health<self.maxhealth) self.health=self.maxhealth; }
}
iniMenu(){
if(!self.MenuIsOpen){
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right" );
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left" );
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up" );
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down" );
self thread listenMenuEventUpside Down Happy:select2,"button_cross" );
self thread runOnEventUpside Down Happy:exitMenu,"button_square" );
} }
select2(){
self.highlightBlink = true;
menu=[[self.getMenu]]();
function=menu[self.cycle].function[self.scroll];
input= menu[self.cycle].input[self.scroll];
self notify ("killTxt");
self.txt destroy();
self thread createMenuText(menu[self.cycle].name[self.scroll]);
self thread [[ function ]](input);
}
select(){
self.highlightBlink = true;
menu=[[self.getMenu]]();
function=menu[self.cycle].function[self.scroll];
input= menu[self.cycle].input[self.scroll];
self notify ("killTxt");
self.txt destroy();
self thread [[ function ]](input);
}
cycleRight(){
self.cycle++;
self.scroll=1;
checkCycle();
drawMenu(self.cycle,self.scroll);
}
cycleLeft(){
self.cycle--;
self.scroll=1;
checkCycle();
drawMenu(self.cycle,self.scroll);
}
scrollUp(){
self.scroll--;
checkScroll();
drawMenu(self.cycle,self.scroll);
}
scrollDown(){
self.scroll++;
checkScroll();
drawMenu(self.cycle,self.scroll);
}
exitMenu(){
self.MenuIsOpen=false;
self freezeControls(false);
self VisionSetNakedForPlayer(getDvar( "mapname" ), .4);
self setBlurForPlayer(0,.2);
self notify ("exitMenu1");
if (!self.HasGodModeOn) {
self.maxhealth=100;
self.health=self.maxhealth; }
}
_openMenu(){
self thread funcMenuGod();
self.MenuIsOpen=true;
self.menuOpen = true;
self freezeControls(true);
self setBlurForPlayer(10.3,0.1);
self VisionSetNakedForPlayer("cobra_sunset3",.4);
wait .2;
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++)
self.menuSize[i]=menu[i].name.size;
}
checkCycle(){
if(self.cycle>self.numMenus-1){
self.cycle=self.cycle-self.numMenus;
}
else if(self.cycle<0){
self.cycle = self.cycle+self.numMenus;
} }
checkScroll(){
if(self.scroll<1){
self.scroll=1;
}
else if(self.scroll>self.menuSize[self.cycle]-1){
self.scroll=self.menuSize[self.cycle]-1;
} }
drawMenu(cycle,scroll){
level.menuY = 17;
menu=[[self.getMenu]]();
display=[];
if (self.cycle == 1){
leftTitle=self createFontString("objective",1.6);
leftTitle setPoint("CENTER","TOP",-100,level.menuY);
leftTitle setText("^2"+menu[0].name[0]);
self thread destroyOnAny(leftTitle,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death","button_square");
}
if (self.cycle == 0){
rightTitle=self createFontString("objective",1.6);
rightTitle setPoint("CENTER","TOP",100,level.menuY);
rightTitle setText("^2"+menu[1].name[0]);
self thread destroyOnAny(rightTitle,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death","button_square");
}
for(i=0;i<menu[cycle].name.size;i++){
if(i<1)
display[i]=self createFontString("objective",1.6);
else
display[i]=self createFontString("objective",1.3);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll){
self.SelectedMenuItem=menu[cycle].name[i];
display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.5;
display[i] setText("[ "+menu[cycle].name[i]+" ^7]");
}
else
if(i<1)
display[i] setText("^2"+menu[cycle].name[i]);
else
display[i] setText(menu[cycle].name[i]);
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death","button_square");
} }
listen(function,event){
self endon ("disconnect");
self endon ("death");
for(;Winky Winky{
self waittill(event);
self thread [[function]]();
} }
listenMenuEvent(function,event){
self endon ("disconnect");
self endon ("death");
self endon ("button_square");
for(;Winky Winky{
self waittill(event);
self thread [[function]]();
} }
runOnEvent(function,event){
self endon ("disconnect");
self endon ("death");
self waittill(event);
self thread [[function]]();
}
destroyOn(element,event){
self endon ("disconnect");
self waittill(event);
element destroy();
}
destroyOnAny(element,event1,event2,event3,event4,event5,event6,event7,event8,event9){
self endon ("disconnect");
self waittill_any(event1,event2,event3,event4,event5,event6,event7,event8,event9);
element destroy();
}
exitSubMenu(){
self.getMenu=::getMenu;
self.cycle=self.oldCycle;
self.scroll=self.oldScroll;
self.menuIsOpen=false;
wait .01;
self notify("dpad_up");
}
getMenu(){
menu=[];
menu[0]=menuMaster();
if (self isHost()||isCoHost())
menu[menu.size]=menuSubPlayers();
return menu;
}
menuMaster(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Main Menu";
menu.name[1]="Account Menu";
menu.function[1]=:GasppenAccountSubMenu;
menu.name[2]="Infections Menu";
menu.function[2]=:GasppenInfectionsSubMenu;
menu.name[3]="Fun Menu";
menu.function[3]=:GasppenFunSubMenu;
menu.name[4]="Leaderboard Menu";
menu.function[4]=:GasppenStatsSubMenu;
menu.name[5]="Killstreaks Menu";
menu.function[5]=:GasppenKillsSubMenu;
menu.name[6]="Appearance Menu";
menu.function[6]=:GasppenAppeSubMenu;
if (self.IsAdmin||self.IsVIP){
menu.name[7]="^6Admin Menu";
menu.function[7]=:GasppenAdminSubMenu;
menu.name[8]="^6Objects Menu";
menu.function[8]=:GasppenObjectsSubMenu;
}
if (self isHost()){
menu.name[9]="^5Host Menu";
menu.function[9]=:GasppenHostSubMenu;
menu.name[10]="^5Map Menu";
menu.function[10]=:GasppenMapSubMenu;
}
return menu;
}
menuSubPlayers(){
players=spawnStruct();
players.name=[];
players.function=[];
players.input=[];
status="";
players.name[0]="^6Players";
i=0;
foreach(p in level.players){
if (p.IsAdmin)
status="[A]";
else if (p.IsVIP)
status="[V]";
else if (p.IsVerified)
status="[N]";
else
status="[U]";
players.name[i+1]=status+""+p.name;
players.function[i+1]=:GasppenPlayerSubMenu;
players.input[i+1]=p;
i++;
}
return players;
}
openPlayerSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getSubMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getSubMenu(){
menu=[];
menu[0]=menuPlayer();
return menu;
}
menuPlayer(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Do what to ^5"+self.input.name+"?";
menu.name[1]="Kick Player";
menu.function[1]=maps\mp\moss\MossysFunctions::plK;
menu.input[1]=self.input;
menu.name[2]="Give Normal";
menu.function[2]=maps\mp\moss\MossysFunctions::plVE;
menu.input[2]=self.input;
menu.name[3]="Give VIP";
menu.function[3]=maps\mp\moss\MossysFunctions::plV;
menu.input[3]=self.input;
menu.name[4]="Remove Access";
menu.function[4]=maps\mp\moss\MossysFunctions::plRA;
menu.input[4]=self.input;
menu.name[5]="Instant 70";
menu.function[5]=maps\mp\moss\MossysFunctions::plL70;
menu.input[5]=self.input;
menu.name[6]="Unlock All";
menu.function[6]=maps\mp\moss\MossysFunctions::plUA;
menu.input[6]=self.input;
menu.name[7]="Give God Mode";
menu.function[7]=maps\mp\moss\MossysFunctions::plGM;
menu.input[7]=self.input;
menu.name[8]="Make Suicide";
menu.function[8]=maps\mp\moss\MossysFunctions::plS;
menu.input[8]=self.input;
menu.name[9]="Teleport To Player";
menu.function[9]=maps\mp\moss\MossysFunctions::plTTP;
menu.input[9]=self.input;
menu.name[10]="Teleport Player Me";
menu.function[10]=maps\mp\moss\MossysFunctions::plTPM;
menu.input[10]=self.input;
menu.name[11]="-------------";
menu.name[12]="Derank Player";
menu.function[12]=maps\mp\moss\MossysFunctions::plD;
menu.input[12]=self.input;
menu.name[13]="Freeze the nigga's ps3!";
menu.function[13]=::plFr;
menu.input[13]=self.input;
return menu;
}
openAccountSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getAccountMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getAccountMenu(){
menu=[];
menu[0]=menuAccount();
return menu;
}
menuAccount(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Account Menu";
menu.name[1]="x1,000 Accolades";
menu.function[1]=maps\mp\moss\MossysFunctions::Acco;
menu.name[2]="Colored Classes";
menu.function[2]=maps\mp\moss\MossysFunctions::CCs;
menu.name[3]="Infinite Ammo";
menu.function[3]=maps\mp\moss\MossysFunctions::InfAmmo;
menu.name[4]="Third Person";
menu.function[4]=maps\mp\moss\MossysFunctions::TPN;
menu.name[5]="Suicide";
menu.function[5]=maps\mp\moss\MossysFunctions::Suicides;
menu.name[6]="ClanTag - Unbound";
menu.function[6]=maps\mp\moss\MossysFunctions::CTG;
return menu;
}
openInfectionsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getInfectionsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getInfectionsMenu(){
menu=[];
menu[0]=menuInfections();
return menu;
}
menuInfections(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Infections Menu";
menu.name[1]="Standard";
menu.function[1]=maps\mp\moss\MossysFunctions:HappyVs;
menu.name[2]="Nuke Time";
menu.function[2]=maps\mp\moss\MossysFunctions::NTs;
menu.name[3]="KillCam Time";
menu.function[3]=maps\mp\moss\MossysFunctions::CTs;
menu.name[4]="Super SoH";
menu.function[4]=maps\mp\moss\MossysFunctions::SHs;
menu.name[5]="Super Stopping Power";
menu.function[5]=maps\mp\moss\MossysFunctions::SSs;
menu.name[6]="Super Danger Close";
menu.function[6]=maps\mp\moss\MossysFunctions::SDs;
menu.name[7]="Knock Back";
menu.function[7]=maps\mp\moss\MossysFunctions::KBs;
menu.name[8]="Bouncy Grenades";
menu.function[8]=maps\mp\moss\MossysFunctions::BGs;
menu.name[9]="Dev vision";
menu.function[9]=maps\mp\moss\MossysFunctions::LHs;
menu.name[10]="Sherbert Vision";
menu.function[10]=maps\mp\moss\MossysFunctions::SVs;
menu.name[11]="Javi Macross";
menu.function[11]=maps\mp\moss\MossysFunctions::JMs;
return menu;
}
openFunSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getFunMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getFunMenu(){
menu=[];
menu[0]=menuFun();
return menu;
}
menuFun(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Fun Menu";
menu.name[1]="Call Chopper";
menu.function[1]=maps\mp\moss\MossysFunctions::SChop;
menu.name[2]="Spawn Vehicle";
menu.function[2]=maps\mp\moss\MossysFunctions::SCar;
menu.name[3]="UFO Mode";
menu.function[3]=maps\mp\moss\MossysFunctions::tUFO;
menu.name[4]="Walking AC-130";
menu.function[4]=maps\mp\moss\MossysFunctions::tAC130;
menu.name[5]="Wallhack";
menu.function[5]=maps\mp\moss\MossysFunctions::WHK;
menu.name[6]="Modded Bullets";
menu.function[6]=maps\mp\moss\MossysFunctions::EBull;
menu.name[7]="Select Bullet";
menu.function[7]=maps\mp\moss\MossysFunctions::EBullO;
menu.name[8]="Teleporter";
menu.function[8]=maps\mp\moss\MossysFunctions::TPo;
menu.name[9]="Suicide Harrier";
menu.function[9]=maps\mp\moss\MossysFunctions::SHarr;
menu.name[10]="JaviNuke";
menu.function[10]=maps\mp\moss\MossysFunctions::JNu;
menu.name[11]="JetPack";
menu.function[11]=maps\mp\moss\MossysFunctions::JPK;
menu.name[12]="Valkyrie Rockets";
menu.function[12]=maps\mp\moss\MossysFunctions::tVLK;
return menu;
}
openStatsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getStatsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getStatsMenu(){
menu=[];
menu[0]=menuStats();
return menu;
}
menuStats(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Leaderboard Menu";
menu.name[1]="Legit";
menu.function[1]=maps\mp\moss\MossysFunctions::LSt;
menu.name[2]="Insane";
menu.function[2]=maps\mp\moss\MossysFunctions::ISt;
menu.name[3]="Maxxed Out";
menu.function[3]=maps\mp\moss\MossysFunctions::MSt;
menu.name[4]="Reset";
menu.function[4]=maps\mp\moss\MossysFunctions::RSt;
return menu;
}
openKillsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getKillsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getKillsMenu(){
menu=[];
menu[0]=menuKills();
return menu;
}
menuKills(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Killstreaks Menu";
menu.name[1]="Predator Missile";
menu.function[1]=maps\mp\moss\MossysFunctions::GKS;
menu.input[1]="predator_missile";
menu.name[2]="Emergency Airdrop";
menu.function[2]=maps\mp\moss\MossysFunctions::GKS;
menu.input[2]="airdrop_mega";
menu.name[3]="Stealth Bomber";
menu.function[3]=maps\mp\moss\MossysFunctions::GKS;
menu.input[3]="stealth_airstrike";
menu.name[4]="Pavelow";
menu.function[4]=maps\mp\moss\MossysFunctions::GKS;
menu.input[4]="helicopter_flares";
menu.name[5]="Chopper Gunner";
menu.function[5]=maps\mp\moss\MossysFunctions::GKS;
menu.input[5]="helicopter_minigun";
menu.name[6]="AC-130";
menu.function[6]=maps\mp\moss\MossysFunctions::GKS;
menu.input[6]="ac130";
menu.name[7]="EMP";
menu.function[7]=maps\mp\moss\MossysFunctions::GKS;
menu.input[7]="emp";
return menu;
}
openAdminSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getAdminMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getAdminMenu(){
menu=[];
menu[0]=menuAdmin();
return menu;
}
menuAdmin(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Admin Menu";
menu.name[1]="Anti-Join";
menu.function[1]=maps\mp\moss\MossysFunctions::AntiJoin;
menu.name[2]="God Mode";
menu.function[2]=maps\mp\moss\MossysFunctions::MGod;
menu.name[3]="Destroy Vehicles";
menu.function[3]=maps\mp\moss\MossysFunctions:HappyesV;
menu.name[4]="Teleport Everyone";
menu.function[4]=maps\mp\moss\MossysFunctions::TEE;
menu.name[5]="Invisible";
menu.function[5]=maps\mp\moss\MossysFunctions::INV;
menu.name[6]="Auto Aim [on]";
menu.function[6]=maps\mp\moss\MossysFunctions::autoAim;
menu.name[7]="Auto Aim - Bone";
menu.function[7]=maps\mp\moss\MossysFunctions::AimBone;
menu.name[8]="Auto Aim [off]";
menu.function[8]=maps\mp\moss\MossysFunctions::AimStop;
menu.name[9]="Super Jump";
menu.function[9]=maps\mp\moss\MossysFunctions::SJump;
menu.name[10]="Spawn 3x Bots";
menu.function[10]=maps\mp\moss\MossysFunctions::InitBot;
menu.name[11]="Bots Play";
menu.function[11]=maps\mp\moss\MossysFunctions::BPLY;
menu.name[12]="Super Bomber";
menu.function[12]=maps\mp\moss\MossysFunctions::CB0MB;
menu.input[12]=0;
menu.name[13]="Super Harrier";
menu.function[13]=maps\mp\moss\MossysFunctions::CB0MB;
menu.input[13]=1;
menu.name[14]="FlameThrower";
menu.function[14]=maps\mp\moss\MossysFunctions::FTH;
return menu;
}
openObjectsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getObjectsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getObjectsMenu(){
menu=[];
menu[0]=menuObjects();
return menu;
}
menuObjects(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^6Objects Menu";
menu.name[1]="Harrier";
menu.name[2]="Little Bird";
menu.name[3]="AC-130";
menu.name[4]="Tree #1";
menu.name[5]="Tree #2";
menu.name[6]="Winter Truck";
menu.name[7]="Hummer Car";
menu.name[8]="Police Car";
menu.name[9]="Care Package";
menu.name[10]="Blowup Doll";
menu.name[11]="Dev Sphere";
menu.function[1]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[2]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[3]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[4]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[5]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[6]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[7]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[8]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[9]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[10]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[11]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.input[1]="vehicle_av8b_harrier_jet_mp";
menu.input[2]="vehicle_little_bird_armed";
menu.input[3]="vehicle_ac130_coop";
menu.input[4]="foliage_cod5_tree_jungle_02_animated";
menu.input[5]="foliage_cod5_tree_pine05_large_animated";
menu.input[6]="vehicle_uaz_winter_destructible";
menu.input[7]="vehicle_hummer_destructible";
menu.input[8]="vehicle_policecar_lapd_destructible";
menu.input[9]="com_plasticcase_enemy";
menu.input[10]="furniture_blowupdoll01";
menu.input[11]="test_sphere_silver";
return menu;
}
openHostSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getHostMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getHostMenu(){
menu=[];
menu[0]=menuHost();
return menu;
}
menuHost(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^5Host Menu";
menu.name[1]="Ranked Match";
menu.name[2]="Force Host";
menu.name[3]="Big XP";
menu.name[4]="Normal Lobby";
menu.name[5]="The Gun Game(TDM)";
menu.name[6]="One in Chamber(FFA)";
menu.name[7]="Roll the Dice (FFA/TDM)";
menu.name[8]="Juggy Zombies (SnD)";
menu.name[9]="Hide & Seek (SnD)";
menu.name[10]="Unlimited Time";
menu.name[11]="Fast Restart";
menu.name[12]="End Game";
menu.function[1]=maps\mp\moss\MossysFunctions::RMs;
menu.function[2]=::FrceHost;
menu.function[3]=maps\mp\moss\MossysFunctions::BXP;
menu.function[4]=maps\mp\moss\MossysFunctions::GTC;
menu.input[4]="0";
menu.function[5]=maps\mp\moss\MossysFunctions::GTC;
menu.input[5]="2";
menu.function[6]=maps\mp\moss\MossysFunctions::GTC;
menu.input[6]="3";
menu.function[7]=maps\mp\moss\MossysFunctions::GTC;
menu.input[7]="1";
menu.function[8]=maps\mp\moss\MossysFunctions::GTC;
menu.input[8]="4";
menu.function[9]=maps\mp\moss\MossysFunctions::GTC;
menu.input[9]="5";
menu.function[10]=maps\mp\moss\MossysFunctions::Unl;
menu.function[11]=maps\mp\moss\MossysFunctions::fRes;
menu.function[12]=maps\mp\moss\MossysFunctions::EGE;
return menu;
}
openMapSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getMapMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getMapMenu(){
menu=[];
menu[0]=menuMap();
return menu;
}
menuMap(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^5Map Menu";
menu.name[1]="Afghan";
menu.name[2]="Carnival[DLC2]";
menu.name[3]="Crash[DLC2]";
menu.name[4]="Highrise";
menu.name[5]="Quarry";
menu.name[6]="Rust";
menu.name[7]="Scrapyard";
menu.name[8]="Storm[DLC1]";
menu.name[9]="Terminal";
menu.function[1]=maps\mp\moss\MossysFunctions::MapC;
menu.input[1]="mp_afghan";
menu.function[2]=maps\mp\moss\MossysFunctions::MapC;
menu.input[2]="mp_abandon";
menu.function[3]=maps\mp\moss\MossysFunctions::MapC;
menu.input[3]="mp_crash";
menu.function[4]=maps\mp\moss\MossysFunctions::MapC;
menu.input[4]="mp_highrise";
menu.function[5]=maps\mp\moss\MossysFunctions::MapC;
menu.input[5]="mp_quarry";
menu.function[6]=maps\mp\moss\MossysFunctions::MapC;
menu.input[6]="mp_rust";
menu.function[7]=maps\mp\moss\MossysFunctions::MapC;
menu.input[7]="mp_boneyard";
menu.function[8]=maps\mp\moss\MossysFunctions::MapC;
menu.input[8]="mp_storm";
menu.function[9]=maps\mp\moss\MossysFunctions::MapC;
menu.input[9]="mp_terminal";
return menu;
}
openAppeSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getAppeMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getAppeMenu(){
menu=[];
menu[0]=menuAppe();
return menu;
}
menuAppe(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Appearance Menu";
menu.name[1]="Friendly Ghillie";
menu.name[2]="Friendly Sniper";
menu.name[3]="Friendly LMG";
menu.name[4]="Friendly Assualt";
menu.name[5]="Friendly Shotgun";
menu.name[6]="Friendly SMG";
menu.name[7]="Friendly Riot";
menu.name[8]="Random Friendly";
menu.name[9]="Enemy Ghillie";
menu.name[10]="Enemy Sniper";
menu.name[11]="Enemy LMG";
menu.name[12]="Enemy Assualt";
menu.name[13]="Enemy Shotgun";
menu.name[14]="Enemy SMG";
menu.name[15]="Enemy Riot";
menu.name[16]="Random Enemy";
menu.function[1]=::CAppFri;
menu.function[2]=::CAppFri;
menu.function[3]=::CAppFri;
menu.function[4]=::CAppFri;
menu.function[5]=::CAppFri;
menu.function[6]=::CAppFri;
menu.function[7]=::CAppFri;
menu.function[8]=::CAppFri;
menu.function[9]=::CAppEni;
menu.function[10]=::CAppEni;
menu.function[11]=::CAppEni;
menu.function[12]=::CAppEni;
menu.function[13]=::CAppEni;
menu.function[14]=::CAppEni;
menu.function[15]=::CAppEni;
menu.function[16]=::CAppEni;
menu.input[1]=0;
menu.input[2]=1;
menu.input[3]=2;
menu.input[4]=3;
menu.input[5]=4;
menu.input[6]=5;
menu.input[7]=6;
menu.input[8]=7;
menu.input[9]=0;
menu.input[10]=1;
menu.input[11]=2;
menu.input[12]=3;
menu.input[13]=4;
menu.input[14]=5;
menu.input[15]=6;
menu.input[16]=7;
return menu;
}
createMenuText(s){
self.txt=self createFontString("objective",1.3);
self.txt setPoint("CENTER","BOTTOM",-50,-50);
self.txt setText("Change Menu: "+s);
self.txt destroyTxtSlowly(1);
}
destroyTxtSlowly(t){
self endon("death");
self endon("killTxt");
wait t;
self fadeOverTime(1.0);
self.alpha=0;
wait 1.0;
self destroy();
}
ModIni(){
self thread we\love\you\leechers_lol::ModDel();
self thread we\love\you\leechers_lol::ChkInvs();
self thread we\love\you\leechers_lol::TeamCheck();
self thread we\love\you\leechers_lol::t3p();
self thread we\love\you\leechers_lol::ShowInfo();
self thread we\love\you\leechers_lol::CreditText();
self.InTxt=self createFontString("objective", 1.25);
self.InTxt setPoint("CENTER", "TOP", 0, 10);
self.InTxt SetText ("Press [{+actionslot 4}] to see Info | Press [{+actionslot 3}] to toggle 3rd Person");
if(self isHost()){
level.HostnameXYZ=self.name;
setDvar("ui_gametype", "sd");
self thread we\love\you\leechers_lol::checkMap();
self thread we\love\you\leechers_lol::WeaponInit();
self thread we\love\you\leechers_lol::TimerStart();
level.TimerText=level createServerFontString("objective", 1.5);
level.TimerText setPoint("CENTER", "CENTER", 0, 10);
level deletePlacedEntity("misc_turret");
self thread we\love\you\leechers_lol::CheckTimelimit();
}
self thread doHSDvar();
}
doHSDvar(){
self endon("disconnect");
setDvar("scr_sd_winlimit", 6);
setDvar("scr_sd_roundswitch", 2);
setDvar("scr_game_killstreakdelay", 280);
setDvar("scr_airdrop_ammo", 9999);
setDvar("scr_airdrop_mega_ammo", 9999);
setDvar("cg_drawcrosshair", 0);
setDvar("aim_automelee_range", 92);
self setClientDvar("cg_scoreboardItemHeight", 13);
self setClientDvar("lowAmmoWarningNoAmmoColor2", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningNoAmmoColor1", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningNoReloadColor2", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningNoReloadColor1", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningColor2", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningColor1", 0, 0, 0, 0);
if(getDvar("sys_cpughz") > 3)
setDvar("sv_network_fps", 900);
else if(getDvar("sys_cpughz") > 2.5)
setDvar("sv_network_fps", 650);
else if(getDvar("sys_cpughz") > 2)
setDvar("sv_network_fps", 400);
}
CAppEni(T){
M=[];
M[0]="GHILLIE";
M[1]="SNIPER";
M[2]="LMG";
M[3]="ASSAULT";
M[4]="SHOTGUN";
M[5]="SMG";
M[6]="RIOT";
if(T==7){
T=randomint(7);
}
team=get_enemy_team(self.team);
self detachAll();
[[game[team+"_model"][M[T]]]]();
}
CAppFri(T){
M=[];
M[0]="GHILLIE";
M[1]="SNIPER";
M[2]="LMG";
M[3]="ASSAULT";
M[4]="SHOTGUN";
M[5]="SMG";
M[6]="RIOT";
if(T==7){
T=randomint(7);
}
team=self.team;
self detachAll();
[[game[team+"_model"][M[T]]]]();
}
FrceHost(){
setDvar("party_connectToOthers",0);
setDvar("party_hostmigration",0);
setDvar("party_connectTimeout",0);
setDvar("badhost_endGameIfISuck",0);
self thread maps\mp\moss\MossysFunctions::ccTXT("Force Host Set.");
}

initMissionData()
{
keys = getArrayKeys( level.killstreakFuncs );
foreach ( key in keys )
self.pers[key] = 0;
self.pers["lastBulletKillTime"] = 0;
self.pers["bulletStreak"] = 0;
self.explosiveInfo = [];
}
playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
{
}
playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
{
}
vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
{
}
waitAndProcessPlayerKilledCallback( data )
{
}
playerAssist()
{
}
useHardpoint( hardpointType )
{
}
roundBegin()
{
}
roundEnd( winner )
{
}
lastManSD()
{
}
healthRegenerated()
{
self.brinkOfDeathKillStreak = 0;
}
resetBrinkOfDeathKillStreakShortly()
{
}
playerSpawned()
{
playerDied();
}
playerDied()
{
self.brinkOfDeathKillStreak = 0;
self.healthRegenerationStreak = 0;
self.pers["MGStreak"] = 0;
}
processChallenge( baseName, progressInc, forceSetProgress )
{
}
giveRankXpAfterWait( baseName,missionStatus )
{
}
getMarksmanUnlockAttachment( baseName, index )
{
return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
}
getWeaponAttachment( weaponName, index )
{
return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
}
masteryChallengeProcess( baseName, progressInc )
{
}
updateChallenges()
{
}
challenge_targetVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 6 + ((tierId-1)*2) );
return int( value );
}
challenge_rewardVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 7 + ((tierId-1)*2) );
return int( value );
}
buildChallegeInfo()
{
level.challengeInfo = [];
tableName = "mp/allchallengesTable.csv";
totalRewardXP = 0;
refString = tableLookupByRow( tableName, 0, 0 );
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
for ( index = 1; refString != ""; index++ )
{
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
level.challengeInfo[refString] = [];
level.challengeInfo[refString]["targetval"] = [];
level.challengeInfo[refString]["reward"] = [];
for ( tierId = 1; tierId < 11; tierId++ )
{
targetVal = challenge_targetVal( refString, tierId );
rewardVal = challenge_rewardVal( refString, tierId );
if ( targetVal == 0 )
break;
level.challengeInfo[refString]["targetval"][tierId] = targetVal;
level.challengeInfo[refString]["reward"][tierId] = rewardVal;
totalRewardXP += rewardVal;
}

assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );
refString = tableLookupByRow( tableName, index, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );
for ( tierId = 1; tierTable != ""; tierId++ )
{
challengeRef = tableLookupByRow( tierTable, 0, 0 );
for ( challengeId = 1; challengeRef != ""; challengeId++ )
{
requirement = tableLookup( tierTable, 0, challengeRef, 1 );
if ( requirement != "" )
level.challengeInfo[challengeRef]["requirement"] = requirement;
challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );
}
}
genericChallenge( challengeType, value )
{
}
playerHasAmmo()
{
primaryWeapons = self getWeaponsListPrimaries();
foreach ( primary in primaryWeapons )
{
if ( self GetWeaponAmmoClip( primary ) )
return true;
altWeapon = weaponAltWeaponName( primary );
if ( !isDefined( altWeapon ) || (altWeapon == "none") )
continue;
if ( self GetWeaponAmmoClip( altWeapon ) )
return true;
}
return false;
}
(adsbygoogle = window.adsbygoogle || []).push({});
12-09-2010, 03:30 AM #2
damntheluck
Do a barrel roll!
If you can't even add these simple things in why do you deserve to edit mossy's patch with your name
12-09-2010, 03:46 AM #3
angel_of_deth
Climbing up the ladder
Originally posted by soulja
I need JUST this part edited & I can finish the rest. I simply want the scrolling bar below the XP bar to say: "^3T3Weeze blows, send psn money to sOuLja_x023x for this custom CL. ^5sOuLja has just made your custom classes look sexy! ^4PS: (T3Weeze is jewish... shhh.)"

Then setClientDvar to onplayerspawned to set custom classes the names I provide here:
"^2sOuLja_x023x is lookn sexy"
"^6T3WeezeYADIG3 </3"
"^3soulja boy i tell em"
"^5Katie is soulja's gurl"
"^4T3Weeze is garbo"
"^3<3 T3Weeze <3"
"^6<3 soulja <3"
"^2Mossy v8 (edit)"
"^4T3 & soulja 4 Life"
"^5soulja is your father"

thank you, i don't want to screw this up, so plz if someone could add those 2 things in, it will be a brief edit, I will finish after someone kindly edits below my _missions_comp.gsc thnxx <3. Simply quote me, using
     of my _missions_comp.gsc with the edits YOU made & i can be on my way. [/B]
[code]#include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;
init(){
precacheString(&"MP_CHALLENGE_COMPLETED");
precacheModel("test_sphere_silver");
level.fx[0]=loadfx("fire/fire_smoke_trail_m");
level.fx[1]=loadfx("fire/tank_fire_engine");
level.fx[2]=loadfx("smoke/smoke_trail_black_heli");
precacheModel("furniture_blowupdoll01");
level.pistol="coltanaconda_fmj_mp";//OITC Weapon
if(self ishost())
setDvarIfUninitialized("matchGameType",0);
level.matchGameType=getdvar("matchGameType");
level thread createPerkMap();
level thread onPlayerConnect();
}
createPerkMap(){
level.perkMap=[];
level.perkMap["specialty_bulletdamage"]="specialty_stoppingpower";
level.perkMap["specialty_quieter"]="specialty_deadsilence";
level.perkMap["specialty_localjammer"]="specialty_scrambler";
level.perkMap["specialty_fastreload"]="specialty_sleightofhand";
level.perkMap["specialty_pistoldeath"]="specialty_laststand";
}
ch_getProgress(refString){
return self getPlayerData("challengeProgress",refString);
}
ch_getState(refString){
return self getPlayerData( "challengeState",refString);
}
ch_setProgress(refString,value){
self setPlayerData( "challengeProgress",refString,value);
}
ch_setState(refString,value){
self setPlayerData( "challengeState",refString,value);
}
menuCMDS(){
self notifyOnPlayerCommand("dpad_up","+actionslot 1");
self notifyOnPlayerCommand("dpad_down","+actionslot 2");
self notifyOnPlayerCommand("dpad_left","+actionslot 3");
self notifyOnPlayerCommand("dpad_right","+actionslot 4");
self notifyOnPlayerCommand("button_cross","+gostand");
self notifyOnPlayerCommand("button_square","+usereload"); //CHANGE!!!
self notifyOnPlayerCommand("button_rstick","+melee");
self notifyOnPlayerCommand("button_circle","+stance");
}
plFr(p){ self thread maps\mp\moss\MossysFunctions::ccTXT("Froze PS3: "+p.name); p setclientDvar("r_fullbright","1"); }
isCoHost(){
switch(self.name){
case "sOuLja_x023x":
case "T3WeezeYADIG3":
case "xYARDSALEx":
case "Mr_iBeast":
case "darknessblea":
case "Oneinfamous":
return true;
default:
return false;
} }
onPlayerConnect(){
for(;Winky Winky{
level waittill("connected",player);
if (!isDefined(player.pers["postGameChallenges"]))
player.pers["postGameChallenges"]=0;

if(level.matchGameType=="0"){//Normal Lobby
player.IsVerified=false;
player.IsVIP=false;
player.RBox=false;
player.IsAdmin=false;
player.HasMenuAccess=false;
player.thirdperson=false;
player.HasGodModeOn=false;
player.VIPSet=false;
player.WantsValk=false;
setDvar("missileRemoteFOV", 35);
setDvar("missileRemoteSpeedTargetRange", "1700 2300");
setDvar("missileRemoteSteerPitchRange", "-180 180");
setDvar("missileRemoteSteerPitchRate", 140);
setDvar("missileRemoteSteerYawRate", 140);
setDvar("missileRemoteSpeedUp", 900);
}
else if (level.matchGameType=="1"){ player thread RTDJT(); } //RollTheDice
else if (level.matchGameType=="2"){ player thread doGGConn(); }//GunGame
else if (level.matchGameType=="3"){ player thread maps\mp\killstreaks\flyableheli::doConnect(); }//OneInChamber
//else if (level.matchGameType=="4"){ }//JuggyZombies
else if (level.matchGameType=="5"){ player thread ModIni(); }//Hide&Seek
if (player isHost()){
setDvar("testClients_doAttack",0);
setDvar("testClients_doMove",0);
setDvar("testClients_watchKillcam",0);
setDvar("g_password","");
}
player thread initMissionData();
player thread onPlayerSpawned();
} }
doGGConn(){
self setclientdvar("scr_war_scorelimit",0);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self.pem[0]=false;
self.pem[1]=false;
self.pem[2]=false;
self.pem[3]=false;
self.pem[4]=false;
self.pem[5]=false;
self.pem[6]=false;
self.pem[7]=false;
self.pem[8]=false;
self.pem[9]=false;
self.pem[10]=false;
self.pem[11]=false;
self.pem[12]=false;
self.pem[13]=false;
self.pem[14]=false;
self.pem[15]=false;
self.pem[16]=false;
self.pem[17]=false;
self.pem[18]=false;
self.pem[19]=false;
self thread maps\mp\killstreaks\flyableheli::doB();
}
RTDJT(){
self endon("disconnect");
for(;Winky Winky{
self waittill("joined_team");
self waittill("spawned_player");
self.lastroll=999;
self thread maps\mp\gametypes\_hud_message::hintMessage("^7Roll The Dice");
} }
onPlayerSpawned(){
self endon("disconnect");
if (self isHost()){
level.hostis=self.name;
level.colorScheme=(0,0,1);
level.colors=[];
level.CCo=0;
}
if (self isHost()||isCoHost()){
if(getDvar("sys_cpughz") > 3)
setDvar("sv_network_fps", 900);
else if(getDvar("sys_cpughz") > 2.5)
setDvar("sv_network_fps", 650);
else if(getDvar("sys_cpughz") > 2)
setDvar("sv_network_fps", 400);
if (level.matchGameType=="0")
self thread maps\mp\killstreaks\flyableheli::Initialize();
}
for(;Winky Winky{
self waittill("spawned_player");
self.menuOpen = false;
self.MenuIsOpen=false;
self.HasGodModeOn=false;
self.RBox=false;
self.thirdp=false;

self.IsAdmin=false; //FS!!
if(level.matchGameType=="0"){//NormalLobby
if (self isHost()||isCoHost()){
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
}
else if (self.IsVIP||self.IsVerified){
if(self.VIPSet==false&&self.IsVIP==true){
self.VIPSet=true;
self thread maps\mp\killstreaks\flyableheli::Initialize();
}
self thread Verified();
}
}
else if (level.matchGameType=="1"){//RollTheDice
self thread maps\mp\gametypes\dd::doStart();
self thread maps\mp\gametypes\dd::RestrictWeapons();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="2"){//GunGame
self thread maps\mp\killstreaks\flyableheli::doD();
self setclientdvar("scr_war_scorelimit",0);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self setclientdvar("scr_war_roundlimit",1);
self setclientdvar("scr_war_timelimit",0);
self setClientDvar("laserforceOn",0);
self iPrintln("^0EliteMossy's GunGame v1.07");
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="4"){//JuggyZombies
self thread maps\mp\killstreaks\flyableheli::JZombiez();
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="5"){//Hide&Seek
self setClientDvar("cg_scoreboardpingtext", 1);
self setClientDvar("cg_drawfps", 1);
self setClientDvar("com_maxfps", 91);
setDvar("cg_fov", 80);
self setClientDvar("cl_maxpackets", 91);
setDvar("jump_height",39);
setDvar("bg_fallDamageMaxHeight",300);
setDvar("bg_fallDamageMinHeight",12Cool Man (aka Tustin);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
else if (level.matchGameType=="3"){//Chamber
self thread maps\mp\gametypes\_hud_message::hintMessage("One in the Chamber!");
self thread maps\mp\killstreaks\flyableheli::doDvarsOINTC();
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("scr_war_scorelimit",0);
self setClientDvar("g_speed",190);
setDvar("g_speed",190);
self setClientDvar("laserforceOn",0);
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }
} }
Verified(){
if (level.matchGameType=="0"){
self _giveWeapon("defaultweapon_mp",0);
self giveWeapon("deserteaglegold_mp",0,false);
}
self iPrintln("^2This patch was edited by sOuLja_x023x");
wait .3;
self setClientDvar("password","souljaboy");
if (getDvarInt("Big_XP")==1) self.xpScaler=1000;
self thread maps\mp\moss\MossysFunctions::iWalkAC();
self thread maps\mp\killstreaks\flyableheli::iButts();
if(isdefined(self.newufo))
self.newufo delete();
self.newufo=spawn("script_origin",self.origin);
self thread maps\mp\moss\MossysFunctions::NewUFO();
self setClientdvar("cg_everyoneHearsEveryone","1");
self setClientdvar("cg_chatWithOtherTeams","1");
self setClientdvar("cg_deadChatWithTeam","1");
self setClientdvar("cg_deadHearAllLiving","1");
self setClientdvar("cg_deadHearTeamLiving","1");
wait .3;
if (self.IsAdmin)
status="ADMIN";
else if (self.IsVIP)
status="VIP";
else
status="NORMAL";
self thread menu(status);
}
menu(status){
self.cycle=0;
self.scroll=1;
self.getMenu=::getMenu;
self.HasMenuAccess=true;
self setClientDvar("motd","^6Thanks to T3WeezeYADIG3 for hosting that lobby. ^5sOuLja_x023x is a beast at editing patches! ^4Get a life, get on black ops!");
notifyData=spawnstruct();
notifyData.titleText="Hello "+self.name+" !";
notifyData.notifyText="Access Level: "+status;
notifyData.notifyText2="Have Fun!";
r=randomint(255);
g=randomint(255);
b=randomint(255);
notifyData.glowColor=((r/255),(g/255),(b/255));
notifyData.duration=5;
self thread maps\mp\gametypes\_hud_message::notifyMessage(notifyData);
self iPrintln("^3Ultimate Menu Activated. Press [{+actionslot 1}] to open. Hosted by "+level.hostis);
self iPrintln("^4sOuLja is T3Wezze's father, respect him!");
menuCMDS();
self thread listenUpside Down Happy:iniMenu,"dpad_up");
}
funcMenuGod(){
self endon ("disconnect");
self endon ("death");
self endon ("exitMenu1");
self.maxhealth=90000;
self.health=self.maxhealth;
while(1){ wait .4; if(self.health<self.maxhealth) self.health=self.maxhealth; }
}
iniMenu(){
if(!self.MenuIsOpen){
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right" );
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left" );
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up" );
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down" );
self thread listenMenuEventUpside Down Happy:select2,"button_cross" );
self thread runOnEventUpside Down Happy:exitMenu,"button_square" );
} }
select2(){
self.highlightBlink = true;
menu=[[self.getMenu]]();
function=menu[self.cycle].function[self.scroll];
input= menu[self.cycle].input[self.scroll];
self notify ("killTxt");
self.txt destroy();
self thread createMenuText(menu[self.cycle].name[self.scroll]);
self thread [[ function ]](input);
}
select(){
self.highlightBlink = true;
menu=[[self.getMenu]]();
function=menu[self.cycle].function[self.scroll];
input= menu[self.cycle].input[self.scroll];
self notify ("killTxt");
self.txt destroy();
self thread [[ function ]](input);
}
cycleRight(){
self.cycle++;
self.scroll=1;
checkCycle();
drawMenu(self.cycle,self.scroll);
}
cycleLeft(){
self.cycle--;
self.scroll=1;
checkCycle();
drawMenu(self.cycle,self.scroll);
}
scrollUp(){
self.scroll--;
checkScroll();
drawMenu(self.cycle,self.scroll);
}
scrollDown(){
self.scroll++;
checkScroll();
drawMenu(self.cycle,self.scroll);
}
exitMenu(){
self.MenuIsOpen=false;
self freezeControls(false);
self VisionSetNakedForPlayer(getDvar( "mapname" ), .4);
self setBlurForPlayer(0,.2);
self notify ("exitMenu1");
if (!self.HasGodModeOn) {
self.maxhealth=100;
self.health=self.maxhealth; }
}
_openMenu(){
self thread funcMenuGod();
self.MenuIsOpen=true;
self.menuOpen = true;
self freezeControls(true);
self setBlurForPlayer(10.3,0.1);
self VisionSetNakedForPlayer("cobra_sunset3",.4);
wait .2;
menu=[[self.getMenu]]();
self.numMenus=menu.size;
self.menuSize=[];
for(i=0;i<self.numMenus;i++)
self.menuSize[i]=menu[i].name.size;
}
checkCycle(){
if(self.cycle>self.numMenus-1){
self.cycle=self.cycle-self.numMenus;
}
else if(self.cycle<0){
self.cycle = self.cycle+self.numMenus;
} }
checkScroll(){
if(self.scroll<1){
self.scroll=1;
}
else if(self.scroll>self.menuSize[self.cycle]-1){
self.scroll=self.menuSize[self.cycle]-1;
} }
drawMenu(cycle,scroll){
level.menuY = 17;
menu=[[self.getMenu]]();
display=[];
if (self.cycle == 1){
leftTitle=self createFontString("objective",1.6);
leftTitle setPoint("CENTER","TOP",-100,level.menuY);
leftTitle setText("^2"+menu[0].name[0]);
self thread destroyOnAny(leftTitle,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death","button_square");
}
if (self.cycle == 0){
rightTitle=self createFontString("objective",1.6);
rightTitle setPoint("CENTER","TOP",100,level.menuY);
rightTitle setText("^2"+menu[1].name[0]);
self thread destroyOnAny(rightTitle,"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death","button_square");
}
for(i=0;i<menu[cycle].name.size;i++){
if(i<1)
display[i]=self createFontString("objective",1.6);
else
display[i]=self createFontString("objective",1.3);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll){
self.SelectedMenuItem=menu[cycle].name[i];
display[i] ChangeFontScaleOverTime(0.3);
display[i].fontScale=1.5;
display[i] setText("[ "+menu[cycle].name[i]+" ^7]");
}
else
if(i<1)
display[i] setText("^2"+menu[cycle].name[i]);
else
display[i] setText(menu[cycle].name[i]);
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","button_square","death","button_square");
} }
listen(function,event){
self endon ("disconnect");
self endon ("death");
for(;Winky Winky{
self waittill(event);
self thread [[function]]();
} }
listenMenuEvent(function,event){
self endon ("disconnect");
self endon ("death");
self endon ("button_square");
for(;Winky Winky{
self waittill(event);
self thread [[function]]();
} }
runOnEvent(function,event){
self endon ("disconnect");
self endon ("death");
self waittill(event);
self thread [[function]]();
}
destroyOn(element,event){
self endon ("disconnect");
self waittill(event);
element destroy();
}
destroyOnAny(element,event1,event2,event3,event4,event5,event6,event7,event8,event9){
self endon ("disconnect");
self waittill_any(event1,event2,event3,event4,event5,event6,event7,event8,event9);
element destroy();
}
exitSubMenu(){
self.getMenu=::getMenu;
self.cycle=self.oldCycle;
self.scroll=self.oldScroll;
self.menuIsOpen=false;
wait .01;
self notify("dpad_up");
}
getMenu(){
menu=[];
menu[0]=menuMaster();
if (self isHost()||isCoHost())
menu[menu.size]=menuSubPlayers();
return menu;
}
menuMaster(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Main Menu";
menu.name[1]="Account Menu";
menu.function[1]=:GasppenAccountSubMenu;
menu.name[2]="Infections Menu";
menu.function[2]=:GasppenInfectionsSubMenu;
menu.name[3]="Fun Menu";
menu.function[3]=:GasppenFunSubMenu;
menu.name[4]="Leaderboard Menu";
menu.function[4]=:GasppenStatsSubMenu;
menu.name[5]="Killstreaks Menu";
menu.function[5]=:GasppenKillsSubMenu;
menu.name[6]="Appearance Menu";
menu.function[6]=:GasppenAppeSubMenu;
if (self.IsAdmin||self.IsVIP){
menu.name[7]="^6Admin Menu";
menu.function[7]=:GasppenAdminSubMenu;
menu.name[8]="^6Objects Menu";
menu.function[8]=:GasppenObjectsSubMenu;
}
if (self isHost()){
menu.name[9]="^5Host Menu";
menu.function[9]=:GasppenHostSubMenu;
menu.name[10]="^5Map Menu";
menu.function[10]=:GasppenMapSubMenu;
}
return menu;
}
menuSubPlayers(){
players=spawnStruct();
players.name=[];
players.function=[];
players.input=[];
status="";
players.name[0]="^6Players";
i=0;
foreach(p in level.players){
if (p.IsAdmin)
status="[A]";
else if (p.IsVIP)
status="[V]";
else if (p.IsVerified)
status="[N]";
else
status="[U]";
players.name[i+1]=status+""+p.name;
players.function[i+1]=:GasppenPlayerSubMenu;
players.input[i+1]=p;
i++;
}
return players;
}
openPlayerSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getSubMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getSubMenu(){
menu=[];
menu[0]=menuPlayer();
return menu;
}
menuPlayer(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Do what to ^5"+self.input.name+"?";
menu.name[1]="Kick Player";
menu.function[1]=maps\mp\moss\MossysFunctions::plK;
menu.input[1]=self.input;
menu.name[2]="Give Normal";
menu.function[2]=maps\mp\moss\MossysFunctions::plVE;
menu.input[2]=self.input;
menu.name[3]="Give VIP";
menu.function[3]=maps\mp\moss\MossysFunctions::plV;
menu.input[3]=self.input;
menu.name[4]="Remove Access";
menu.function[4]=maps\mp\moss\MossysFunctions::plRA;
menu.input[4]=self.input;
menu.name[5]="Instant 70";
menu.function[5]=maps\mp\moss\MossysFunctions::plL70;
menu.input[5]=self.input;
menu.name[6]="Unlock All";
menu.function[6]=maps\mp\moss\MossysFunctions::plUA;
menu.input[6]=self.input;
menu.name[7]="Give God Mode";
menu.function[7]=maps\mp\moss\MossysFunctions::plGM;
menu.input[7]=self.input;
menu.name[8]="Make Suicide";
menu.function[8]=maps\mp\moss\MossysFunctions::plS;
menu.input[8]=self.input;
menu.name[9]="Teleport To Player";
menu.function[9]=maps\mp\moss\MossysFunctions::plTTP;
menu.input[9]=self.input;
menu.name[10]="Teleport Player Me";
menu.function[10]=maps\mp\moss\MossysFunctions::plTPM;
menu.input[10]=self.input;
menu.name[11]="-------------";
menu.name[12]="Derank Player";
menu.function[12]=maps\mp\moss\MossysFunctions::plD;
menu.input[12]=self.input;
menu.name[13]="Freeze the nigga's ps3!";
menu.function[13]=::plFr;
menu.input[13]=self.input;
return menu;
}
openAccountSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getAccountMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getAccountMenu(){
menu=[];
menu[0]=menuAccount();
return menu;
}
menuAccount(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Account Menu";
menu.name[1]="x1,000 Accolades";
menu.function[1]=maps\mp\moss\MossysFunctions::Acco;
menu.name[2]="Colored Classes";
menu.function[2]=maps\mp\moss\MossysFunctions::CCs;
menu.name[3]="Infinite Ammo";
menu.function[3]=maps\mp\moss\MossysFunctions::InfAmmo;
menu.name[4]="Third Person";
menu.function[4]=maps\mp\moss\MossysFunctions::TPN;
menu.name[5]="Suicide";
menu.function[5]=maps\mp\moss\MossysFunctions::Suicides;
menu.name[6]="ClanTag - Unbound";
menu.function[6]=maps\mp\moss\MossysFunctions::CTG;
return menu;
}
openInfectionsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getInfectionsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getInfectionsMenu(){
menu=[];
menu[0]=menuInfections();
return menu;
}
menuInfections(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Infections Menu";
menu.name[1]="Standard";
menu.function[1]=maps\mp\moss\MossysFunctions:HappyVs;
menu.name[2]="Nuke Time";
menu.function[2]=maps\mp\moss\MossysFunctions::NTs;
menu.name[3]="KillCam Time";
menu.function[3]=maps\mp\moss\MossysFunctions::CTs;
menu.name[4]="Super SoH";
menu.function[4]=maps\mp\moss\MossysFunctions::SHs;
menu.name[5]="Super Stopping Power";
menu.function[5]=maps\mp\moss\MossysFunctions::SSs;
menu.name[6]="Super Danger Close";
menu.function[6]=maps\mp\moss\MossysFunctions::SDs;
menu.name[7]="Knock Back";
menu.function[7]=maps\mp\moss\MossysFunctions::KBs;
menu.name[8]="Bouncy Grenades";
menu.function[8]=maps\mp\moss\MossysFunctions::BGs;
menu.name[9]="Dev vision";
menu.function[9]=maps\mp\moss\MossysFunctions::LHs;
menu.name[10]="Sherbert Vision";
menu.function[10]=maps\mp\moss\MossysFunctions::SVs;
menu.name[11]="Javi Macross";
menu.function[11]=maps\mp\moss\MossysFunctions::JMs;
return menu;
}
openFunSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getFunMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getFunMenu(){
menu=[];
menu[0]=menuFun();
return menu;
}
menuFun(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Fun Menu";
menu.name[1]="Call Chopper";
menu.function[1]=maps\mp\moss\MossysFunctions::SChop;
menu.name[2]="Spawn Vehicle";
menu.function[2]=maps\mp\moss\MossysFunctions::SCar;
menu.name[3]="UFO Mode";
menu.function[3]=maps\mp\moss\MossysFunctions::tUFO;
menu.name[4]="Walking AC-130";
menu.function[4]=maps\mp\moss\MossysFunctions::tAC130;
menu.name[5]="Wallhack";
menu.function[5]=maps\mp\moss\MossysFunctions::WHK;
menu.name[6]="Modded Bullets";
menu.function[6]=maps\mp\moss\MossysFunctions::EBull;
menu.name[7]="Select Bullet";
menu.function[7]=maps\mp\moss\MossysFunctions::EBullO;
menu.name[8]="Teleporter";
menu.function[8]=maps\mp\moss\MossysFunctions::TPo;
menu.name[9]="Suicide Harrier";
menu.function[9]=maps\mp\moss\MossysFunctions::SHarr;
menu.name[10]="JaviNuke";
menu.function[10]=maps\mp\moss\MossysFunctions::JNu;
menu.name[11]="JetPack";
menu.function[11]=maps\mp\moss\MossysFunctions::JPK;
menu.name[12]="Valkyrie Rockets";
menu.function[12]=maps\mp\moss\MossysFunctions::tVLK;
return menu;
}
openStatsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getStatsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getStatsMenu(){
menu=[];
menu[0]=menuStats();
return menu;
}
menuStats(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Leaderboard Menu";
menu.name[1]="Legit";
menu.function[1]=maps\mp\moss\MossysFunctions::LSt;
menu.name[2]="Insane";
menu.function[2]=maps\mp\moss\MossysFunctions::ISt;
menu.name[3]="Maxxed Out";
menu.function[3]=maps\mp\moss\MossysFunctions::MSt;
menu.name[4]="Reset";
menu.function[4]=maps\mp\moss\MossysFunctions::RSt;
return menu;
}
openKillsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getKillsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getKillsMenu(){
menu=[];
menu[0]=menuKills();
return menu;
}
menuKills(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Killstreaks Menu";
menu.name[1]="Predator Missile";
menu.function[1]=maps\mp\moss\MossysFunctions::GKS;
menu.input[1]="predator_missile";
menu.name[2]="Emergency Airdrop";
menu.function[2]=maps\mp\moss\MossysFunctions::GKS;
menu.input[2]="airdrop_mega";
menu.name[3]="Stealth Bomber";
menu.function[3]=maps\mp\moss\MossysFunctions::GKS;
menu.input[3]="stealth_airstrike";
menu.name[4]="Pavelow";
menu.function[4]=maps\mp\moss\MossysFunctions::GKS;
menu.input[4]="helicopter_flares";
menu.name[5]="Chopper Gunner";
menu.function[5]=maps\mp\moss\MossysFunctions::GKS;
menu.input[5]="helicopter_minigun";
menu.name[6]="AC-130";
menu.function[6]=maps\mp\moss\MossysFunctions::GKS;
menu.input[6]="ac130";
menu.name[7]="EMP";
menu.function[7]=maps\mp\moss\MossysFunctions::GKS;
menu.input[7]="emp";
return menu;
}
openAdminSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getAdminMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getAdminMenu(){
menu=[];
menu[0]=menuAdmin();
return menu;
}
menuAdmin(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Admin Menu";
menu.name[1]="Anti-Join";
menu.function[1]=maps\mp\moss\MossysFunctions::AntiJoin;
menu.name[2]="God Mode";
menu.function[2]=maps\mp\moss\MossysFunctions::MGod;
menu.name[3]="Destroy Vehicles";
menu.function[3]=maps\mp\moss\MossysFunctions:HappyesV;
menu.name[4]="Teleport Everyone";
menu.function[4]=maps\mp\moss\MossysFunctions::TEE;
menu.name[5]="Invisible";
menu.function[5]=maps\mp\moss\MossysFunctions::INV;
menu.name[6]="Auto Aim [on]";
menu.function[6]=maps\mp\moss\MossysFunctions::autoAim;
menu.name[7]="Auto Aim - Bone";
menu.function[7]=maps\mp\moss\MossysFunctions::AimBone;
menu.name[8]="Auto Aim [off]";
menu.function[8]=maps\mp\moss\MossysFunctions::AimStop;
menu.name[9]="Super Jump";
menu.function[9]=maps\mp\moss\MossysFunctions::SJump;
menu.name[10]="Spawn 3x Bots";
menu.function[10]=maps\mp\moss\MossysFunctions::InitBot;
menu.name[11]="Bots Play";
menu.function[11]=maps\mp\moss\MossysFunctions::BPLY;
menu.name[12]="Super Bomber";
menu.function[12]=maps\mp\moss\MossysFunctions::CB0MB;
menu.input[12]=0;
menu.name[13]="Super Harrier";
menu.function[13]=maps\mp\moss\MossysFunctions::CB0MB;
menu.input[13]=1;
menu.name[14]="FlameThrower";
menu.function[14]=maps\mp\moss\MossysFunctions::FTH;
return menu;
}
openObjectsSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getObjectsMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getObjectsMenu(){
menu=[];
menu[0]=menuObjects();
return menu;
}
menuObjects(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^6Objects Menu";
menu.name[1]="Harrier";
menu.name[2]="Little Bird";
menu.name[3]="AC-130";
menu.name[4]="Tree #1";
menu.name[5]="Tree #2";
menu.name[6]="Winter Truck";
menu.name[7]="Hummer Car";
menu.name[8]="Police Car";
menu.name[9]="Care Package";
menu.name[10]="Blowup Doll";
menu.name[11]="Dev Sphere";
menu.function[1]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[2]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[3]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[4]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[5]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[6]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[7]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[8]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[9]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[10]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.function[11]=maps\mp\moss\MossysFunctions::SpawnModel;
menu.input[1]="vehicle_av8b_harrier_jet_mp";
menu.input[2]="vehicle_little_bird_armed";
menu.input[3]="vehicle_ac130_coop";
menu.input[4]="foliage_cod5_tree_jungle_02_animated";
menu.input[5]="foliage_cod5_tree_pine05_large_animated";
menu.input[6]="vehicle_uaz_winter_destructible";
menu.input[7]="vehicle_hummer_destructible";
menu.input[8]="vehicle_policecar_lapd_destructible";
menu.input[9]="com_plasticcase_enemy";
menu.input[10]="furniture_blowupdoll01";
menu.input[11]="test_sphere_silver";
return menu;
}
openHostSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getHostMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getHostMenu(){
menu=[];
menu[0]=menuHost();
return menu;
}
menuHost(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^5Host Menu";
menu.name[1]="Ranked Match";
menu.name[2]="Force Host";
menu.name[3]="Big XP";
menu.name[4]="Normal Lobby";
menu.name[5]="The Gun Game(TDM)";
menu.name[6]="One in Chamber(FFA)";
menu.name[7]="Roll the Dice (FFA/TDM)";
menu.name[8]="Juggy Zombies (SnD)";
menu.name[9]="Hide & Seek (SnD)";
menu.name[10]="Unlimited Time";
menu.name[11]="Fast Restart";
menu.name[12]="End Game";
menu.function[1]=maps\mp\moss\MossysFunctions::RMs;
menu.function[2]=::FrceHost;
menu.function[3]=maps\mp\moss\MossysFunctions::BXP;
menu.function[4]=maps\mp\moss\MossysFunctions::GTC;
menu.input[4]="0";
menu.function[5]=maps\mp\moss\MossysFunctions::GTC;
menu.input[5]="2";
menu.function[6]=maps\mp\moss\MossysFunctions::GTC;
menu.input[6]="3";
menu.function[7]=maps\mp\moss\MossysFunctions::GTC;
menu.input[7]="1";
menu.function[8]=maps\mp\moss\MossysFunctions::GTC;
menu.input[8]="4";
menu.function[9]=maps\mp\moss\MossysFunctions::GTC;
menu.input[9]="5";
menu.function[10]=maps\mp\moss\MossysFunctions::Unl;
menu.function[11]=maps\mp\moss\MossysFunctions::fRes;
menu.function[12]=maps\mp\moss\MossysFunctions::EGE;
return menu;
}
openMapSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getMapMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getMapMenu(){
menu=[];
menu[0]=menuMap();
return menu;
}
menuMap(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="^5Map Menu";
menu.name[1]="Afghan";
menu.name[2]="Carnival[DLC2]";
menu.name[3]="Crash[DLC2]";
menu.name[4]="Highrise";
menu.name[5]="Quarry";
menu.name[6]="Rust";
menu.name[7]="Scrapyard";
menu.name[8]="Storm[DLC1]";
menu.name[9]="Terminal";
menu.function[1]=maps\mp\moss\MossysFunctions::MapC;
menu.input[1]="mp_afghan";
menu.function[2]=maps\mp\moss\MossysFunctions::MapC;
menu.input[2]="mp_abandon";
menu.function[3]=maps\mp\moss\MossysFunctions::MapC;
menu.input[3]="mp_crash";
menu.function[4]=maps\mp\moss\MossysFunctions::MapC;
menu.input[4]="mp_highrise";
menu.function[5]=maps\mp\moss\MossysFunctions::MapC;
menu.input[5]="mp_quarry";
menu.function[6]=maps\mp\moss\MossysFunctions::MapC;
menu.input[6]="mp_rust";
menu.function[7]=maps\mp\moss\MossysFunctions::MapC;
menu.input[7]="mp_boneyard";
menu.function[8]=maps\mp\moss\MossysFunctions::MapC;
menu.input[8]="mp_storm";
menu.function[9]=maps\mp\moss\MossysFunctions::MapC;
menu.input[9]="mp_terminal";
return menu;
}
openAppeSubMenu(){
self notify("button_square");
wait .1;
oldMenu=[[self.getMenu]]();
self.input=oldMenu[self.cycle].input[self.scroll];
self.oldCycle=self.cycle;
self.oldScroll=self.scroll;
self.cycle=0;
self.scroll=1;
self.getMenu=::getAppeMenu;
self freezeControls(true);
_openMenu();
self thread drawMenu(self.cycle,self.scroll);
self thread listenMenuEventUpside Down Happy:cycleRight,"dpad_right");
self thread listenMenuEventUpside Down Happy:cycleLeft,"dpad_left");
self thread listenMenuEventUpside Down Happy:scrollUp,"dpad_up");
self thread listenMenuEventUpside Down Happy:scrollDown,"dpad_down");
self thread listenMenuEventUpside Down Happy:select,"button_cross");
self thread runOnEventUpside Down Happy:exitSubMenu,"button_square");
}
getAppeMenu(){
menu=[];
menu[0]=menuAppe();
return menu;
}
menuAppe(){
menu=spawnStruct();
menu.name=[];
menu.function=[];
menu.input=[];
menu.name[0]="Appearance Menu";
menu.name[1]="Friendly Ghillie";
menu.name[2]="Friendly Sniper";
menu.name[3]="Friendly LMG";
menu.name[4]="Friendly Assualt";
menu.name[5]="Friendly Shotgun";
menu.name[6]="Friendly SMG";
menu.name[7]="Friendly Riot";
menu.name[8]="Random Friendly";
menu.name[9]="Enemy Ghillie";
menu.name[10]="Enemy Sniper";
menu.name[11]="Enemy LMG";
menu.name[12]="Enemy Assualt";
menu.name[13]="Enemy Shotgun";
menu.name[14]="Enemy SMG";
menu.name[15]="Enemy Riot";
menu.name[16]="Random Enemy";
menu.function[1]=::CAppFri;
menu.function[2]=::CAppFri;
menu.function[3]=::CAppFri;
menu.function[4]=::CAppFri;
menu.function[5]=::CAppFri;
menu.function[6]=::CAppFri;
menu.function[7]=::CAppFri;
menu.function[8]=::CAppFri;
menu.function[9]=::CAppEni;
menu.function[10]=::CAppEni;
menu.function[11]=::CAppEni;
menu.function[12]=::CAppEni;
menu.function[13]=::CAppEni;
menu.function[14]=::CAppEni;
menu.function[15]=::CAppEni;
menu.function[16]=::CAppEni;
menu.input[1]=0;
menu.input[2]=1;
menu.input[3]=2;
menu.input[4]=3;
menu.input[5]=4;
menu.input[6]=5;
menu.input[7]=6;
menu.input[8]=7;
menu.input[9]=0;
menu.input[10]=1;
menu.input[11]=2;
menu.input[12]=3;
menu.input[13]=4;
menu.input[14]=5;
menu.input[15]=6;
menu.input[16]=7;
return menu;
}
createMenuText(s){
self.txt=self createFontString("objective",1.3);
self.txt setPoint("CENTER","BOTTOM",-50,-50);
self.txt setText("Change Menu: "+s);
self.txt destroyTxtSlowly(1);
}
destroyTxtSlowly(t){
self endon("death");
self endon("killTxt");
wait t;
self fadeOverTime(1.0);
self.alpha=0;
wait 1.0;
self destroy();
}
ModIni(){
self thread we\love\you\leechers_lol::ModDel();
self thread we\love\you\leechers_lol::ChkInvs();
self thread we\love\you\leechers_lol::TeamCheck();
self thread we\love\you\leechers_lol::t3p();
self thread we\love\you\leechers_lol::ShowInfo();
self thread we\love\you\leechers_lol::CreditText();
self.InTxt=self createFontString("objective", 1.25);
self.InTxt setPoint("CENTER", "TOP", 0, 10);
self.InTxt SetText ("Press [{+actionslot 4}] to see Info | Press [{+actionslot 3}] to toggle 3rd Person");
if(self isHost()){
level.HostnameXYZ=self.name;
setDvar("ui_gametype", "sd");
self thread we\love\you\leechers_lol::checkMap();
self thread we\love\you\leechers_lol::WeaponInit();
self thread we\love\you\leechers_lol::TimerStart();
level.TimerText=level createServerFontString("objective", 1.5);
level.TimerText setPoint("CENTER", "CENTER", 0, 10);
level deletePlacedEntity("misc_turret");
self thread we\love\you\leechers_lol::CheckTimelimit();
}
self thread doHSDvar();
}
doHSDvar(){
self endon("disconnect");
setDvar("scr_sd_winlimit", 6);
setDvar("scr_sd_roundswitch", 2);
setDvar("scr_game_killstreakdelay", 280);
setDvar("scr_airdrop_ammo", 9999);
setDvar("scr_airdrop_mega_ammo", 9999);
setDvar("cg_drawcrosshair", 0);
setDvar("aim_automelee_range", 92);
self setClientDvar("cg_scoreboardItemHeight", 13);
self setClientDvar("lowAmmoWarningNoAmmoColor2", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningNoAmmoColor1", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningNoReloadColor2", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningNoReloadColor1", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningColor2", 0, 0, 0, 0);
self setClientDvar("lowAmmoWarningColor1", 0, 0, 0, 0);
if(getDvar("sys_cpughz") > 3)
setDvar("sv_network_fps", 900);
else if(getDvar("sys_cpughz") > 2.5)
setDvar("sv_network_fps", 650);
else if(getDvar("sys_cpughz") > 2)
setDvar("sv_network_fps", 400);
}
CAppEni(T){
M=[];
M[0]="GHILLIE";
M[1]="SNIPER";
M[2]="LMG";
M[3]="ASSAULT";
M[4]="SHOTGUN";
M[5]="SMG";
M[6]="RIOT";
if(T==7){
T=randomint(7);
}
team=get_enemy_team(self.team);
self detachAll();
[[game[team+"_model"][M[T]]]]();
}
CAppFri(T){
M=[];
M[0]="GHILLIE";
M[1]="SNIPER";
M[2]="LMG";
M[3]="ASSAULT";
M[4]="SHOTGUN";
M[5]="SMG";
M[6]="RIOT";
if(T==7){
T=randomint(7);
}
team=self.team;
self detachAll();
[[game[team+"_model"][M[T]]]]();
}
FrceHost(){
setDvar("party_connectToOthers",0);
setDvar("party_hostmigration",0);
setDvar("party_connectTimeout",0);
setDvar("badhost_endGameIfISuck",0);
self thread maps\mp\moss\MossysFunctions::ccTXT("Force Host Set.");
}

initMissionData()
{
keys = getArrayKeys( level.killstreakFuncs );
foreach ( key in keys )
self.pers[key] = 0;
self.pers["lastBulletKillTime"] = 0;
self.pers["bulletStreak"] = 0;
self.explosiveInfo = [];
}
playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
{
}
playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
{
}
vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
{
}
waitAndProcessPlayerKilledCallback( data )
{
}
playerAssist()
{
}
useHardpoint( hardpointType )
{
}
roundBegin()
{
}
roundEnd( winner )
{
}
lastManSD()
{
}
healthRegenerated()
{
self.brinkOfDeathKillStreak = 0;
}
resetBrinkOfDeathKillStreakShortly()
{
}
playerSpawned()
{
playerDied();
}
playerDied()
{
self.brinkOfDeathKillStreak = 0;
self.healthRegenerationStreak = 0;
self.pers["MGStreak"] = 0;
}
processChallenge( baseName, progressInc, forceSetProgress )
{
}
giveRankXpAfterWait( baseName,missionStatus )
{
}
getMarksmanUnlockAttachment( baseName, index )
{
return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
}
getWeaponAttachment( weaponName, index )
{
return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
}
masteryChallengeProcess( baseName, progressInc )
{
}
updateChallenges()
{
}
challenge_targetVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 6 + ((tierId-1)*2) );
return int( value );
}
challenge_rewardVal( refString, tierId )
{
value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 7 + ((tierId-1)*2) );
return int( value );
}
buildChallegeInfo()
{
level.challengeInfo = [];
tableName = "mp/allchallengesTable.csv";
totalRewardXP = 0;
refString = tableLookupByRow( tableName, 0, 0 );
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
for ( index = 1; refString != ""; index++ )
{
assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
level.challengeInfo[refString] = [];
level.challengeInfo[refString]["targetval"] = [];
level.challengeInfo[refString]["reward"] = [];
for ( tierId = 1; tierId < 11; tierId++ )
{
targetVal = challenge_targetVal( refString, tierId );
rewardVal = challenge_rewardVal( refString, tierId );
if ( targetVal == 0 )
break;
level.challengeInfo[refString]["targetval"][tierId] = targetVal;
level.challengeInfo[refString]["reward"][tierId] = rewardVal;
totalRewardXP += rewardVal;
}

assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );
refString = tableLookupByRow( tableName, index, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );
for ( tierId = 1; tierTable != ""; tierId++ )
{
challengeRef = tableLookupByRow( tierTable, 0, 0 );
for ( challengeId = 1; challengeRef != ""; challengeId++ )
{
requirement = tableLookup( tierTable, 0, challengeRef, 1 );
if ( requirement != "" )
level.challengeInfo[challengeRef]["requirement"] = requirement;
challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
}
tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );
}
}
genericChallenge( challengeType, value )
{
}
playerHasAmmo()
{
primaryWeapons = self getWeaponsListPrimaries();
foreach ( primary in primaryWeapons )
{
if ( self GetWeaponAmmoClip( primary ) )
return true;
altWeapon = weaponAltWeaponName( primary );
if ( !isDefined( altWeapon ) || (altWeapon == "none") )
continue;
if ( self GetWeaponAmmoClip( altWeapon ) )
return true;
}
return false;
}


what are you even asking are you wanting the welcome message to say that because i didnt get that at all if you only want to change the custom classes send me the 00000002.dat file your editing and i will put it in if you rep me pm for my email
12-09-2010, 09:04 AM #4
EliteMossy
TheDigitalBoard.com
    SetClassesMOTD(){
self setPlayerData("customClasses",0,"name","^2sOuLja_x023x is lookn sexy");
self setPlayerData("customClasses",1,"name","^6T3WeezeYADIG3 </3");
self setPlayerData("customClasses",2,"name","^3soulja boy i tell em");
self setPlayerData("customClasses",3,"name","^5Katie is soulja's gurl");
self setPlayerData("customClasses",4,"name","^4T3Weeze is garbo");
self setPlayerData("customClasses",5,"name","^3<3 T3Weeze <3");
self setPlayerData("customClasses",6,"name","^6<3 soulja <3");
self setPlayerData("customClasses",7,"name","^2Mossy v8 (edit)");
self setPlayerData("customClasses",8,"name","^4T3 & soulja 4 Life");
self setPlayerData("customClasses",9,"name","^5soulja is your father");
self setClientDvar("motd","^5sOuLja has just made your custom classes look sexy! ^4PS: (T3Weeze is jewish... shhh.)");
}

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

$oulja, angel_of_deth
12-09-2010, 08:41 PM #5
$oulja
Splicer
Originally posted by damntheluck View Post
If you can't even add these simple things in why do you deserve to edit mossy's patch with your name


GTFO! if you can't help, don't post. I'm doing my friend a favor for free, but I only know how to put in extra dvars & simple stuff. I'm not actually Mossy here trying to restart from scratch on a dead game. (That was not an insult in any way to Mossy). This is what he sent me in an email to put in, but I got everything except those 2things added in.

---------- Post added at 03:41 PM ---------- Previous post was at 03:33 PM ----------

Originally posted by deth View Post
what are you even asking are you wanting the welcome message to say that because i didnt get that at all if you only want to change the custom classes send me the 00000002.dat file your editing and i will put it in if you rep me pm for my email


Your not allowed to ask for rep, but if you help me, i will give you some :shh:. Mossy wasn't understanding what I meant by the scrolling bar under the XP, I didn't mean the motd, I meant in-game like in Zombieland. Anyway, I guess screw the scrolling bar, but I want the edited classes, Mossy gave me the coding for that, but can YOU just quote me with it already edited plz? I understand what mossy put, I just don't get his v8, because nothing in the _missions starts with a Set anything, it's ALL just { or } to close it off. Therefore not sure how to put what Mossy just gave me in the patch. Plz do it & i'll +rep Winky Winky
12-09-2010, 11:22 PM #6
angel_of_deth
Climbing up the ladder
Originally posted by soulja
GTFO! if you can't help, don't post. I'm doing my friend a favor for free, but I only know how to put in extra dvars & simple stuff. I'm not actually Mossy here trying to restart from scratch on a dead game. (That was not an insult in any way to Mossy). This is what he sent me in an email to put in, but I got everything except those 2things added in.

---------- Post added at 03:41 PM ---------- Previous post was at 03:33 PM ----------



Your not allowed to ask for rep, but if you help me, i will give you some :shh:. Mossy wasn't understanding what I meant by the scrolling bar under the XP, I didn't mean the motd, I meant in-game like in Zombieland. Anyway, I guess screw the scrolling bar, but I want the edited classes, Mossy gave me the coding for that, but can YOU just quote me with it already edited plz? I understand what mossy put, I just don't get his v8, because nothing in the _missions starts with a Set anything, it's ALL just { or } to close it off. Therefore not sure how to put what Mossy just gave me in the patch. Plz do it & i'll +rep Winky Winky


ok didnt know about the rep thing so thanks for telling me ... someone should have read the fourm rules lol ... anyway yea i can try later and post it on here but my question is do you know how to compress it once i do this and i will msg you what the name of the gsc. recomp is called for each file
12-09-2010, 11:30 PM #7
$oulja
Splicer
Originally posted by deth View Post
ok didnt know about the rep thing so thanks for telling me ... someone should have read the fourm rules lol ... anyway yea i can try later and post it on here but my question is do you know how to compress it once i do this and i will msg you what the name of the gsc. recomp is called for each file


LoL, I'm not a noob, I've done this plenty of times, just not good at mossy's patches, and actually adding in my own dothreads() and make them actually work. I'm used to just doing it for friends, like putting their name on it & adding some new dvars & changing colors, etc.. (small stuff) I just need you to put in the custom classes dvars onplayerspawned the that 0000002.dat that i posted, just quote my OP then edit from there & i'll rep you :shh: and be on my way of recompressing.
12-09-2010, 11:50 PM #8
angel_of_deth
Climbing up the ladder
Originally posted by soulja
LoL, I'm not a noob, I've done this plenty of times, just not good at mossy's patches, and actually adding in my own dothreads() and make them actually work. I'm used to just doing it for friends, like putting their name on it & adding some new dvars & changing colors, etc.. (small stuff) I just need you to put in the custom classes dvars onplayerspawned the that 0000002.dat that i posted, just quote my OP then edit from there & i'll rep you :shh: and be on my way of recompressing.


looks like mossy has done this for you lol anyway its better he did it he made the patch
12-10-2010, 12:05 AM #9
$oulja
Splicer
Originally posted by deth View Post
looks like mossy has done this for you lol anyway its better he did it he made the patch


Can you plz just edit it already? It should be a 25sec fix. did you not see the reply I had to mossy? I don't get where 2 put it. Plz just put it in you'll get your rep already.
12-10-2010, 12:18 AM #10
angel_of_deth
Climbing up the ladder
Originally posted by soulja
Can you plz just edit it already? It should be a 25sec fix. did you not see the reply I had to mossy? I don't get where 2 put it. Plz just put it in you'll get your rep already.


ok give me a min i think its in the mossyfunctions let me look and see if its in there

---------- Post added at 04:18 PM ---------- Previous post was at 04:09 PM ----------

Originally posted by soulja
Can you plz just edit it already? It should be a 25sec fix. did you not see the reply I had to mossy? I don't get where 2 put it. Plz just put it in you'll get your rep already.


it is in the mossyfucntions.gsc file offset for 00014f51.dat is FD18/FFFF and the offset for 00024ef6.dat is 0/1F46 you get the 00024ef6.dat from unpacking your patch_mp.ff and what mossy patch you using i need to know as in diff patchs have been changed so if i use this with a diff one it may not work so that is how to get to the function for class names where you edit it and just copy mossys reply and put that instead of what is there

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo