Darth Balor Posted April 3, 2007 Share Posted April 3, 2007 I have a few questions about force powers, FP scripts and granting them via completing a quest or the like for K1. 1. How when making a multiple tear power would I increase the damage dealt or health restored? 2. What would make a FP script not compile. (I would like a more experienced scripter to look at my scripts and tell me what needs fixing, I can post them here if need be.) 3. Is it possible to to grant a force power after completing a certain part of the game? And not have the power show up on the selection menu and have powers restricted to certain jedi classes? 4. Would it be illegal to use FP icons from TSL in KotOR? Link to comment Share on other sites More sharing options...
RedHawke Posted April 3, 2007 Share Posted April 3, 2007 4. Would it be illegal to use FP icons from TSL in KotOR? This one is a yes... that is porting and is verboten. Link to comment Share on other sites More sharing options...
darthriddick Posted April 3, 2007 Share Posted April 3, 2007 although for something as simple as force power icons, I'm sure using a TSL icon as a "template" would be ok. (using the TSL icon as a back, in say, photo shop, and then changing it so that it no longer resembles the original.) Link to comment Share on other sites More sharing options...
stoffe Posted April 3, 2007 Share Posted April 3, 2007 1. How when making a multiple tear power would I increase the damage dealt or health restored? Make three new force powers as usual, then set the forcefriendly column (for untargeted buff/heal powers) or the forcehostile column (for targeted offensive powers) to the same number for all three powers. Make sure that number isn't already used for other force powers. This will group them together in the same "family". Then set the forcepriority column to 0 for the first/least power in the "family", 1 for the middle one and 2 for the most powerful one. Likewise in the pips column set it to 1 for the first/least power, 2 for the middle one and 3 for the most powerful/rightmost power. Also in the prerequisites column set the value of the weakest power in the family to ****, the middle power to the line number of the weakest power, and the strongest power to the line number of the middle power. Finally in the impactscript column set the name of three different NCS files with the impact script for your powers. You can them write this script separately for each power to make them do different things. (Technically you could use the same impact script for all three powers and check the spells.2da line number of the power used with GetSpellId() to determine what to do, but personally I think it's easier to keep things separated.) 2. What would make a FP script not compile. (I would like a more experienced scripter to look at my scripts and tell me what needs fixing, I can post them here if need be.) Syntax errors most often, unless you've been copy&pasting snippets of different scripts without knowing how they'd fit together. Scripts are so dynamic in their structure that pretty much anything could go wrong and prevent a script from compiling, so it's hard to say what it might be without more information. 3. Is it possible to to grant a force power after completing a certain part of the game? And not have the power show up on the selection menu and have powers restricted to certain jedi classes? As far as I am aware you can't give out Force Powers or Feats in KOTOR1, those scripting functions were added in KOTOR2:TSL. Thus the player would have to pick your new powers at level up. 4. Would it be illegal to use FP icons from TSL in KotOR? Porting assets between different games isn't allowed in this modding community (unless those assets are from a mod created for that game, and you have the original mod author's permission to use it). Link to comment Share on other sites More sharing options...
Darth Balor Posted April 3, 2007 Author Share Posted April 3, 2007 As far as I am aware you can't give out Force Powers or Feats in KOTOR1, those scripting functions were added in KOTOR2:TSL. Thus the player would have to pick your new powers at level up. So I could have the power become available for selection after the choice on the temple summit? Link to comment Share on other sites More sharing options...
Gargoyle King Posted April 6, 2007 Share Posted April 6, 2007 So I could have the power become available for selection after the choice on the temple summit? Like Stoffe said: As far as I am aware you can't give out Force Powers or Feats in KOTOR1, those scripting functions were added in KOTOR2:TSL. Thus the player would have to pick your new powers at level up. You are essentially repeating your question; for the power to become available, you need feat points that are only given upon a level-up of a character. This would, like Stoffe mentioned be possible in Kotor 2, but in Kotor 1, powers would only become available through general levelling up of the character. Also, you can't choose which force power to be unlocked in the learning slots, the game tends to have its own order in this respect. I say 'tends' to as if you want to get force powers for your characers the easy way without scripting hassle, just use the KSE!! Link to comment Share on other sites More sharing options...
Darth Balor Posted April 7, 2007 Author Share Posted April 7, 2007 Yuo mis-understood my quesio the second time. Link to comment Share on other sites More sharing options...
stoffe Posted April 7, 2007 Share Posted April 7, 2007 So I could have the power become available for selection after the choice on the temple summit? I don't think you can limit when a force power becomes available to pick at level up other than the level requirement of it. While you wouldn't be able to prevent the player from getting the power early if they level up quickly, you could alter its impact script to add in a condition check for the global variable set after that scene, and if it isn't set make the power fizzle. Link to comment Share on other sites More sharing options...
Darth Balor Posted April 7, 2007 Author Share Posted April 7, 2007 ahh ok. Link to comment Share on other sites More sharing options...
Gargoyle King Posted April 7, 2007 Share Posted April 7, 2007 Yuo mis-understood my quesio the second time. Oops, my bad - it seemed i did! Just my noob tendancies getting to me! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.