Development Tutorial
Viper_two_nine_A
Join Date: 2004-09-29 Member: 31989Members
in Modding
<div class="IPBDescription">Is there any?</div>Hello,
just wanted to ask whether or not there is any development tutorial.
Ive seen <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Modding" target="_blank">http://www.unknownworlds.com/ns2/wiki/index.php/Modding</a> but this does not really help me creating a server side mod.
What I want to do is to play around with AI pathing a little - at least create some AI skulks that attack. Ive seen old source for a bot but obviously the pathing routines have been moved to somewhere else since its last commit.
So what I basically want to know is whether or not reading the source is currently the only possibility to get into it.
As a bonus it would be nice to know how the basic code/test cycle looks like - from what Ive read there should be a really quick and easy way to change the game logic even during runtime. (Anyway this should be mentioned in the above tutorial ;))
just wanted to ask whether or not there is any development tutorial.
Ive seen <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Modding" target="_blank">http://www.unknownworlds.com/ns2/wiki/index.php/Modding</a> but this does not really help me creating a server side mod.
What I want to do is to play around with AI pathing a little - at least create some AI skulks that attack. Ive seen old source for a bot but obviously the pathing routines have been moved to somewhere else since its last commit.
So what I basically want to know is whether or not reading the source is currently the only possibility to get into it.
As a bonus it would be nice to know how the basic code/test cycle looks like - from what Ive read there should be a really quick and easy way to change the game logic even during runtime. (Anyway this should be mentioned in the above tutorial ;))
Comments
Also, the mod beans wiki might become a hub for more of this kind of thing, as we have started to share info between mod projects there.
Also, the mod beans wiki might become a hub for more of this kind of thing, as we have started to share info between mod projects there.<!--QuoteEnd--></div><!--QuoteEEnd-->
Would really appreciate this.
I'm in the early planning stages of a total conversion mod but I'm utterly clueless about how 90% of the codebase works (and a lot of it still seems really unstable between releases)
<a href="http://unknownworlds.com/ns2/forums/index.php?showtopic=115372&st=0&start=0" target="_blank">http://unknownworlds.com/ns2/forums/index....t=0&start=0</a>
Asking question here should work too.
You can edit the code while the game is running. Sometimes it will work directly and sometimes it will not, depends on what code you're editing. Save the file and look at the console in game.
Editing running code (like marine HUD) sometimes break it also, so if you can go to ready room or change team sometimes it fixes the problem.
Having a small test map helps also, because you can reload it much faster (map ns2_testMap in console).
Reading the code is pretty good, but you need to know a bit the basics before it's really useful (like if you want to edit the movement code you need to be clear with the axes, the coordinate system, the angles).
Do you have a link?