Please login or register.

Login with username, password and session length
Advanced search  

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!

Question about Blood Suck  (Read 555 times)
Pages: [1]
Undead Knight
Heisho [Posts: 109]
  • View Profile
  • share
  • [November 04, 2017, 03:48:37 AM]
Question about Blood Suck
« on: November 04, 2017, 03:48:37 AM »
Hello everyone.
I would like to know if the Blood Suck status calls the Blood Suck ability on C8 (like Counter Tackle calls for Dash) or is it hardcoded on said status.

Thanks in advance

    • Modding version: PSX
  • Gnarw, hiss, grrr and some other zombie noises...
    "Blame yourself or God."
    Ildon [Posts: 40]
    • View Profile
    • share
    • [November 04, 2017, 10:03:57 AM]
    Re: Question about Blood Suck
    « Reply #1 on: November 04, 2017, 10:03:57 AM »
    ...
    « Last Edit: November 13, 2017, 09:51:07 AM by Ildon »
    • Modding version: PSX & WotL
  • (PSP) FFT: GGL Edition 0.9.81 is now available. check here
    Nyzer [Posts: 889]
    • View Profile
    • share
    • [November 04, 2017, 05:21:50 PM]
    Re: Question about Blood Suck
    « Reply #2 on: November 04, 2017, 05:21:50 PM »
    You mean how, when a unit is set to Blood Suck, they are then forced to use Blood Suck from that ability or skillset slot? Last I heard, no, it didn't work that way.

    • Modding version: PSX & WotL
  • Undead Knight
    Heisho [Posts: 109]
    • View Profile
    • share
    • [November 04, 2017, 08:59:50 PM]
    Re: Question about Blood Suck
    « Reply #3 on: November 04, 2017, 08:59:50 PM »
    So if I change the ability slot, and a unit gets the Blood Suck status it will keep doing the same Blood Suck right?
    Is there a way to link the ability to a lost of my desire?

    @Ildon: Sorry for not responding. Actually when I asked that question I was working something like that and found that solution sometime ago, I though I marked the topic as solved but it seems I didn't. Thanks for the help anyway, I liked the Sexy Mantle idea.


    • Modding version: PSX
  • Gnarw, hiss, grrr and some other zombie noises...
    Nyzer [Posts: 889]
    • View Profile
    • share
    • [November 05, 2017, 12:12:51 AM]
    Re: Question about Blood Suck
    « Reply #4 on: November 05, 2017, 12:12:51 AM »
    Not through Patcher work as far as I'm aware. Maybe ASM.

    • Modding version: PSX & WotL
  • French Maid
    Xifanie (Webmistress) [Posts: 4398]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [November 05, 2017, 12:35:52 AM]
    Re: Question about Blood Suck
    « Reply #5 on: November 05, 2017, 12:35:52 AM »
    It's hardcoded and my spreadsheet covers that, but it's not available to the public, so instead you can edit
    0x801A0B34 memory address in BATTLE.BIN

    http://ffhacktics.com/wiki/Set_chosen_ability/target_for_AI_status (very bottom of the page)

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    Undead Knight
    Heisho [Posts: 109]
    • View Profile
    • share
    • [November 11, 2017, 05:09:55 PM]
    Re: Question about Blood Suck
    « Reply #6 on: November 11, 2017, 05:09:55 PM »
    you can edit 0x801A0B34 memory address in BATTLE.BIN

    http://ffhacktics.com/wiki/Set_chosen_ability/target_for_AI_status (very bottom of the page)

    Ok let me see I got this correctly.
    I went to BATTLE.BIN, and subtracted 67000 to that memory address in order to find the corresponding offset. But when I found it (00139B34) all data is zeros. So this means that I must edit with this -->84a700c8<-- and then make changes on Patcher to match this code? Meaning to change the contents of the skillset or the ability slot?

    Sorry if I don't make any sense, I'm trying to learn to understand all of this.

    Regards.

    • Modding version: PSX
  • Gnarw, hiss, grrr and some other zombie noises...
    French Maid
    Xifanie (Webmistress) [Posts: 4398]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [November 11, 2017, 08:27:19 PM]
    Re: Question about Blood Suck
    « Reply #7 on: November 11, 2017, 08:27:19 PM »
    My bad, no, you were doing it correctly.
    It's just that for some reason there is ASM that writes to that address...

    http://ffhacktics.com/wiki/Store_hardcoded_AI_stuff_(blood_suck,_frog,_berserk_abilities)

    Code: [Select]
    00199d74: 340200c8 ori r2,r0,0x00c8That should be your blood suck ability

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    Undead Knight
    Heisho [Posts: 109]
    • View Profile
    • share
    • [November 12, 2017, 01:31:25 AM]
    Re: Question about Blood Suck
    « Reply #8 on: November 12, 2017, 01:31:25 AM »
    Thanks for the tip, I found it.
    Now, I will change C800 with the ability of my desire. Let's say 6B01. Will Blood Suck/Vampire will use that ability instead of the original one?
    Or do I need to code a whole new ability (range, effect, etc, etc)?

    BTW, thanks a lot for the info that you might share with this hopeless noob.

    Regards.

    • Modding version: PSX
  • Gnarw, hiss, grrr and some other zombie noises...
    French Maid
    Xifanie (Webmistress) [Posts: 4398]
    • View Profile
    • Final Fantasy Hacktics
    • http://steamcommunity.com/id/Xifanie
    • share
    • [November 12, 2017, 03:41:53 AM]
    Re: Question about Blood Suck
    « Reply #9 on: November 12, 2017, 03:41:53 AM »
    I'm honestly not sure if you need to do more than that... you have to take into consideration the Blood Suck AI though. It might not play as you want. It would only work well with a melee attack.

    • Modding version: PSX
  • <R999> My target market is not FFT mod players
    <Raijinili> remember that? it was awful
    Undead Knight
    Heisho [Posts: 109]
    • View Profile
    • share
    • [November 20, 2017, 03:10:32 AM]
    Re: Question about Blood Suck
    « Reply #10 on: November 20, 2017, 03:10:32 AM »
    Well it worked as expected.

    The ability must have a target other that the unit that is casting it. You can choose from a different formula that doesn't make damage. In my tests, for instance, I was using the formula 55 with effect 17A (Goo) and it worked well. Just remember to select the flag Ignore Silence and Select Target, from there you can chose if only allies or enemies. The hardcoded AI will handle the rest.

    So there you go. You only need to change the offset 132D74 in BATTLE.BIN with whatever ability you want (in reverse, like 01B6 to B601) and you will make a new "Blood Suck" status.

    I know many of you are already are aware of this, but there are many new (like me) who wonder how to do it.

    I'll post a .xml file with this once I learn how to make one with drop down options like the ones that comes by default on FFTorgASM.

    PS: This left me wondering that if you change the original blood suck slot (C8) all of these will not be necessary...I didn't tried.
    « Last Edit: November 20, 2017, 05:37:40 AM by Heisho »
    • Modding version: PSX
  • Gnarw, hiss, grrr and some other zombie noises...
    Pages: [1]