shosey Posted April 7, 2004 Share Posted April 7, 2004 Ok, I know several programming languages so this shouldn't be that hard for me. Now, how do I get started. Is there source code that you extract with kotor? Or, do you have to decompile it somehow. any help would be appreciated in getting me started thanks in advance. Link to comment Share on other sites More sharing options...
Darth333 Posted April 7, 2004 Share Posted April 7, 2004 I'm probably not the best person to answer this but you will find useful stuff in the nwscript.nss file. Link to comment Share on other sites More sharing options...
thegoryone Posted April 7, 2004 Share Posted April 7, 2004 I haven't really looked into it but it looks like C++ to me. Which is no use at all as when it comes to OO languages I only know Java and PHP (yes its OO people, its not just for dodgy web apps). Link to comment Share on other sites More sharing options...
tk102 Posted April 7, 2004 Share Posted April 7, 2004 If you learn well by example, take a look at scripts.bif -- it contains a good collection of script sources used by the game, including nwscript.nss which is the function decalaration script for swkotor.exe. For external resources, take a look at T7's sticky post -- he has a link to NWN Scripting Forum which contains numerous tutorials. Also of note is NWN Lexicon which a user's reference for scripting NWN. Not all the functions available to NWN are available to KotOR and vice versa, but it does give some extra commentary and information on data types that nwscript.nss doesn't provide. Link to comment Share on other sites More sharing options...
shosey Posted April 8, 2004 Author Share Posted April 8, 2004 what do I use to compile?? Will gcc work fine? Link to comment Share on other sites More sharing options...
tk102 Posted April 8, 2004 Share Posted April 8, 2004 You'll need to download HazardX's Script Compiler (nwnnsscomp.exe). It's command line. The link for it is available on Kitty Kitty's sticky thread. Btw, scripting is a lot of fun and is where almost all the power of the game is. Have fun and post screenshots. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.