Qhimm.com Forums

Miscellaneous Forums => Gameplay => Topic started by: Tenko Kuugen on 2012-09-17 00:45:39

Title: Change Materia stat bonus amounts
Post by: Tenko Kuugen on 2012-09-17 00:45:39
for example, we have
Byte    STR    VIT    MAG    MDEF*    DEX    LUCK    MAXHP    MAXMP
0x01    -02    -01    +02    +01                                  -05%    +05%
0x02    -04    -02    +04    +02                                -10%    +10%

I'd like to change these to different values, like
-01 -04 +01 +04 +01 -01 -04% +02%

I know these have to be hardcoded somewhere, but that shouldn't be something that requires me / us to rewrite the entire function or anything. Someone know where these are stored?
Title: .
Post by: Jenova's Witness on 2012-09-17 23:14:01
.
Title: Re: Change Materia stat bonus amounts
Post by: Tenko Kuugen on 2012-09-18 01:09:47
Unless that table is found, that info sadly doesn't help me any
and I'm not good enough at hex to search the .exe for this stuff
Title: Re: Change Materia stat bonus amounts
Post by: nfitc1 on 2012-09-18 02:31:03
Jenova's Witness is wrong. I do know exactly where that table is, but I won't have it in front of me until tomorrow morning.
Title: Re: Change Materia stat bonus amounts
Post by: Tenko Kuugen on 2012-09-18 02:44:23
I think I need to start listing NFITC as special help somewhere in my thread
most of the 'special features' that aren't field code are based on his info
Title: Re: Change Materia stat bonus amounts
Post by: nfitc1 on 2012-09-18 13:52:14
Materia Bonuses are stored as signed words (not sure why) and start at 0x8FEEC8 (0x4FD8C8 in the exe) and follow this pattern:

StrBonus, VitBonus, MagBonus, SprBonus (though labeled as MDef Bonus), DexBonus, LukBonus, MHPBonus (as percent), MMPBonus (as percent)

There are 17 used rows of this and four unused as listed here (http://wiki.qhimm.com/FF7/Materia_data). Don't modify past 0x8FF017 though. Then you'll start screwing with elements.
Title: Re: Change Materia stat bonus amounts
Post by: Tenko Kuugen on 2012-09-18 17:16:45
those are memory addresses, I kinda need the .exe addresses ( as usual )
Title: Re: Change Materia stat bonus amounts
Post by: nfitc1 on 2012-09-18 17:27:36
What? It's right there.

<.<

>.>

^_^
Title: Re: Change Materia stat bonus amounts
Post by: Tenko Kuugen on 2012-09-18 17:41:55
>Last edit by NFITC

I am on to you good sir!