Jump to content

Home

tsl - are the spells that are granted when level up hardcoded?


Nirran

Recommended Posts

If you are talking about how many you get per level up you can alter the spells.2da file to give you more per level up.

 

If you are talking about gaining particular spells when you level up then I think that can be scripted in.

 

I hope that helps :)

 

Eefluxx

Link to comment
Share on other sites

Actually, if you're looking to alter the number of powers per level, you'll need to change the classpowergain.2da file, not the spells.2da.

 

It is also possible to use a script to grant yourself powers; take a look at the GrantSpell() function. As for automatically gaining powers on level-up, such as the lightsaber forms that are given to you, I'm not sure how you would do it. Perhaps someone knows better?

 

- Star Admiral

Link to comment
Share on other sites

ok thnx guys,that begs the question of "global" scripts that are always run,i can use the global variable "G_PC_LEVEL" but i dont know how to have the script checked each level,or better yet constantly checked,i can but stop gags in it

 

edit: taling about saber forms for instance,to clarify

Link to comment
Share on other sites

I know that on every level there is a script that runs call "K_enter_"... somethin' so you could probably use that to do what your trying to do. I'd recommend using the classpowergain.2da though if you just wanna have more powers given to your character every time you level up.

 

You could also add in a script in the actual modules that constantly checks that but it'd be easier to do what has been stated above.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...