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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [RELEASE] [ZM] Black Ops 2 Custom Perks

[RELEASE] [ZM] Black Ops 2 Custom Perks

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
50 Posts 32 Posters 20.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Rip_Luciferundefined Offline
    Rip_Luciferundefined Offline
    Rip_Lucifer
    wrote on last edited by
    #5

    yeah. it repeatedly spams in chat that 0 coin collected.

    1 Reply Last reply
    0
    • Ander_121undefined Offline
      Ander_121undefined Offline
      Ander_121
      wrote on last edited by
      #6

      aa0641af-f6d5-419d-ab38-9a1bc4c86389-image.png
      Who can help me how to solve this error or I don't know what it refers to coins found from 0 machines

      1 Reply Last reply
      2
      • Viren_7undefined Offline
        Viren_7undefined Offline
        Viren_7
        wrote on last edited by Viren_7
        #7

        The messages in chat is because I forgot to remove that code before compiling it. If you can compile the script yourself using the uncompiled gsc it should go away. I don't know the new syntax and I don't remember what I used to compile the script before. I'll try looking around and ill update it if I can fix it or find the other compiler.

        As for what its referring to, its referring to how many perk machines you have found coins from. You can find coins from machines by going prone next to them.

        1 Reply Last reply
        0
        • Viren_7undefined Offline
          Viren_7undefined Offline
          Viren_7
          replied to ksmtrx on last edited by Viren_7
          #8

          ksmtrx said in [RELEASE] [ZM] Black Ops 2 Custom Perks:

          Viren_7 can you add for MOTD and Die Rise.
          also i get spam in game like this "0 coin collected
          0 coin collected
          0 coin collected

          I don't know the maps well enough to know where to put the perk machines. I also don't play black ops 2 anymore.
          I have detailed how you could add it yourself at the bottom of the post.

          1 Reply Last reply
          0
          • Viren_7undefined Offline
            Viren_7undefined Offline
            Viren_7
            wrote on last edited by
            #9

            ksmtrx Rip_Lucifer Ander_121 I've updated the script at the GitHub repository and updated it for the new compiler. Placing the GSC file located in the src folder in %localappdata%\Plutonium\storage\t6\scripts\zm should work now.

            1 Reply Last reply
            0
            • FPSSovietRussiaundefined Offline
              FPSSovietRussiaundefined Offline
              FPSSovietRussia
              wrote on last edited by
              #10

              Can I modify the prices of the perks?

              chicken emojiundefined 1 Reply Last reply
              0
              • chicken emojiundefined Offline
                chicken emojiundefined Offline
                chicken emoji
                replied to FPSSovietRussia on last edited by
                #11

                FPSSovietRussia Yes for each perk that the mod adds it calls the function perk_system which has these parameters

                perk_system( script, pos, model, angles, type, sound, name, cost, fx, perk, bottle)
                

                Find the one of the perk you want to change the price of and change the cost argument

                For example:

                perk_system( "script_model", (847, -1037, 120), "zombie_vending_revive_on", ( 0, 326, 0 ), "custom", "mus_perks_sleight_sting", "Downer's Delight", 3000, "revive_light", "Downers_Delight","zombie_perk_bottle_revive" );
                

                Here the cost is 3000 for the perk called "Downer's Delight" you can change the value to change the cost

                1 Reply Last reply
                1
                • DJseanyBundefined Offline
                  DJseanyBundefined Offline
                  DJseanyB
                  wrote on last edited by
                  #12

                  Any issues with rampage making you invincible, or just me

                  1 Reply Last reply
                  0
                  • C0NFU510Nundefined Offline
                    C0NFU510Nundefined Offline
                    C0NFU510N
                    wrote on last edited by
                    #13
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • TheGreatReaperundefined Offline
                      TheGreatReaperundefined Offline
                      TheGreatReaper Contributor
                      wrote on last edited by
                      #14

                      Awesome

                      1 Reply Last reply
                      0
                      • EnriqueZ.Vundefined EnriqueZ.V referenced this topic on
                      • Resxtundefined Offline
                        Resxtundefined Offline
                        Resxt Plutonium Staff
                        wrote on last edited by
                        #15

                        You seem to have declared the same function twice which throws an error
                        https://github.com/Viren070/BO2-Zombies-Custom-Perks/blob/main/src/custom_perk_machines.gsc#L523C1-L523C1
                        https://github.com/Viren070/BO2-Zombies-Custom-Perks/blob/main/src/custom_perk_machines.gsc#L1006

                        See https://forum.plutonium.pw/topic/33655/help-error-mod

                        Viren_7undefined 1 Reply Last reply
                        2
                        • XResident21undefined Offline
                          XResident21undefined Offline
                          XResident21
                          wrote on last edited by
                          #16

                          Yes, it's giving me the same error:
                          [ERROR]:compiler:scripts/zm/custom_perk_machines.gsc:1006:1:funciotn name 'custom_get_player_weapon_limit' already defined as local function

                          Resxtundefined 1 Reply Last reply
                          0
                          • Resxtundefined Offline
                            Resxtundefined Offline
                            Resxt Plutonium Staff
                            replied to XResident21 on last edited by
                            #17

                            XResident21 see the post I linked for a solution

                            1 Reply Last reply
                            1
                            • XResident21undefined Offline
                              XResident21undefined Offline
                              XResident21
                              wrote on last edited by
                              #18

                              It works now, thank you very much ❤ ❤ ❤

                              1 Reply Last reply
                              0
                              • C0NFU510Nundefined Offline
                                C0NFU510Nundefined Offline
                                C0NFU510N
                                wrote on last edited by
                                #19

                                Viren_7 is it possible for you to try add perks to die rise and motd?

                                Viren_7undefined 1 Reply Last reply
                                0
                                • ZioMarkundefined Offline
                                  ZioMarkundefined Offline
                                  ZioMark
                                  wrote on last edited by
                                  #20

                                  b9eb879c-8a2f-4060-b5a6-f809ad634bd3-image.png

                                  1 Reply Last reply
                                  0
                                  • Xerxesundefined Offline
                                    Xerxesundefined Offline
                                    Xerxes Plutonium Staff
                                    wrote on last edited by
                                    #21

                                    just read what already got posted? you don't even need to scroll up

                                    1 Reply Last reply
                                    0
                                    • coreosivundefined Offline
                                      coreosivundefined Offline
                                      coreosiv
                                      replied to Viren_7 on last edited by
                                      #22

                                      Viren_7 I've tried your mod and it's insane ! Thanks you for making it ! I have a quick question tho, how do you start a zombie game with a million points ? Your screeenshots shows that you have like 950000 points xD. Thanks

                                      Viren_7undefined 1 Reply Last reply
                                      0
                                      • Viren_7undefined Offline
                                        Viren_7undefined Offline
                                        Viren_7
                                        replied to Resxt on last edited by
                                        #23

                                        Resxt thanks for pointing that out, ill fix it now.

                                        1 Reply Last reply
                                        0
                                        • Viren_7undefined Offline
                                          Viren_7undefined Offline
                                          Viren_7
                                          replied to coreosiv on last edited by Viren_7
                                          #24

                                          coreosiv Thanks. I'm not too sure, but it might have been self.points = 99999 on the onPlayerSpawned function
                                          79ac807e-59b1-490a-bad4-ec6394b4c426-image.png

                                          coreosivundefined 1 Reply Last reply
                                          1

                                          • 1
                                          • 2
                                          • 3
                                          • Login

                                          • Don't have an account? Register

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