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 23.0k 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.
  • 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
                      • Viren_7undefined Offline
                        Viren_7undefined Offline
                        Viren_7
                        replied to C0NFU510N on last edited by Viren_7
                        #25

                        C0NFU510N nah. although i could add the perks to motd, i remember having some trouble with the afterlife system and the perks.

                        like i said before, i dont play plutonium that much anymore and don't have time to work on this.

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

                          Viren_7 Tried adding it to your code in the file but it didn't work. Maybe there is something else I need to add ?

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

                            coreosiv my bad, it was self.score, not self.points

                            coreosivundefined 2 Replies Last reply
                            1
                            • coreosivundefined Offline
                              coreosivundefined Offline
                              coreosiv
                              replied to Viren_7 on last edited by
                              #28

                              Viren_7 Awesome, it works ! Thank you bro, I am going to try to create a simple script to start with more points, I am very new to coding gsc so it's going to be tough.

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

                                Viren_7 I've tried adding a new perk using the code you gave at the bottom of the first post but something isn't working. I first wrote this :
                                8ba52863-43fd-41ce-806c-ea7f217fe88d-image.png
                                Then I wrote this right aboce the init_custom_map :
                                93777b9c-ec06-47f4-aab8-23b01ee66c12-image.png
                                And I added a perk next to one already existing, but the perk doesn't appear and the game spams me with Angles and positions message on the left :
                                6539034a-3dee-435e-8f48-c6d881e2a5bc-e42bfa50-2593-4c1e-9f2e-aae2a6df102a.gif
                                Any idea why this is happening ? Thanks for your help 😊

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

                                  coreosiv the code i gave allows you to see your current position and angle, which you can then use to add new perks. To add another perk, you need to add the code for that perk and create a perk machine using the perk_machine_system function. Then you need to add it the shader handling under another function which i forgot the name of.

                                  The game spamming angles and positions is to be used for the perk machine system function which requires angles and position as a parameter.

                                  You can then remove the self thread doGetposition to stop the game from spamming you.

                                  1 Reply Last reply
                                  0
                                  • Teknokrattundefined Offline
                                    Teknokrattundefined Offline
                                    Teknokratt
                                    replied to Viren_7 on last edited by
                                    #31

                                    Viren_7 is it only for me or mule kick is not working on buried ?

                                    Toxic_Codingundefined 1 Reply Last reply
                                    0
                                    • Toxic_Codingundefined Offline
                                      Toxic_Codingundefined Offline
                                      Toxic_Coding
                                      replied to Teknokratt on last edited by
                                      #32

                                      Teknokratt Same here, it's not been working on our buried/origin server for few days least so could possibly be bug?

                                      Did have look to see if can find an issue, im gonna see if upping weapon limit from 3 to 4 changes anything.

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

                                        Teknokratt Toxic_Coding I think I have fixed it. I have updated the script at the GitHub repository. Please test it out and let me know if it works.

                                        1 Reply Last reply
                                        0
                                        • Thatoneguyduderundefined Thatoneguyduder referenced this topic on
                                        • jorgelara11undefined Offline
                                          jorgelara11undefined Offline
                                          jorgelara11
                                          wrote on last edited by
                                          #34

                                          how do i put the images of the perk at my game?

                                          anyone can pls help me

                                          jorgelara11undefined 1 Reply Last reply
                                          0

                                          • 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