PDA

View Full Version : A question regarding Force Powers...


Fred Tetra
09-15-2005, 11:19 AM
I am in the process of fixing a long-standing bug in Kotor Tool's Creature editor that causes a mismapping between force powers named in the list and the Spells.2da file. This presents the opportunity to change a behavior whose usefulness is uncertain: the displaying of "(unused)" items in the list.

There are a number of force powers in Spells.2da that have their Dialog.Tlk index for the name set to nothing ("****"), presumably since they don't seem to be in the game, or at least I have never seen them. A few examples would be WOOKIEE_RAGE_I, II, and III, SPECIAL_ABILITY_WARRIOR_STANCE_XXXX, and FORCE_POWER_REGNERATION_ADVANCED_XXX.

Has anyone seen these in use? If indeed they're not present, I could stop showing "(unused)" entries for them in the editor. This would make the list substantially shorter and easier on the eyes.

The only reason behind keeping them that I could think of would be if someone were altering spells.2da so that those could be used in some way, if not the way the developer intended.

So, to sum up, what I want to know is if it would cause anyone a problem it those "unused" entries were not shown in the Creature editor.

This was posted in the main forum and not in the Kotor Tool thread because the actual question would quickly get lost amongst the replies :)

Det. Bart Lasiter
09-15-2005, 12:14 PM
Although doesn't Hanharr have the WOOKIE_RAGE_xx?

ChAiNz.2da
09-15-2005, 12:21 PM
I put "Yes I need them", but only because I'm not sure if they may provide to be useful in the long run (when / if new discoveries are made)....

I'd hate to ditch them only to find out later on that it might have been a good option to keep open. I think by now most of us know what is/isn't used... or can easily ask on these boards to find out... (just in case)

Again, however.. since I haven't personally used the options... perhaps someone who has may have a better perspective...

Thought I'd at least "roll something out there" for others to ponder ;) hehehe...

Fred Tetra
09-15-2005, 12:29 PM
I suppose I could add an option property to store the preference to show/not show them....

Nur Ab Sal
09-15-2005, 12:35 PM
This would be the best solution, if you ask me.

stoffe
09-15-2005, 07:32 PM
There are a number of force powers in Spells.2da that have their Dialog.Tlk index for the name set to nothing ("****"), presumably since they don't seem to be in the game, or at least I have never seen them. A few examples would be WOOKIEE_RAGE_I, II, and III, SPECIAL_ABILITY_WARRIOR_STANCE_XXXX, and FORCE_POWER_REGNERATION_ADVANCED_XXX.

Has anyone seen these in use? If indeed they're not present, I could stop showing "(unused)" entries for them in the editor. This would make the list substantially shorter and easier on the eyes.


The ones with XXX in their labels are cut ones that no longer have a purpose. Since you can't remove lines from a line number indexed 2da without messing up the indexes of all the following lines they had to leave lots of old junk lines in those files. There is little point in listing those since they do absolutely nothing (except maybe mess up the Combat AI for those lines which still has a category set, since the creature repeatedly tries to use a talent which does nothing, making them just stand there).

Some others are "spells" that are fired when you activate items, such as forearm shields, stims, grenades and rockets. Since they aren't intended to be "learned" by creatures, but used as disposable items, they aren't too useful to list. (In particular since, in the case of grenades, the combat AI freaks out and does nothing but spam their limitless supply of grenades if they have learned one of the grenade "spells". :))

Some others, like the Wookiee Rage and Droid Confusion are "spells" that are fired indirectly by feats, when those are used. While they aren't intended to be learned or fired directly, they can be used that way (even though it looks a bit ugly since you get messagees like "Creature uses Bad StrRef" in the Combat Log).

* * *

Summing up, most of those lines are rather useless and either does nothing or creates problems when used. It may be best not to list those to avoid confusion.

Darkkender
09-16-2005, 12:02 AM
I voted yes just as Chainz.2da did. I also think your solution Fred sounds best. Might I recomend making KT default to not showing the entries and if the user wants to reveal them have them change that setting. Kinda like windows and showing hidden system files.