I figured that was the script that I need to modify. It is really infuriating that I cannot get the DeNCS or HazardX script compiler-decompiler to work. The only scripting tool that works for me is KotOR script generator v2.1b :rolleyes: :firemad:
This is what the script should look like (snip)
A compiled version of that script is attached below, you'll have to rename it to whatever it's supposed to be called since I don't remember the name of the impact script and I don't have the game available on this machine.
What problem do you have with compiling scripts? I'm using this script compiler (
http://www.algonet.se/~stoffe/kotornsscomp.rar) and it works fine for compiling both KotOR and TSL scripts from what I've seen. Extract it somewhere, put the scripts you wish to compile, along with any include files needed, in the same folder. Then open a command console window (I highly recommend adding opening a command prompt to the folder right-click context menu for this, makes it much quicker) for that folder and just type...
nwnnsscomp.exe -c myscript.nss
...where myscript.nss is the name of the script you want to compile, and a NCS bytecode file should be generated.
(If you have a decent text editor like UltraEdit you can set it up to compile scripts for you at the press of a button as well, and highlight any compilation errors in the code for you.)
I don't remember if you have to extract nwscript.nss in your override folder first.
If you have a non-US version of the game you'll need to, since the one that comes with the game (still) contains errors. At least the UK-english version. :)