Allronix Posted April 13, 2010 Share Posted April 13, 2010 OK. 1. I am using KOTOR Tool to compile my script. 2. I have written it up as void main() { object oPC=GetFirstPC(); AddMutliClass(CLASS_TYPE_JEDICONSULAR,oPC); GiveXPToCreature(oPC,1000); } A very simple Padawan mod script. 3. I save this as "makeconsular.nss" 4. I select "Script is for KOTOR 1" 5. I hit F5 to compile. Error message: Lookup path root set to c:\Program files\LucasArts\SWKotOR. Error: Could not initialize the NwnStdLoader My installation path is actually C:\Program Files (x86)\LucasArts\Star Wars Knights of The Old Republic I went under KOTOR Tool's file menu and hit Manage paths. ALL the paths are set up correctly. I tried a source script I know worked (one of RedHawke's) and tried running the compiler to rule out bad scripting on my part. Still no luck. What is wrong, and how can it be fixed? Any way to steer this thing in the right direction so I can compile scripts? Link to comment Share on other sites More sharing options...
Darth333 Posted April 13, 2010 Share Posted April 13, 2010 I am more than rusty with this and some one else is likely to be more helpful...so this is just a wild ( and likely wrong) guess but did you enabled the "view extensions" option in Windows: http://www.lucasforums.com/showpost.php?p=1745922&postcount=2 If not, there are other options: http://www.lucasforums.com/showthread.php?t=143681 Link to comment Share on other sites More sharing options...
Allronix Posted April 13, 2010 Author Share Posted April 13, 2010 "Hide extensions of known file types" is unchecked. I checked the other methods listed and quickly got confused. Maybe backing up my mods, uninstalling, and reinstalling might fix it? Link to comment Share on other sites More sharing options...
ChAiNz.2da Posted April 14, 2010 Share Posted April 14, 2010 Error message: Quote: Lookup path root set to c:\Program files\LucasArts\SWKotOR. Error: Could not initialize the NwnStdLoader My installation path is actually C:\Program Files (x86)\LucasArts\Star Wars Knights of The Old Republic I went under KOTOR Tool's file menu and hit Manage paths. ALL the paths are set up correctly. Vista or Win7? Not sure, but I seem to remember there are underlying permission problems when trying to write to/overwrite/change files in the (x86) folder. I know when modding Oblivion, this was the first thing you always checked for. You could always try installing K1 to it's own directory NOT in the (x86) folder. Might be worth a shot. Link to comment Share on other sites More sharing options...
Allronix Posted April 14, 2010 Author Share Posted April 14, 2010 Windows 7. And this fits in with the "back up the mods/uninstall/reinstall" idea. I'll try that next. Link to comment Share on other sites More sharing options...
harIII Posted April 14, 2010 Share Posted April 14, 2010 Here's an easy check, make sure that you have a file in the override folder called "nwscript.nss." It is the script that allows you to perform all the functions in KOTOR. Link to comment Share on other sites More sharing options...
Hope Estheim Posted April 14, 2010 Share Posted April 14, 2010 void main() { object oPC=GetFirstPC(); AddMutliClass(CLASS_TYPE_JEDICONSULAR,oPC); GiveXPToCreature(oPC,1000); } try that... because this script: void main() { object oPC=GetFirstPC(); AddMutliClass(CLASS_TYPE_JEDICONSULAR,oPC); GiveXPToCreature(oPC,1000); } wouldn't compile for me then I moved the { after void main() down one notch and it compiled for me Link to comment Share on other sites More sharing options...
Star Admiral Posted April 14, 2010 Share Posted April 14, 2010 Haven't had a problem with this, and I also use Win7 x64. Try running KOTOR Tool as an administrator and check if the program still looks in the correct folder for your K1 and TSL installations. If that fails, look at the settings.xml file in the folder you installed KOTOR Tool in and check the <defaultKotORLocation> and the <defaultKotORLocation2> tags to see if the location is set correctly. - Star Admiral Link to comment Share on other sites More sharing options...
Allronix Posted April 14, 2010 Author Share Posted April 14, 2010 It appears that uninstalling it and reinstalling it solved the trouble. Now, to get all these lovely mods talking to one another. Link to comment Share on other sites More sharing options...
Hope Estheim Posted April 14, 2010 Share Posted April 14, 2010 It appears that uninstalling it and reinstalling it solved the trouble. Now, to get all these lovely mods talking to one another. Hmmm.. well at least you got it fixed I would have helped as much as I can... because I've had other things like that happen to me and it frustrated me to no ends... and no one wanted to help me (before I registered here... lol at the time I didn't even know these forums existed lol) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.