Jump to content

Home

Adding Force Power to Level Up Screen


Star Admiral

Recommended Posts

Title sums it up. I've scripted an hostile force power into K1, tested it, and it works perfectly. The icon/sounds/animation all work fine. The problem is, it does not show up for selection in the level-up screen and even though I have the power, I can't view its description when I look at my character's available powers screen. I did add an entry into the dialog.tlk file, so I'm a little lost.

 

Any clues? Thanks!

 

- Star Admiral

Link to comment
Share on other sites

Ah, this problem. As Istorian said, I did have this problem while me and Ferc were working on the Force Powers Pack. First off, make sure that the tlk entries are made and are labeled correctly in spells.2da. And, for good precaution, start a new game. Its been a while since that mod, and I don't exactly remember how I fixed the problems on my end, but I believe that is what I did.

Also, there was an error in Ferc labeling a script in the 2da file we shared, that made the PC's animation play, but the power didn't play. Make sure that you labeled the script correctly in the 2da file as well.

Link to comment
Share on other sites

Well, here is a copy of my force power, here. Could someone please give a peck at the spells.2da and the dialog.tlk files to see if I'm missing something? It's for K1, by the way.

 

- Star Admiral

 

Ohhh... I see your problem now. Its not a problem with spells.2da, but with the dialog.tlk file. You forgot to put down the prerequisites. Try using it with this .tlk file. (go to your tlk entry that has the description if you want to change the level you can get it at.)

 

If that doesn't work, I don't know what would...

Link to comment
Share on other sites

Here goes, starting from the leftmost side

 

132

FORCE_POWER_FIRE_ERUPTION

49150

49151

0

E

1

****

****

0

0

0

0

6

0x2111

S

ip_storm

k1_force_power

170

up

****

****

****

****

****

****

up

1330

v_con_dark

****

****

v_imp_flame

0

****

0

****

linked

hand

****

path

Fire

1

20

****

****

2

31

****

0x00

0x0000

0x0000

1

****

1

 

The spells.2da is included within the link I posted above.

 

- Star Admiral

Link to comment
Share on other sites

Ah rapidshare doesn't like me <_< :lol:

 

It all looks fine but the category: 0x2111 is similar to Force Storm, which is an attack over all nearby enemies, but you have the 2da row similar to force lightning. I can only suggest that you perhaps change it to suit one and not both. I can only think of that being the problem. Otherwise, regardless of whether or not the script is correct, it should show in the force powers screen.

Link to comment
Share on other sites

Have you tried increasing forcepoints from 0 to 10? 0 may be considered innate. Though it's been a number of years since I did this, I recall having problems like this related to my icon being screwed up.

 

Are there any weird symptoms in-game when testing the force power added via KSE?

Link to comment
Share on other sites

Nope, the power tests out fine. Animation/damages/saves are done correctly. The custom icon and force power name even shows up when I have a target selected and am choosing which one to use. It just refuses to show up in the level-up screen. I can post some screenshots if you like.

 

- Star Admiral

Link to comment
Share on other sites

Got it. It works now. Turns out that in my desire to copy an existing entry, I copied the Force Storm row and changed it to use my custom scripts. The only entry I didn't think to change was the forcepriority one. It apparently has to be set to one less than the value in the pips column, else the game gets confused and thinks there should be a prerequisite power for it. Since there is no prerequisite power for mine, but there is for Force Storm, my power wasn't shown.

 

Thanks to all the people who helped me to figure out this problem. It was much appreciated!

 

- Star Admiral

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...