Page 1 of 1
Lightsaber Throw [Solved]
Posted: Thu Feb 25, 2010 12:59 pm
by sampip
I was wondering what actually determines the AI heroes to constantly throw their lightsabers? Unless they are up close to you, the only attack they use is lightsaber throw (or force lighting - in Count's and The Emperor's case), it's not too bad but is there any way to just make them do something else? Each hero has two force powers, yet they only ever use one.
Is there anything that can be done about this to make them use both - and use their melee attack a bit more? It's not really important, I was just wondering.
Re: Lightsaber Throw
Posted: Thu Feb 25, 2010 1:11 pm
by kinetosimpetus
Look for an odf that uses TargetPerson and AITargetPerson lines, set them to 1 and AI will now spam away with that power!
You can limit how oftn they are used using overheat, look at any overheating odf.
Re: Lightsaber Throw
Posted: Thu Feb 25, 2010 1:29 pm
by sampip
Hmm, I wonder; is it possible to set the value of AITargetPerson and TargetPerson lines to a value in between 0 and 1 (using a decimal (0.1 - you get the idea)) so they aren't pointlessly spamming them but they aren't just not using them at all. Because if they are both set to 1, I guess they would only spam the first weapon, which happens to be normally lightsaber throw (for those who have it). Is that correct?
If not, the second option seems like a better idea - but I'm really looking for them to use both, which is kinda what the first part of my post points towards. What I'm really looking for is a sensible balance between a number of force powers - not just using 1, even if it does overheat. I suppose you could use both to create what you need.
Re: Lightsaber Throw
Posted: Thu Feb 25, 2010 1:36 pm
by kinetosimpetus
I think the target values are booleans (true/false,1/0)
using just what ive described though, units will use saber throw and push, but i may want to change push, maybe so it affects enemies only, like force pull, and maybe fewer targets or a narrower range.
Re: Lightsaber Throw
Posted: Thu Feb 25, 2010 2:34 pm
by sampip
Oh, ok then, will do that. Thanks for your help!

Re: Lightsaber Throw [Solved]
Posted: Thu Feb 25, 2010 2:47 pm
by kinetosimpetus
No problem
