Final Fantasy Hacktics

Modding => PSX FFT Hacking => Topic started by: Dokurider on June 10, 2020, 07:19:44 pm

Title: AI and AoE ASMs
Post by: Dokurider on June 10, 2020, 07:19:44 pm
Long time no see, FFH. I'm remaking my old ASM thread. This post will contain links to all future ASMs published as well as a current XML of all of my hacks.
Stat and Golem Priority (

Title: Re: AI and AoE ASMs
Post by: Dokurider on June 10, 2020, 08:27:05 pm
(Note to mods: If making a new thread is problematic, feel free to merge it with the old thread or I can do it.)

Stat and Golem Priority Hack

This is a hack that gives the AI code for Stat usage. The rules I implemented go as follows:

I also reworked my old Golem hack to properly divide by current living team units. I also made it as a standalone hack for those who just want the Golem hack.

I had many setbacks making this hack. Finding out that the Priority routine clears out Current Action Data multiple times was heartbreaking in particular. I ended up having to implement a very crude workaround to even make this hack possible. Because of this behavior, I may never be able to make the AI reasonably act against Reactions/Procs. Basically, I'd have to save a copy of Current Action Data for every unit, which is kanji space and calc intensive. There might yet be a glimmer of hope, but I've yet to look into it and it's not a very promising lead either.

Regardless, I hope you enjoy this hack. Feel free to leave questions and comments below as always. Thank you.StatGolemPriority.xmlGolemFixFinal.xml
Title: Re: AI and AoE ASMs
Post by: RavenCurow on August 30, 2020, 04:32:35 am
Hi, I was wanting to use your hack for the arcing aoe range. I was wonder if that hack works well as FFTOrgASM stats there there is a possible load delay issue and if that would be a problem. It also lists that it is attached to an unknown ability flag. Is this one of the blank flags listed in FFTPatcher? If so which one?

Edit: So after trying the ASM I answered most of my questions. The only thing is after trying it I found that it didn't do quite what I expected. I expected in to increase the size of the AOE based on how high the caster is. Instead it increased the AOE size based on how high the tile I was targeting was which wasn't what I expected lol.