Final Fantasy Hacktics

Modding => PSX FFT Hacking => Topic started by: Xifanie on August 09, 2015, 06:16:51 am

Title: Ability Requirement Hack 2 - Code it yourself!
Post by: Xifanie on August 09, 2015, 06:16:51 am
Ability Requirement Hack 2
The infamous ARH comes back, better than ever!
Upgraded from v1.1


Requires Excel 2007+


Code it yourself!

[indent=2]ARH2 removed all tables and you are pretty much forced to ASM in the requirements that you want. It is, however, as friendly as possible for coding that I could think/manage inside of Excel's limitations. Why did I do this? People kept requesting different things for the ARH, and ultimately, bending to everyone's needs would have created needlessly huge data tables, consuming absurd amounts of space when most people hardly use any of the ARH's capabilities. Now with all that junk gone, the ARH was trimmed down from the equivalent of 831 Kanji space lines, down to ~350 Kanji lines + 22 SCUS lines, including major upgrades.[/indent]


A Bonus Abilities skillset

[indent=2]Its main new feature is a skillset innate to every unit in the game, the "Bonus" skillset, which can contain ANY regular action ability in the game (i.e. not chemist/draw out/charge type abilities). All you have to do is configure the requirements for those abilities.[/indent]
(http://xifanie.ffhacktics.com/ARH2/SCUS_942.21_09082015_055254_0070.png)



Available AI abilities recalculated on new turns

[indent=2]Before, the only way these could be recalculated was if the unit used equip change or had a piece of equipment stolen/broken. Now, at the start of every turn, and during them, abilities recalculate their conditions, so that requirements of status based nature and the like aren't Player only abilities anymore.[/indent]


Vanilla requirements are already coded in!

[indent=2]This probably isn't a consolation to many people, but Swordskills and Limit Breaks have their requirements already set up like they were in vanilla. If anything, at least it shows you how to code it yourself.[/indent]


Some custom routines just for you~

[indent=2]Just use some very convenient routines that I made myself to very quickly determine if an ability will be enabled or not. I figured other routines were pointless due to how few lines they would actually require without much complexity involved.
Includes:

[/indent]


A convenient spreadsheet

[indent=2]Of course, it isn't perfect, but you have options to save directly to your pSX quicksave to see the results of your coding LIVE, immediately.
You can also copy the xml's contents with a single click, on top of functionality like bookmarks to save your positions in code.[/indent]
(http://xifanie.ffhacktics.com/ARH2/ARH2_small.png) (http://xifanie.ffhacktics.com/ARH2/ARH2_big.png)


Many thanks to Chotokukyan!
Without his extensive notes on the wiki, who knows how many more frustrations I would've faced...
or if I would have even finished this hack!


Currently unavailable for download as important fixes are pending
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Xifanie on August 09, 2015, 06:17:08 am
Spreadsheet Tutorial Placeholder
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Jumza on August 09, 2015, 06:42:52 am
Not only do I love this, but I love that I can make my edits right to a savestate! Always so convenient :)
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: DuxorW on August 09, 2015, 03:53:36 pm
Xifanie makes the coolest hacks  :D

My knowledge is very basic though, I've only managed to edit some formulas and effects. So I'll save my questions until after the tutorial is released.
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Xifanie on August 09, 2015, 05:22:00 pm
Honestly? Ask away. It will give me stuff to write for the tutorial.
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: DuxorW on August 09, 2015, 08:03:46 pm
I haven't had the chance to play with it yet but will try to tonight. Thanks!

Edit: Played around with it but i obviously need to brush up on some ASM as I am clearly incompetent.
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: gatebuster202 on August 09, 2015, 10:20:11 pm
Uh...
*Drools.*
My jaw dropped, and hung their til my wife called me on it.

Damn.

Well, I'll be looking at this after work tomorrow.
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: nitwit on August 09, 2015, 10:37:35 pm
If only something like this existed for more of the stuff in this game.
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Vanya on August 28, 2015, 08:43:05 am
OK. I have a question.
Let's say I were to use this to upgrade how Lancers work a bit.
Obviously I can't put Jump abilities in the bonus skill set.
But let's say I keep the regular jump skill set as the Lancer's main and edit all the skills to give the same vertical and horizontal ranges say all are +5.
I make a new normal set of skills to represent 8 dragon skills.
Next I edit the names of the jump skills to match the new dragon skills.
Then I use ARH to link each jump skill with it's related dragon skill.
If I did everything correctly then each time I have the Lancer learn a disguised jump skill it should add the linked dragon skill to the bonus skill set.
Am I understanding it's use correctly and would this work?
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Xifanie on August 28, 2015, 08:56:26 am
I figured it would be smarter to just put in the skills inside the skillsets, disable them for regular skillsets (Just in case the AI derps out) and add them to the bonus skillset.
I just tested in game to make sure, and the new abilities don't mess with the jump skillset at all.
And you'll have to wait until I release the damn thing again, because even though I got 25 downloads, no one reported it as broken as hell... I might have entirely fixed it yesterday, but I need more testing to make sure.
In the meantime, just removing the file.
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Vanya on August 28, 2015, 09:48:56 am
Ah, cool.
I'm looking forward to this.

Is the name of the Bonus Ability skill command set in stone?
I was thinking it would be nice to be able to have different names based on the primary skill set.
So as per my above example I could have it labeled "Dragon Skills" if the unit is a Lancer or if they are a Ninja I could have it labeled "Ninjutsu", etc..
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Xifanie on August 28, 2015, 09:56:43 am
You can name it whatever you want; it basically overrides any skillset you want.
But there also aren't multiple skillsets, so if you want many names, you'll have to code that yourself.
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: Vanya on August 29, 2015, 04:14:52 am
About the max # of skills in the bonus set...
When you say that the AI doesn't consider the skills passed 15, do mean active skills or total skills?
Like if I have a list of 36 skill and only the last 4 are the only active ones will they be ignored?
Title: Re: Ability Requirement Hack 2 - Code it yourself!
Post by: cadence on May 19, 2020, 09:32:13 am
Sorry for reviving a five year old thread, Xifanie. Is there a chance of this coming back? I don't know what the problems with it were, but it seems a lot nicer than dealing with ARH's space conflicts or starting from scratch.