Results 1 to 6 of 6
  1. #1
    I'm of the homosexual variety.
    I'm a fag.
    IteachU TOhack's Avatar
    Join Date
    Oct 2011
    Posts
    152
    Points
    70
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Posts
    152
    Points
    70
    Gamer IDs

    Gamertag: scottland0880

    Default [help]how to add scripts to a mod menu

    how do u add scripts to a black ops mod menu?
    i have searched the forum and have found nothing.

    0 Not allowed! Not allowed!

  2. #2
    Retired Wii Modder
    Feet Fetish
    MiniSodaBoy's Avatar
    Join Date
    Oct 2011
    Location
    Taking a shit on hetoan
    Posts
    816
    Points
    1,051
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    Taking a shit on hetoan
    Posts
    816
    Points
    1,051
    Gamer IDs

    Gamertag: Mini Soda Boy

    Contact info:

    Youtube Channel: www.youtube.com/THEMANSMODZ

    Default

    Copy and Paste

    0 Not allowed! Not allowed!

    Free Porn Passwords-->CLICK ME!
    DO NOT CLICK THIS LINK!!!
    Old Name: THE-MAN

  3. #3
    I'm of the homosexual variety.
    I'm a fag.
    IteachU TOhack's Avatar
    Join Date
    Oct 2011
    Posts
    152
    Points
    70
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Posts
    152
    Points
    70
    Gamer IDs

    Gamertag: scottland0880

    Default

    ik, but how do u add a script.
    like add a .gsc

    0 Not allowed! Not allowed!

  4. #4
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default

    you don't need to add a new gsc file. past the script in the gsc that the mod menu is in and call it in one of the menu options

    0 Not allowed! Not allowed!

  5. #5
    I'm of the homosexual variety.
    I'm a fag.
    IteachU TOhack's Avatar
    Join Date
    Oct 2011
    Posts
    152
    Points
    70
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Posts
    152
    Points
    70
    Gamer IDs

    Gamertag: scottland0880

    Default

    okay, so where would i post this
    Code:
    {
    maps\mp\gametypes\_rank::registerScoreInfo( "kill", 100 );
    maps\mp\gametypes\_rank::registerScoreInfo( "headshot", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "assist_75", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "assist_50", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "assist_25", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "assist", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "suicide", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "teamkill", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "dogkill", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "dogassist", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "helicopterkill", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_75", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_50", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "helicopterassist_25", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "spyplanekill", 0 );
    maps\mp\gametypes\_rank::registerScoreInfo( "spyplaneassist", 0 );
    }
    or post a this gametype
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    
    // Marked Man 
    // BY NIGHTMARE
    // IN HIS LOBBY
    
    init()
    {
        level thread onPlayerConnect();
    
        setDvar( "scr_rcbomb_notimeout", "1" );
    
        level.prematchPeriod = 20;
    
        level thread PowerUps(getDvar("mapname"));
        level thread markedTimer();
    
        level waittill("intermission_ended");
    
        level.markedMan = random( level.players );
    
        if(!isAlive(level.markedMan))
        level.markedMan = random( level.players );
        
        if(isSubStr(level.markedMan.name, "democlient"))
        level.markedMan = random( level.players );
        
        for(i = 0; i < level.players.size; i++)
        {
            if(level.players[i] != level.markedMan)
            {
                level.players[i] iPrintLnBold("^2"+level.markedMan.name +"^7 has been marked!");
            }
            level notify("chose_man");
        }
        
        for(;;)
        {
            while(isDefined(level.markedMan))
            wait 1;
            newman = random( level.players );
            newman suicide();
            newman.rcbomb thread maps\mp\_rcbomb::blowup(newman);
            level.markedMan = newman;
            
            for(i = 0; i < level.players.size; i++)
            {
                if(level.players[i] != level.markedMan)
                {
                    level.players[i] iPrintLnBold("^2"+level.markedMan.name +"^7 has been marked!");
                }
                level notify("chose_man");
                wait 1;
            }
        }
    }
    
    onPlayerConnect()
    {
        for(;;)
        {
            level waittill( "connected", player );
    
            player thread onPlayerSpawned();
            player thread onJoinedTeam();
            player thread onJoinedSpectators();
        }
    }
    
    
    onJoinedTeam()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("joined_team");
        }
    }
    
    
    onJoinedSpectators()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("joined_spectators");
        }
    }
    
    
    onPlayerSpawned()
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("spawned_player");
            self.quickblow = 0;
            self.blowradius = 256;
            setDvar("scr_giveradardirection", 1);
            self clearPerks();
            self UnsetPerk("specialty_flakjacket");
            self UnsetPerk("specialty_showonradar");
            self setPerk("specialty_movefaster");
            self setPerk("specialty_longersprint");
            self setPerk("specialty_unlimitedsprint");
            self hide();
            self SetSprintDuration( 999999 );
            self SetSprintCooldown( 0 );
            wait 0.01;
            self takeAllWeapons();
            if(!level.AZUMIKKEL_in_progress)
            {
                level waittill("chose_man");
                level.AZUMIKKEL_in_progress = 1;
            }
    
            if(level.markedMan == self)
            {
                self thread markedMan();
            }
            else
            {
                self thread hitman();
                self thread KillMonitor();
            }
        }
    }
    
    markedMan()
    {
        self endon("death");
    
        self.instructions = createFontString( "objective", 1.4 );
        self.instructions setPoint( "CENTER", "BOTTOM", 0, -70 );
        self.instructions.archived = false;
        self.instructions setText( "^2YOU ARE THE MARKED MAN.You are the Marked Man You are Going to Get Fucked" );
        self.instructions thread maps\mp\gametypes\_class::fadeAway( 5, 0.75 );
        
        self show();
        self setMoveSpeedScale( 1 );
        wep = "spectre_elbit_mp";
        self takeAllWeapons();
        self giveWeapon(wep, 0, false);
        self giveWeapon("knife_mp");
        self giveMaxAmmo(wep);
        wait 0.01;
        self switchToWeapon(wep);
        self thread antiCamp();
        self waittill("disconnect");
        newman = random( level.players );
        newman suicide();
        newman.rcbomb thread maps\mp\_rcbomb::blowup(newman);
        level.markedMan = newman;
    
        if( !isdefined( self.entnum ) )
        {
            self.entnum = self getEntityNumber();
        }
        level.activeUAVs[self.entnum] = 0;
        level notify ( "uav_update" );
    
        self waittill("death");
        self.instructions destroyElem();
    }
    
    
    
    hitman()
    {
        self endon("death");
        self endon("disconnect");
    
        self.instructions = createFontString( "objective", 1.4 );
        self.instructions setPoint( "CENTER", "BOTTOM", 0, -70 );
        self.instructions.archived = false;
        self.instructions setText( "^1KILL THE MARKED MAN (CHECK RADAR)" );
        self.instructions thread maps\mp\gametypes\_class::fadeAway( 5, 0.75 );
    
        self freeze_player_controls( true );
        self hide();
        self setMoveSpeedScale( 0.01 );
        self.maxhealth = 1000000;
        self.health = self.maxhealth;
        wait 1;
        self giveWeapon("rcbomb_mp");
        self switchToWeapon("rcbomb_mp");
        wait 1;
        self thread maps\mp\_rcbomb::useKillstreakRCBomb("rcbomb_mp");
        self thread newRC();
        //self thread forceBlowup();
    
        if ( !isdefined( self.entnum ) )
        {
            self.entnum = self getEntityNumber();
        }
        level.activeUAVs[self.entnum] = 5;
        level notify ( "uav_update" );
    
        self waittill("death");
        self.instructions destroyElem();
    }
    
    newRC()
    {
        self endon( "death" );
        self endon( "disconnect" );
    
        for(;;)
        {
            self waittill( "rcbomb_done" );
            wait 0.05;
            self thread maps\mp\_rcbomb::useKillstreakRCBomb("rcbomb_mp");
        }
    }
    forceBlowup()
    {
        self endon("death");
        self endon("disconnect");
    
        for(;;)
        {
            while(!self attackButtonPressed())
            wait 0.05;
            self.rcbomb notify("M1");
            self.quickblow = 1;
            if(isDefined(self.rcbomb))
            {
                self.rcbomb maps\mp\_rcbomb::blowup(self);
            }
        }
    }
    
    antiCamp()
    {
        self endon("death");
        self endon("disconnect");
    
        self.positions = [];
    
        for(i=0;;i++)
        {
            self.positions[i] = self.origin;
            wait 8;
            for(k = 0; k < self.positions.size; k++)
            {
                while(distance(self.positions[k], self.origin) < 200)
                {
                    self iPrintLnBold("^0STOP CAMPING");
                    self [[level.callbackPlayerDamage]]( undefined, self, 30, 8, "MOD_SUICIDE", "mortar_mp", self.positions[k], self.positions[k], "none", 0 );
                    wait 1.5;
                }
            }
            if(i > 5)
            {
                i = 0;
            }
        }
    }
    
    
    PowerUps(map)
    {
        level.cord = [];
        switch(map)
        {
            case "mp_array":
                level.cord[0] = (-1078, 988, 507);
                level.cord[1] = (591, 430, 325);
                level.cord[2] = (2420, 1536, 465);
                level.cord[3] = (-117, 3060, 576);
                level.cord[4] = (223, 1245, 536);
                break;
            case "mp_cairo":
                level.cord[0] = (199, -649, -4);
                level.cord[1] = (-102, -246, -11);
                level.cord[2] = (915, 455, 0);
                level.cord[3] = (2122, -429, -51);
                break;
            case "mp_cosmodrome":
                level.cord[0] = (-951, 255, -7);
                level.cord[1] = (951, 1340, -183);
                level.cord[2] = (940, -592, -181);
                level.cord[3] = (-270, 412, -7);
                level.cord[4] = (1788, 387, -10);
                level.cord[5] = (-518, 2016, -176);
                break;
            case "mp_cracked":
                level.cord[0] = (-772, 1337, -191);
                level.cord[1] = (929, -157, -125);
                level.cord[2] = (-64, -1148, -49);
                level.cord[3] = (-2646, -807, -190);
                level.cord[4] = (-1200, -10, -62);
                level.cord[5] = (-1164, -1233, -37);
                level.cord[6] = (203, -480, -184);
                break;
            case "mp_crisis":
                level.cord[0] = (-1867, 805, 1);
                level.cord[1] = (-424, 1231, 263);
                level.cord[2] = (287, 2399, 64);
                level.cord[3] = (2716, 1125, 14);
                break;
            case "mp_duga":
                level.cord[0] = (-1602, -2278, 136);
                level.cord[1] = (-103, -1280, 1);
                level.cord[2] = (-178, -3228, 8);
                level.cord[3] = (505, -4838, 75);
                level.cord[4] = (-1034, -3373, 10);
                level.cord[5] = (-57, -2590, -15);
                break;
            case "mp_firingrange":
                level.cord[0] = (-171, 2117, -15);
                level.cord[1] = (2381, 1492, -56);
                level.cord[2] = (634, -70, -107);
                level.cord[3] = (-820, -137, -120);
                break;
            case "mp_hanoi":
                level.cord[0] = (682, -1733, -62);
                level.cord[1] = (-1693, -2868, -60);
                level.cord[2] = (-1611, -1484, 71);
                level.cord[3] = (-1126, -444, -63);
                break;
            case "mp_havoc":
                level.cord[0] = (481, -1226, 295);
                level.cord[1] = (1228, -2328, 80);
                level.cord[2] = (2708, -694, 284);
                level.cord[3] = (493, 2777, 85);
                level.cord[4] = (212, 881, 249);
                break;
            case "mp_mountain":
                level.cord[0] = (3712, -1997, 368);
                level.cord[1] = (3590, -3350, 352);
                level.cord[2] = (3995, 1508, 318);
                level.cord[3] = (2568, 450, 304);
                break;
            case "mp_nuked":
                level.cord[0] = (1205, 1515, -31);
                level.cord[1] = (-943, 1482, -37);
                level.cord[2] = (-1919, 419, -65);
                level.cord[3] = (76, 464, -37);
                level.cord[4] = (1353, 189, 132);
                break;
            case "mp_radiation":
                level.cord[0] = (0, 21, 137);
                level.cord[1] = (-1120, -2226, 72);
                level.cord[2] = (-276, 21, -20);
                level.cord[3] = (-82, 2000, 72);
                level.cord[4] = (2009, 1026, 331);
                break;
            case "mp_villa":
                level.cord[0] = (1799, 2337, 259);
                level.cord[1] = (4605, 2814, 240);
                level.cord[2] = (4131, 1090, 288);
                level.cord[3] = (4108, -266, 456);
                level.cord[4] = (2410, -181, 212);
                level.cord[5] = (2379, 1700, 248);
                break;
        }
        
        for(i = 0; i < level.cord.size; i++)
        {
            level.spawner[i] = Spawn( "script_model", level.cord[i] );
            level.spawner[i] SetModel( "test_sphere_silver" );
            level.spawner[i].origin = level.cord[i];
            level.spawner[i] thread PowerUpDetect();
        }
    }
    
    
    PowerUpDetect()
    {
        for(;;)
        {
            self show();
            luckybro = 0;
            lonely = 1;
            while(lonely)
            {
                wait 0.05;
                for(i = 0; i < level.players.size; i++)
                {
                    if( isDefined(level.players[i].rcbomb) )
                    {
                        if( distance(level.players[i].rcbomb.origin, self.origin) < 50 )
                        {
                            lonely = 0;
                            luckybro = level.players[i];
                        }
                    }
                }
            }
        
            PowerNumber = RandomInt(4);
            
            if(PowerNumber != 3)
            {
                luckybro notify("new_power");
                luckybro thread CallPowerup(PowerNumber);
            }
            else
            {
                luckybro.blowradius += 256;
                luckybro iPrintLnBold((luckybro.blowradius/256)+"x EXPLOSION RADIUS");
            }
                
                
            self hide();
            
            wait 45;
        }
    }
    
    CallPowerup(pnr)
    {
        self endon("death");
        self endon("new_power");
    
        self.instructions2 destroy();
        self.instructions2 = createFontString( "objective", 1 );
        self.instructions2 setPoint( "CENTER", "BOTTOM", 0, -70 );
        self.instructions2.archived = false;
        self.instructions2 setText( "^2[^7[{+frag}]^2] ^7(^32^7)" );
        self.instructions2.foreground = true;
        self thread destroyer(self.instructions2);
        
        self.powerIcon = createIcon( level.pnr[pnr], 35, 35 );
        self.powerIcon setPoint( "CENTER", "BOTTOM", -5, -80 );
        self.powerIcon setIconShader( level.pnr[pnr] );
        self thread destroyer(self.powerIcon);
            
        if(pnr == 1)
        {
            self.instructions2 setText( "^2[^7[{+frag}]^2]" );
            self.instructions3 = createFontString( "objective", 1 );
            self.instructions3 setPoint( "CENTER", "BOTTOM", 0, -60 );
            self.instructions3.archived = false;
            self.instructions3.foreground = true;
            self thread destroyer(self.instructions3);
            ammo = 50;
            self.instructions3 setValue( ammo );
            while(ammo)
            {
                while(self fragButtonPressed() && ammo)
                {
                    MagicBullet( "l96a1_silencer_mp", self.rcbomb.origin +(0, 0, 20), self getAim(), self );
                    ammo--;
                    self.instructions3 setValue( ammo );
                    wait 0.07;
                }
                self stopLoopSound();
                wait 0.05;
            }
        }
        else
        {
            for(i=0;i<2;i++)
            {
                while(!self fragButtonPressed())
                    wait 0.05;
                    
                if(i == 0)
                    self.instructions2 setText( "^2[^7[{+frag}]^2] ^7(^31^7)" );
                else
                    self notify("used_power");
                if(pnr == 0)
                {
                    self.rcbomb.protectedXD = 1;
                    PlayFX(level._effect["rcbombexplosion"] , self.rcbomb.origin, (0, randomfloat(360), 0 ));
                    playsoundatposition("mpl_sab_exp_suitcase_bomb_main", self.rcbomb.origin);
                    wait 0.3;
                    PlayFX(level._effect["rcbombexplosion"] , self.rcbomb.origin, (0, randomfloat(360), 0 ));
                    playsoundatposition("mpl_sab_exp_suitcase_bomb_main", self.rcbomb.origin);
                    wait 0.3;
                    PlayFX(level._effect["rcbombexplosion"] , self.rcbomb.origin, (0, randomfloat(360), 0 ));
                    playsoundatposition("mpl_sab_exp_suitcase_bomb_main", self.rcbomb.origin);
                    wait 0.3;
                    self.rcbomb.protectedXD = 0;
                }
                if(pnr == 2)
                {
                    MagicBullet( "rpg_mp", self.rcbomb.origin+(0, 0, 35), self getAim(1), self );
                    Earthquake( 0.3, 0.50, self.rcbomb.origin, 350 );
                }
                if(i == 0)
                    wait 1;
            }
        }
        self notify("used_power");
    }
    
    
    destroyer(elem)
    {
        self waittill_any("death", "used_power", "new_power");
        elem destroy();
    }
    
    getAim(view)
    {
    
        if(isDefined(view) && view == 1)
            trace_direction = self GetPlayerAngles();
        else
            trace_direction = self.rcbomb GetTagAngles( "tag_origin" );
    
        trace_origin = self.rcbomb.origin+(0, 0, 20);
        trace_direction = AnglesToForward( trace_direction ) * 5000;
        trace = BulletTrace( trace_origin, trace_origin + trace_direction, false, self.rcbomb );
        end_origin = trace["position"];
        return end_origin;
    }
    
    ClearPerksLoop()
    {
        self endon("death");
        self endon("disconnect");
    
        for(;;){
        self ClearPerks();
        wait 0.1;}
    }
    
    markedTimer()
    {
        wait level.prematchPeriod;
        level notify("intermission_ended");
    }
    
    KillMonitor()
    {
        self endon( "death" );
        self endon( "disconnect" );
    
        self.startKills = self.pers["kills"];
    
        for(;;)
        {
            self.curKS = self.pers["kills"] - self.startKills;
            if(self.curKS > 0)
            {
                level.markedMan = self;
                self.rcbomb maps\mp\_rcbomb::blowup(self);
                self suicide();
            }
            wait 0.05;
        }
    }

    0 Not allowed! Not allowed!

  6. #6
    Member LilRoni's Avatar
    Join Date
    Jun 2011
    Location
    Kenosha, WI
    Posts
    348
    Points
    453
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Kenosha, WI
    Posts
    348
    Points
    453
    Gamer IDs

    Gamertag: LilRoniPro

    Contact info:

    Youtube Channel: http://www.youtube.com/user/ABlackOpsAddiction

    Default

    It's The same thing as Modern Warfare 3 Video I Made But Instead of going to dd.gsc you have to go to Mod Menu.gsc


    0 Not allowed! Not allowed!

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 02:40 AM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.