Where to find useful functions and variables (reference) for GSC?
-
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.playersI'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!
-
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" inpatch_zm
.
Personally I use "AstroGrep" to search for text inside the whole dump. -
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" inpatch_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!