Modding => PSX FFT Hacking => Topic started by: Timbo on November 18, 2013, 07:16:23 pm
Title: ASM Request: Merge Weapon & Shield Break/Steal Abilities
Post by: Timbo on November 18, 2013, 07:16:23 pm
It's always annoyed me that Knights can't break accessories and Divine Knights can't break Shields. Would it be possible to change Weapon Break and Hellcry Punch to break Weapons & Shields, to change Shield Break into Accessory Break, and to merge Steal Weapon and Shield? I know when you use it on a two-weapon user it breaks one of the two weapons, so it seems doable. The only thing that makes me think its impossible would be the fact that the ability slots are hard-coded to the item type.
Would someone please do this for me? This would allow for more complete sets for Meliadoul, the Knight, and a much needed more diversified skillset for the thief, all without using up precious ability slots.
Title: Re: ASM Request: Merge Weapon & Shield Break/Steal Abilities
Post by: Atma on November 19, 2013, 12:59:56 pm
Good idea. The fact alone that you have to either hit the left or right hand (or both with 2 sword) makes me like this. That proves they can 'aim' for a certain hand. While a weapon vs a shield might take a different technique to break, it would still be nice to merge them. Preferably I'd like them separate, but in both skillsets. Seems unlikely, tho.
Title: Re: ASM Request: Merge Weapon & Shield Break/Steal Abilities
Post by: Timbo on November 19, 2013, 03:57:52 pm
I was thinking that in Arms Break, the computer would either randomly choose the right or left hand, or it would prioritize the items like so: 1. Break Shield 2. If no shield, then break right hand weapon. 3. If no right hand weapon, then break left hand weapon. 4. If no left hand weapon, then basic attack.
I'm willing to bet it does something like this all ready, just without the shield.
Title: Re: ASM Request: Merge Weapon & Shield Break/Steal Abilities
Post by: formerdeathcorps on November 22, 2013, 01:35:08 pm
Jack, I have this ASM already done.
<Patch name="Break/Steal/Mighty Sword de-hardcoding"> <Description> This removes the hard-code on STEAL, MIGHTY SWORD, and BREAK. This means any skill taking those formulas can break stuff and MIGHTY SWORD will work on units if they do not equip anything to break (but will still be blocked by maintenance). This means, among other things, that you can create Accessory Break. This formula reads the unused Y value in those three formulas. Y = 5 breaks the head slot, Y = 4 breaks the armor slot, Y = 3 breaks the accessory slot, Y = 2 breaks the weapon slot, Y = 1 breaks the shield slot, Y = 0 breaks nothing. Do not insert other values; they WILL cause glitchy effects! Please update the preexisting BREAK/STEAL/MIGHTY SWORD attacks to correspond to the new rules. Because this hack standardizes the usage of X and Y, the break and steal formulas are now (PA + WP + X)% and (SP + X)%, respectively. This means all the old values of Y need to be rerouted to the variable X for BREAK skills. Because the change to WP + X also affect HOLY SWORD, please similarly reroute the old values of Y to X for HOLY SWORD attacks to use the formula PA * (WP + X). </Description> <Location file="BATTLE_BIN" offset="11EE70"> F9 </Location> <Location file="BATTLE_BIN" offset="1209C8"> 1980013C FA382390 982D218C 05000234 1A002424 00008590 06004314 FF000634 0400A610 04000634 04304600 8F1E0608 A50126A0 FFFF4224 03004628 F5FFC010 01008424 0E004010 00008590 F9FF4314 FF000634 0500A614 04000634 02008590 FF000634 F3FFA610 01000634 04304600 A50126A0 8F0125A0 0800E003 21100000 FE000234 950122A0 0800E003 8F0120A0 </Location> <Location file="BATTLE_BIN" offset="122BB4"> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 </Location> </Patch>
QuoteI'm willing to bet it does something like this all ready, just without the shield.
Your guess is correct and I think your version of "arm break" would be an easy addition to the ASM I wrote above (because it fits with existing Square routines that actually REMOVE the item). If you all want, I can give an ASM lesson on how to modify what I did above into arm break.
Title: Re: ASM Request: Merge Weapon & Shield Break/Steal Abilities
Post by: Timbo on November 22, 2013, 09:54:00 pm
FDC you are a certified bad ass. I will take you up on that offer.
I'm using an ASM that essentially turns formula 42 into something very similar to Holy Sword. Will it interfere with this: