There are no annonying redirects, bear with our social bar ads Contact Us Buy Now!

How to Enable Respawning Enemies in Mage & Magic X Legacy

How to Enable Respawning Enemies in Mage & Magic X Legacy - For players interested in enabling respawning enemies in this popular video game, M&MXL...
Admin
Join us on Telegram How to Enable Respawning Enemies in Mage & Magic X Legacy - For players interested in enabling respawning enemies in this popular video game, Mage & Magic X Legacy.
How to Enable Respawning Enemies in Mage & Magic X Legacy

Table of Contents

How to Enable Respawning Enemies in Mage & Magic X Legacy

WARNING: Anything that triggers a loading screen, including loading your save, will refresh the area you are currently in. 

Additionally, any enemy that isn't initially aggressive will essentially be an invulnerable NPC, which can result in blocked exits/launching if you reload in the wrong state. times. Save often and be careful. 

I also recommend saving both the default and the modified DLL to resolve this issue if you can still exit the zone.

Basic Notifier

I don't know if I'll improve this mod or not, but it should be possible to disable any spawns that could cause problems with some custom C# code.

This change is global, as every enemy in the game that doesn't trigger via a trap-like mechanism (floor/chest/barrel) will appear after every loading scene, including loading your save.

That being the case, I recommend saving at the start and end of each stage and saving a backup version of the original unmodified DLL, as the map spawn control should spawn those immortal non-aggressive NPC enemies if you completely leave the area and come back.

Required applications: https://github.com/dnSpy/dnSpy

dnSpy - Allows you to edit the source code stored in the game's DLL.

Make a copy: 
C:\SteamLibrary\steamapps\common\Might & Magic X – Legacy\Might and Magic X Legacy_Data\Managed\Legacy.Core.dll
If you'd like, you can restore it using Steam's file validation checker. It's useful to have both when you want or need to disable respawns.

1: Unzip dnSpy.

2: open dnSpy,

3: Click File -> Open.

4: Select –
C:\SteamLibrary\steamapps\common\Might & Magic X – Legacy\Might and Magic X Legacy_Data\Managed\Legacy.Core.dll
5: In the Assembly Explorer on the left, expand Legacy.Core.dll and then Legacy.Core.MapLoading.

6: Expand MapLoader.

7: Right-click on LoadSpawnerFromGrid and choose Edit Method (C#).

8: Change this line:
else if (invalidSpawnList == null || !invalidSpawnList.Contains(spawn2.ID))
it (remove the '!' character from the right side)
else if (invalidSpawnList == null || invalidSpawnList.Contains(spawn2.ID))
9: Click Compile.

10: Click File -> Save Module -> Ok

Thanks for reading my blog post on How to Enable Respawning Enemies in Mage & Magic X Legacy. If this post answers your questions, bookmark my blog for more game content, and if you want to add a suggestion, drop a comment.

Written ByEatitup_86

Join us on Telegram

Getting Info...

Post a Comment

Cookie Consent
We provide cookies on this website to analyze traffic, remember your preferences and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.