State Remaining Turns in MOG Battle Hud

PluginName: WR_MOG_BattleHud_StatesPatch
Author: WindRyderGame

TERMS OF USE:
Credit Wind Ryder
Do not redistribute the plugin but link back to this post instead.
Post: https://forums.rpgmakerweb.com/index.php?threads/state-remaining-turns-in-mog-battle-hud.157782/

DO NOT CHANGE THE HEADER OR TERMS OF USAGE.
Free to use in any project with proper credits.

Version: 1.1.1

Description:
The plugin requires:
  • MOG_BattleHud (10_Classic_II) - I have not tested it with other MOG battle hud designs.
  • YEP_BattleEngineCore
  • YEP_BuffsStatesCore
1. When using the MOG_BattleHud (10_Classic_II), this patch will allow you to see in the battle hud the amount of turns left before a state that each actor is affected with expires.

2. If you purchased Olivia_StateTooltipDisplay plugin, this patch will allow you to see this state tooltip once again if you hover over the battle hud state icons.

Spoiler: GIPHY (Is this link broken?)




Spoiler: Instructions
In MOG_BattleHud, set the State Mode parameter = 0.

IMPORTANT: Plugins should be in the following order:
  • YEP_BattleEngineCore
  • YEP_BuffsStatesCore
  • Olivia_StateTooltipDisplay
  • MOG_BattleHud
  • THIS PLUGIN

History:
  • 2023-05-29 (v1.1.1) - Fixed how states, buffs, and debuffs work
  • 2023-05-28 (v1.1.0) - Added remaining turns for buffs and debuffs
  • 2023-05-26 (v1.0.2) - Fix for when state does not exist
  • 2023-05-25 (v1.0.1) - Fix to clear the remaining turns number when the state has expired
  • 2023-05-24 (v1.0.0) - First Release

Download from Google Drive
What do you think this could be?
1685099568407.png
Hi @Gudako could you please screenshot your plugins and their order and I’ll investigate. (Meanwhile I'll post v 1.0.3 to what I think might be a fix to at least prevent the error from happening).
1.png

2.png

3.png

4.png
While I can't see the number of turns and such in the battle HUD itself, you can still see it in the Status Menu, in the MOG_BattleHUD the '1' option of states put them all in a line, but it would be cool if you can put them in two lines one above the other
Wow, you have a lot of plugins.

I only coded the states to display for State Mode '0' for now in the MOG_BattleHUD.

I uploaded v1.0.3 which will get rid of the error.

EDIT (5/29/2023):
I uploaded v.1.1.1 - this version now supports showing remaining turns for buffs and debuffs.
Hey! I'm using your plugin to fix the incompatibility, it works fine with the Classic I template but I need to use the Line mode, showing all the icons. I know the plugin was made for the Timing mode and I tried a lot of things but nothing worked 🙁

Is there a way to add turns to the Line mode as well? Thanks!
Need is a strong word. 😀

Sorry, I don’t have any plans on doing that in the near term b/c I am just too busy with other things at the moment.
That's fair, no worries, I'll keep looking for a solution
this is actually really awesome, thank you <3
Thank you for making this. Do you think there's any chance something similar could be achieved for RMMZ and VisuStella?
Hi Matt. Thanks! Probably not for MZ since VisuStella obfuscates their plugins
It works like a charm on my end thanks but I've noticed that the more states/buffs/debuffs I hover over, the more laggy it becomes, despite my cpu,ram, usage,gpu werent affected. Though, not much of a problem if u stop hovering over them as the gameplay speed is back to 60fps. Still I wonder if this is a bug...
Does it still happen if you disable this plugin and disable MOG battlehud?
Does it still happen if you disable this plugin and disable MOG battlehud?
the slowdown is gone when I turned off the state remaining turns patch but the hover over and remaining turns wouldn't show in MOG BattleHud.
I mean does the slow down still happen when you hover over the state if you turn off:
  • this plugin
  • MOG battlehud
Leave turned on:
  • YEP battle core
  • Olivia state tool tip
I mean does the slow down still happen when you hover over the state if you turn off:
  • this plugin
  • MOG battlehud
Leave turned on:
  • YEP battle core
  • Olivia state tool tip
nope, the slowdown is gone when I turned off the aforementioned plugins.
Eeek, thanks. Then it sounds like my plugin issue. 😀 I'll take a look
Eeek, thanks. Then it sounds like my plugin issue. 😀 I'll take a look
thank you for understanding, hoping the best of luck since this plugin is very promising to use with credits to u ofcourse.
OMG! I have been looking a long time for this. Thank you for doing this. I hope you can add this with all lines in the future as well.*icon* other hubs work too without Yep plugin, but the font is default. This is RMMZ.
1716836178745.png

1716836199150.png

Original thread: https://forums.rpgmakerweb.com/threads/state-remaining-turns-in-mog-battle-hud.157782/