luke130697 Posted September 3, 2009 Share Posted September 3, 2009 I need some help i listened to darth333's script compiling tutorial (kotor tool part), i did everything it said but when i clicked compile and typed in its name and saved it said "lookup path set to .......... loaded nwscript.nss from ............ ERROR unable to open input file. Its my first mod and im working hard on it, Please help Link to comment Share on other sites More sharing options...
Godric Volturi Posted September 3, 2009 Share Posted September 3, 2009 Try this... void main() { RemoveAvailableNPC(5); AddAvailableNPCByTemplate(5, "p_byron"); DelayCommand(1.5,ShowPartySelectionGUI()); } because Darth333's is a bit out of date. it uses the void main() { blah blah blah } Though if that doesn't fix it, I will be willing to help you even further. oh and welcome to the forums (and replace p_byron with your recruitment .utc file... ) Link to comment Share on other sites More sharing options...
luke130697 Posted September 4, 2009 Author Share Posted September 4, 2009 the same error happened i think its not the script Link to comment Share on other sites More sharing options...
Achilles Posted September 4, 2009 Share Posted September 4, 2009 Do you have a copy of nwscript.nss in your override folder? Link to comment Share on other sites More sharing options...
Godric Volturi Posted September 5, 2009 Share Posted September 5, 2009 Did you compile it in the same folder as the .nss document? If not then that is your problem, I had the same thing happen to me. Link to comment Share on other sites More sharing options...
luke130697 Posted September 9, 2009 Author Share Posted September 9, 2009 i did that Link to comment Share on other sites More sharing options...
VarsityPuppet Posted September 9, 2009 Share Posted September 9, 2009 pm me your script, I'll take a look at it and see if I can get it to compile. Is it for k1 or k2? Link to comment Share on other sites More sharing options...
Godric Volturi Posted September 10, 2009 Share Posted September 10, 2009 pm me your script, I'll take a look at it and see if I can get it to compile. Is it for k1 or k2? I will too... you can have double help. LOL Link to comment Share on other sites More sharing options...
luke130697 Posted September 13, 2009 Author Share Posted September 13, 2009 ok it is: void main() { RemoveAvailableNPC(2); AddAvailableNPCByTemplate(2, "recruit_repsold"); DelayCommand(1.5,ShowPartySelectionGUI()); } and it is for kotor 1 Link to comment Share on other sites More sharing options...
Godric Volturi Posted September 13, 2009 Share Posted September 13, 2009 This is strange... it let me compile the script... perhaps when you saved it in notepad, did you change the extension to .nss like, did you save the document as (this is an example) rec_republic.nss and then when you compiled and it asked for a name, did you put the same name but with a .ncs extension, such as if you labeled it rec_republic.nss then it would need to be named rec_republic.ncs while you are compiling it. If you still have problems, pm me your email address and I'll send you the source script and the compiled script. :EDIT: I just realized something. You used a massively used (by the game) template. If I were you, I'd make it something unique... I wouldn't use the repsoldier... change it to whatever the name of the new party member is. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.