Jump to content

Home

A few questions.


Recommended Posts

Ok, I just reinstalled the game and have started modding again. A few old problems that I never got around to fixing have once again reared their ugly heads. First, how do I change automatic Force powers. I want to give Jedi characters the Shii-Cho lightsaber form (Form I) at level 5 instead of 10, but I can't figure it out. Second, I modded Hanharr's dialog, but in one line where there was supposed to be no sound, it played the Wookie bellow anyway. It seems that Hanharr makes noise even without a VO file. Third, I made a mod that allows the player to choose cyan and bronze as their Mandalorian-era saber, but to test it would mean playing all the way through Telos and starting all over from Peragus if it doesn't work. Can I warp to the end of Telos, and if so, how? Thanks.

Link to comment
Share on other sites

Ok, I just reinstalled the game and have started modding again. A few old problems that I never got around to fixing have once again reared their ugly heads. First, how do I change automatic Force powers. I want to give Jedi characters the Shii-Cho lightsaber form (Form I) at level 5 instead of 10, but I can't figure it out. Second, I modded Hanharr's dialog, but in one line where there was supposed to be no sound, it played the Wookie bellow anyway. It seems that Hanharr makes noise even without a VO file. Third, I made a mod that allows the player to choose cyan and bronze as their Mandalorian-era saber, but to test it would mean playing all the way through Telos and starting all over from Peragus if it doesn't work. Can I warp to the end of Telos, and if so, how? Thanks.

Hey there, Darth Robinson! :dmaul3:

 

Well, being new to MODding, I can't give you a good answer to your lightsaber form question, other than I think I heard something along these lines before - that the saber forms are hard-coded and can't be cheated or altered - though I am not 100% sure about that one.

 

As for why Hanhaar keeps 'Wookie-talking' you: Also, no clue - though I bet that one of the knowledgeable MODders around here is going to ask you to list a little more detail about which files you MODded in Hanhaar's dialog, so they can get a clearer idea of what is causing this to happen.

 

Ah! One that I can be of assistance with: you MUST play until the point where Atton asks you what happened to your saber (when you first go aboard the Ebon Hawk and are introduced to the galaxy map) - you should save your game right before you talk to him (for the purpose of multiple testing); to test if your MOD works, YOU MUST play to this point - there are a couple of MODs that get you thru Peragus sooner - and on board the 'Hawk. Once you have talked to Atton about your saber (i.e. you tell him what color it was/is), your choice of cyan or bronze should display with the other color selections the game already lists - "It was redder than a laigrek's eye" -or- "It was orange like the sunsets on Hassak" - your MODded options should appear here as well I'd imagine, or how would the MOD work? If you do make it this far, all you have to do after telling Atton what color it is, is warp to Atris' Hidden Academy - to do this you type ~warp262TEL - exactly like that and BAM! You are at the Academy and will be led to Atris where the cutscene with her showing you your old saber. :dsaber:

 

Wish I could be of more help!

 

- DM.005

Link to comment
Share on other sites

Second, I modded Hanharr's dialog, but in one line where there was supposed to be no sound, it played the Wookie bellow anyway. It seems that Hanharr makes noise even without a VO file.
For aliens, the game uses the Emotion field to select a VO file. By default, it is set to a medium generic comment. If you want no voice change it to 'Silence'. The 'Sound Exists' field should be deselected for aliens.

 

In case you want to use some of the other emotions, you should check alienvo.2da first to see if there is a VO file for it. Not every emotion will work for all the different alien races.

Link to comment
Share on other sites

First, how do I change automatic Force powers. I want to give Jedi characters the Shii-Cho lightsaber form (Form I) at level 5 instead of 10, but I can't figure it out.

 

I don't think you can. From what I have been able to determine, the automatic handout of "force powers" (such as the saber/force forms which are implemented as passive powers and the Jedi Master / Sith Lord special powers) is hardcoded, unlike feats.

 

However, if you don't want to alter this granting of powers, only give others at certain levels, you can do it through scripting. You can use GetHitDice() to get the level of a character, and GrantSpell() with the spells.2da line number to give a force power/form to the player or an NPC.

 

 

Third, I made a mod that allows the player to choose cyan and bronze as their Mandalorian-era saber, but to test it would mean playing all the way through Telos and starting all over from Peragus if it doesn't work. Can I warp to the end of Telos, and if so, how?

 

Be careful with warping, since it can cause a lot of trouble when things are done out of the intended sequence at times. Generally speaking it's fairly risky to use for debugging since you don't know which of any potential problems were caused by the warping rather than bugs in the module. :)

 

Anyway, you can use the console to warp. If by the end of Telos you mean the Polar Academy you can use warp 261TEL to jump to just outside it. Or if you mean the scene when you are leaving Telos, with everyone gathered in the main hold, it would be warp 950COR.

 

However, you may want to save yourself some time and simply make a debug script that prints out the values of variables the game use to determine that which saber to use has been set properly in the dialog with Atton. And then another one that sets those values to the ones you want to test before running the scene. That way you won't have to warp or play through the whole of Citadel Station and Telos. The GlobalNumber variables, and the standard meaning of the values are:

 

003EBO_PC_Lightsaber

0 = cyan

1 = red

2 = green

3 = blue

4 = yellow

5 = purple

6 = orange

7 = silver

8 = bronze

9 = viridian

 

003EBO_PC_Hilt

0 = normal

1 = short

2 = doublebladed

Link to comment
Share on other sites

Ah ha! Thanks guys. The Hanharr thing seems pretty simple, I guess I just never tried that before. For the saber form, do you think that if I used a 'GrantSpell()' script that I could just set it to give the Form at a lower level? It's in 'spells.2da', so all I would have to do is find the right number. Probably not going to work, but I thought I would ask.

 

I had actually almost figured out for myself what the variables for the sabers were, except I had 8 for cyan and 10 for bronze. Thanks for posting the variables.

 

Up, up and away!

Link to comment
Share on other sites

For the saber form, do you think that if I used a 'GrantSpell()' script that I could just set it to give the Form at a lower level? It's in 'spells.2da', so all I would have to do is find the right number. Probably not going to work, but I thought I would ask.

 

You can use GrantSpell to give out saber/force-forms to the player (or any other NPC for that matter) whenever you wish. (I use this in modified Combat AI scripts for example to grant saber forms to all lightsaber wielders in the game.)

 

If you want to give out the form earlier it should work to do it this way without any problems. The problem would be to make it appear later, or not be given out at all.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...