News:

Rings of Reznor!

Main Menu

Metal Eater + Acid Burnt

Started by oktokels, May 18, 2022, 04:07:32 PM

Previous topic - Next topic

oktokels

It seems that FFX doesn't work well with the acid burnt state. Metal Eater doesn't recognize acid burn and I just tried the accidental change attribute (change when : isAcidBurnt) and it doesn't work either. I don't know if anyone has this problem or has been able to check it. Thanks.

spydermann93


oktokels

Please do if you can.
I don't know yet why this problem could be happening, I've tried, but the FFX attributes don't seem to recognize when a character is under the effects of acid burn.
I tried to do it with the irradiated effect and it works (Accidental Change: IsIrradiated), so it's just an acid burn problem.  :wacko:

spydermann93

Finally got to check the Acid Burn with Accidental Change. No accidental change on my end.

I'll look into the scrips and see if I can provide a fix.


spydermann93

#5
Found the bug.

Line 10571 in ffx.py reads like this:
def isAcidBurnt(obj,char=''):
    if not Object_Exists(obj):
        return 0
    return (Object_GetSecondaryStates(obj)&(SCSTATE_ACIDBURNT))!=0

It should read like this:
def isAcidBurnt(obj,char=''):
    if not Object_Exists(obj):
        return 0
    return (Object_GetSecondaryStates(obj)&(SCSTATE_ACID_BURNT))!=0

SCSTATE_ACIDBURNT should be SCSTATE_ACID_BURNT

Simply put that underscore (_) between ACID and BURNT on line 10574 and it should work. It works for me.

oktokels

The line was 10547 for me  :doh:
But it works like a charm, you're the best !!!  :thumbup: :thumbup: :thumbup:

spydermann93

Quote from: oktokels on May 23, 2022, 04:24:05 PM
The line was 10547 for me  :doh:
But it works like a charm, you're the best !!!  :thumbup: :thumbup: :thumbup:

Oh, that must've been due to some custom code on my end. Sorry! :P