Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

Nakeroundefined

Nakero

@Nakero
About
Posts
23
Topics
4
Shares
0
Groups
0
Followers
82
Following
82

Posts

Recent Best Controversial

  • Bo2 Grief mode
    Nakeroundefined Nakero

    https://forum.plutonium.pw/post/139537

    BO2 Client Support

  • Grief in a private match
    Nakeroundefined Nakero

    https://forum.plutonium.pw/post/139537

    BO2 Client Support

  • GRIEF PRIVATE MATCH
    Nakeroundefined Nakero

    https://forum.plutonium.pw/post/139537

    BO2 Client Support

  • Grief Custom Games unified fixes
    Nakeroundefined Nakero

    This is a script you can install to fix many things about zombies Grief custom games, it fixes the team distribution, it allows to instantly change team midgame and disables knife lunge.
    To install it just copy and paste all this code on a .txt and change the name to: Grief_CustomGames_unified.gsc (changing the extension of the file to .gsc) and put the file on the scripts folder: f16cad90-7474-4e31-9d78-aac925bc3ab5-image.png

    You can also download the file here:
    https://drive.google.com/file/d/1trdYjkX5QwVsF1xhnd0uAN4TuwTvolPu/view?usp=sharing
    and put the file on that folder

    // Grief Custom Games Patch Unified
    // Made by Nakero (Nakero77)
    
    
    // Inspired by JezuzLizard and Jbleezy scripts
    
    #include maps\mp\_utility;
    #include common_scripts\utility;
    #include maps\mp\zombies\_zm_utility;
    #include maps\mp\gametypes_zm\_hud_util;
    #include maps\mp\gametypes_zm\_hud_message;
    #include maps\mp\zombies\_zm;
    
    
    main()
    {
    	replaceFunc(maps\mp\gametypes_zm\_zm_gametype::menu_onmenuresponse, scripts\zm\Grief_CustomGames_unified::menu_onmenuresponse);
    	setDvar( "ui_gametype_team_change" , 1);
    	setgametypesetting("allowInGameTeamChange", 1);
    	//setgametypesetting("startRound", 20); // uncomment this line to set round 20 automatic no matter what round you choose on the pre-game lobby
    
    }
    
    init()
    {
        if ( getDvar( "g_gametype" ) == "zgrief" )
        {
            level thread on_player_connect();
            if ( getDvarInt( "zombies_minplayers" ) < 1 || getDvarInt( "zombies_minplayers" ) == "" )
            {
                setDvar( "zombies_minplayers", 1 );
            }
        }
    }
    
    on_player_connect()
    {
        while ( 1 )
        {
        	level waittill( "connected", player );
           	player set_team();
    	player setClientDvar( "aim_automelee_enabled", 0 ); // comment this line to enable again the knife lunge
        }
    }
    
    
    menu_onmenuresponse()
    {
        self endon( "disconnect" );
    
        for (;;)
        {
            self waittill( "menuresponse", menu, response );
    
            if ( response == "back" )
            {
                self closemenu();
                self closeingamemenu();
    
                if ( level.console )
                {
                    if ( menu == game["menu_changeclass"] || menu == game["menu_changeclass_offline"] || menu == game["menu_team"] || menu == game["menu_controls"] )
                    {
                        if ( self.pers["team"] == "allies" )
                            self openmenu( game["menu_class"] );
    
                        if ( self.pers["team"] == "axis" )
                            self openmenu( game["menu_class"] );
                    }
                }
    
                continue;
            }
    
            if ( menu == game["menu_team"] )
            {
    			self closemenu();
                self closeingamemenu();
    			self thread do_team_change();
    			continue;
            }
    
            if ( response == "changeclass_marines" )
            {
                self closemenu();
                self closeingamemenu();
                self openmenu( game["menu_changeclass_allies"] );
                continue;
            }
    
            if ( response == "changeclass_opfor" )
            {
                self closemenu();
                self closeingamemenu();
                self openmenu( game["menu_changeclass_axis"] );
                continue;
            }
    
            if ( response == "changeclass_wager" )
            {
                self closemenu();
                self closeingamemenu();
                self openmenu( game["menu_changeclass_wager"] );
                continue;
            }
    
            if ( response == "changeclass_custom" )
            {
                self closemenu();
                self closeingamemenu();
                self openmenu( game["menu_changeclass_custom"] );
                continue;
            }
    
            if ( response == "changeclass_barebones" )
            {
                self closemenu();
                self closeingamemenu();
                self openmenu( game["menu_changeclass_barebones"] );
                continue;
            }
    
            if ( response == "changeclass_marines_splitscreen" )
                self openmenu( "changeclass_marines_splitscreen" );
    
            if ( response == "changeclass_opfor_splitscreen" )
                self openmenu( "changeclass_opfor_splitscreen" );
    
            if ( response == "endgame" )
            {
                if ( self issplitscreen() )
                {
                    level.skipvote = 1;
    
                    if ( !( isdefined( level.gameended ) && level.gameended ) )
                    {
                        self maps\mp\zombies\_zm_laststand::add_weighted_down();
                        self maps\mp\zombies\_zm_stats::increment_client_stat( "deaths" );
                        self maps\mp\zombies\_zm_stats::increment_player_stat( "deaths" );
                        self maps\mp\zombies\_zm_pers_upgrades_functions::pers_upgrade_jugg_player_death_stat();
                        level.host_ended_game = 1;
                        maps\mp\zombies\_zm_game_module::freeze_players( 1 );
                        level notify( "end_game" );
                    }
                }
    
                continue;
            }
    
            if ( response == "restart_level_zm" )
            {
                self maps\mp\zombies\_zm_laststand::add_weighted_down();
                self maps\mp\zombies\_zm_stats::increment_client_stat( "deaths" );
                self maps\mp\zombies\_zm_stats::increment_player_stat( "deaths" );
                self maps\mp\zombies\_zm_pers_upgrades_functions::pers_upgrade_jugg_player_death_stat();
                missionfailed();
            }
    
            if ( response == "killserverpc" )
            {
                level thread maps\mp\gametypes_zm\_globallogic::killserverpc();
                continue;
            }
    
            if ( response == "endround" )
            {
                if ( !( isdefined( level.gameended ) && level.gameended ) )
                {
                    self maps\mp\gametypes_zm\_globallogic::gamehistoryplayerquit();
                    self maps\mp\zombies\_zm_laststand::add_weighted_down();
                    self closemenu();
                    self closeingamemenu();
                    level.host_ended_game = 1;
                    maps\mp\zombies\_zm_game_module::freeze_players( 1 );
                    level notify( "end_game" );
                }
    
                continue;
            }
    
            if ( menu == game["menu_team"] && level.allow_teamchange == "1" )
            {
                switch ( response )
                {
                    case "allies":
                        self [[ level.allies ]]();
                        break;
                    case "axis":
                        self [[ level.teammenu ]]( response );
                        break;
                    case "autoassign":
                        self [[ level.autoassign ]]( 1 );
                        break;
                    case "spectator":
                        self [[ level.spectator ]]();
                        break;
                }
    
                continue;
            }
    
            if ( menu == game["menu_changeclass"] || menu == game["menu_changeclass_offline"] || menu == game["menu_changeclass_wager"] || menu == game["menu_changeclass_custom"] || menu == game["menu_changeclass_barebones"] )
            {
                self closemenu();
                self closeingamemenu();
    
                if ( level.rankedmatch && issubstr( response, "custom" ) )
                {
    
                }
    
                self.selectedclass = 1;
                self [[ level.class ]]( response );
            }
        }
    }
    
    do_team_change()
    {
    
    	set_team( getotherteam( self.pers["team"] ) );
    
    	if ( !flag( "initial_blackscreen_passed" ) )
    	{
    		self [[ level.spawnplayer ]]();
    	}
    }
    
    
    
    
    
    set_team(team)
    {
        if(team == "just_joined")
        {
            teamplayersallies = countplayers("allies");
            teamplayersaxis = countplayers("axis");
            if(teamplayersallies > teamplayersaxis && !level.isresetting_grief)
            {
                self.team = "axis";
                self.sessionteam = "axis";
                self.pers["team"] = "axis";
                self._encounters_team = "A";
            }
            else if(teamplayersallies < teamplayersaxis && !level.isresetting_grief)
            {
                self.team = "allies";
                self.sessionteam = "allies";
                self.pers["team"] = "allies";
                self._encounters_team = "B";
            }
            else
            {
                self.team = "allies";
                self.sessionteam = "allies";
                self.pers["team"] = "allies";
                self._encounters_team = "B";
            }
        } else 
        {
            if ( team == "axis" )
            {
                self.team = "axis";
                self.sessionteam = "axis";
                self.pers["team"] = "axis";
                self._encounters_team = "A";
                self.characterindex = 0;
            }
            else
            {
                self.team = "allies";
                self.sessionteam = "allies";
                self.pers["team"] = "allies";
                self._encounters_team = "B";
                self.characterindex = 1;
            }
    	self [[ level.givecustomcharacters ]]();
        }
    }
    
    
    // Amateur coder, I just unified and adapted many functions from other codes to make Grief Custom Games more enjoyable
    
    BO2 Modding Releases & Resources

  • Invalid Topic - Issue Has Been Dealt With.
    Nakeroundefined Nakero

    Blaze the cat said in Kiels / Eizekiels: ZTAVERN owner and Serial Scammer:

    Nakero of all the language you could have chosen, you chose to speak in based

    yeah bro its like:

    -"oh no! the owner of a big pluto server banned ppl unfairly"
    -"oh shit dude this can't be true!"

    -"oh no, Malyyz making a giga thread on plutonium forum with screenshots and so much fukng text just to complain"
    -"damn bro that's crazy, who would've guessed?"

    BO2 Client Support

  • Invalid Topic - Issue Has Been Dealt With.
    Nakeroundefined Nakero

    So much overreact here, why argue on chat when u can just 1v1 grief???

    BO2 Client Support

  • [Release] GSC Autocompiler/Fastcompiler for a more convenient gsc modding
    Nakeroundefined Nakero

    is it possible to decompile a script compiled by this program?

    BO2 Modding Releases & Resources

  • PSD file zm knife and knuckles
    Nakeroundefined Nakero

    Someone has the PSD files for combat knife and galvaknuckles in zombies and his iwi files names?

    BO2 Modding Support & Discussion

  • Anyone has a Script for movement speed display on zm?
    Nakeroundefined Nakero

    @Nakero77 https://github.com/Zi0MIX/T6-FIRST-ROOM-FIX/releases/tag/v6.0
    This first room patch display the movmnt speed but changes it also

    BO2 Modding Support & Discussion

  • Anyone has a Script for movement speed display on zm?
    Nakeroundefined Nakero

    Resxt How u can modify a .gsc file? I can't see the code inside

    BO2 Modding Support & Discussion

  • Anyone has a Script for movement speed display on zm?
    Nakeroundefined Nakero

    Anyone knows a .gsc script to display movement speed in time??
    I have found some but they reduce backwards movement speed too for some reason. I want only to see movement speed without changing it lol

    BO2 Modding Support & Discussion

  • [MP & ZM] Random stuff I made for people
    Nakeroundefined Nakero

    Gewehr where i can find the .psd files to customice my own CIA and CDC gloves??

    BO2 Modding Releases & Resources

  • Can't give points to players
    Nakeroundefined Nakero

    JezuzLizard i changed
    self.score+=10000; into player.score+=10000;
    but still getting nothing :(((

    BO2 Modding Support & Discussion

  • Can't give points to players
    Nakeroundefined Nakero

    JezuzLizard didn't undertood tbh, what i need to change exacly?

    inicialize the thread as
    player thread menu_fast_reset();

    ????

    BO2 Modding Support & Discussion

  • Can't give points to players
    Nakeroundefined Nakero

    JezuzLizard since i get the ''close menu'' notify i dont think its a problem with the function, it might be related with the self.score tool

    BO2 Modding Support & Discussion

  • Can't give points to players
    Nakeroundefined Nakero

    JezuzLizard Im new to GSC so correct me if im wrong but menu_fast_reset() is a thread that should be inicialized since i write

    menu thread menu_fast_reset();

    few lines above, right?

    BO2 Modding Support & Discussion

  • Can't give points to players
    Nakeroundefined Nakero

    this is a part from my code where I try to give 10000 points,

    menu_fast_reset()
    {

    for (;;)
    {
            
            self waittill("reset_fast");
            self.score+=10000;
            self notify("close_menu");
    

    }
    }

    When I trigger 'reset_fast' i get the 'close_menu' notify but not the points
    help plzzz

    BO2 Modding Support & Discussion

  • [Source][T6][ZM] Mod Menu Base
    Nakeroundefined Nakero

    Resxt but if I compile the exact same script into a .gsc and add it into the folder is totally ok?
    Thank god i was testing on my black ops 2 from steam at first xD

    BO2 Modding Releases & Resources

  • [Source][T6][ZM] Mod Menu Base
    Nakeroundefined Nakero

    Resxt man u are everywhere hahhaha, yes I could inyect the script, now im trying to understand the code, first i want to change the pop up menu command
    Any idea of a basics tutorial for gsc?

    BO2 Modding Releases & Resources
  • 1
  • 2
  • 1 / 2
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate