Final Fantasy Hacktics

Modding => PSX FFT Hacking => Topic started by: SentinalBlade on November 08, 2008, 07:17:49 pm

Title: ASM Request Thread
Post by: SentinalBlade on November 08, 2008, 07:17:49 pm
Hey All

Well, Vanya has gone missing for my patch for a bit, so ive decided to cure some boredome and do formula Edits; but id rather get alot of people use of these formulas and other ASM requests... This is mainly to help me practice, so please start small.

RULES

1. Since im new to this NO UBER COMPLICATED FORMULAS nothing like MA + PA + SP + 3 / 4 (PA/2)
2. Please be patient
3. One Formula or ASM request at a time...
4. Please post which formula you want replaced, and what formua you want it to "Kind of" look like if possible.

These rules are subject to change.

Post AWAY!

Formulas Completed So Far:
(MA * Y) / 2 * Speed
Title:
Post by: Lydyn on November 08, 2008, 07:26:07 pm
PA * Y - Damage Formula

(Replaces Worker 8's formula)
Title:
Post by: Archael on November 08, 2008, 07:37:42 pm
PA * Y

100% knockback

replaces Dash  / Throw Stone formula
Title:
Post by: Zozma on November 08, 2008, 07:55:56 pm
Replace formula 1F (malak's formula)

with a formula like formula 02 but with 100% chance to cast the spell instead of 25%
Title:
Post by: Skip Sandwich on November 08, 2008, 09:00:03 pm
[PA + Y]/2 * SP
replaces Punch Art formula, so is affected by Martial arts and Attack/Defense UP. Is otherwise identical to the normal Punch Art formula except that SP replaces MA
Title:
Post by: The Damned on November 08, 2008, 09:40:50 pm
Hmmm...nothing "uber complicated"? Ah, there goes my asking you to make monster specific formulas....

Anyway, if you could make a WP^2 formula that ISN'T a 100% and, if simultaneously possible, allow it to add status, I would be rather grateful.
Title:
Post by: SentinalBlade on November 10, 2008, 06:55:03 am
How monster specific? as in the formula does something special if a chocobo uses it?

Done Lydyn; Ill give it to you in chat.

Done Skip; would you like mt to post it here? if so ill be back this afternoon; have a meeting at school about me being homebound.

Not sure HOW THE HELL Knockback is worked...ill have to ask zodiac; but chances are its the same reason im having trouble making zozmas...its just space issues.
Title:
Post by: Skip Sandwich on November 10, 2008, 07:02:28 am
cool, that was fast, and if you can post it here that'd be cool also.
Title:
Post by: SentinalBlade on November 10, 2008, 08:31:08 am
Skip's Request: [PA + Y]/2 * SP

Replaces Formula: 31

have fun with it <3

Also let me knwo if it works, it worked in the quicksave...but the battle.bin bytes around what was supposed to be there, didnt look right...i think i flipped it correctly, you will have ot make sure it works. if it doesnt i know what i did wrong.
Title:
Post by: Skip Sandwich on November 10, 2008, 09:25:41 am
did some testing, and it seems to actually be using [PA + Y]/2 * PA.
Ramza PA 8, MA 3, and SP 7, using Wave Fist did 40 damage to a neutral compat target.
Wave fist deals [PA + 2]/2 * X damage
So [8 + 2]/2 * X=40
10/2 * X=40
5 * X = 40
X=8
I then confirmed that it was in fact using PA and not speed by switching Ramza to a thief , resulting in a Speed of 9 and PA of 8, but no change in damage.
Title:
Post by: SentinalBlade on November 10, 2008, 09:34:27 am
grr...okie give me a few hours, ive got some stuff to do, you will have it by today!
Title:
Post by: SentinalBlade on November 10, 2008, 09:48:59 am
fixed and tested myself
Title:
Post by: Skip Sandwich on November 10, 2008, 10:27:26 am
Still doing [PA + Y]/2 * PA for me, maybe i'm doing something wrong on my end. I'm using CDMage to import the new BATTLE.BIN into my .CCD file, is there anything else I should be doing?
Title:
Post by: SentinalBlade on November 10, 2008, 10:47:53 am
Really? make sure your Y isnt set to something that could be getting the same damage results. my quicksave did it fine, as well as when i imported it. ninja with 18 speed and 19 PA did around 330 damage i believe..course my Y was 14
Title:
Post by: Skip Sandwich on November 10, 2008, 11:16:37 am
i'm testing using an unmodified ISO, so with a PA of 8 and a SP of 7, I should be getting 35 damage with wave fist (5 * 7), but it keeps coming up with 40, and altering my SP has no affect on damage whasoever.
[8 + 2]/2 * 8=40, this is the result I keep getting
[8 + 2]/2 * 7=35, this is what I should be getting if speed were correctly being applied

If you were testign with [PA + 14]/2 * X then what you should be getting is either 288 damage against netural compat if speed is being applied, and 304 damage if its [PA + Y]/2 * PA
[19 + 14]/2= 33/2=16.5, which truncates down to 16
16 * 18=288
16 * 19=304
Title:
Post by: LastingDawn on November 10, 2008, 11:22:07 am
Ah yes, my request, a Self Destruct which recovers HP instead of dealing it.
Title:
Post by: SentinalBlade on November 10, 2008, 11:47:19 am
I had recieved 288 damage. i will get to zodiac...maybe im doing battle.bin wrong...quicksave works fine
Title:
Post by: Archael on November 10, 2008, 01:01:31 pm
yo skip & sentibal blade

I think fftpatcher has a formula listed incorrectly

Punch Art formula never used MA

check with the BMG cuz I reember running into problems because of this
Title:
Post by: BeoulveBlack on November 10, 2008, 01:11:16 pm
my formula request is simple: the formula to be replaced is Rafa's 'Truth' formula (i forget the ID; i'm doing jury duty right now and can't look for it).

i would like it to be replaced with this formula: PA / 2 * (PA + Y) #Hits (1 + X) << this is basically the 'Triple Flame' formula but with PA instead of MA. could you post the change in this thread and the address where it should be applied?

PS
btw, has anyone figured out what the last formula, PA * Br / 100 * MA goes to?
Title:
Post by: Skip Sandwich on November 10, 2008, 01:21:41 pm
Yeah, I realized that punch art is PA/2 * PA when I checked the BMG to make sure my math was right, but i'd still like a formula that uses PA and SP, and punch art is the best fit for an overwrite.
Title:
Post by: SentinalBlade on November 10, 2008, 02:41:44 pm
bout friggen time...this is as accurate as i can get it. for some reason, the damage seems to fall short just 10 or 20 numbers of calculated damage...let me know how it is....if this doesnt work il ask zodiac.
Title:
Post by: Lydyn on November 10, 2008, 03:01:28 pm
Along with my other request, is it possible to do;

Monster: Hit(100%)
Monster: Heal(Y)% 100% Add Status
Monster: +Brave_(X) +PA/MA/SP(Y) NS
Monster: Set_Quick NS


Basically the same as Reis' skills, but only for all monsters.
Title:
Post by: The Damned on November 10, 2008, 03:06:04 pm
Quote from: "SentinalBlade"How monster specific? as in the formula does something special if a chocobo uses it?

That would be neat, but it's not exactly what I meant. What I meant was more along the lines of what Lydyn said, except for the possibility of being more monster specific as with Undead and Dragons.

Don't worry about it now, though. I'm not even sure what I'm going to do for the class(es) that I want to use it for yet, so I'd feel rather bad for making you work on something that I ultimately didn't use.

At least with my WP^2 at not 100% request, I'm sure that I'm going to use that I'm going to use that in my patch.
Title:
Post by: Skip Sandwich on November 10, 2008, 03:30:11 pm
I can't even figure out how its arriving at the damage anymore. I added in a +20 SP and a +20 MA item just to make sure if speed  or magic is affecting damage, and it definately isn't. its acting very wierd, because as a lancer (PA 8, SP 7, MA 3) I was dealing 56 damage, or PA * SP, but as a thief, (PA 8, SP 7, MA 4), I was dealing 64 damage, which is very wierd because, as I said, i made difinitavely sure that neither speed nor MA were affecting damage.
Title:
Post by: Lydyn on November 10, 2008, 03:31:56 pm
Quote from: "Skip Sandwich"I can't even figure out how its arriving at the damage anymore. I added in a +20 SP and a +20 MA item just to make sure if speed  or magic is affecting damage, and it definately isn't. its acting very wierd, because as a lancer (PA 8, SP 7, MA 3) I was dealing 56 damage, or PA * SP, but as a thief, (PA 8, SP 7, MA 4), I was dealing 64 damage, which is very wierd because, as I said, i made difinitavely sure that neither speed nor MA were affecting damage.

You remember to check Zodiac Signs, right?
Title:
Post by: Skip Sandwich on November 10, 2008, 03:40:03 pm
yup, a scorpo ramza wave fisting a scorpio male monk, I also set the Y value of wave fist to 0 to try and make asertaining the formula easier.
Title:
Post by: SentinalBlade on November 10, 2008, 07:01:16 pm
i need to do that... alright im going ot give it one more shot....

Also you know monster graphic in the fftpatcher for monsters... thats monster ID actually... set a skeleton to a tiamats ID and the dragon effecting abilities of reis will affect skeletons
Title:
Post by: Zozma on November 10, 2008, 07:22:51 pm
just removing "else miss" from formula 2E ....
btw how do i go about making a fifth skill for destroying shields..?
Title:
Post by: SentinalBlade on November 10, 2008, 07:45:51 pm
Yay!!!!

I tested itl ike 900 times, it turns out, tinyhexer auto flips bytes....normally you have to input things backwards...tinyhexer you dont
Title:
Post by: SentinalBlade on November 10, 2008, 07:47:08 pm
BTW Beoulve, ican totally do that for you, that one is easy.

Also zozma, i have no idea. ill look into it tonight.
Title:
Post by: Skip Sandwich on November 10, 2008, 08:42:23 pm
yay! And i'm sorry for the trouble SB, I totally didn't expect it to take so much effort, your work is much appreciated
Title:
Post by: SentinalBlade on November 10, 2008, 09:08:44 pm
My pleasure Skip, Its no trouble at all. really it wouldve taken me 3 seconds if i realized to put 38 for Speed and not 83...for whatever 83 is..lol
Title:
Post by: Lydyn on November 11, 2008, 05:12:34 pm
[Replaces Formula 64]

Damage: ((PA+Y)*SP/2) #HitRandom(1-X)
Title:
Post by: VincentCraven on November 11, 2008, 07:38:07 pm
[Edit: scratch this request since DmgMP_PA/2*WP is more important.  Also may be too long.]
Title:
Post by: Zozma on November 11, 2008, 09:28:29 pm
wow i mean really, in addition to just having formula 2E fixed id actually like to know where it is located in battle.bin

i didn't think that was so hard to get an answer on...
 (not talking about you sb, im just sayin ive asked a few ppl where its located)
Title:
Post by: SentinalBlade on November 12, 2008, 08:35:57 am
If thye knew the location then you have almost half the editing done :P
Title:
Post by: SentinalBlade on November 12, 2008, 09:05:45 am
BeoulveBlack:

Formula: Pa + Y /2 * PA (hit x+1 times)

Formula Replaced: 31, Rafa's Truth skill formula.

Addresses: 0x11ecd8 & 0x11eccc in battle.bin both of these bytes were changed to 36. 63 if your not using a hex editor that autoflips bytes.

took me 3 minutes to do this one, and test it :)
Title:
Post by: Zozma on November 12, 2008, 04:14:19 pm
Quote from: "SentinalBlade"If thye knew the location then you have almost half the editing done :D i look forward to the fixed 2E. not in a big hurry tho since im not far enough in my patch to test divine knights.
Title:
Post by: Lydyn on November 12, 2008, 09:02:53 pm
5A: Dragon: Hit(100%) --> Dragon: Hit(MA*Y)%
5B: Dragon: Heal(Y)% 100% Add Status --> Dragon: Heal_Faith(MA*Y), (MA*Y)% Add Status
5C: Dragon: +Brave_(X) +PA/MA/SP(Y) NS --> Dragon: Damage_Faith(PA+MA*Y)
5D: Dragon: Set_Quick NS --> Dragon: Damage_Faith(MA*Y) (MA+X)% Add Status

40: Undead: Hit_(SP+X)% --> Undead: Hit_(MA+X)%

20: Damage_(MA*Y) --> Damage_(PA*Y)
21: DamageMP_(MA*Y) --> DamageMP_(PA*Y)
21: Heal_(MA*Y) --> Heal_(PA*Y)

I know these might be a little complicated, so take your time. :)
Title:
Post by: BeoulveBlack on November 13, 2008, 10:33:54 am
Quote from: "SentinalBlade"BeoulveBlack:

Formula: Pa + Y /2 * PA (hit x+1 times)

Formula Replaced: 31, Rafa's Truth skill formula.

Addresses: 0x11ecd8 & 0x11eccc in battle.bin both of these bytes were changed to 36. 63 if your not using a hex editor that autoflips bytes.

took me 3 minutes to do this one, and test it :)

great! thanks! here's another easy one:

the formula for 'Night Sword' is in such a way that a barehanded person could never use it (even if you unchecked the 'needs sword' flag) because it's structured like this...

AbsorbHP_WP*(PA + K)

is it possible to reformulate it like this: AbsorbHP_PA*(WP + K) ?
Title:
Post by: Skip Sandwich on November 13, 2008, 10:35:33 am
Why would you need it when you could just use the Blood Sword formula AbsHP[Weapon], which when used in a skill uses the barehand formula anyways.
Title:
Post by: funa on November 13, 2008, 09:49:00 pm
is possible to make random hit skills like truth and untruth hit only valid targets?"make it don't hit empty panel"
Title:
Post by: Zozma on November 13, 2008, 09:53:08 pm
that doesnt require asm, there is a box that says "animate on miss" at the bottom of the ability section in fft patcher, uncheck it and it will only animate on targets with a unit on them.
Title:
Post by: The Damned on November 13, 2008, 10:04:37 pm
Actually, Zozma, I think Funa's question was more having it not be able to target panels that didn't have anyone/anything on them, not just the animation. (That's duly noted, though.)

As I know, due to the effect areas of FFT, that's either out incredibly difficult (at the moment) or outright impossible. I'm leaning towards the latter....
Title:
Post by: Zozma on November 14, 2008, 08:33:59 am
oh i see *cough* *whatabaoutformula2E* *cough*,

eherm anyway, so you're saying like if you have a chance to hit 6 times and one of the hits goes into an empty pannel, make it hit an occupied one instead?
Title:
Post by: funa on November 14, 2008, 10:35:29 am
the damned is right i want it only target occupied panels
and a magic tat only damage undead and demons is possible?
with formula ma*x and always hit

sorry if is too difficult to understand my texts i learning English, I know how to read but write right is a "little" difficult at moment ...
Title:
Post by: nuken on November 14, 2008, 10:55:58 am
Quote from: "funa"a magic tat only damage undead and demons is possible?
with formula ma*x and always hit

sorry if is too difficult to understand my texts i learning English, I know how to read but write right is a "little" difficult at moment ...

With the 40 formula you can make a magic hit only undead.... but cannot make any damage... only status is possible.....
Title:
Post by: The Damned on November 14, 2008, 01:20:29 pm
Quote from: "Zozma"oh i see *cough* *whatabaoutformula2E* *cough*,

What does "Equipped:Break Dmg _ (PA*WP) ELSE Miss" have to do with anything?

That would just make Un-Truth and Truth worse than they already are in vanilla and that's saying a lot.

Quote from: "funa"the damned is right i want it only target occupied panels
and a magic tat only damage undead and demons is possible?
with formula ma*x and always hit

Besides what Nuken said, 40 formula is "Undead: Hit_(SP+X) ELSE Miss", so the only formula that specifically targets Undead and only Undead is also only affected by Speed in addition to not being able to do any damage (even indirectly, since you can't Poison the Undead).

Lydyn has already asked for another Undead-affecting formula that uses MA*X, but I don't think he asked for it do damage.

That said, with FFTPatcher, there are quite a few ways for you to artifically induce the formula you're asking for such as making all Demons Innately Undead as well and then giving something normally heals Undead Reversal or giving all Demons and Undead similar weaknesses, say Holy, and then making everyone else Innately immune to Holy element. (For this one, though, you would only be able to affected Undead Monsters and those few Undead Classes that already appear since, at the moment, we don't have a way of changing elemental weaknesses in battle.)

As for always hit, well, you just make just make sure that "Evadable" isn't checked and, if need be, make the related variable(s) artifically high (say around 200+).
Title:
Post by: funa on November 14, 2008, 10:04:34 pm
good idea Damned i use one element to this but not holy because i want the holysword work and the holy magic of the white mages
but  water, wind and earth are uncommon elements I rearrange the properties and use one of these

the formulas are exactly the same or have differences?
0A & 0B - Hit_F(MA+X)%
1C, 1D,3D,50,51- Hit (MA+X)%
11,13,18,19,46 NS   ? tis dummy or are a use ?
Whats difference 01 and 05 Dmg_(weapon) have?
00 Dmg_(weapon) is a dummy?

I want space to add new formulas
Title:
Post by: Lydyn on November 15, 2008, 02:29:21 am
SentialBlade, just something I wanted to note. When changing all the M. Graphic/Monster IDs to those of dragons, they appear in the formation (not battle formation) as dragons ... so, if possible, could you change it to all monsters (the formulas)? If not, I'll find a way to deal with it. Thanks. :)
Title:
Post by: Zozma on November 15, 2008, 10:24:48 am
The Damned-

it doesnt have anything to do with your long paragraphs about skills and whatnot.

i dont want rafa and malaks formulas at all. i simply need the space, but not for formula 2E i just want formula 2E with the "else miss" thats all.

the skill i had requested for malaks formula was attack with a 100% chance to cast a skill, so that i have both formula 2 and this one depending on what i need it for.
Title:
Post by: VincentCraven on November 15, 2008, 04:19:20 pm
[This request was invalid due to length, I believe]
Title:
Post by: BeoulveBlack on November 15, 2008, 10:15:53 pm
Quote from: "Skip Sandwich"Why would you need it when you could just use the Blood Sword formula AbsHP[Weapon], which when used in a skill uses the barehand formula anyways.


because, the blood sword formula has no modifiable variable (i.e. no K-value to determine strength)
Title:
Post by: funa on November 16, 2008, 11:35:10 am
is possible to change the follow damage formulas to ((PA+MA)/2)*(WP+X)) but preserve the effect?
2D Dmg_(PA*(WP+X))
2E Equipped:Break  Dmg_(PA*WP) ELSE miss
2F AbsMP (PA*WP)
30 AbsHP (PA*WP)
Title:
Post by: SentinalBlade on November 17, 2008, 08:25:07 am
You guys need to make sure the formulas have a large enough space to hold what you want. i cant fit ((PA+MA)/2)*(WP+X)) into 2D Dmg_(PA*(WP+X)), there just isnt enough space. sorry ive been absent as of late btw. my moms in the hospital so ive been with her alot.
Title:
Post by: Vanya on November 17, 2008, 12:30:27 pm
Sorry to hear that brother. =(
I hope she feels better.

Also, you guys keep neglecting the 1 request at a time rule that's on the first post. I know SB hasn't said anything about it, but I thought it should be noted. I'm sure no one wants SB to get frustrated and stop his very generous charity work. ^_^

Quote from: "SentinalBlade"RULES

1. Since im new to this NO UBER COMPLICATED FORMULAS nothing like MA + PA + SP + 3 / 4 (PA/2)
2. Please be patient
3. One Formula or ASM request at a time...
4. Please post which formula you want replaced, and what formula you want it to "Kind of" look like if possible.
Title:
Post by: funa on November 17, 2008, 12:40:20 pm
OK i remember space next time

is possible to make Monster Talk innate to all

All the best to your mom

sorry i forgotten the rules ...
Title:
Post by: Lydyn on November 17, 2008, 12:51:57 pm
Hm, sorry about requesting multiple formulas at a time, I wasn't thinking. I just figured I'd post them all and let you work on them at your own pace ... rather than spamming posts each time you got one done. Still, my apologizes.
Title:
Post by: VincentCraven on November 17, 2008, 01:34:49 pm
[this post has been removed due to request by user]
Title:
Post by: LastingDawn on November 17, 2008, 02:52:05 pm
Nevermind my first request, but this one is a bit more important for a new spell...

37 Dmg_(rdm 1...Y) * MA, since the folks with these skills are more or less magicians now, heh...
Title:
Post by: The Damned on November 17, 2008, 03:51:07 pm
Quote from: "funa"OK i remember space next time

is possible to make Monster Talk innate to all

All the best to your mom

sorry i forgotten the rules ...

It's possible with ASM hacking just like how Zodiac did Weapon Guard.

However, unlike with Weapon Guard, you can just do Innate Monster Talk to all manually through Jobs tab and not have it interfere with anything since it's a Support skill so it wouldn't override any manually equipped Support. (Unlike with Innate Reactions, where, if not ASM hacked, they will override any Reaction you try to manually equip.)

It's a bit tedious, but it should take only half an hour at the most, significantly less since this is Monster Talk and thus it's likely that only humans would benefit from it (unless you want to give some Monsters Talk Skill abilities...).
Title:
Post by: SentinalBlade on November 17, 2008, 04:00:18 pm
Thanks vanya, for trying ot lighten my work load :P..

All of these are doable, but the mosnter talk skill i will put off for now, since you can do it in the patcher... ive got way to much on my plate as it is.
Title:
Post by: funa on November 17, 2008, 04:32:08 pm
Thanks i use this method, I don't use it before because I worry this interfere with other skills

then the next request xD

03 Dmg_(WP^2)NS make it possible to inflict status effects
Title:
Post by: Vanya on November 17, 2008, 04:40:21 pm
No prob, SB. ^_^
Title:
Post by: BeoulveBlack on November 21, 2008, 12:43:56 pm
yo SB, sorry to hear that; i feel you though, my mother was in the hospital for something bad recently as well :(

forget the last request i made; i could use the blood sword formula i guess...
Title:
Post by: Zozma on November 29, 2008, 02:49:27 pm
okay i know ur busy, I already asked for one, the fix for formula 2E

but i want to request another. There is only one main damage formula for draw out right? id like to preserve the random breakage not making it 100% by swapping formulas... so

id like to change that MA*Y to MA+PA/2 * Y so that neither mages nor fighters get too much out of it. is this one too complicated...? lo

but before trying that, do you think that formula would balance both fighter and mage with draw out?
Title:
Post by: Vanya on December 04, 2008, 05:45:37 am
I second the request for formula 2E doing dmg regardless of equipment being present.

@Zozma:  don't know if you ever managed to figure out the shield break skill, but ... Hint: change Shield Break or Steal Shield's formula to 2E and give it to Mel or whoever. The problem is that the Thief or Knight would lose a skill. Works the other way around too.

My own request: I'd like formula 42 Dmg_(PA*Y) DmgCas_(PA*Y/X) NS to become this: Dmg_(WP*Y) DmgCas_(WP*Y/X)...

...or better yet just remove NS from 42 and if it fits replace 28 with the WP version above?
Title:
Post by: pringerx on September 04, 2009, 03:07:33 pm
formula "3A"
from
"Brave+_(Y) NS"
into
"MA+_(Y) NS"
Title:
Post by: SilvasRuin on September 04, 2009, 03:59:04 pm
That's interesting.  I was going to tell you to just use the Magic Song formula, but apparently the stat boost isn't tied to the formula.  That makes me wonder where the heck it knows to give the stat boost from.
Title:
Post by: Vanya on September 04, 2009, 04:08:40 pm
It's hard coded to the ability slot. All the songs and dances have hard coded effects.
Title:
Post by: Pickle Girl Fanboy on September 09, 2009, 05:45:33 pm
Quote from: "Vanya"It's hard coded to the ability slot. All the songs and dances have hard coded effects.

That.  Is.  Interesting.

Feel free to tell me to fuck off, but wasn't there a formula editor in the works?

EDIT
Alliteration FTW!
Title:
Post by: Desocupado on September 09, 2009, 08:07:39 pm
If I remember, the formula editor is on hold due to real-life robbery.

Hack suggestion
"Reaction abilities always trigger (ignore brave)"
Tough it would be best if they had their own chances i.e. blade grasp 50%, counter 90%...
Title:
Post by: Vanya on September 09, 2009, 10:20:07 pm
That's right. I believe all of SB's work was on that laptop.