Hello! New to the Forums! :]
So to get straight to the point, I need some help with modding :/
I don't know where to start.. I have SOME programming language..
Loops, Variables etc.
I already read the GSC scripting basics..
But, I remain with one question :S
So I obviously want to start making my very own mod, I saw lots of mods out here, and looked into the code to learn something from them..
I noticed console commands etc. I get all that.. But, what file do I have to start working in? Like.. How would I be able to enable Lasers easily?
I know this should work (Due the fact I tested it in a mod):
Code:
doLasers()
{
self endon ( "disconnect" );
self endon ( "death" );
self setClientDvar("laserForceOn", 1);
}
Then above that
Code:
init()
{
self thread doLasers()
}
But where would I be putting this..?
I can't just make a random file and put this in, now can I?
Please help :] Thanks
(Also, if there's a link to a Tutorial or something, I appreciate it)