Skip to content

BO2 Modding Support & Discussion

Got modding questions regarding Plutonium T6? Scripts erroring? Request help from the community here. Discuss your modding projects etc.

2.2k Topics 8.7k Posts
  • unhandled exception caught error

    2
    0 Votes
    2 Posts
    67 Views

    We're not redacted.

  • gsc studio not connecting to plutonium

    Locked
    4
    0 Votes
    4 Posts
    869 Views

    GSC Studio is not supported in any way.

  • 0 Votes
    4 Posts
    146 Views
    A Former User?

    The value must be the same for the mod and the config.cfg?

  • help figure out whats wrong with my script code.

    3
    0 Votes
    3 Posts
    582 Views

    LordCurtis Another error is #include maps\mp\zombies_zm_utility; doesn't exist either its actually #include maps\mp\zombies\_zm_utility; both of your errors are caused by this include missing.

    Also it would appear you have used a decompiler to obtain some of my code even though its fully open sourced: https://github.com/JezuzLizard/Public-BO2-Mods/tree/master/MapRestartWorkaround

    Perhaps for future reference don't copy paste code without also double checking it and also try and see if you can find the original source for any given project since many projects posted on the forums generally include full source.

  • how exactly do we turn of depth of field in BO2

    Moved
    6
    0 Votes
    6 Posts
    1k Views

    GOT THE ANSWERS LOL
    http://gmzorz.com/bo2dvars.html
    all commands also
    ctrl+f "dof" all commands on it

  • [Zombies] Don't lose perks when being revived

    8
    0 Votes
    8 Posts
    2k Views

    I got keep all perks workin with cahz's help, but now i need the health settings to work. Player max health doesnt work, and i dont think the jugg health bonus works either.

  • Need help with iw4m

    4
    0 Votes
    4 Posts
    168 Views

    To clear things up, I made a change to only support custom say name if the client supports it. T6 as of now doesn't support it.
    Previously the custom say name would be something like "console: saynamehere: message".
    This was unintended and the change will not append the custom say name if the game client doesn't support sv_sayName

  • Getting other gamemodes and assets loaded in other maps

    3
    0 Votes
    3 Posts
    93 Views

    Cahz alright but can you force load the Mob grief assets to the normal mob and the transit survival stuff to normal transit?

  • sorry i'm french / how to change your name on T6 (black ops 2)

    3
    0 Votes
    3 Posts
    681 Views

    this is also in the readme: https://forum.plutonium.pw/topic/965/bo2-readme

    -Change your name: click the tilde key ~ to open console then type: name <insert your name here> - You MUST change your name to play on public servers or you will be auto-kicked until you do!

  • Add Custom Zombie Speed

    4
    1 Votes
    4 Posts
    314 Views

    JezuzLizard You are the biggest mvp.

  • dose anyone have a base menu with save/load and slide

    1
    0 Votes
    1 Posts
    92 Views
    No one has replied
  • Dedicated Server Mod Menu

    1
    0 Votes
    1 Posts
    230 Views
    No one has replied
  • [Support] Can someone help me with Anti Cheat

    6
    0 Votes
    6 Posts
    380 Views

    First thing first. You will have to edit the metrics to ignore certain IW4x cheat detections such as norecoil (Which is right now false positive on T6. Be sure to unban those if you screw up the stats json) on the StatsPluginSettings.json file and then compile this gsc file. and stick it in your t6r/data/maps/mp/gametypes/ and make sure the filename is called _clientids.gsc

    Here is mine for example

    { "EnableAntiCheat": true, "KillstreakMessages": [], "DeathstreakMessages": [], "RecoilessWeapons": [ "ranger.*_mp", "model1887.*_mp", ".+shotgun.*_mp" ], "TopPlayersMinPlayTime": 10800, "StoreClientKills": false, "DetectionDistributions": null, "ServerDetectionTypes": { "1270014976": [ 2, 3, 5 ] } }

    1270014976 being your IP address and Port on the end. You can use local or the actual IP just Make sure it matches the same IP you have on IW4MAdminSettings.json as well.

    Do not use dot's or : on your IP or you will have a broken json file. that's why they were removed for a reason.

    If you skip this step. You will get false postives for norecoil and some angry players lol

  • [Support] can't get last cooldown to work in game?

    17
    0 Votes
    17 Posts
    529 Views

    Zedkays Dont mind messy code but here's how you would do barrel stuff protection, snipers only, and Last Cooldown.

    On your init, put level.onPlayerDamage = ::onPlayerDamage;

    Then, somewhere in your script, put this.

    onplayerdamage( einflictor, eattacker, idamage, idflags, smeansofdeath, sweapon, vpoint, vdir, shitloc, psoffsettime ) { weaponClass = self getWeaponClass( sweapon ); if(weaponClass == "weapon_sniper") { if((int(distance(self.origin, eattacker.origin)*0.0254) < 20 ) && eattacker.pers["kills"] == 9 ) // barrel stuff protection { iDamage = 0; // barrel stuff protection ON and last = true } else { self.health = 1; /* ^^ It's a Barrel Stuff but since Person isn't on last, we are going to make the Victim's health still 1 so they can get to last. */ if (smeansofdeath != "MOD_SUICIDE" && smeansofdeath != "MOD_TRIGGER_HURT" && ((level.scorelimit - eattacker.pers["kills"]) == 2) ) { eattacker thread onLastReached(); } /* ^^ If Suicide or Trigger_Hurt, the Last Reached thread will not be called. But, if not Suicide or Trigger_Hurt and Person is 1 kill away from last, lets thread the onlastreach (Last Cooldown) to let them know they are at last. */ } } return iDamage; } onLastReached() { self endon( "disconnect" ); self endon( "cooldownSet" ); for(;;) { self freezeControls( true ); self iprintlnbold("Last ^2Cooldown"); wait 1.5; self freezeControls( false ); self notify( "cooldownSet" ); } }
  • [Solved] FontString only in spectator HUD

    1
    0 Votes
    1 Posts
    119 Views
    No one has replied
  • modded main menu

    4
    0 Votes
    4 Posts
    449 Views

    thanks now it works perfectly

  • how to fix t6r/crashdumps/mp/01_05_2020_03_33_56.dmp error?

    2
    0 Votes
    2 Posts
    120 Views

    I have a similar problem, what changes is the file: t6r/crashdumps/mp/01_05_2020_08_01_36.dmp

    Help me too!

  • How spawn PHD or fonction on all maps ?

    2
    0 Votes
    2 Posts
    464 Views

    I think that's not possible. (I'm new to gsc modding)
    I'm trying to do that with flopper perma perks (in vanilla game only available in buried).
    But it doesnt works because, i'm almost sure, the problem is in .ff files that the game load for that map.
    I.E. if you start zm_buried the game will load only certain texture/script files, in wich there's the divetonuke logic and fx.
    So if you try to import the script file on another map (i.e. zm_transit) it will crash, because in the .ff files loaded for tranzit the divetonuke script is not included.

  • Customise default classes

    7
    0 Votes
    7 Posts
    800 Views

    Zedkays Here you can see the topic. you would only have to do for each class in your case.

  • The exact same .gsc makes the server crash on a different PC.

    7
    0 Votes
    7 Posts
    224 Views

    @GangorraAidetica I understand your idea, I explain to you, the price change of the mysterious box as I remember in a published post created a thread for each player, basically it works, but it is not the right thing, since the server will create a thread for each player and here is the point, each player will establish the price of the mystery box, instead the correct way would be to create a level thread and only with a single thread would the price of the box be established for all players and thus be avoided create a thread for each player and redo with threads that do the same and also avoid saturating the server with unnecessary threads. I hope you have explained me.

    Instead, in your case, what you need is to manage the values ​​of kills and deaths of each of the players, for that reason a player thread is necessary. Since the kills and deaths are unique for each player that connects to the server. Unlike the price of the box, a level thread is needed because the box is the same item that will have the same properties for all players.