PDA

View Full Version : Changing a quest reward


oscarksp74
08-14-2009, 06:56 PM
Is there a source script list that contains an account for quest items received? I.E. if I wanted to change the reward as received from Zhar upon cleansing the grove from a Jedi Robe to a Jedi Knight Robe.

none223
08-14-2009, 08:00 PM
I believe that would envolve changing a script saying that after you finish talking with Zhar about that quest, you would get a different robe. Its probably a simple task, but me being an unexperienced modder, thats just what I think you would have to do....

Canderis
08-14-2009, 08:28 PM
/\Yes.

oscarksp74
08-14-2009, 09:15 PM
I understand that part. What I am wondering is if there is a listing of source scripts that would need to changed. Sticking with the Zhar example - what source scripts make up k_pdan_player43.ncs. As I am pretty sure that is the compiled script that affects this example.

Weavel
08-14-2009, 09:31 PM
you need to download dencs and decompile scripts that are called to use in a module.

oscarksp74
08-14-2009, 09:53 PM
Will Kotor Tool always let you know upon compiling if all the required .nss are present? I decompiled k_pdan_player43.ncs, made the change to the item, saved as .nss and then compiled with KT - no errors, got a .ncs output that I put in the Override. However, Zhar is still handing out a regular Jedi Robe.

Canderis
08-14-2009, 10:53 PM
Check the tag.

oscarksp74
08-14-2009, 11:17 PM
Sorry you lost me on that one. Object Tag?

Canderis
08-14-2009, 11:54 PM
Yes. Make sure you have the right object tag.

oscarksp74
08-15-2009, 02:14 AM
It is. Scripts can be changed at any time correct? As in already having entered Dantooine and loaded Zhar's module would have no effect, right?

R2-X2
08-15-2009, 02:28 AM
As far as I know you mustn't have talked to Zhar in this case, if you want the script to work.

none223
08-15-2009, 07:47 AM
The script that I think activates the giving of the robe is k_pdan_jedi24, not k_pdan_player43 (I may be wrong). What you must do is add that script (in kotor tool) where you would like it to activate (ie. the end of the conversation with zhar about cleansing the grove). Its a pretty simple thing, all you must do is put the script in the box that says "run script for this node". :thmbup1:

oscarksp74
08-15-2009, 04:04 PM
The script that houses the actual granted item is k_pdan_zhar03. But you got me on the right track with using KT to trace the dialog nodes to see which script is firing, in this case you have to run all the way out to "END DIALOG" to get the script that grants the actual item.

Thanks all for chiming in with help.