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.1k Topics 7.8k Posts
  • 0 Votes
    3 Posts
    248 Views

    Locked as he solved his issue and explained further so other people who have this issue can fix it.

  • [Question] Map Making

    2
    0 Votes
    2 Posts
    63 Views

    It's not as simple as you think and there are no tools to do this.

  • Edit files in "player" folder

    3
    0 Votes
    3 Posts
    566 Views

    Cahz This is the first thing we thought to do, but the problem is that the ee is a bit frustrating to complete so i was looking for an alternative solution befor try to do it again 😂

  • question on making a simple gsc code for "reserved slots"

    8
    0 Votes
    8 Posts
    191 Views

    not really but okay and besides i think i found a fix for the way imma do it now

  • Can you run menus on zombie custom or solo games

    3
    0 Votes
    3 Posts
    268 Views

    gsc injector of mod menu

    works , i tried

  • [Resource] Weapons and attachments restriction !Code

    9
    0 Votes
    9 Posts
    1k Views

    Kalitos

    finally getting time to try to test this stuff out.

    I had created that thread I linked above ( https://forum.plutonium.pw/topic/1121/removing-mms-target-finder-attachments-bo2/2?_=1587664126629 ) - before I found your thread and replied to it. since then TheHiddenHour posted there.

    Trying not to double ask the same questions on both threads to keep things more simple. If you wouldnt mind / have time if to post on there, I would be grateful.

    Thank you!

  • How to unlock all skins/camos for weapons ?

    2
    1 Votes
    2 Posts
    833 Views

    Literally on the main menu

  • 0 Votes
    1 Posts
    71 Views
    No one has replied
  • ADS sensitivity

    1
    11 Votes
    1 Posts
    643 Views
    No one has replied
  • Where to find useful functions and variables (reference) for GSC?

    3
    0 Votes
    3 Posts
    262 Views

    Ox_ said in Where to find useful functions and variables (reference) for GSC?:

    More experienced people just remember the stuff from years of experience from earlier cods etc.
    When getting started, just pretty much just Google search for a list of stuff. Looking at what other people have done is also good when getting started.
    Loads of tutorials for gsc found with a Google search as well. Remember that you don't have to search for BO2 gsc, gsc is pretty much the same for all cods. Best documented stuff you'll probably find from earlier cods. Or maybe BO3 since it actually officially supports modding.

    Also don't forget about just studying the actual gscs BO2 runs off.
    It's very good to find new stuff as well.
    You'll find a dump for the decompiled gscs stickied in the BO2 modding section.
    For example that other question you just posted here, "how to find out zombie kills", is solved in like a minute by just searching the word "kills" in patch_zm.
    Personally I use "AstroGrep" to search for text inside the whole dump.

    Hey, thx for your reply.

    I found "kills" as well but it seems all I could relate was to global stats, not in the "match" itself.

    I'll keep on digging but geez most part of the code is pretty tiresome to read!

    Nice tips, thank you again!

  • Zombies self.kills?

    2
    0 Votes
    2 Posts
    73 Views

    Should be stored in player.pers["kills"].

  • Help me please

    2
    0 Votes
    2 Posts
    217 Views

    chorchi175 Just use notepad++ or Atom to edit gsc files Have anymore questions add me on Discord: Ashton Biehl#6969

  • Screen Refresh Rate

    7
    0 Votes
    7 Posts
    502 Views

    ras go into properties, there it will show you the refresh rate.

  • Custom games

    2
    0 Votes
    2 Posts
    163 Views

    You can't.

  • [Support] VIP Dvar system

    4
    0 Votes
    4 Posts
    205 Views

    -solved

  • [Support] Can you set DVAR so players have VIP when map changes?

    11
    0 Votes
    11 Posts
    351 Views

    mikzy that is absolutely correct. I didn't think it would work, but it does

  • [Zombies] Get Secondary/Next Weapon Name/ID

    2
    0 Votes
    2 Posts
    341 Views

    I was able to find the function that does this!

    If someone is interested in using it, follow the code I made:

    changeRound() { for(;;) { level waittill( "end_of_round" ); // "start_of_round" works too wait 0.1; allWeapons = primaryWeapons(); if( level.round_number > 0 && isDefined(allWeapons) ) { i = 0; while ( i < allWeapons.size ) { self setweaponammoclip( allWeapons[i], weaponclipsize( allWeapons[i] ) ); self givemaxammo( allWeapons[i] ); i++; } iprintln( "Voce mereceu, toma aqui seu ^2Max Ammo ^1<3" ); } } } primaryWeapons() { primaryWeapons = self getweaponslistprimaries(); if( primaryWeapons.size > 0 ) { return primaryWeapons; } else { return; } }

    Basically, in this code created, at the end of the round the player get max ammo. It can be used when starting the round too, just change the "end_of_round" for "start_of_round".

    The function responsible for getting the names of the weapons is

    self getweaponslistprimaries ();

    returning an array with the names of weapons.

  • onplayercommand gsc code

    5
    0 Votes
    5 Posts
    345 Views

    Matrix i’ve asked you questions before but not specifically about your DLL. i just had a theory that a DLL was used to make that work. Some kid was leaking ur shit in a discord server

  • Get the player's ping !Help

    4
    0 Votes
    4 Posts
    79 Views

    I doubt it is exposed to GSC, but maybe you are lucky and it is in self.pers

  • Loading GSC Scripts [Help]

    4
    0 Votes
    4 Posts
    318 Views

    Sorex a big thank you! I found out how to open the menu. 🙂