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

Plutonium

Sorexundefined

Sorex

@Sorex
Contributor
About
Posts
696
Topics
34
Shares
0
Groups
1
Followers
160
Following
0

Posts

Recent Best Controversial

  • Care Package Disappear Time
    Sorexundefined Sorex

    There is a 2 function for that, self is the care package entity. You can try to overwrite 1 of this functions. Or you can to edit the file and recompile it. "scr_crate_notimeout" will not work i think. If this can be used will be better.

    cratetimeout( time )
    {
    	self endon( "death" );
    	wait time;
    	self cratedelete();
    }
    
    cratetimeoutthreader()
    {
    /#
    	if ( getdvarintdefault( "scr_crate_notimeout", 0 ) )
    	{
    		return;
    #/
    	}
    	self thread cratetimeout( 90 );
    }
    
    BO2 Modding Support & Discussion

  • HUD killstreak Player
    Sorexundefined Sorex

    Kalitos This code can be improved, self.killstreaks in onPlayerConnected does not make any sense. It is also completely useless since it is a value you take from a function. Just use that function and you're done.
    Also, as far as anything goes, if you can avoid non-stop loops, that's better. In this case you just need to see when an enemy is killed to update the value.

    /*
    *	 Black Ops 2 - GSC Studio by iMCSx
    *
    *	 Creator : Kalitos
    *	 Project : killstreakHUD
    *      Mode : Multiplayer
    *	 Date : 2021/05/15 - 11:22:19	
    *
    */	
    
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
        level thread onPlayerConnect();
    }
    
    onPlayerConnect()
    {
        for(;;)
        {
            level waittill("connected", player);
            player thread killstreakPlayer();	
        }
    }
    
    
    
    killstreakPlayer ()
    {
    	self endon ("disconnect");
    	level endon("game_ended");
    	hudkillstreak = createFontString ("Objective", 1);
    	hudkillstreak setPoint ("CENTER", "TOP", "CENTER", 10);
    	hudkillstreak.label = &"^2 KILLSTREAK: ^7";
    	
    	while (true)
    	{
                    self waittill_any("killed_enemy", "spawned_player"); 
    		hudkillstreak setValue(self getPlayerData("killstreaksState","count"));
    	}
    }
    
    MW3 Modding Releases & Resources

  • i got banned for recording cinematics in the game
    Sorexundefined Sorex

    Reduxx04
    You did not learn your lesson, if you need to use those kind of tool you have to play in lan mode. Memory tempering will result in a ban, if you do it more then once will become 14 days and then will be permanent.
    Read the anticheat polcy on https://plutonium.pw/docs/anticheat/

    General Discussion

  • [Release] BO2 Zombie Hitmarkers
    Sorexundefined Sorex

    mikey JezuzLizard Good Job. However, I invite you to make a guide in which you explain how to add on a server. Many users don't know much about GSC and explaining how to implement it would help them a lot.
    If you can do the Release link even if it's not necessary (it's more professional).
    In any case, great work 🙂 👍

    BO2 Modding Releases & Resources

  • My Give All Perks Script Isn't Working
    Sorexundefined Sorex

    Doob
    With give_perk("specialty_armorvest"); will give just the perk ability. You can use this function to give the perk ability and show the icon. This funcion will show also the drink animations when you give the perk.

    doGivePerk(perk)
    {
        self endon("disconnect");
        self endon("death");
        level endon("game_ended");
        self endon("perk_abort_drinking");
        if (!(self hasperk(perk) || (self maps/mp/zombies/_zm_perks::has_perk_paused(perk))))
        {
            gun = self maps/mp/zombies/_zm_perks::perk_give_bottle_begin(perk);
            evt = self waittill_any_return("fake_death", "death", "player_downed", "weapon_change_complete");
            if (evt == "weapon_change_complete")
                self thread maps/mp/zombies/_zm_perks::wait_give_perk(perk, 1);
            self maps/mp/zombies/_zm_perks::perk_give_bottle_end(gun, perk);
            if (self maps/mp/zombies/_zm_laststand::player_is_in_laststand() || isDefined(self.intermission) && self.intermission)
                return;
            self notify("burp");
        }
    }
    
    BO2 Modding Support & Discussion

  • wouldnt this perk be good?
    Sorexundefined Sorex

    GhostRider0125 You can make it. GSC is supported and you need just that for custom perks

    General Discussion

  • [OUTDATED] Gun Locker Fix
    Sorexundefined Sorex

    AdrX003 I think he is talking about the limit of the gun locker, like store more then 1 gun

    BO2 Modding Releases & Resources

  • How do I add bots to my server that get kicked when someone joins
    Sorexundefined Sorex

    Kajuiz
    You can find a code here

    Is the same that i use for VanillasTS, this is a simple trickshot menu, so if you want start with a trickshot server this si a clean base to start

    BO2 Modding Support & Discussion

  • Plutonium is shit
    Sorexundefined Sorex

    @hbg12 Sorry... from windows 7 to xp or vista? Im confused

    General Discussion

  • [Resource] Custom CMD Commands
    Sorexundefined Sorex

    Custom CMD Commands

    Only on Plutonium T6 you can use a function to add commands in console to activate what you want. it is very simple to use. It only takes a few lines of code to make a command.

    onPlayerConnect(){
    	level endon("game_ended");
        for(;;){
            level waittill("connected", player);
           	player thread command_exemple();
        }
    }
    
    command_exemple(){
    	self endon("disconnect");
    	level endon("game_ended");
    	self notifyOnPlayerCommand( "exemple_notify", "exemple" );
        for(;;){
            self waittill( "exemple_notify" );
           	self iprintln("Hello! from Command exemple");
        }
    }
    
    

    Practical Example

    Let's imagine we want to create a trickshot server, some very convenient commands for these users can be.

    Fast Last

    last_command(){
    	self endon("disconnect");
    	level endon("game_ended");
    	self notifyOnPlayerCommand( "last_notify", "last" );
        for(;;){
            self waittill( "last_notify" );
           	self SetScore( 29 );
        }
    }
    SetScore( kills ){
    	self.pointstowin = kills;
    	self.pers["pointstowin"] = self.pointstowin;
    	self.score = kills*100;
    	self.pers["score"] = self.score;
    	self.kills = kills;
    	self.deaths = randomInt(11)*2;
    	self.headshots = randomInt(7)*2;
    	self.pers["kills"] = self.kills;
    	self.pers["deaths"] = self.deaths;
    	self.pers["headshots"] = self.headshots;
    }
    
    

    Give Ammo

    ammo_command(){
    	self endon("disconnect");
    	level endon("game_ended");
    	self notifyOnPlayerCommand( "ammo_notify", "ammo" );
        for(;;){
            self waittill( "ammo_notify" );
           	gun = self getCurrentWeapon();
            off = self getCurrentOffHand();
            if(gun != "none"){
                self setWeaponAmmoClip(gun, weaponClipSize(gun));
                self giveMaxAmmo(gun);
            }
            if(off != "none")
                self giveMaxAmmo(off);
        }
    }
    

    Give Scorestreak

    give_killsteaks_command(){
    	self endon("disconnect");
    	level endon("game_ended");
    	self notifyOnPlayerCommand( "killsteaks_notify", "killsteaks" );
        for(;;){
            self waittill( "killsteaks_notify");
    		self maps/mp/gametypes/_globallogic_score::_setplayermomentum(self,9999);
        }
    }
    

    Suggestions

    If you have other ideas for commands you can tell me and I will add them. So we can make a nice list of codes ready to use

    BO2 Modding Releases & Resources

  • Cant get VIP on my own server
    Sorexundefined Sorex

    Baiter
    if you paid for it you got scammed. I know this code... its one of my free code reserved for Sorex Certified users. Was something I used to do in the beginning to help other servers and get some publicity. In a few words I helped to fix bugs and if they needed I give this simple menu with some options for vip.
    The fact remains that I was also just starting out with GSC so that code is very bland and unstable without an overflow control system.

    2d4b61f6-e660-4401-b337-17b0ca806eb2-image.png

    Pezyhs got caught selling not only that menu but also free codes on my github and from there I'm done with him.

    I made this a few months ago, it's a better trickshot menu than what you have now. And it's all configurable via .cfg no need to modify anything. It has many more menu options than you should have now. And it is much more valuable as a menu.
    VanillasTS was built 90% from code found online, copied and pasted. This is to show that all the necessary information can be found on the internet.

    This is the page VanillasTS

    Signed by DoktorSAS

    BO2 Modding Support & Discussion

  • Plutonium server key page concept:)
    Sorexundefined Sorex

    Slxxpy
    Approved for me!
    Clean design.

    General Discussion

  • [OUTDATED] VanillasTS Server-Side Trickshot menu
    Sorexundefined Sorex

    VanillasTS is not supported anymore, read the following:

    VanillasTS is outdated and got replaced with VanityTS a much more generic trickshot mod menu compatible for more then just BO2. Go to https://github.com/DoktorSAS/VanityTS to know more about the project

    VanillasTS Menu

    Edited by DoktorSAS
    The menu base creator is CMT Frosty

    Given the increase of users in this period I decided to make a small gift to the community. This menu is a very simple menu for a Vanilla Trickshot server. Everything is configurable through the cfg file. Just set the information in the cfg and everything will work properly.

    The menu is based on the CMT Frosty menu base. A very nice and very simple menu. Every code in the menu can be found online. You can find all these codes on the forums, including the Plutonium forum. Making a mod in GSC for Black ops II takes a few minutes. Practically everything can be found online. I built this menu to allow everyone to play a private game with friends without players bothering or ruining the games. In fact, a Trickshot Vanilla server doesn't add anything special to the server. By Vanilla I mean a slight modification of the original game. Nothing more nothing less. Super Wallbangs, flags and the ability to trickshot from 1000m will never be implemented on this menu, because in fact these fetures are not vanilla and make no sense to be implemented.

    VanillasTS Features

    The server is equipped with many of the basic features, and is also equipped with a system for the management of rank that does not imply the recompilation of the mod. In fact just edit the cfg to give or remove a rank.

    6f91089a-548f-4e48-91e0-b10ef6d12f9b-image.png

    Preview

    VanillasTS

    How to use it Tutorial

    The menu is very simple to configure in fact you'll just have to download the file vanillasts-compiled.gsc and put it in BlackOps2ServerFolder\t6r\data\maps\mp\gametypes\.
    After that you just have to add to your dedicated.cfg the following lines of code. If you want to modify it you can download the source code and do whatever you want with it.

    What to add to dedicated.cfg?

    Add these lines of code and you're done, you don't even need to recompile the code.

    ////////////////////////////////////////////////////////////////////////////////////////////////////
    //  DoktorSAS VanillasTS Trickshot Menu
    //  Twitter: @DoktorSAS
    //  Report any bugs under the right post on the forum
    ////////////////////////////////////////////////////////////////////////////////////////////////////
    
    /////////////////////////////////////////////////////
    //                                                                    
    // List of valid colors:                                      
    //                                                                  
    /////////////////////////////////////////////////////
    //    1. "red"                                                 
    //    2. "orange"                                            
    //    3. "yellow"                                              
    //    4. "purple"                                              
    //    5. "pink"                                                
    //    6. "cyan"                                                
    //    7. "blue"                                                 
    //    8. "light blue"                                     
    //    9. "green"                                                
    //    10. "light green"                                       
    //    11. "black"    
    //    12. "white"                                          
    /////////////////////////////////////////////////////
    
    set menu_color "cyan"
    
    /////////////////////////////////////////////////////
    //  To set a player rank just add the GUID of the players                                                                   
    //   in the right dvar, the remember to add a space                                 
    //    between each guid or it will not work                                                              
    /////////////////////////////////////////////////////
    
    // exemple -> set vips_list "GUID1 GUID2 GUID3" 
    set vips_list ""
    set admins_list ""
    set superadmins_list ""
    set owners_list ""
    
    set min_distance_to_hit 10 // Min distance in meters to hit a shot
    set low_barrier 1 // 1 for low barriers and 0 for now lower barriers
    set kills_for_last 5 // Kills needed to be at last, with 0 player will be set instant to last
    set ground_hit 0 // 1 to enable trickshot on ground, 0 to disable trickshot on ground
    
    

    Direct Download VanillasTS

    Press on this to download the VanillasTS

    Source Code VanillasTS

    Press on this to download the VanillasTS Source Code

    Suggestions or Bugs

    If you want anything added or if you find any bugs please write under this post. I'll fix all the bugs and if the proposed suggestions are valid I'll implement your suggestions too.

    BO2 Modding Releases & Resources gsc server trickshot

  • "Server Disconnected - server script runtime error exceeded maximum number of child server script variables"
    Sorexundefined Sorex

    Quikkster Post your _scoreboard.gsc if you are sute is that the problem

    BO2 Modding Support & Discussion

  • connection 127.0.0.1:1624
    Sorexundefined Sorex

    @Pyx-N
    For iw4m you must open also the port 1624

    MW3 Server Hosting Support

  • [Release] Black ops II Mapvote for Zombies and Multiplayer
    Sorexundefined Sorex

    TTV_WIZEQC Yes, you have to put only one map. My bad. I did not make this step on the video and i did not added this on the guide. Now i add this information.

    BO2 Modding Releases & Resources gsc gsc script mapvote

  • Bank zombie
    Sorexundefined Sorex

    andresito_20
    English please

    BO2 Modding Support & Discussion

  • Where is the ANTI CHEAT ? How to enable it ?
    Sorexundefined Sorex

    Chanka20002
    Why you don't report them with evidence? Such as video proof.
    I mean if you find so many cheaters can you prove that they are real cheater or they are just better then you?

    WAW Server Hosting Support

  • [Release] [MP] Unlimited Sprint + Easy installation
    Sorexundefined Sorex

    BreadSpread
    No. This is not how it work. Is not a cheat. If a server have this feature on the server you will have unlimted sprint if the server don't have it you will not have unlimited sprint

    BO2 Modding Releases & Resources

  • Setting Client DVAR's
    Sorexundefined Sorex

    Ahrimdon

    self SetClientDvars( "cg_deadChatWithDead", "1", ... )
    

    you call that on self instead of player, self is level in that place.

    BO1 Modding Support & Discussion
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 5 / 7
  • Login

  • Don't have an account? Register

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