BatPio edited this page Jan 4, 2017 · 8 revisions

Scripts Modding Tutorial

Engine of Might & Magic® Heroes 7 is Unreal Engine, much of game logic is written in unreal script. I extracted scripts from game. Much of them contains native functions, what makes unable to reuse them, but most of AI scripts is native functions free. This project is an attempt to make possible scripts modding.

Needed tools

  1. Microsoft Visual C++ to compile mod dll.
  2. Unreal Development Kit (UDK) 2014-02 to compile mod scripts.
  3. Extreme Injector download

Preparing UDK

  1. Install UDK. directory that You have chosen to extract UDK is your UDK project.
  2. Download "HMM7_2.2.1_UDK.zip" from my repository and extract to "Development" subdirectory of your UDK project.
  3. Edit file "UDKGame\Config\DefaultEngine.ini" in UDK project. Add to section [UnrealEd.EditorEngine] following enteries:
+EditPackages=MMH7Engine
+EditPackages=MMH7GameStub
+EditPackages=MMH7Game
  1. You can try to recompile script using "UnrealFrontend". Now project is configured to compile mods. Don't copy recompiled packages to your game, they will not work because they use native functions.
  2. Try write Your own mod your mod :)
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.