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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Load more then one .Gsc zombie

Load more then one .Gsc zombie

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
14 Posts 6 Posters 800 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • YoggSaronundefined Offline
    YoggSaronundefined Offline
    YoggSaron
    Contributor
    wrote on last edited by
    #2

    I also need this ✋

    1 Reply Last reply
    0
    • Flipk45undefined Offline
      Flipk45undefined Offline
      Flipk45
      wrote on last edited by
      #3

      Me too

      1 Reply Last reply
      0
      • damiano2233undefined damiano2233

        I'm trying to run a zombies server and add more then 1 mod to it I'm using _clientids.gsc for the one mod but how do I load more then 1 mod with combining it all in to that one file. Ive tried to do that and it just brakes the mods so do I have to use specific file names for the other mods?

        mikzyundefined Offline
        mikzyundefined Offline
        mikzy
        Banned
        wrote on last edited by
        #4

        damiano2233 Are you trying to run multiple mods with multiple GSC files, both different names?

        damiano2233undefined 1 Reply Last reply
        0
        • Flipk45undefined Offline
          Flipk45undefined Offline
          Flipk45
          wrote on last edited by
          #5

          Multiple mods with the same _clientids.gsc name. The only way to do it is editing in the code file?

          1 Reply Last reply
          0
          • mikzyundefined mikzy

            damiano2233 Are you trying to run multiple mods with multiple GSC files, both different names?

            damiano2233undefined Offline
            damiano2233undefined Offline
            damiano2233
            wrote on last edited by
            #6

            mikey im trying to run multiple mods with different names but only the one named _clientids.gsc load i dont know what to name the other ones to get them to load

            mikzyundefined 1 Reply Last reply
            0
            • damiano2233undefined damiano2233

              mikey im trying to run multiple mods with different names but only the one named _clientids.gsc load i dont know what to name the other ones to get them to load

              mikzyundefined Offline
              mikzyundefined Offline
              mikzy
              Banned
              wrote on last edited by mikzy
              #7

              damiano2233 _clientids is the main one. I think if you are going to replace other files, you need to recreate what it does.

              For example, maps/mp/gametypes_zm/_scoreboard.gsc can be replaced but before you do, you have to recreate what it does. (https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/patch_zm/maps/mp/gametypes_zm/_scoreboard.gsc)

              So, if you were to replace it, you would keep its original code then modify it. Luckily, for scoreboard, it is only setting dvars so you could honestly just write up something like this for _scoreboard.gsc:
              https://pastebin.com/qqadecLS
              What I did above was rename the original init() to init_scoreboard() and then called it in the new init() i made which is for calling onplayerconnect() then onplayerspawned(). Acknowledge that the init_scoreboard() is still being called.

              damiano2233undefined 2 Replies Last reply
              3
              • mikzyundefined mikzy

                damiano2233 _clientids is the main one. I think if you are going to replace other files, you need to recreate what it does.

                For example, maps/mp/gametypes_zm/_scoreboard.gsc can be replaced but before you do, you have to recreate what it does. (https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/patch_zm/maps/mp/gametypes_zm/_scoreboard.gsc)

                So, if you were to replace it, you would keep its original code then modify it. Luckily, for scoreboard, it is only setting dvars so you could honestly just write up something like this for _scoreboard.gsc:
                https://pastebin.com/qqadecLS
                What I did above was rename the original init() to init_scoreboard() and then called it in the new init() i made which is for calling onplayerconnect() then onplayerspawned(). Acknowledge that the init_scoreboard() is still being called.

                damiano2233undefined Offline
                damiano2233undefined Offline
                damiano2233
                wrote on last edited by
                #8

                mikey so i have to learn how to do gsc scripts if i want to run more then 1 mod

                mikzyundefined 1 Reply Last reply
                0
                • damiano2233undefined damiano2233

                  mikey so i have to learn how to do gsc scripts if i want to run more then 1 mod

                  mikzyundefined Offline
                  mikzyundefined Offline
                  mikzy
                  Banned
                  wrote on last edited by
                  #9

                  damiano2233 Not exactly. You just need to get the source of the mod you want, and then copy it into a new gsc file and make sure you don't break the gsc file in the process (aka, making sure dvars are still getting set). But yeah, learning basic gsc wou ld be benfitial

                  1 Reply Last reply
                  0
                  • Sorexundefined Offline
                    Sorexundefined Offline
                    Sorex
                    Contributor
                    wrote on last edited by
                    #10

                    damiano2233 If you don't need special mods you can just use some base mod that i made for users. On this github there already combined mods to be used on a Server.
                    Github: Mods List

                    damiano2233undefined 1 Reply Last reply
                    0
                    • Sorexundefined Sorex

                      damiano2233 If you don't need special mods you can just use some base mod that i made for users. On this github there already combined mods to be used on a Server.
                      Github: Mods List

                      damiano2233undefined Offline
                      damiano2233undefined Offline
                      damiano2233
                      wrote on last edited by
                      #11

                      Sorex i do like the one you just gave but i have zombies plus atm and just want to add no perk limit to it

                      1 Reply Last reply
                      0
                      • mikzyundefined mikzy

                        damiano2233 _clientids is the main one. I think if you are going to replace other files, you need to recreate what it does.

                        For example, maps/mp/gametypes_zm/_scoreboard.gsc can be replaced but before you do, you have to recreate what it does. (https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/patch_zm/maps/mp/gametypes_zm/_scoreboard.gsc)

                        So, if you were to replace it, you would keep its original code then modify it. Luckily, for scoreboard, it is only setting dvars so you could honestly just write up something like this for _scoreboard.gsc:
                        https://pastebin.com/qqadecLS
                        What I did above was rename the original init() to init_scoreboard() and then called it in the new init() i made which is for calling onplayerconnect() then onplayerspawned(). Acknowledge that the init_scoreboard() is still being called.

                        damiano2233undefined Offline
                        damiano2233undefined Offline
                        damiano2233
                        wrote on last edited by
                        #12

                        mikey would you know how to add a no perk limit to zombies++?
                        if you dont mind taking a look it would be a big help i tried to learn the code but its a bit to confusing for me at the moment with how much i work i don't have much time

                        here are the files for the mod
                        _clientids.gsc: https://pastebin.com/ywQ8xt8F
                        _zm_chugabud.gsc: https://pastebin.com/RL5jx4LJ
                        _zm_powerups.gsc: https://pastebin.com/jNwx1Njf

                        1 Reply Last reply
                        0
                        • mikzyundefined Offline
                          mikzyundefined Offline
                          mikzy
                          Banned
                          wrote on last edited by
                          #13

                          put this in your init() function

                          level.perk_purchase_limit = 9;
                          

                          this makes the perk limit 9.

                          Cahzundefined 1 Reply Last reply
                          0
                          • mikzyundefined mikzy

                            put this in your init() function

                            level.perk_purchase_limit = 9;
                            

                            this makes the perk limit 9.

                            Cahzundefined Offline
                            Cahzundefined Offline
                            Cahz
                            VIP
                            wrote on last edited by
                            #14

                            damiano2233 that's already in Z++ by default...

                            level.perk_purchase_limit = getDvarIntDefault( "perkLimit", 4 );
                            

                            But chances are you didn't add anything into your dedicated_zm.cfg even though it says to use a different one for Z++.
                            Read the information on the Github page for Z++
                            if you had followed directions ENTIRELY, this wouldnt be an issue

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

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