Mythos Posted March 27, 2005 Share Posted March 27, 2005 Hi, could I ask for a little help here? I extracted and edited k_inc_force.nss Look what's wrong with the missing attacks of the Marauder Fury and Wookie Rage. And it looks easy (too easy ). The lines are there, just swiched to comment with "//" However the problem is, that I can't compile it. I use nwnnsscomp and it looks like it would work: Compiling: k_inc_force.nss Total Execution time = 70 ms ...but no .ncs file is produced. I tried it without editing the file and it did not work, too. Any idea what I do wrong? Link to comment Share on other sites More sharing options...
stoffe Posted March 27, 2005 Share Posted March 27, 2005 Originally posted by Mythos However the problem is, that I can't compile it. I use nwnnsscomp and it looks like it would work: Compiling: k_inc_force.nss Total Execution time = 70 ms ...but no .ncs file is produced. I tried it without editing the file and it did not work, too. k_inc_force is an include file. Since it contains no main() function you can't compile it. However, the file is used by the script k_sp1_generic.nss which is the one used to trigger the force powers. Recompile that file instead, with your modified k_inc_force.nss in the same folder as the compiler. Then put your new k_sp1_generic.ncs in the override folder and your modifications should take effect. Clarification: An include file is essentially a library of functions that can be included and used by other scripts. They consist only of source code with no compiled NCS counterpart, since the relevant parts of the include file is compiled into the script that uses it. In simple terms, whenever you see an... #include "filename" ...directive in the source code of a script, it essentially tell the compiler "copy the code from filename.nss and insert it here before compiling". Link to comment Share on other sites More sharing options...
Mythos Posted March 27, 2005 Author Share Posted March 27, 2005 Could it really be that easy? Yes, it is, it workes (at least improved fury works, there is still something to check like "does it really not stack with speed burst" and such but for now) it works! Why did they take the extra attacks out? This will make Harnharr a real alternative to Mira and it will allow an armored jedi. This is cool. Thanks to stoffe -mkb-. I knew, that include was used for this but I thought that the inclusions would be used, when the scrips get executet, not, when they get compiled. Of course, it makes sense like that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.