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

Plutonium

  1. Home
  2. WAW Modding Support & Discussion
  3. WaW GSC compiler?

WaW GSC compiler?

Scheduled Pinned Locked Moved WAW Modding Support & Discussion
8 Posts 4 Posters 506 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.
  • undefined Offline
    undefined Offline
    Balrog85
    wrote on Feb 16, 2022, 9:29 AM last edited by Balrog85 Feb 16, 2022, 11:31 AM
    #1

    Is there some kind of WaW-specific GSC compiler or something I can use to check where the syntax errors are in my Zombies server's GSC scripts? I was expecting lots of errors because I've pretty much just copied the GSC from my BO2 servers, but I was expecting to be told where to look to fix them. All I get is "bad syntax" and "see console for details" (even though that's the console telling me that :D). No line numbers or anything.

    The only thing Google is turning up is this xensik / gsc-tool, but there doesn't seem to be a release download with an EXE.

    undefined ? 2 Replies Last reply Feb 16, 2022, 3:27 PM
    0
    • undefined Offline
      undefined Offline
      Dss0 Plutonium Staff
      replied to Balrog85 on Feb 16, 2022, 3:27 PM last edited by
      #2

      Balrog85 waw compiles scripts at runtime and doesn't require pre-compiled scripts like bo2 so there is no standalone compiler for it. Just pasting code from bo2 will 100% not work as many functions that exist in bo2 don't exist in waw. Can you post your script?

      1 Reply Last reply
      0
      • undefined Offline
        undefined Offline
        Balrog85
        wrote on Feb 18, 2022, 9:01 AM last edited by Balrog85 Feb 18, 2022, 11:05 AM
        #3

        Thanks, but it's a pretty big script and will have a lot of things that need modifying to work in WaW. I knew it wouldn't work as it is. I just did it for testing purposes and was hoping it would tell me which line numbers contained errors but it isn't for some reason. I'll probably just brush up on the functions in WaW and rewrite it from scratch.

        And sorry for posting in the wrong forum. I forgot about the modding forums and just did it quickly.

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          replied to Balrog85 on Feb 18, 2022, 10:07 PM last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • undefined Offline
            undefined Offline
            Balrog85
            wrote on Feb 19, 2022, 12:00 PM last edited by
            #5

            Yeah, I tried that and it compiled fine 😄 It's ok, I'm gradually working my way through it, replacing BO2 functions with the WaW equivalents. The file is 1700 lines, so doing it a bit at a time.

            1 Reply Last reply
            0
            • undefined Offline
              undefined Offline
              Balrog85
              wrote on Feb 25, 2022, 10:45 AM last edited by
              #6

              Lol, rookie mistake. Turns out my mystery syntax error was the include lines at the beginning where I'd used forward slashes and it wanted backslashes. Should've been one of the first things I checked :B

              undefined 1 Reply Last reply Feb 25, 2022, 6:07 PM
              0
              • undefined Offline
                undefined Offline
                Soliderror
                replied to Balrog85 on Feb 25, 2022, 6:07 PM last edited by
                #7

                Balrog85 In waw you can use the developer mode to see erorrs in the console. Use Developer 1 to enable dev mode then use devmap to launch any map using the code name and then when it errors in compile you can use shift+~ to pull the console up to see all errors during compile.

                1 Reply Last reply
                0
                • undefined Offline
                  undefined Offline
                  Balrog85
                  wrote on Feb 25, 2022, 9:08 PM last edited by
                  #8

                  Yeah, thanks. I figured out I was missing the developer mode line from my config not long after I made that last post. That's why it wasn't giving me any useful information about the original error.

                  1 Reply Last reply
                  0

                  1/8

                  Feb 16, 2022, 9:29 AM

                  • Login

                  • Don't have an account? Register

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