Freedom Reborn

Freedom Force Forums => Scripting Forum => Topic started by: bungs2001 on June 26, 2022, 08:30:26 AM

Title: Making Ai fights More Random
Post by: bungs2001 on June 26, 2022, 08:30:26 AM
Hi All,

I was looking for some tweaks on making ai fight in m25 ai watch mode a little bit more random, i seem to have a lot of grouping in huddles on fights. I didnt know if i had to tweak all my hero files or something :-)
Title: Re: Making Ai fights More Random
Post by: BentonGrey on July 02, 2022, 03:58:18 AM
Yeah, I tend to get that as well.  Presumably if you customize the AI, vary the tactics and the targets, you could cut down on that.  I don't know enough about the subject to give specific advice, I'm afraid.
Title: Re: Making Ai fights More Random
Post by: mac402 on July 02, 2022, 09:57:14 PM
There are several factor deciding on what powers to use. One is the position in the list, the higher up on the list, it will be decided upon first. Another is the priority, the higher it is means it will take precedence over other tactics - these are important for things like spending hero points or other high priority actions. Then is the percentile chance (pct) to use said tactic - this is probably what you want to edit. By default they are either 100% or 50% depending on the tactic. You could lower them so there is less chance of using one tactic just because it is higher on the list.
Title: Re: Making Ai fights More Random
Post by: oktokels on July 05, 2022, 12:20:13 AM
Quote from: bungs2001 on June 26, 2022, 08:30:26 AM
Hi All,

I was looking for some tweaks on making ai fight in m25 ai watch mode a little bit more random, i seem to have a lot of grouping in huddles on fights. I didnt know if i had to tweak all my hero files or something :-)

You need to check the .m25ai files located in the Heroes folder. You can open them with a text editor. Read them very carefully, and you'll eventually be able to understand how to tweak the AI. More info here:

http://ffx.freedomforceforever.com/manual/ai/ai.htm (http://ffx.freedomforceforever.com/manual/ai/ai.htm)
Title: Re: Making Ai fights More Random
Post by: bungs2001 on July 06, 2022, 03:38:04 PM
Hi Guys,

Massive thank you for the input i will have a play and see what happens :-)