Where the data is
GameSettings and PlayerStats are ScriptableObjectSingleton<T> instances.The game reaches one through a MethodInfo slot in main:
[[[[[main+slot] +0x20] +0xC0] +0x10] +0xB8] +0 = the instance
| Slot | Singleton |
|---|---|
| M+0x7A83338 | Lvls7.GameManagement.Data.GameSettings |
| M+0x7A83398 | Lvls7.Data.PlayerStats.PlayerStats |
| M+0x7A83328 | GameManagement.GameDebug |
The slots are filled the first time a function that uses them runs; all threewere set at the start of the first level.
GameSettings +0x18 is PlayerSaveData, +0xB8 the Character.Player,+0xD0 the Inventory. PlayerSaveData +0x18 is the current PlayerData:
| Offset | Field (save name) | Meaning |
|---|---|---|
| +0x10 | d | death counter |
| +0x20 | hp | HP |
| +0x34 | fm | found meals; max HP = base HP + meals / 2 |
| +0x38 | ff | found first aid kits |
| +0x3C | uf | used first aid kits |
| +0x40 | am | additional magazines; magazine size = base + this * ammo per magazine |
| +0x44 | bm | bullets in the magazine |
| +0x48 | ac | additional max combo |
| +0x50 | us | unlocked skills (SkillMask) |
| +0x78 | i | items, a dictionary of item reference to count |
PlayerStats +0x18 is GeneralStats (m_baseHP +0x34 = 4,m_maxAmountOfFirstAidKits +0x40 = 4), +0x38 is ShootingStats(m_maxAmmoCount +0x58 = 99, m_ammoPerAdditionalMagazine +0x5C = 1,m_baseMagazineSize +0x60 = 4), +0x20 is MovementStats(m_gravity +0x18, m_runSpeed +0x50).
Default is 4, what do you expect when it become 99?the data are too complex for me. tried :modified the baseHP 99 then I saw a long long HP bar...
player falling from a height of 2 floors will die from the fall. Change the base HP to 99 and it won’t happen anymore. only [Inf. HP] code will not be OK for thisDefault is 4, what do you expect when it become 99?
Just tested again; even with base HP 99, death cannot be avoided in this case: jumping into fire from a height of two floors is still fatal. Changing the base HP to 999 prevents death, and it works fine.
Strange game, easy to fall to death on slopes, no matter how you change basehp.
Last edited by pspmaster,
Last edited by TomSwitch,
Could you update the code to v1.0.1[v65536]
BID: 20957077B626C55C
BID: 20957077B626C55C
Breeze is getting better and better — thanks for all your hard work. Last time I upgraded it, I actually had to rely on IDA to give me a hand to get it done.I hand tunedon this game.Members-only download
It updated the cheats 100% (of course that is what hand tune is)
Similar threads
- Replies
- 58
- Views
- 9K
- Replies
- 1
- Views
- 282
- Replies
- 0
- Views
- 122
- Replies
- 1
- Views
- 152











