MV Moghunter's Battle HUD plugin causing a TypeError

The world really doesn't want me to customize my battle HUD. As far as I'm aware, Moghunter's plugin is the only way to create actually interactive custom battle HUDs for free, so I really want to get this to work.

I copied all the files and created all the folders, but when I go into battle, I get a TypeError. I tried disabling all my other plugins, but the same thing keeps happening. So I created a test project – and voilà, it works! It's messed up, but at least I don't get an error screen. Problem is, I've already put a lot of work into the game I'm trying to make the HUD for, and making a whole different project just isn't worth it right now.

So, is there anything I can do to fix this? I got no idea about JavaScript, but I'm not opposed to messing with the code if someone tells me what needs to be done. Alternatively, I'm all ears when it comes to other plugins that can help me customize the battle screen to a similar extent (not just change the windows). SRDude's HUD Maker doesn't do it, as much as I love it.

Thanks.


Spoiler: Screenshots
1728329744051.png
1728330187794.png
1728330642340.png

1728330659829.png
As far as I'm aware, Moghunter's plugin is the only way to create actually interactive custom battle HUDs
I don't know what "actually interactive" means. I don't know what this plugin offers to interact with that you can't duplicate with other things.

As for the error, that's saying the battler's battleHUD properties aren't defined.

Why do you have both this and Yanfly's Battle Status Window running in your project? I would assume having two plugins modifying the same thing would cause Yanfly's plugin to overwrite portions of Moghunter's.
I don't know what "actually interactive" means. I don't know what this plugin offers to interact with that you can't duplicate with other things.

As for the error, that's saying the battler's battleHUD properties aren't defined.

Why do you have both this and Yanfly's Battle Status Window running in your project? I would assume having two plugins modifying the same thing would cause Yanfly's plugin to overwrite portions of Moghunter's.
This plugin allows to actually replace the windows that are drawn by default with pictures that you can click on, choose from, etc. I know this can be done outside of battle, but Moghunter's the only plugin I know of that lets you use pictures as HUD elements in battle. SRDude's HUD maker can achieve a display of HP, MP and other parameters, but when you have to choose an actor, for example, the default window comes up, so it can't be treated as a replacement.

Honestly, I think I turned on that Yanfly plugin by accident when switching stuff back on, but whether it's on or off doesn't seem to make a difference in the error message. Good eye though!
You could look at Graphical Design Mode - I haven't toyed around with it myself, I don't know its limitations.

But as far as the error, I don't know - I think you have to have another plugin overwriting Game_Battler.prototype.initMembers().

If it works in a test project, try deleting the plugin from your project, saving, then copying the plugin from the test project to install it again - that will reset any plugin parameters, although I don't see how that could affect this.

Especially if you're saying you've tried turning off all other plugins, saving your project, and starting a new play test (not a battle test).

Someone else might have another idea.
Thanks, I'll definitely take a look at Graphical Design Mode! I tried deleting and copying the plugin like you said, but no luck. Oh well, maybe my computer's just possessed.

I have no idea if that helps, but I just noticed turning off all other plugins makes the error message kinda different...? I think...? It still says the same thing, but in fewer words.

Spoiler: screenshot
1728333245662.png
That's just because you don't have Yanfly's Core automatically providing the full error trace.

By default, you need to press F8, go to the Console tab, and screenshot that - I suspect it will be the same as your first post, and I don't have any other suggestions without getting into you sharing your project file and asking (perhaps even commissioning) someone savvy with JavaScript to troubleshoot it for you.

Original thread: https://forums.rpgmakerweb.com/threads/moghunters-battle-hud-plugin-causing-a-typeerror.172452/