Jump to content

Home

Script queston?


toro45

Recommended Posts

Is it possible in Kotor 1 to do a script that gives force powers if so what is it?

 

Also the scrpit guide says use

AddMultiClass( CLASS_TYPE_JEDIGUARDIAN, GetObjectByTag("Mission"));

 

could you give me an example of how to turn a pc into a jedi guardian?

Link to comment
Share on other sites

Is it possible in Kotor 1 to do a script that gives force powers if so what is it?

No, the GrantSpell function was only added for TSL. If you want to give it to a non-player character, the best you could do in KotOR would be to DestroyObject on the old NPC and do a CreateObject to recreate the NPC with a different template that has the Force Power you want.

Also the scrpit guide says use

AddMultiClass( CLASS_TYPE_JEDIGUARDIAN, GetObjectByTag("Mission"));

 

could you give me an example of how to turn a pc into a jedi guardian?

void main() {
  AddMultiClass( CLASS_TYPE_JEDIGUARDIAN, GetFirstPC());
}

Link to comment
Share on other sites

It seems the use of Force Powers is hardcoded to only work with the force-using classes. While you could potentially mess with .2da files and get forces power to show up during the leveling process, you still wouldn't be able to use them in game due to the hardcoding. At least that's been my understanding.

 

The work-arounds I've heard about are done by making usable items which cast the force powers on activation.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...