Starting to mod - looking for resources
internetexplorer
Join Date: 2011-10-13 Member: 127255Members
in Modding
<div class="IPBDescription">Help!</div>Hi there.
I'm trying to get into doing some LUA modding to play with lerk spores (among other things).
I have lots of programming experience and I do it for my job, so that part isn't hard..what I'm looking for is documentation on the game code.
For instance, I'm trying to make sporeclouds take on the properties of projectiles (to take on player momentum when dropped). I'm reading through a bunch of the different source files (bilebomb, bomb, projectile, projectileclient/server, sporecloud, sporecloudmixin etc), but I'm not quite sure what I'm missing in my stuff yet. What I'd like to know (ideally) is "the bare minimum to make something behave like a projectile cleanly."
<b>Can you guys recommend anything for me to read, or should I just browse through the code and start experimenting?</b>
<b>Also, is there a way for me to change the console output (font size, colour etc)?</b>
(Forgive me if I'm just missing a big button somewhere explaining the introductory stuff)
I'm trying to get into doing some LUA modding to play with lerk spores (among other things).
I have lots of programming experience and I do it for my job, so that part isn't hard..what I'm looking for is documentation on the game code.
For instance, I'm trying to make sporeclouds take on the properties of projectiles (to take on player momentum when dropped). I'm reading through a bunch of the different source files (bilebomb, bomb, projectile, projectileclient/server, sporecloud, sporecloudmixin etc), but I'm not quite sure what I'm missing in my stuff yet. What I'd like to know (ideally) is "the bare minimum to make something behave like a projectile cleanly."
<b>Can you guys recommend anything for me to read, or should I just browse through the code and start experimenting?</b>
<b>Also, is there a way for me to change the console output (font size, colour etc)?</b>
(Forgive me if I'm just missing a big button somewhere explaining the introductory stuff)
Comments
So far what I'm doing is making sporeCloud inherit Projectile and trying to set it up like bile bomb (then take the 'fire' code where it builds and sets the velocity), but I'm a bit vague on how to do that nicely.
As for instructions on the code, there are none :) It's a case of go in and hack around until you figure it out. You can have a look at all the code that's been written by all the other modders so far, but there is no documentation apart from NS2Docs, which hasn't been updated for a while..