I've been messing around with scripts recently and I seem to have come upon a problem. I'm not sure if I've edited the wrong script or if my code is off, but I can't seem to get an object to spawn whenever I enter a module. Which script should I modify? For Citadel Station, for example, I edited the k_203_tel_enter file.
And where did all the dialog files go? I have no problem in locating the dlg files for each of the party members, but the module-specific ones are not evident.
Thanks!
- Star Admiral
And where did all the dialog files go? I have no problem in locating the dlg files for each of the party members, but the module-specific ones are not evident.
Dialogs are in KotOR II/ERFs/modules/module name_dlg.erf.
I've been messing around with scripts recently and I seem to have come upon a problem. I'm not sure if I've edited the wrong script or if my code is off, but I can't seem to get an object to spawn whenever I enter a module. Which script should I modify? For Citadel Station, for example, I edited the k_203_tel_enter file.
Hard to say what could be wrong without knowing what you've done. If you can't figure it out you could post your script here so people can have a look at it and see if it looks correct.
Where did you put your modified k_203_tel_enter.ncs file? You could try adding a feedback log debug printout to the script to see if it runs at all. Helps to narrow down if there is something wrong with the script itself or if the game just isn't using it.
Add something like...
DelayCommand(4.0, SendMessageToPC(GetPartyLeader(), "MY SCRIPT IS RUNNING!"));
...to the part of the script you've made changes to. Then transition into the area and check the feedback log (under the journal screen) to see if the text string (MY SCRIPT IS RUNNING!) is shown there.