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

Plutonium

undefined

Nakero

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

Posts

Recent Best Controversial

  • Bo2 Grief mode
    undefined Nakero
    May 21, 2024, 5:45 PM

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


  • Grief in a private match
    undefined Nakero
    May 21, 2024, 5:44 PM

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


  • GRIEF PRIVATE MATCH
    undefined Nakero
    May 21, 2024, 5:41 PM

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


  • Grief Custom Games unified fixes
    undefined Nakero
    May 11, 2024, 9:59 PM

    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
    

  • Invalid Topic - Issue Has Been Dealt With.
    undefined Nakero
    Apr 30, 2024, 2:23 PM

    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?"


  • Invalid Topic - Issue Has Been Dealt With.
    undefined Nakero
    Apr 30, 2024, 2:00 PM

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


  • [Release] GSC Autocompiler/Fastcompiler for a more convenient gsc modding
    undefined Nakero
    Jan 13, 2024, 4:54 PM

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


  • PSD file zm knife and knuckles
    undefined Nakero
    Aug 13, 2023, 7:32 PM

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


  • Anyone has a Script for movement speed display on zm?
    undefined Nakero
    May 19, 2023, 7:05 PM

    @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


  • Anyone has a Script for movement speed display on zm?
    undefined Nakero
    May 19, 2023, 7:04 PM

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


  • Anyone has a Script for movement speed display on zm?
    undefined Nakero
    May 19, 2023, 10:24 AM

    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


  • [MP & ZM] Random stuff I made for people
    undefined Nakero
    Dec 12, 2022, 2:43 PM

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


  • Can't give points to players
    undefined Nakero
    Nov 29, 2022, 11:32 PM

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


  • Can't give points to players
    undefined Nakero
    Nov 29, 2022, 11:49 AM

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

    inicialize the thread as
    player thread menu_fast_reset();

    ????


  • Can't give points to players
    undefined Nakero
    Nov 28, 2022, 3:09 PM

    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


  • Can't give points to players
    undefined Nakero
    Nov 28, 2022, 12:10 PM

    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?


  • Can't give points to players
    undefined Nakero
    Nov 27, 2022, 10:29 PM

    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


  • [Source][T6][ZM] Mod Menu Base
    undefined Nakero
    Nov 27, 2022, 10:19 PM

    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


  • [Source][T6][ZM] Mod Menu Base
    undefined Nakero
    Nov 27, 2022, 2:59 PM

    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?

  • 1 / 1
  • Login

  • Don't have an account? Register

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