PDA

View Full Version : Force Confusion on multiple targets?


darthfate
09-27-2006, 07:07 PM
when playin through the game, i got quite annoyed when i used mind confusion and i could only use it on 1 enemy. is there any way to take this restriction off in spells.2da?

stoffe
09-28-2006, 06:46 AM
when playin through the game, i got quite annoyed when i used mind confusion and i could only use it on 1 enemy. is there any way to take this restriction off in spells.2da?

No, not in spells.2da; this behavior is determined in the impact script of the force power. That script sets a global when Force Confusion is used, 000_Human_Conf_Active,which will make the script behave as Mind Trick instead while it's set. (The game engine unsets this variable internally when the Confusion power expires.)

If it was made this way for balancing reasons only, and not for some technical reason, it should be enough to comment out this check in the impact script to allow Confusion to be active on multiple enemies at the same time.

darthfate
09-28-2006, 01:48 PM
whre do i find this script?

stoffe
09-29-2006, 08:03 AM
whre do i find this script?

The source script is called k_sp1_generic.nss, but the actual code is found in the k_inc_force.nss include file. You can find both in scripts.bif with KotorTool. Remember that changes to k_inc_force won't take effect unless you recompile k_sp1_generic afterwards.