mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 13:28:35 +00:00
gta6rt reads mods/<folder>/mod.json next to gta6rt.exe (or --mods DIR), checks each and logs it. An archetype swap names two models the game has (by joaat name or 0x hash): when the game asks for `from` it gets `to`. The swaps are loaded into leonida::mods::active(); they apply once the game's archetype lookup is hooked, which needs the executable's address for it (docs/modding.md, Day one). mods/mandy_prison_intro swaps Lucia's player model player_story000_00 (0xE472B687) for cs_mandy (0xD7C0CDFF), the ids measured in the packs tables; mods_test checks joaat reproduces both. Conditions narrower than "always" are refused until a hook provides mission state. No game data in either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
191 B
JSON
9 lines
191 B
JSON
{
|
|
"name": "Mandy in the prison intro",
|
|
"enabled": true,
|
|
"game_version": "1.0.2.1",
|
|
"archetype_swaps": [
|
|
{ "from": "player_story000_00", "to": "cs_mandy", "when": "always" }
|
|
]
|
|
}
|