Golselect

Weird Questions

Recommended Posts

Hello people. As the title suggests I have some pretty weird questions that I'd like to ask you.

1) Which are the files I can edit to change the crystal you receive from Master Dorak during the jedi training?

2) Which are the files that control the Dantooine's crystal cave formations, where you obtain some saber crystals?

3) In the BoS:SR mod, how could I change revan's blue lightsaber on certain levels of the mod?

Share this post


Link to post
Share on other sites

1. You get to pick which crystal Dorak gives you, but if you're wanting something other than Blue, Yellow, or Green, then you'd need to either edit one of the scripts or add another option to the dialog with a new script.

 

Blue crystal response uses k_pdan_saber12,

Yellow crystal response uses k_pdan_saber14,

Green crystal response uses k_pdan_saber13.

 

These scripts can be found in the dan13_s.rim in KotOR Tool.

 

2. You would need to edit the k_pdan_cryst01, k_pdan_cryst13, k_pdan_cryst14, k_pdan_cryst15, k_pdan_cryst16, and k_pdan_cryst17 scripts in the danm14ae_s.rim in KotOR Tool.

 

3. That would depend on the level, but you could look for a .uti file or something in the level, or try looking at the level's On-Enter script...

 

You will need DeNCS to decompile the scripts. DeNCS should be on starwarsknights.com.

Share this post


Link to post
Share on other sites

Hello Fair Strides. First, thank you for your help :)

Second, I'm having some trouble with the editing of the scripts. DeNCS seems to be failing, i get the "partial-could not recompile" error. Also, ignoring this error I tried to do something, but I don't know what to do with the nss file. It seems it doesn't save my changes.

Third, when I said I wanted to change the crystal Master Dorak gave you, I didn't remember it wasn't the actual crystal you use to build the lightsaber, so I ask you again if you know which script should I edit to achieve this.

Thanks :D

Share this post


Link to post
Share on other sites

If you get that error, right-click on the left window with all the numbers and spaces and select "View Source" or "View Code" or whatever it is.

 

So... You want to know how to change the lightsaber you build?

Share this post


Link to post
Share on other sites

For example, if I choose to be a Jedi Guardian, they give me a blue crystal, right? Then I talk with Zhar and begin to build a lightsaber, and the game goes to the lightsaber upgrade menu where there is a blue lightsaber created, with a normal blue crystal. What I'd like to do is change that normal blue crystal with a different one. Is that possible?

Share this post


Link to post
Share on other sites

Yes, it is possible.

Below is a decompiled "k_pdan_saber16" script:

 

 

  Reveal hidden contents

 

 

Something to keep in mind:

intGLOB_148 = 1 (Guardian)

intGLOB_149 = 2 (Sentinel)

intGLOB_150 = 3 (Consular)

 

stringGLOB_4 = "g_w_lghtsbr01" Blue
stringGLOB_5 = "g_w_lghtsbr03" Yellow
stringGLOB_6 = "g_w_lghtsbr04" Green
 

Share this post


Link to post
Share on other sites

and about the DeNCS issue, i can change into decompiled code, but it doesn't save, or I don't know how to use the nss files

Share this post


Link to post
Share on other sites

The DeNCS is just for decompiling the scripts. You'd need to copy what's in the window and then paste it into KotOR Tool's text editor or there's a Scripting tool in the modding tools section.

 

.nss files are Script source files, but .ncs files are the Script compiled files used by the game.

Share this post


Link to post
Share on other sites

Well, I'll need to know what you've done to the script before I can help. Please post the full script, surrounding it with

  Reveal hidden contents

Share this post


Link to post
Share on other sites

OK I made it :)

The thing is I tried with a modding tool of deadlystream but it didn't work really well. Then I tried with Kotor Tool's one and it finally worked XD

Share this post


Link to post
Share on other sites

KotOR Scripting Tool

BTW, at the crystal cave, how can I change the crystal that pops up from, for example, a crystal formation?

(Not the script files you said, because it changes the crystal it is, but the file that uses those scripts)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.