Player Resource Consortium
Neverwinter Nights => Help => Topic started by: Hillyan84 on February 17, 2010, 05:14:41 AM
-
I don't find some scripts of the prc in my mod.
When i open or compile the prc_onact or the other module events scripts in my mod with prc 3.2, i don't find the include script:
#include "prc_alterations"
#include "inc_leto_prc"
#include "x2_inc_switches"
#include "prc_inc_teleport"
#include "prc_inc_leadersh"
#include "prc_inc_domain"
#include "prc_inc_shifting"
#include "true_inc_trufunc"
#include "prc_craft_inc"
#include "prc_inc_dragsham"
and all the other include of these main scripts.
An american scripter is following my problem with the Dm Crash. We have seen that the problem is in the module events scripts, cause without these scripts, the module does not have dm crash.
Now he has requested me these include scripts and i don't find them; he wants to look at them to see if the bug is in there.
Where can i find those??(they are not in my toolset, cause i've searched them in the edit script box, "all scripts" search and there is no include script; in fact when i compile the toolset tell me that it does not find the include scripts. I think it's important, can you help me?)
Thanks
-
They are in prc_include.hak. By default this hak is not added to modules because it's not needed if you don't change the scripts (and most players don't ;) )
-
xwarren, we have to compile some scripts in my mod, that are the events module scripts.
So, using the prc compiler, it does not find the include file, do you have a solution for this?
If i add the include.hak to my mod, does it solve the problem?
-
You need to extract prc_include.hak somewhere (ie c:\prc_include).
Run the compiler with '-i [path to extracted files]' switch:
nwnnsscomp.exe -i c:\prc_include script_name.nss
Works for me :)
-
Ok, i've done this but it tells me about an error occurred. The compilation does not start
i've written
nwnnsscomp.exe -i C:\NeverwinterNights\NWN\prc_include oda_onactivateit
But it does not work...i've extracted the include file in the folder in the code
-
Is oda_onactivateit in the same dir as nwnnsscomp.exe? If not you need to provide path to it.
ie:
nwnnsscomp.exe -i C:\NeverwinterNights\NWN\prc_include c:\nwn\oda_onactivateit
-
Compiled, thanks^^