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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Where to find useful functions and variables (reference) for GSC?

Where to find useful functions and variables (reference) for GSC?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
3 Posts 2 Posters 406 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.
  • Gangorraundefined Offline
    Gangorraundefined Offline
    Gangorra
    wrote on last edited by
    #1

    Sup, everybody!
    I'm very very happy with this community and already host a brazilian server everyday 🙂 which seems to be making the south american community much more vivid.

    So anyways, I just came across .gsc scripting and I'm nuts to find out where you guys find the useful functions, for example, some of the simple ones:

    self giveweapon( "fiveseven_upgraded_zm" );
    self.score = 500000;
    level.players

    I'm not really findind a list or source containing these anywhere. Can you guys help me to find some or give me some tipos, besides checking some ready scripts??

    Thank you a lot!

    1 Reply Last reply
    0
    • Ox_undefined Offline
      Ox_undefined Offline
      Ox_
      wrote on last edited by
      #2

      More experienced people just remember the stuff from years of experience from earlier cods etc.
      When getting started, just pretty much just Google search for a list of stuff. Looking at what other people have done is also good when getting started.
      Loads of tutorials for gsc found with a Google search as well. Remember that you don't have to search for BO2 gsc, gsc is pretty much the same for all cods. Best documented stuff you'll probably find from earlier cods. Or maybe BO3 since it actually officially supports modding.

      Also don't forget about just studying the actual gscs BO2 runs off.
      It's very good to find new stuff as well.
      You'll find a dump for the decompiled gscs stickied in the BO2 modding section.
      For example that other question you just posted here, "how to find out zombie kills", is solved in like a minute by just searching the word "kills" in patch_zm.
      Personally I use "AstroGrep" to search for text inside the whole dump.

      1 Reply Last reply
      2
      • Gangorraundefined Offline
        Gangorraundefined Offline
        Gangorra
        wrote on last edited by
        #3

        Ox_ said in Where to find useful functions and variables (reference) for GSC?:

        More experienced people just remember the stuff from years of experience from earlier cods etc.
        When getting started, just pretty much just Google search for a list of stuff. Looking at what other people have done is also good when getting started.
        Loads of tutorials for gsc found with a Google search as well. Remember that you don't have to search for BO2 gsc, gsc is pretty much the same for all cods. Best documented stuff you'll probably find from earlier cods. Or maybe BO3 since it actually officially supports modding.

        Also don't forget about just studying the actual gscs BO2 runs off.
        It's very good to find new stuff as well.
        You'll find a dump for the decompiled gscs stickied in the BO2 modding section.
        For example that other question you just posted here, "how to find out zombie kills", is solved in like a minute by just searching the word "kills" in patch_zm.
        Personally I use "AstroGrep" to search for text inside the whole dump.

        Hey, thx for your reply.

        I found "kills" as well but it seems all I could relate was to global stats, not in the "match" itself.

        I'll keep on digging but geez most part of the code is pretty tiresome to read!

        Nice tips, thank you again!

        1 Reply Last reply
        0

        • Login

        • Don't have an account? Register

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