Repository navigation
MM2Hook 2024-07-28 Release
Notable Changes (Compared to previous Discord release)
- Look behind camera in chase views (same controls as dash/bumper cam)
- Traffic avoidance has been tweaked, and they will stop behind you
- MM1 Damage Feature (thanks to @Wanted9811), this is a setting defaulted to off in the mm2hook.ini file
- Expanded serailization system for Lua, Lua mods can now save per player, or global data between sessions
- Inclusion of lua language server definition files, tl;dr - autocomplete for programmers! See the Lua guide file for more info.
- Police code rewritten, Lua can now spawn and setup properties of cop cars
- Fixes a bug with 3D damage initialization, that caused cars to use wrong textures (Noticeable in mods such as randomized police, opponent randomizer)
- Ragdoll limit incrased from 4 to 16
- Setting a vehicle variant from Lua will now also properly set siren light colors
- Drivers no longer scream at you constantly when 3D sounds limit is raised (This was a vanilla bug, only made noticeable by more 3D sounds)
- Fixes bunny hopping opponents in multiplayer sessions (Another vanilla bug!)
- The "shadow heap" has been expanded, many more AR files can now be loaded
- A bunch of new stuff exposed to Lua (sailboats, ferries, among other stuff)
- The script loader no longer loads duplicate scripts if the same script is present in two AR files, instead it now loads the topmost one