Jump to content

Home

k_inc_force.nss file


Pyccalo

Recommended Posts

Hello All,

 

I’ve been working on increasing the time that force aura (and all following) works.

 

I found the code in k_inc_force.nss file, but being as it’s an includes file, nwnnsscomp doesn’t work on it. So I dug through the other files and found the k_sp1_generic.nss file. I made my changes to the k_inc_force.nss file:

 

Changed: Sp_ApplyEffects(FALSE, oTarget, 0.0, 1, eLink1, 20.0, eLink2, 3.0);

To: Sp_ApplyEffects(FALSE, oTarget, 0.0, 1, eLink1, 60.0, eLink2, 3.0);

 

I put both of those files (and k_inc_debug.nss) in my Override folder and complied the code. Now when I execute a force power, the character looks like he’s executing a power and his force points go down, but nothing happens. I’m using nwnexplorer to view and export the file and kotorcomp.zip (nwnnsscomp) to compile the code. If anyone has any help, or can point me in the right direction, it would be greatly appreciated.

Link to comment
Share on other sites

After quite a bit of testing, I've decided that command line compiler is bugged.

 

I used it to compile default, unmodified source script files, and the compiled versions neither matched the ones already provided (whcih they should) nor did they work.

 

In fact, the problem you mentioned was one of the things I saw happen myself due to the compiled script being broken =/

 

 

Soooo... I use the NWN Toolset with Jawa's KotOR! mod doohickey to compile scripts, which seems to work perfectly.

 

-Kitty

Link to comment
Share on other sites

Guest bneezy21

I never thought of doing that to the scripts in order to increase the duration of force powers. Can you PLEASE change the Master Valor, Master Speed, and Force Armor to 60 seconds and compile them for me. Send them to bneezy@hotmail.com. Thank you so much in advance.

Link to comment
Share on other sites

I've got the NWN Toolset. I've installed the KOTOR Builder module.

 

This is new to me so a couple questions.

 

1. To get kotor scripts into the NWNtoolset, copy the nss files into NWN\modules\temp0. Can only be done when NWNtoolset is running.

 

2. Mod and compile. Then before shutting down NWNtoolset, copy nss and ncs files out of temp0 and put the ncs files into SWKotOR\Override.

 

This seems to work for me. I was wondering if there was a better less klunky way.

 

Thanks for the help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...