Development Tutorial

Viper_two_nine_AViper_two_nine_A Join Date: 2004-09-29 Member: 31989Members
<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 ;))

Comments

  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    Your only resource I am afraid is reading code. However, to your benefit, there are now a lot of mods available, so there are lots of additional code sources to hunt through. But for now at least, it's hunt and be rewarded...
  • MCMLXXXIVMCMLXXXIV Join Date: 2010-04-14 Member: 71400Members
    I'm thinking that when v1.2 of Combat is out and NS2 goes gold I will take a look at writing some modding guides for various kinds of things, as I've run into a lot of the codebase now. It's the least I could do to help others trying to get started!

    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.
  • internetexplorerinternetexplorer Join Date: 2011-10-13 Member: 127255Members
    <!--quoteo(post=1970944:date=Sep 4 2012, 12:56 PM:name=MCMLXXXIV)--><div class='quotetop'>QUOTE (MCMLXXXIV @ Sep 4 2012, 12:56 PM) <a href="index.php?act=findpost&pid=1970944"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'm thinking that when v1.2 of Combat is out and NS2 goes gold I will take a look at writing some modding guides for various kinds of things, as I've run into a lot of the codebase now. It's the least I could do to help others trying to get started!

    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)
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    There is some info on this forum, for example how add wall cling (before is was in):

    <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).
  • tschumanntschumann Australia Join Date: 2010-05-26 Member: 71862Members
    <!--quoteo(post=1970474:date=Sep 4 2012, 02:30 AM:name=Viper_two_nine_A)--><div class='quotetop'>QUOTE (Viper_two_nine_A @ Sep 4 2012, 02:30 AM) <a href="index.php?act=findpost&pid=1970474"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Ive seen old source for a bot but obviously the pathing routines have been moved to somewhere else since its last commit.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Do you have a link?
Sign In or Register to comment.