MV Damage popup not showing up properly

For some reason when I use Mog hunger battle hud it makes it so the damage popup shows up before the animation even finishes? I feel like it could be because im also using yanfly's battle core stuff that conflicts with this plugin. Im not sure how to fix this
For some reason when I use Mog hunger battle hud it makes it so the damage popup shows up before the animation even finishes? I feel like it could be because im also using yanfly's battle core stuff that conflicts with this plugin. Im not sure how to fix this

edit: I tried turning off YEP_battle_core and the damage popups are showing properly now, however it makes my battles not visually good

sorry i had to repost this, im not getting any attention to the same post i have problems with
sorry i had to repost this, im not getting any attention to the same post i have problems with
dont create duplicate threads for the same topic if you havent gotten replies. you can bump your own threads once every 24 hours if you havent gotten any responses in them. ive merged your threads.

edit: I tried turning off YEP_battle_core and the damage popups are showing properly now, however it makes my battles not visually good
have you tried playing with the load order of those plugins at all? yanfly's battle engine has skills wait for animations to finish playing before dealing any damage by default. If its not doing that, then something is interfering. have you made sure that the issue is between those 2 plugins and not between yanfly's and another?
dont create duplicate threads for the same topic if you havent gotten replies. you can bump your own threads once every 24 hours if you havent gotten any responses in them. ive merged your threads.


have you tried playing with the load order of those plugins at all? yanfly's battle engine has skills wait for animations to finish playing before dealing any damage by default. If its not doing that, then something is interfering. have you made sure that the issue is between those 2 plugins and not between yanfly's and another?
Im not sure what settings is for 'Skills wait' are you talking about 'motion waiting'? Also yes i tried turning off every other plugin thats not the YEP battle engine and the MOGhunter battle hud, the damage popup is still showing up during the animation
Im not sure what settings is for 'Skills wait'
its not a setting. its a coded behavior within the plugin. if youre familiar with yanfly's action sequences, its the battle engine core that actually implements the core of it. more importantly, adds the default one which makes skills wait for the animations to end before doing damage popups. the action sequence plugins just add ways to interact with them.

Also yes i tried turning off every other plugin thats not the YEP battle engine and the MOGhunter battle hud, the damage popup is still showing up during the animation
how about just yanfly's battle engine? if it is playing the animations instantly with just that plugin alone, then you might want to try redownloading a new copy of it from the itch.io page.
its not a setting. its a coded behavior within the plugin. if youre familiar with yanfly's action sequences, its the battle engine core that actually implements the core of it. more importantly, adds the default one which makes skills wait for the animations to end before doing damage popups. the action sequence plugins just add ways to interact with them.


how about just yanfly's battle engine? if it is playing the animations instantly with just that plugin alone, then you might want to try redownloading a new copy of it from the itch.io page.
If I dont have the Moghunter battle hud on then the damage popup shows up just fine. And If i turn off the battle engine core it also works fine
can you show the plugin database?
maybe a give/screenshot how it collide?

it may be possible that one override the function of the other plugin
to be conflicting or did it differently.

in this case, we can see how to fix it or patch it or give guidance to
make the fix for your needs.
can you show the plugin database?
maybe a give/screenshot how it collide?

i did look into it a little after the last reply since at that point it seemed like a clear conflict.
something in mog's plugin seems to delete the _battler from the actor sprites, which causes yanfly's battle engine to skip over them when determining if an animation is playing and renders it unable to wait for animations on battlers. i havent really had the time to try to fully resolve it

Edit:
save this as a .js file and load it below the hud plugin @Jasanimation
Spoiler
Code:
(() => {
  Scene_Battle.prototype.actorSprites = function() {
      return this._spriteset._actorSprites;
  };
  Scene_Battle.prototype.updateActors = function() {
      var members = $gameParty.battleMembers();
      for (var i = 0; i < this.actorSprites().length; i++) {
          this.actorSprites()[i].setBattler(members[i]);
      }
  };

  Scene_Battle.prototype.updateBattleHud = function() {
    if ($gameTemp._forceCreateBattleHud) {this.forceCreateBattleHud()};
    if ($gameTemp._forceRemoveBattleHud) {this.forceRemoveBattleHud()};  
    if (this._screen_layout) {this.updateBattleHudVisible()};
    this.updateWindowSlideEffect()
    this.updateLayoutWindow();
    if (this.actorSprites()) {this.updateActors()};
  };

  Scene_Base.prototype.createActorsF = function() {
    if (this.actorSprites()) {
      for (var i = 0; i < this.actorSprites().length; i++) {
          this._hudField.removeChild(this.actorSprites()[i]);
      };
    };
      if (this._spriteset)
        this._spriteset._actorSprites = [];

      for (var i = 0; i < $gameParty.maxBattleMembers(); i++) {
          this.actorSprites()[i] = new Sprite_Actor();
      this.actorSprites()[i].mz = 110;
          this._hudField.addChild(this.actorSprites()[i]);
      };
  };
})();
i did look into it a little after the last reply since at that point it seemed like a clear conflict.
something in mog's plugin seems to delete the _battler from the actor sprites, which causes yanfly's battle engine to skip over them when determining if an animation is playing and renders it unable to wait for animations on battlers. i havent really had the time to try to fully resolve it

Edit:
save this as a .js file and load it below the hud plugin @Jasanimation
Spoiler
Code:
(() => {
  Scene_Battle.prototype.actorSprites = function() {
      return this._spriteset._actorSprites;
  };
  Scene_Battle.prototype.updateActors = function() {
      var members = $gameParty.battleMembers();
      for (var i = 0; i < this.actorSprites().length; i++) {
          this.actorSprites()[i].setBattler(members[i]);
      }
  };

  Scene_Battle.prototype.updateBattleHud = function() {
    if ($gameTemp._forceCreateBattleHud) {this.forceCreateBattleHud()};
    if ($gameTemp._forceRemoveBattleHud) {this.forceRemoveBattleHud()}; 
    if (this._screen_layout) {this.updateBattleHudVisible()};
    this.updateWindowSlideEffect()
    this.updateLayoutWindow();
    if (this.actorSprites()) {this.updateActors()};
  };

  Scene_Base.prototype.createActorsF = function() {
    if (this.actorSprites()) {
      for (var i = 0; i < this.actorSprites().length; i++) {
          this._hudField.removeChild(this.actorSprites()[i]);
      };
    };
      if (this._spriteset)
        this._spriteset._actorSprites = [];

      for (var i = 0; i < $gameParty.maxBattleMembers(); i++) {
          this.actorSprites()[i] = new Sprite_Actor();
      this.actorSprites()[i].mz = 110;
          this._hudField.addChild(this.actorSprites()[i]);
      };
  };
})();
Thank you so much! This works and all the damage popups are now playing after the animation!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/damage-popup-not-showing-up-properly.179707/