• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
May 20, 2024, 06:35:15 pm

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Modifying Unit's Raw Stats.

Started by RavenOfRazgriz, June 25, 2011, 09:29:24 pm

RavenOfRazgriz

Does anyone know how to modify a unit's raw stats?

I'm looking to change the raw MP of every unit in the game.

Gender    initial HPP          initial MPP
----
Male      (491,520..524,287)   (458,752..491,519)
Female    (458,752..491,519)   (491,520..524,287)
Monster   (573,440..622,591)   (573,440..622,591)

I want to go with something like this, maybe fudging the Female HPP and Male MMP values down some.  How would I go about doing this?

Ramza has silly Pre-Raw Stat stuff too, I know, so I imagine making him conform to this setup would be extra annoying.

I get the feeling how to do this is probably lying around somewhere but hell if I can find it.


RavenOfRazgriz

Unless I'm blind, that doesn't actually tell me where to do what I need to do.  Razele's notes tell you where to edit Ramza's Pre-Raw stats in particular if you squint really hard but he doesn't give a single offset for editing generics, he just says how without actually saying where.

pokeytax

 :cool:


[Pre-Raw Stat]
Ramza
SCUS_942.21
Gender             : 0x4A8A4 value 0x80 Male (0x80 = Male, 0x40 = Female, 0x20 = Monster)
Brave & Faith      : 0x4A914 value 0x46
Level              : 0x4A98C value 0x01 [Affect new recruit level at Soldier Office]
Min Pre-RawHP      : 0x4F124 value 0x1E
Min Pre-RawMP      : 0x4F125 value 0x0F
Min Pre-RawSp      : 0x4F126 value 0x06
Min Pre-RawPA      : 0x4F127 value 0x05
Min Pre-RawMA      : 0x4F128 value 0x05
Head               : 0x4F129 value 0x9D Leather Hat
Armor              : 0x4F12A value 0xBA Clothes
Accessory          : 0x4F12B value 0xD0 Battle Boots
Weapon             : 0x4F12C value 0x13 Broad Sword
Shield             : 0x4F12E value 0xFF <Nothing>
Pre-RawHP Variance : 0x4F146 value 0x02
Pre-RawMP Variance : 0x4F147 value 0x01
Pre-RawSp Variance : 0x4F148 value 0x00
Pre-RawPA Variance : 0x4F149 value 0x00
Pre-RawMA Variance : 0x4F14A value 0x00

Male
SCUS_942.21
Min Pre-RawHP      : 0x4F10C value 0x1E
Min Pre-RawMP      : 0x4F10D value 0x0E
Min Pre-RawSp      : 0x4F10E value 0x06
Min Pre-RawPA      : 0x4F10F value 0x05
Min Pre-RawMA      : 0x4F110 value 0x04
Pre-RawHP Variance : 0x4F13C value 0x02
Pre-RawMP Variance : 0x4F13D value 0x01
Pre-RawSp Variance : 0x4F13E value 0x00
Pre-RawPA Variance : 0x4F13F value 0x00
Pre-RawMA Variance : 0x4F140 value 0x00

Female
SCUS_942.21
Min Pre-RawHP      : 0x4F118 value 0x1C
Min Pre-RawMP      : 0x4F119 value 0x0F
Min Pre-RawSp      : 0x4F11A value 0x06
Min Pre-RawPA      : 0x4F11B value 0x04
Min Pre-RawMA      : 0x4F11C value 0x05
Pre-RawHP Variance : 0x4F141 value 0x02
Pre-RawMP Variance : 0x4F142 value 0x01
Pre-RawSp Variance : 0x4F143 value 0x00
Pre-RawPA Variance : 0x4F144 value 0x00
Pre-RawMA Variance : 0x4F145 value 0x00

Monster
SCUS_942.21
Min Pre-RawHP      : 0x4F130 value 0x23
Min Pre-RawMP      : 0x4F131 value 0x08
Min Pre-RawSp      : 0x4F132 value 0x05
Min Pre-RawPA      : 0x4F133 value 0x05
Min Pre-RawMA      : 0x4F134 value 0x05
Pre-RawHP Variance : 0x4F14B value 0x03
Pre-RawMP Variance : 0x4F14C value 0x01
Pre-RawSp Variance : 0x4F14D value 0x00
Pre-RawPA Variance : 0x4F14E value 0x01
Pre-RawMA Variance : 0x4F14F value 0x01
  • Modding version: PSX