Skip to content

Releases: Dummiesman/mm2hook

MM2Hook Gold 2026-04-14 Release

14 Apr 09:42

Choose a tag to compare

Bugfixes

  • Fixed an off by one error that eventually lead to police not chasing you

Scripting

  • Fixed game crashing on next load when Lua scripting created scripted police officers
  • Fixed aiPoliceData OpponentChaseChance referencing the wrong address
  • Added IsDamagedOut property to aiPoliceOfficer

MM2Hook Gold 2026-02-12 Release

13 Feb 00:41

Choose a tag to compare

Scripting

  • Exposed vehTrailer CarHitchOffset and TrailerHitchOffset properties

Bugfixes

  • Fixed a bug where the 6th wheel was missing for trailers

MM2Hook Gold 2025-11-08 Release

09 Nov 02:27
98014ee

Choose a tag to compare

Name Change
Due to other forks making releases under the same project name and release naming scheme (which could cause confusion), this project has been re-named to "Gold Edition". This name change is also reflected in the About menu. More details about this are in the README.md file.

Bugfixes

  • Vehicle suspension now re-appears if a car without suspension is reinitialized to a car with suspension
  • Fixed breakable objects being in odd positions when a MTX file wasn't present for them
  • The cop chase limit setting now works as advertised (0 = unlimited)

Scripting

  • Added Lua binds for lvlAiMap
  • Added Lua binds for dashboard objects (so modders can ex. get shaders used on certain objects and modify them)
  • Added some more getters to mmwidget classes
  • Added a couple ImDrawList functions
  • Lua documentation has been updated to reflect these new additions
  • Add SetVariant fucntion, Breakables property for AI traffic cars

Misc

  • Made a slight modification to the showcase menu code, allowing modders to add new buttons/widgets into the showcase menu
  • Added a fixed fxltcone texture into the mm2hook.ar file, so mods are no longer required for light cones to appear correctly

MM2Hook 2024-08-23 Release

23 Aug 17:49

Choose a tag to compare

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

30 Jul 19:39

Choose a tag to compare

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

29 Jul 19:49

Choose a tag to compare

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

28 Jul 21:00

Choose a tag to compare

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