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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Desperately trying to change starting points

Desperately trying to change starting points

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
11 Posts 3 Posters 422 Views 1 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.
  • A Former User? Offline
    A Former User? Offline
    A Former User
    wrote on last edited by
    #1

    Alright, so I want to set a new value for the amount of points you start with whenever you play solo or host a room with friends.
    I tried to compile the stock scripts and JezuzLizard 's "Recompilable-gscs", more specifically a filed named "_zm.gsc" that you can find in their source code on github, but the files cannot be compiled at all (I haven't even made any changes to any file yet, lol), so I'm kinda stuck.
    I have zero coding knowledge and I'm just doing this for fun, so if someone could explain to me how to compile that file or how to write a script like that from scratch I would appreciate it.

    JezuzLizardundefined 1 Reply Last reply
    0
    • A Former User? A Former User

      Alright, so I want to set a new value for the amount of points you start with whenever you play solo or host a room with friends.
      I tried to compile the stock scripts and JezuzLizard 's "Recompilable-gscs", more specifically a filed named "_zm.gsc" that you can find in their source code on github, but the files cannot be compiled at all (I haven't even made any changes to any file yet, lol), so I'm kinda stuck.
      I have zero coding knowledge and I'm just doing this for fun, so if someone could explain to me how to compile that file or how to write a script like that from scratch I would appreciate it.

      JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard
      Plutonium Staff
      wrote on last edited by
      #2

      @Madara-Uchiha586 My repo is outdated you should use this one: https://github.com/plutoniummod/t6-scripts

      Make sure you are using this compiler: https://github.com/xensik/gsc-tool/releases/tag/1.0.379

      A Former User? 1 Reply Last reply
      0
      • JezuzLizardundefined JezuzLizard

        @Madara-Uchiha586 My repo is outdated you should use this one: https://github.com/plutoniummod/t6-scripts

        Make sure you are using this compiler: https://github.com/xensik/gsc-tool/releases/tag/1.0.379

        A Former User? Offline
        A Former User? Offline
        A Former User
        wrote on last edited by
        #3

        JezuzLizard
        gsc-tool.exe is not working, it launches briefly then closes instantly and I get no new files

        JezuzLizardundefined Resxtundefined 2 Replies Last reply
        0
        • A Former User? A Former User

          JezuzLizard
          gsc-tool.exe is not working, it launches briefly then closes instantly and I get no new files

          JezuzLizardundefined Offline
          JezuzLizardundefined Offline
          JezuzLizard
          Plutonium Staff
          wrote on last edited by
          #4

          @Madara-Uchiha586 You have to use a batch file to use it.

          gsc-tool.exe comp t6 scripts
          pause
          

          Make a batch file with that code above and rename the "scripts" parameter to a folder or file you want to compile.

          A Former User? 1 Reply Last reply
          0
          • A Former User? A Former User

            JezuzLizard
            gsc-tool.exe is not working, it launches briefly then closes instantly and I get no new files

            Resxtundefined Offline
            Resxtundefined Offline
            Resxt
            Plutonium Staff
            wrote on last edited by
            #5

            @Madara-Uchiha586 it works just fine. I use it all the time. Could be your antivirus or you use it wrong

            1 Reply Last reply
            0
            • JezuzLizardundefined JezuzLizard

              @Madara-Uchiha586 You have to use a batch file to use it.

              gsc-tool.exe comp t6 scripts
              pause
              

              Make a batch file with that code above and rename the "scripts" parameter to a folder or file you want to compile.

              A Former User? Offline
              A Former User? Offline
              A Former User
              wrote on last edited by A Former User
              #6

              Holy heck, that actually worked!
              Thank you very much, now I can compile the files, I think I was just using an outdated compiler, I just followed the tutorial on plutonium's website and it has a link to download the older compiler.
              Could someone update that tutorial or something?
              Edit: Used this link as reference https://plutonium.pw/docs/modding/loading-mods/

              1 Reply Last reply
              0
              • A Former User? Offline
                A Former User? Offline
                A Former User
                wrote on last edited by
                #7

                uh, now I cannot compile "_zm_perks.gsc", the compiler says "2758:13: illegal break statement".
                I haven't even made any changes yet, any solution for that?

                Resxtundefined 1 Reply Last reply
                0
                • A Former User? A Former User

                  uh, now I cannot compile "_zm_perks.gsc", the compiler says "2758:13: illegal break statement".
                  I haven't even made any changes yet, any solution for that?

                  Resxtundefined Offline
                  Resxtundefined Offline
                  Resxt
                  Plutonium Staff
                  wrote on last edited by
                  #8

                  @Madara-Uchiha586 you need to show the code around this line or provide the file. This simply means you should not have a break here. Could be because there is a return right after for example

                  A Former User? 1 Reply Last reply
                  0
                  • Resxtundefined Resxt

                    @Madara-Uchiha586 you need to show the code around this line or provide the file. This simply means you should not have a break here. Could be because there is a return right after for example

                    A Former User? Offline
                    A Former User? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    Resxt
                    I download the file JezzuzLizard told me to https://github.com/plutoniummod/t6-scripts
                    The file I'm trying to compile is "_zm_perks.gsc", haven't done any changes at all, also I have no idea what a return is or how to fix it, as I'm just trying to compile the file as is with no editing done form my part.

                    JezuzLizardundefined Resxtundefined 2 Replies Last reply
                    0
                    • A Former User? A Former User

                      Resxt
                      I download the file JezzuzLizard told me to https://github.com/plutoniummod/t6-scripts
                      The file I'm trying to compile is "_zm_perks.gsc", haven't done any changes at all, also I have no idea what a return is or how to fix it, as I'm just trying to compile the file as is with no editing done form my part.

                      JezuzLizardundefined Offline
                      JezuzLizardundefined Offline
                      JezuzLizard
                      Plutonium Staff
                      wrote on last edited by
                      #10

                      @Madara-Uchiha586 I think that is a decompiler error so you need to remove the breaks after each return in that switch statement and then the file should compile.

                      1 Reply Last reply
                      0
                      • A Former User? A Former User

                        Resxt
                        I download the file JezzuzLizard told me to https://github.com/plutoniummod/t6-scripts
                        The file I'm trying to compile is "_zm_perks.gsc", haven't done any changes at all, also I have no idea what a return is or how to fix it, as I'm just trying to compile the file as is with no editing done form my part.

                        Resxtundefined Offline
                        Resxtundefined Offline
                        Resxt
                        Plutonium Staff
                        wrote on last edited by
                        #11

                        @Madara-Uchiha586 this is what Jezuz and I are saying.
                        Here there is a return and after a break. The new compiler refuses to compile because of this since a return already breaks the loop afaik.

                        https://github.com/plutoniummod/t6-scripts/blob/main/ZM/Core/maps/mp/zombies/_zm_perks.gsc#L2758
                        In this function simply remove all the break and try again

                        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