Results 1 to 1 of 1
  1. #1
    Member Dr.GiggleZ's Avatar
    Join Date
    Dec 2011
    Location
    The Golden State
    Posts
    141
    Points
    315
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Location
    The Golden State
    Posts
    141
    Points
    315
    Gamer IDs

    Gamertag: MyNameIsGiggleZ PSN ID: Mr_GiggleZ55 Steam ID: DrGiggleZ55 Wii Code: Dr.GiggleZ

    Post Streamzzz Mod Menu

    Well I was going to try to port this base but I got to lazy after failing afew times but if any one wants to here is the menu lol...
    This wont work as is so don't try copying and pasting lol
    (I believe it is just to much for wii lol)
    Would of posted up the base only but I deleted it lmao
    Sorry if this is in wrong section

    Code:
    #include maps\mp\gametypes\_hud_util;
    #include maps\mp\_utility;
    #include common_scripts\utility;
    #include maps\mp\_challenges;
    #include maps\mp\gametypes\_ac130;
    iniPlayerSpawned()
    {
    	self endon( "disconnect" );
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    		self maps\mp\gametypes\_hud_message::oldNotifyMessage( "^2streamzz ^5Black Ops ^7Patch", "^1ModdingDev.com ^6<3 ^7- ^5TheTechGame.com ^6<3 ^7- ^2Se7enSins.com ^6<3", "rank_prestige15", "black", "mp_level_up", 7 );
    		self thread menu();
    		self thread doSexText(2);
    		self thread Buttons();
    		self thread Ammo(99);
    		self thread toggleChromeMode();
    		self thread toggleCartoonMode();
    		self thread toggleChristmasMode();
    		self thread toggleBlackMode();
    		self thread toggleAlienMode();
    		self thread toggleTrippyMode();
    		self thread doProMod();
    		self thread doSuperSpeed();
    		self thread doInstantCP();
    		self thread doShowHost();
    		self thread godToggle();
    		self thread gspeedToggle();
    		self thread ShootNukeBullets();
    		self thread MonitorButtons();
        self thread doInstructionzzz();
    	}
    }
    closeMenuOnDeath(){
            self waittill("death");
            self.MenuIsOpen = false;
    }
    
    menu(){
            self endon( "disconnect" );
            self endon( "death" );
            
            self.cycle = 0;
            self.scroll = 1;
            self.getMenu = ::getMenu;
            
            self thread listen(::iniMenu, "down" );
            self thread closeMenuOnDeath();
    }
    
    iniMenu(){
            if( self.MenuIsOpen == false ){
                    _openMenu();
                    self thread drawMenu( self.cycle, self.scroll);
                    
                    self thread listenMenuEvent( ::cycleRight, "right" );
                    self thread listenMenuEvent( ::cycleLeft, "left" );
                    self thread listenMenuEvent( ::scrollUp, "up" );
                    self thread listenMenuEvent( ::scrollDown, "down" );
                    self thread listenMenuEvent( ::select, "button_a" );
                    self thread runOnEvent( ::exitMenu, "button_y" );
                    }
    }
    
    select(){
            menu = [[self.getMenu]]();
            self thread [[ menu[self.cycle].function[self.scroll] ]]( menu[self.cycle].input[self.scroll] );
    }
    
    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 setClientUIVisibilityFlag( "hud_visible", 1 );
    				self setClientDvar("r_blur", 0);
    				self switchToWeapon(self.cWeap);
    }
    
    updateMenu(){
            drawMenu( self.cycle, self.scroll );
    }
    
    _openMenu(){
    				self setClientUIVisibilityFlag( "hud_visible", 0 );
    				self.lastWeap = self getCurrentWeapon();
            laptop = "briefcase_bomb_mp";
            if (self getCurrentWeapon()!=laptop) {
                    self.cWeap = self getCurrentWeapon();
                    time = 2.1;
            } else time = .65;
            self giveWeapon(laptop);
            self switchToWeapon(laptop);
            wait time;
    				self setClientDvar("r_blur", 4);
            self.MenuIsOpen = true;
            
            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 ){
    	menu = [[self.getMenu]]();
    	
    	//get the titles
    	titles = self createFontString( "objective", 2.9 );
    	titles setPoint( "CENTER", "TOP", 0, 60 );
    	titleText = "";
    	
    	//Left Title
    	if( menu.size > 2 ){
    		if( cycle-1 < 0 )
    			titleText += menu[menu.size - 1].name[0];
    		else
    			titleText += menu[cycle - 1].name[0];
    		}
    	
    	//Center Title
    	titleText += "                    " + "^5" + menu[cycle].name[0] + "^7" + "                    ";
    	
    	//Right Title
    	if( menu.size > 2 ){
    		if( cycle > menu.size - 2 )
    			titleText += menu[0].name[0];
    		else
    			titleText += menu[cycle + 1].name[0];
    		}
    	
    	titles setText( titleText );
    	self thread destroyOnAny( titles, "right", "left", 
    					"up", "down", "button_y", "death" );
    	
    	//draw column
    	column = self createFontString( "objective", 2.1 );
    	column setPoint( "CENTER", "TOP", 0, 135 );
    	columnText = "";
    	extendedColumnText = "";
    	for( i = 1; i < menu[cycle].name.size; i++ ){
    		if(i == scroll)
    				columnText += "^1" + menu[cycle].name[i] + "^7\n";//Highlighted option
    		else
                    columnText += menu[cycle].name[i] + "\n";
    		
    		//Extend the column if the string is too long.
    		if( columnText.size > 400 ){
    			column setPoint( "CENTER", "TOP", 0, i * 60 );
    			extendedColumn = self createFontString( "objective", 1.3 );
    			extendedColumn setPoint( "CENTER", "TOP", 0, 20 );
    			extendedColumn setText( columnText );	
    			}
    		}
    	column setText( columnText );
    	
    	self thread destroyOnAny( column, "right", "left", 
    				"up", "down", "button_y", "death" );
    }
    
    listen( function, event ){
            self endon ( "disconnect" );
            self endon ( "death" );
            
            for(;;){
                    self waittill( event );
                    self thread [[function]]();
                    }
    }
    
    listenMenuEvent( function, event ){
            self endon ( "disconnect" );
            self endon ( "death" );
            self endon ( "button_y" );
            
            for(;;){
                    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 waittill( event );
            element destroy();
    }
    
    destroyOnAny( element, event1, event2, event3, event4, event5, event6, event7, event8 ){
            self waittill_any( event1, event2, event3, event4, event5, event6, event7, event8 );
            element destroy();
    }
    
    openSubMenu(){
            //close the old menu out and prevent from reopening.
            self notify( "button_y" );
            wait .01;
            
            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_Menu;
            _openMenu();
            
            self thread drawMenu( self.cycle, self.scroll );
                    
            self thread listenMenuEvent( ::cycleRight, "rb" );
            self thread listenMenuEvent( ::cycleLeft, "lb" );
            self thread listenMenuEvent( ::scrollUp, "up" );
            self thread listenMenuEvent( ::scrollDown, "down" );
            self thread listenMenuEvent( ::select, "button_a" );
            self thread runOnEvent( ::exitSubMenu, "button_y" );
    }
    
    exitSubMenu(){
            self.getMenu = ::getMenu;
            self.cycle = self.oldCycle;
            self.scroll = self.oldScroll;
            self.menuIsOpen = false;
            
            wait .01;
            self notify( "down" );
    }
    
    getSubMenu_Menu(){
            menu = [];
            menu[0] = getSubMenu_SubMenu1();
            return menu;
    }
    
    getSubMenu_SubMenu1(){
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "What Would You Like To Do?";
            menu.name[menu.name.size] = "Kick";
            
            menu.function[menu.function.size+1] = ::kickPlayer;
            
            menu.input[menu.input.size+1] = self.input;
            
            return menu;
    }
    
    getMenu(){
            menu = [];
            menu[menu.size] = getSubMenu1();
            menu[menu.size] = getSubMenu2();
            menu[menu.size] = getSubMenu3();
            
            if(self isHost()){
                    menu[menu.size] = getPlayerMenu();
                    menu[menu.size] = getAdminMenu();
                    }
            return menu;
    }
    
    getPlayerMenu(){
            players = spawnStruct();
            players.name = [];
            players.function = [];
            players.input = [];
            
            players.name[0] = "Players";
            for( i = 0; i < level.players.size; i++ ){
                    players.name[i+1] = level.players[i].name;
                    players.function[i+1] = :: openSubMenu;
                    players.input[i+1] = level.players[i];
                    }
            return players;
    }
    
    getAdminMenu(){
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Host Only";
            menu.name[menu.name.size] = "Forge Mode";
            menu.name[menu.name.size] = "Toggle Game Speed";
            menu.name[menu.name.size] = "Explosive Bullets";
            menu.name[menu.name.size] = "Normal Bullets";
            menu.name[menu.name.size] = "Activate Walking AC130";
            
            menu.function[menu.function.size+1] = :: forgeMod;
            menu.function[menu.function.size+1] = :: gameSpeed;
            menu.function[menu.function.size+1] = :: bulletOptions;
            menu.function[menu.function.size+1] = :: bulletOptions;
            menu.function[menu.function.size+1] = :: doac130;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "Explosive";
            menu.input[menu.input.size+1] = "Normal";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu1(){
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Unlocks";
            menu.name[menu.name.size] = "Level 50";
            menu.name[menu.name.size] = "1 Billion CoD Points";
            menu.name[menu.name.size] = "Unlock/Buy All";
            
            menu.function[menu.function.size+1] = :: do50;
            menu.function[menu.function.size+1] = :: doCodPoints;
            menu.function[menu.function.size+1] = :: doUnlockz;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu2(){
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Infections";
            menu.name[menu.name.size] = "Vision Toggles";
            menu.name[menu.name.size] = "All Infections";
            menu.name[menu.name.size] = "GB Package";
            menu.name[menu.name.size] = "Cheaters Package";
            menu.name[menu.name.size] = "Dvar Toggles";
            
            menu.function[menu.function.size+1] = :: openVisionMenu;
            menu.function[menu.function.size+1] = :: allinfects;
            menu.function[menu.function.size+1] = :: gbpack;
            menu.function[menu.function.size+1] = :: cheatpack;
            menu.function[menu.function.size+1] = :: openDvarMenu;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    getSubMenu3(){
            menu = spawnStruct();
            menu.name = [];
            menu.function = [];
            menu.input = [];
            
            menu.name[menu.name.size] = "Extras";
            menu.name[menu.name.size] = "Jetpack";
            menu.name[menu.name.size] = "UFO Mode";
            menu.name[menu.name.size] = "Toggle God Mode";
            menu.name[menu.name.size] = "Teleport";
            menu.name[menu.name.size] = "Give Default Weapon";
            
            menu.function[menu.function.size+1] = :: startJetpack;
            menu.function[menu.function.size+1] = :: doUFO;
            menu.function[menu.function.size+1] = :: tGod;
            menu.function[menu.function.size+1] = :: doTeleport;
            menu.function[menu.function.size+1] = :: dogiveDefault;
            
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            menu.input[menu.input.size+1] = "";
            
            return menu;
    }
    
    kickPlayer( player ){
            kick( player getEntityNumber() );
    }
    Buttons()
    {
    self endon("death");
    self endon("disconnect");
    for(;;)
    {
    if(self ActionSlotOneButtonPressed()) self notify("up");
    if(self ActionSlotTwoButtonPressed()) self notify("down");
    if(self ActionSlotThreeButtonPressed()) self notify ("left");
    if(self ActionSlotFourButtonPressed()) self notify ("right");
    if(self FragButtonPressed()) self notify("rb");
    if(self MeleeButtonPressed()) self notify("rs");
    if(self ADSButtonPressed()) self notify ("left_trigger");
    if(self AttackButtonPressed()) self notify ("right_trigger");
    if(self SecondaryOffHandButtonPressed()) self notify("lb");
    if(self JumpButtonPressed()) self notify("button_a");
    if(self UseButtonPressed()) self notify ("button_x");
    if(self ChangeSeatButtonPressed()) self notify ("button_y");
    if(self ThrowButtonPressed()) self notify ("button_b");
    wait 0.05;
    }
    }
    
    DeleteMenuHudElem(Element)
    {
            self waittill("button_y");
            Element Destroy();
            
    }
    do50()
    {
    self maps\mp\gametypes\_persistence::statSet("rankxp", 1262500, true );
    self iPrintlnBold("Level 50: ^2SET");
    }
    doCodPoints()
    {
    self maps\mp\gametypes\_persistence::statSet("codpoints", 10000000000, true );
    self iPrintlnBold("1 Billion CoD Points: ^2SET");
    }
    doUnlockz()
    {
    self iPrintlnBold("All Items: ^2Unlocked^7/^2Bought");
    setDvar("allItemsUnlocked", 1 );
    setDvar("allItemsPurchased", 1 );
    }
    openVisionMenu(){
    	//close the old menu out and prevent from reopening.
    	self notify( "button_y" );
    	wait .01;
    	
    	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 = ::getVisionMenu_Menu;
    	_openMenu();
    	
    	self thread drawMenu( self.cycle, self.scroll );
    		
      self thread listenMenuEvent( ::cycleRight, "rb" );
      self thread listenMenuEvent( ::cycleLeft, "lb" );
      self thread listenMenuEvent( ::scrollUp, "up" );
      self thread listenMenuEvent( ::scrollDown, "down" );
      self thread listenMenuEvent( ::select, "button_a" );
      self thread runOnEvent( ::exitSubMenu, "button_y" );
    }
    
    getVisionMenu_Menu(){
    	menu = [];
    	menu[0] = getVision();
    	return menu;
    }
    
    getVision(){
    	menu = spawnStruct();
    	menu.name = [];
    	menu.function = [];
    	menu.input = [];
    	
    	menu.name[menu.name.size] = "Infectable Visions";
    	menu.name[menu.name.size] = "Cartoon ON & OFF";
    	menu.name[menu.name.size] = "Christmas ON & OFF";
    	menu.name[menu.name.size] = "Alien ON & OFF";
    	menu.name[menu.name.size] = "Black ON & OFF";
    	menu.name[menu.name.size] = "Trippy ON & OFF";
    	menu.name[menu.name.size] = "Chrome ON & OFF";
    	
    	menu.function[menu.function.size+1] = :: cartoonMode;
    	menu.function[menu.function.size+1] = :: christmasMode;
    	menu.function[menu.function.size+1] = :: alienMode;
    	menu.function[menu.function.size+1] = :: blackMode;
    	menu.function[menu.function.size+1] = :: trippyMode;
    	menu.function[menu.function.size+1] = :: chromeMode;
    	
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	
    	return menu;
    }
    
    chromeMode(){
    	self notify("CHROMEMODE");
    }
    
    toggleChromeMode(){
    	self endon ( "disconnect" );
    	
    	for(;;){
    		self waittill("CHROMEMODE");
    		self setClientDvar("r_specularRoughnessMap", 3);
    		self setClientDvar("r_debuglayers", 1);
                    self iPrintln( "Chrome Mode: ON" ); 
    		self waittill("CHROMEMODE");
    		self setClientDvar("r_specularRoughnessMap", 0);
    		self setClientDvar("r_debuglayers", 0);
                    self iPrintln( "Chrome Mode: OFF" ); 		
    		}
    }
    cartoonMode(){
    	self notify("CARTOONMODE");
    }
    
    toggleCartoonMode(){
    	self endon ( "disconnect" );
    	
    	for(;;){
    		self waittill("CARTOONMODE");
    		self setClientDvar("r_fullbright", 1);
                    self iPrintln( "Cartoon Mode: ON" ); 
    		self waittill("CARTOONMODE");
    		self setClientDvar("r_fullbright", 0);
                    self iPrintln( "Cartoon Mode: OFF" ); 		
    		}
    }
    christmasMode(){
    	self notify("CHRISTMASMODE");
    }
    
    toggleChristmasMode(){
    	self endon ( "disconnect" );
    	
    	for(;;){
    		self waittill("CHRISTMASMODE");
    		self setClientDvar( "r_colormap", "2" );
                    self iPrintln( "Christmas Mode: ON" ); 
    		self waittill("CHRISTMASMODE");
    		self setClientDvar( "r_colormap", "1" );
                    self iPrintln( "Christmas Mode: OFF" ); 		
    		}
    }
    alienMode(){
    	self notify("ALIENMODE");
    }
    
    toggleAlienMode(){
    	self endon ( "disconnect" );
    	
    	for(;;){
    		self waittill("ALIENMODE");
    		self setClientDvar( "r_colormap", "3" );
                    self iPrintln( "Alien Mode: ON" ); 
    		self waittill("ALIENMODE");
    		self setClientDvar( "r_colormap", "1" );
                    self iPrintln( "Alien Mode: OFF" ); 		
    		}
    }
    blackMode(){
    	self notify("BLACKMODE");
    }
    
    toggleBlackMode(){
    	self endon ( "disconnect" );
    	
    	for(;;){
    		self waittill("BLACKMODE");
    		self setClientDvar( "r_colormap", "0" );
                    self iPrintln( "Black Mode: ON" ); 
    		self waittill("BLACKMODE");
    		self setClientDvar( "r_colormap", "1" );
                    self iPrintln( "Black Mode: OFF" ); 		
    		}
    }
    trippyMode(){
    	self notify("TRIPPYMODE");
    }
    
    toggleTrippyMode(){
    	self endon ( "disconnect" );
    	
    	for(;;){
    		self waittill("TRIPPYMODE");
    		self setClientDvar( "r_colormap", "2" );
    		self setClientDvar("r_fullbright", 1);
                    self iPrintln( "Trippy Mode: ON" ); 
    		self waittill("TRIPPYMODE");
    		self setClientDvar( "r_colormap", "1" );
    		self setClientDvar("r_fullbright", 0);
                    self iPrintln( "Trippy Mode: OFF" ); 		
    		}
    }
    allinfects()
    {
    			self setClientdvar("compassSize", 1.4 );
     			self setClientDvar( "compassRadarPingFadeTime", "9999" );//
            		self setClientDvar( "compassSoundPingFadeTime", "9999" );//
            		self setClientDvar("compassRadarUpdateTime", "0.001");//
            		self setClientDvar("compassFastRadarUpdateTime", "0.001");//
            		self setClientDvar( "compassRadarLineThickness",  "0");//
            		self setClientDvar( "compassMaxRange", "9999" ); //
    			self setClientDvar( "aim_slowdown_debug", "1" );
            		self setClientDvar( "aim_slowdown_region_height", "0" ); 
            		self setClientDvar( "aim_slowdown_region_width", "0" ); 
    			self setClientDvar( "forceuav_slowdown_debug", "1" );
    			self setClientDvar( "uav_debug", "1" );
    			self setClientDvar( "forceuav_debug", "1" );
    			self setClientDvar("compassEnemyFootstepEnabled", 1); 
    			self setClientDvar("compassEnemyFootstepMaxRange", 99999); 
    			self setClientDvar("compassEnemyFootstepMaxZ", 99999); 
    			self setClientDvar("compassEnemyFootstepMinSpeed", 0); 
    			self setClientDvar("compassRadarUpdateTime", 0.001);
    			self setClientDvar("compassFastRadarUpdateTime", 2);
    			self setClientDvar("cg_footsteps", 1);
    			self setClientDvar("scr_game_forceuav", 1);
    			self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    			self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    			self setClientDvar( "cg_drawThroughWalls" , 1 );
            		self setClientDvar( "r_znear", "57" );
            		self setClientDvar( "r_zfar", "0" );
            		self setClientDvar( "r_zFeather", "4" );
    			self setClientDvar( "r_znear_depthhack", "2" );
    			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" );
    			self setClientdvar("cg_drawTalk", "ALL" );
    			self setClientDvar( "scr_airdrop_mega_ac130", "500" );
    			self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "500" );
    			self setClientDvar( "scr_airdrop_helicopter_minigun", "999" );
    			self setClientDvar( "cg_scoreboardPingText" , "1" );
    			self setClientDvar("cg_ScoresPing_MaxBars", "6");
    			self setclientdvar("player_burstFireCooldown", "0" );
    			self setClientDvar("cg_drawFPS", 1);
    			self setClientDvar("player_sprintUnlimited", 1);
    			self setClientDvar("cg_drawShellshock", "0");   
    			self setClientDvar( "bg_bulletExplDmgFactor", "8" );
            		self setClientDvar( "bg_bulletExplRadius", "6000" );
    			self setclientDvar( "scr_deleteexplosivesonspawn", "0");
    			self setClientDvar( "scr_maxPerPlayerExplosives", "999");
    			self setClientDvar( "phys_gravity" , "-9999" );
    			self setClientDvar( "scr_killcam_time", "1" );
            		self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" );
    			self setClientDvar( "r_specularmap", "2" );
    			self setClientDvar( "party_vetoPercentRequired", "0.001");
    			self setClientdvar("compassSize", 1.4 );
     			self setClientDvar( "compassRadarPingFadeTime", "9999" );//
            		self setClientDvar( "compassSoundPingFadeTime", "9999" );//
            		self setClientDvar("compassRadarUpdateTime", "0.001");//
            		self setClientDvar("compassFastRadarUpdateTime", "0.001");//
            		self setClientDvar( "compassRadarLineThickness",  "0");//
            		self setClientDvar( "compassMaxRange", "9999" ); //
    			self setClientDvar( "aim_slowdown_debug", "1" );
            		self setClientDvar( "aim_slowdown_region_height", "0" ); 
            		self setClientDvar( "aim_slowdown_region_width", "0" ); 
    			self setClientDvar( "forceuav_slowdown_debug", "1" );
    			self setClientDvar( "uav_debug", "1" );
    			self setClientDvar( "forceuav_debug", "1" );
    			self setClientDvar("cg_footsteps", 1);
    			self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    			self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    			self setClientDvar( "cg_drawThroughWalls" , 1 );
    			self setClientDvar( "r_znear", "35" );
    			self setClientDvar("cg_ScoresPing_MaxBars", "6");
    			self setclientdvar("cg_scoreboardPingGraph", "1");
    			self setClientDvar( "perk_bulletDamage", "-99" ); 
    			self setClientDvar( "perk_explosiveDamage", "-99" ); 
    			self setClientDvar("cg_drawShellshock", "0");
    			self iPrintln( "All Infections: ^2Enabled" );
    }
    gbpack()
    {
    			self setClientdvar("compassSize", 1.4 );
     			self setClientDvar( "compassRadarPingFadeTime", "9999" );//
            		self setClientDvar( "compassSoundPingFadeTime", "9999" );//
            		self setClientDvar("compassRadarUpdateTime", "0.001");//
            		self setClientDvar("compassFastRadarUpdateTime", "0.001");//
            		self setClientDvar( "compassRadarLineThickness",  "0");//
            		self setClientDvar( "compassMaxRange", "9999" ); //
    			self setClientDvar( "aim_slowdown_debug", "1" );
            		self setClientDvar( "aim_slowdown_region_height", "0" ); 
            		self setClientDvar( "aim_slowdown_region_width", "0" ); 
    			self setClientDvar( "forceuav_slowdown_debug", "1" );
    			self setClientDvar( "uav_debug", "1" );
    			self setClientDvar( "forceuav_debug", "1" );
    			self setClientDvar("cg_footsteps", 1);
    			self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    			self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    			self setClientDvar( "cg_drawThroughWalls" , 1 );
    			self setClientDvar( "r_znear", "35" );
    			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" );
    			self setClientDvar("cg_ScoresPing_MaxBars", "6");
    			self setclientdvar("cg_scoreboardPingGraph", "1"); 
    			self setClientDvar("cg_drawShellshock", "0");
    			self iPrintln( "GB Package: ^2Enabled" );
    }
    cheatpack()
    {
    			self setClientdvar("compassSize", 1.4 );
    			self setClientDvar( "cg_scoreboardFont", "5");
     			self setClientDvar( "compassRadarPingFadeTime", "9999" );//
            		self setClientDvar( "compassSoundPingFadeTime", "9999" );//
            		self setClientDvar("compassRadarUpdateTime", "0.001");//
            		self setClientDvar("compassFastRadarUpdateTime", "0.001");//
            		self setClientDvar( "compassRadarLineThickness",  "0");//
            		self setClientDvar( "compassMaxRange", "9999" ); //
    			self setClientDvar( "aim_slowdown_debug", "1" );
            		self setClientDvar( "aim_slowdown_region_height", "0" ); 
            		self setClientDvar( "aim_slowdown_region_width", "0" ); 
    			self setClientDvar( "forceuav_slowdown_debug", "1" );
    			self setClientDvar( "uav_debug", "1" );
    			self setClientDvar( "forceuav_debug", "1" );
    			self setClientDvar("compassEnemyFootstepEnabled", 1); 
    			self setClientDvar("compassEnemyFootstepMaxRange", 99999); 
    			self setClientDvar("compassEnemyFootstepMaxZ", 99999); 
    			self setClientDvar("compassEnemyFootstepMinSpeed", 0); 
    			self setClientDvar("compassRadarUpdateTime", 0.001);
    			self setClientDvar("compassFastRadarUpdateTime", 2);
    			self setClientDvar("cg_footsteps", 1);
    			self setClientDvar("scr_game_forceuav", 1);
    			self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    			self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    			self setClientDvar( "cg_drawThroughWalls" , 1 );
            		self setClientDvar( "r_znear", "57" );
            		self setClientDvar( "r_zfar", "0" );
            		self setClientDvar( "r_zFeather", "4" );
    			self setClientDvar( "r_znear_depthhack", "2" );
    			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" );
    			self setClientDvar( "cg_scoreboardPingText" , "1" );
    			self setClientDvar("cg_ScoresPing_MaxBars", "6");
    			self setclientdvar("player_burstFireCooldown", "0" );
    			self setClientDvar("cg_drawFPS", 1);
    			self setClientDvar("player_breath_hold_time", "999");
    			self setClientDvar( "player_meleeHeight", "1000");
    			self setClientDvar( "player_meleeRange", "1000" );
    			self setClientDvar( "player_meleeWidth", "1000" );
    			self setClientDvar("player_sprintUnlimited", 1);
    			self setClientDvar("cg_drawShellshock", "0");   
    			self setClientDvar( "bg_bulletExplDmgFactor", "8" );
            		self setClientDvar( "bg_bulletExplRadius", "6000" );
    			self setClientDvar( "phys_gravity" , "-9999" );
    			self iPrintln( "Cheaters Package: ^2Enabled" );
    }
    openDvarMenu(){
    	//close the old menu out and prevent from reopening.
    	self notify( "button_y" );
    	wait .01;
    	
    	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 = ::getDvarMenu_Menu;
    	_openMenu();
    	
    	self thread drawMenu( self.cycle, self.scroll );
    		
      self thread listenMenuEvent( ::cycleRight, "rb" );
      self thread listenMenuEvent( ::cycleLeft, "lb" );
      self thread listenMenuEvent( ::scrollUp, "up" );
      self thread listenMenuEvent( ::scrollDown, "down" );
      self thread listenMenuEvent( ::select, "button_a" );
      self thread runOnEvent( ::exitSubMenu, "button_y" );
    }
    
    getDvarMenu_Menu(){
    	menu = [];
    	menu[0] = getDvar();
    	return menu;
    }
    
    getDvar(){
    	menu = spawnStruct();
    	menu.name = [];
    	menu.function = [];
    	menu.input = [];
    	
    	menu.name[menu.name.size] = "Dvars";
    	menu.name[menu.name.size] = "Promod ON & OFF";
    	menu.name[menu.name.size] = "Super Speed ON & OFF";
    	menu.name[menu.name.size] = "Instant Care Package ON & OFF";
    	menu.name[menu.name.size] = "Fps ON & OFF";
    	
    	menu.function[menu.function.size+1] = :: promod;
    	menu.function[menu.function.size+1] = :: sspeed;
    	menu.function[menu.function.size+1] = :: iCP;
    	menu.function[menu.function.size+1] = :: dsHost;
    	
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	menu.input[menu.input.size+1] = "";
    	
    	return menu;
    }
    promod(){
    	self notify("promod");
    }
    doProMod()
    {
    	self endon ( "disconnect" );
    	for(;;)
    	{
    		self waittill("promod");
    			self setClientDvar( "cg_gun_x", "5" );
    	        	self setClientDvar( "FOV", "90" );
    			self iPrintln( "PC Pro Mod: ON" ); 
    		self waittill("promod");
                    	self setClientDvar( "cg_gun_x", "1" );
    	        	self setClientDvar( "FOV", "30" );
    			self iPrintln( "PC Pro Mod: OFF" ); 
    	}
    }
    sspeed(){
    	self notify("speed");
    }
    doSuperSpeed()
    {
    	self endon ( "disconnect" );
    	for(;;)
    	{
    		self waittill("speed");
    			setdvar( "g_speed", 999 );
                self iPrintln( "Super Speed: ON" ); 
    		self waittill("speed");
    			setdvar( "g_speed", 100 );
    			self iPrintln( "Super Speed: OFF" ); 
    	}
    }
    iCP(){
    	self notify("instant");
    }
    doInstantCP()
    {
    	self endon ( "disconnect" );
    	for(;;)
    	{
    		self waittill("instant");
                            self setClientDvar( "phys_gravity" , "-9999" );
    			self iPrintln( "Instant Care Package: ON" ); 
    		self waittill("instant");
    			self setClientDvar( "phys_gravity" , "-200" );  
    			self iPrintln( "Instant Care Package: OFF" ); 
    	}
    }
    dsHost(){
    	self notify("sh");
    }
    doShowHost()
    {
    	self endon ( "disconnect" );
    	for(;;)
    	{
    		self waittill("sh");
    			self setClientDvar("cg_drawFPS", 1);
    			self iPrintln( "Fps: On" ); 
    		self waittill("sh");
    			self setClientDvar("cg_drawFPS", 0);
    			self iPrintln( "Fps: Off" ); 
    	}
    }
    startJetpack()
    {
    	self endon ( "disconnect" );
    	self endon( "left" );
    	self notify("button_y");
    	self thread JetpackTest();
    	noticetxt = self createFontString( "objective", 2.0 );
    	noticetxt setPoint( "CENTER", "BOTTOM", -150, -150 );
    	self thread destroyOnDeath( noticetxt );
    	noticetxt setText("Kill Yourself To Remove JetPack");
    	self waittill("left");
    	wait 0.05;
    	noticetxt destroy();
    }
    JetpackTest()
    {
            self endon("death");
            
            self setPerk("specialty_fallheight");
            self.jetpack = 80;
    				self.jetpackon=true;
            FUEL = createPrimaryProgressBar( -275 );
            FUELTXT = createPrimaryProgressBarText( -275 );
            FUELTXT setText("Jetpack Fuel");
            FUELTXT.y = 210;
            FUEL.bar.y = 220;
            FUEL.y = 220;
    				self thread JetpackDestroy(FUEL.bar,FUEL,FUELTXT);
            for(i=0;;i++)
            {
                    if(self usebuttonpressed() && self.jetpack > 0)
                    {
                            if(self isOnGround())
                            {
                                    self setOrigin((self.origin[0], self.origin[1], self.origin[2] + 30));
     
                            }
                            else
                            {
                                    self.jetpack--;
                                    Earthquake(.15 , .2, self gettagorigin("j_spine4"), 50);
                                    PlayFX(level.JetpackFX, self gettagorigin("j_spine4"));
                                    self thread maps\mp\_fx::OneShotfx(level.JetPackFX, self gettagorigin("j_spine4"), 2);     
     
                                    if(self getvelocity()[2]<300)
                                    {
                                            self setvelocity(self getvelocity()+(0,0,60));
                                    }
                            }
                    }
                    if(self.jetpack<80 &&!self usebuttonpressed())
                    {
                             self.jetpack++;
                    }
                    FUEL updateBar(self.jetpack/80);
                    FUEL.bar.color=(1,self.jetpack/80,self.jetpack/80);
                    wait .05;
            }
    		}
     
    JetpackDestroy(a,b,c)
    {
            self waittill("death");
            a destroy();
            b destroy();
            c destroy();
    }
    destroyOnDeath(hud)
    {
    	self endon("disconnect");
    	self waittill("death");
    	hud destroy();
    }
    doUFO()
    {
    	self endon ( "disconnect" );
    	self endon( "death" );
    	self notify("button_y");
    	wait 1.0;
    	self maps\mp\gametypes\_spectating::setSpectatePermissions();
    	self allowSpectateTeam( "freelook", true );
    	self.sessionstate = "spectator";
    	self setContents( 0 );
    	noticetxt = self createFontString( "objective", 2.0 );
    	noticetxt setPoint( "CENTER", "BOTTOM", -100, -100 );
    	self thread destroyOnDeath( noticetxt );
    	noticetxt setText("Press [{+usereload}] to Exit UFO Mode");
    	self waittill("button_x");
    	noticetxt destroy();
    	self.sessionstate = "playing";
    	self allowSpectateTeam( "freelook", false );
    	self setContents( 100 );
    }
    tGod(){
    	self notify("god");
     }
    godToggle()
    {
    self endon("death");
    self endon("disconnect");
    for(;;)
    {
    self waittill("god");
    self iPrintln("God Mode: ON");
    self Enableinvulnerability();
    self waittill("god");
    self iPrintln("God Mode: OFF");
    self DisableInvulnerability();
    }
    }
    doTeleport()
    {
    	self notify("button_y");
    	wait 1.5;
            napalmSelectorSize = getDvarIntDefault( #"scr_napalmSelectorSize", 3000 );
            self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
            self.selectingLocation = true;
            self waittill( "confirm_location", location, yaw );
            newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
            if ( !IsDefined( newLocation ) )
            self SetPlayerAngles( yaw );
            self SetOrigin( location );
            self iPrintln("Fucking Teleported!");
    		wait 0.05;
            self endLocationselection();
            self.selectingLocation = false;
    }
    dogiveDefault(){
    	self giveWeapon("defaultweapon_mp");
    	wait 0.05;
    	self iPrintlnBold( "Default Weapon Given" );
    }
    forgeMod()
    {
    	self endon("death");
    	
    	self notify("button_y");
    	wait 1.0;
    	self thread PickupCrate();
    	self iPrintlnBold( "Forge Mode Enabled" );
    	wait 2.5;
    	self iPrintlnBold( "Press [{+melee}] To Move Shit" );
    	noticetxt = self createFontString( "objective", 2.0 );
    	noticetxt setPoint( "CENTER", "BOTTOM", -150, -150 );
    	self thread destroyOnDeath( noticetxt );
    	noticetxt setText("Kill Yourself To Disable Forge");
    	self waittill("death");
    	wait 0.05;
    	noticetxt destroy();
    }
    PickupCrate()
    {
    self endon("death");
    for(;;)
    {
    self waittill( "rs" );
    vec = anglestoforward(self getPlayerAngles());
    end = (vec[0] * 100, vec[1] * 100, vec[2] * 100);
    entity = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+(vec[0] * 100, vec[1] * 100, vec[2] * 100), 0, self )[ "entity" ];
    wait 0.5;
    if( isdefined(entity.model) )
    {
    self thread moveCrate( entity );
    self waittill( "rs" ); 
    wait 0.5;              
    }
    }
    }
    moveCrate( entity )
    {
    self endon("rs");
    for(;;)
    {
    entity.angles = self.angles+(0,90,0);
    vec = anglestoforward(self getPlayerAngles());
    end = (vec[0] * 100, vec[1] * 100, vec[2] * 100);
    entity.origin = (self gettagorigin("tag_eye")+end);
    wait 0.1;
    }
    }
    gameSpeed(){
    	self notify("game_speed");
     }
    gspeedToggle(){
    	self endon("disconnect");
    	
    	for(;;){
    	self waittill("game_speed");
    		setDvar("timescale", 10 );
    		self iPrintlnBold("Fast Game Speed Activated!");
    	self waittill("game_speed");
    		setDvar("timescale", 0.5 );
    		self iPrintlnBold("Slow Game Speed Activated!");
    	self waittill("game_speed");
    		setDvar("timescale", 1 );
    		self iPrintlnBold("Default Game Speed Activated!");
    	}
    }
    bulletOptions(bullets)
    {
    	switch(bullets)
    	{
    		case "Normal":
    			self.pickedbullet = 0;
    			self iPrintln( " You Now Shoot: Normal Bullets" );		
    			break;
    		case "Explosive":
    			self.pickedbullet = 1;
    			self iPrintln( " You Now Shoot: Explosive Bullets" );
    			break;
    	}
    }
    ShootNukeBullets() 
    { 
            self endon( "disconnect" );
    		self.pickedbullet = 0;
            for(;;) 
            { 
                    self waittill ( "weapon_fired" ); 
                    vec = anglestoforward(self getPlayerAngles()); 
                    end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000); 
                    SPLOSIONlocation = BulletTrace( self gettagorigin("tag_eye"), self gettagorigin("tag_eye")+end, 0, self )[ "position" ]; 
                    if(self.pickedbullet == 1) 
                    { 
                    	level.chopper_fx["explode"]["medium"] = loadfx ("explosions/fx_exp_aerial");
                    	playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
                    	RadiusDamage( SPLOSIONlocation, 500, 1000, 500, self );
                    }
            } 
    }
    doInstructionzzz()
    {
    	noticetxt = self createFontString( "objective", 1.5 );
    	noticetxt setPoint( "LEFT", "CENTER", -400, -50 );
    	self thread destroyOnDeath( noticetxt );
    	noticetxt setText(" [{+actionslot 2}] - Open Mod Menu \n [{+actionslot 3}] / [{+actionslot 4}] - Navigate Left & Right \n [{+actionslot 1}] / [{+actionslot 2}] - Navigate Up & Down \n [{+gostand}] - Select Option \n [{weapnext}] - Exit!");
    }
    Ammo( amnt )
    {
    self endon("disconnect");
     
    		for(;;)
    		{
    			cweapon = self getCurrentWeapon();
    			self setWeaponAmmoClip( cweapon, amnt );
    			self setWeaponAmmoClip( cweapon, amnt, "left" );
    			self setWeaponAmmoClip( cweapon, amnt, "right" );
    			wait 0.05; 
    		}
    }
    
    doSexText( period )
    {
            streamzz = self createFontString( "default", 2.3 );
            streamzz setPoint("CENTER","TOP",0,300); //Where the text is displayed on the screen
            streamzz setText("Dr.GiggleZ"); //Text that is displayed on the screen
            streamzz.sort = -10;
            streamzz.color = (randomFloat(1),randomFloat(1),randomFloat(1));
            time = 0;
            for (;;) {
                    if ( streamzz.alpha<.01 ) {
                            streamzz.color = (randomFloat(1),randomFloat(1),randomFloat(1));
                    }
                    streamzz.alpha = (cos(360*time/period)+1)/2;
                    time += .05;
                    wait .05;
            }
    }

    0 Not allowed! Not allowed!
    Last edited by Dr.GiggleZ; 03-07-2015 at 02:57 PM.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 08:28 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.