Releases: Dummiesman/mm2hook
Releases · Dummiesman/mm2hook
MM2Hook 2024-08-23 Release
General
- Fixes a crash during cop chases in Crash Course mode
- Slightly optimizes 3D shadow rendering
- Fixes a crash when selecting vehicles in the menu, when several addon vehicles were installed
- Removed multiple obsolete settings from the INI file
- Fixes MaximumCopsLimit setting
- Instance Cloud shadows are now drawn offset to the instance position, fixing several cloud shadow seams
- Cops now detect the wrong way violation type
Lua Changes
- Expose aiIntersection TrafficLightSet
- Add Vector2 Lerp function
MM2Hook 2024-07-30 Release
Changes since last release
- Minor change in console command history, repeating the same command won't add it to the history again
- Fixed CanRepairDamage properties on AI
- Fix ragdoll recycling when the ragdoll limit was hit
- Added GetPivot to Lua (
local exists, matrix = GetPivot("vpmustang99", "whl0")
) - Added MaxViewDistance setting in INI file
MM2Hook 2024-07-29 Release
Changes since last build
- Fixed a bug that caused the rear view mirror to display pure black in the void when the sky was turned off
- Fixes SetVariant on vehicles when mm1 damage was enabled
- Makes ferries visible from a distance again
- Makes bridges visible from a distance again
- Bridges now blend into the environment properly, receiving cloud shadows, and shadows from vehicles
- Added /dizzy cheat (makes the sky spin)
- Some Lua API expansion, including delta values for mouse input, and a couple imgui additions
- Increase max sound count in mm2hook.ini, a value of 5000 was sometimes crashing the game
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