MV VE Loop Animation - Notes Issue

Hello!

(I hope this is in the right place - I have been here for a while but have not really posted anything so I tried to look at all the rules and searched the forums to see if there was anything closely related to this issue before posting. Thank you for your patience and guidance!)


Intro:

I am currently using Victor Engine's "Loop Animation" (v1.03) for RPG MV with Victor Engine's "Basic Module" (v1.23) on a PC (fairly well-powered). MV is 1.6.2 and I am implementing Mog Hunter's Chrono Engine (Chrono Battle, not ABS).

The issue I am having is actually with the Notes boxes. VE's Loop Animation allows you to put in tags to allow the event/skill/state/etc. to call and run the plugin.


Example:

<loop animation: 59, state, 1> should call and run the "poison" animation as a "state" on the event, state, player, etc. If placed inside the Note box of the "Poison" State in the Database, it is supposed to play the animation whenever a character/enemy is affected by the state.

Here is the video demonstrating this:





Issue:

Unfortunately, if I were to place it in the notes box of the States tab in the Database, it returns nothing. Event Notes do not work, either.

eventnotebox.png

(Does not work in the "Note:" box of the Event).

states.png
statesnote.png

(Does not work in the "Note" box in the States tab of the Database).

doesnotwork.png

(Note tags are placed but nothing is running in the game).


Partial Success:

However, it DOES work when you place it as a Comment in the event page OR run it as a Plugin Command.

comment.png

plugin.png


works.png

(It works! Both the Comment and the Plugin Command work great!).


Double Checking Work and Flow:

The plugins are in the correct order and there are no other conflicting plugins in my project; I also went ahead and started a new bare-bones project and only loaded these two plugins and still had the same issue and they did. The Comment inside the Event's page content and Plugin Commands work great. It's the Note boxes that are not responding. Other plugins that utilize the Note boxes are working fine as well (including VE's Critical Hit Effects which is reading all the notes). Since the issue is also apparent in the bare-bones project, it would be prevalent in any project.


Final Thoughts:

Overall, what I am trying to achieve is for the animation to play when a character/enemy is affected by the poison state. VE's Loop Animation is great and I am avoiding YEP's Visual State Effect because it requires other plugins that will conflict with Chrono Engine and I don't really need all the other things with it. I am also using other VE plugins and they are playing nice with the rest of the plugins at the moment.

Any assistance on this is greatly appreciated!


Thank you!

- Thou
something like that is almost always an incompatibility between two or more plugins.
so even if you think there is no incompatibility, you're likely wrong there.

but we need to see your list of plugins and their order to even guess that, so can you please provide screenshots of your plugin manager?
something like that is almost always an incompatibility between two or more plugins.
so even if you think there is no incompatibility, you're likely wrong there.

but we need to see your list of plugins and their order to even guess that, so can you please provide screenshots of your plugin manager?
Thank you for your swift reply! I would actually like to be very wrong here so it can be fixed. I am wondering if an update may have caused this, too?

(Edit: Would the incompatibility be with the specific VE plugin and the newer RPG MV version since the other VE plugins as well as other plugins for that matter do not have an issue in pulling information from the Note boxes?)

Here is the list:

PluginList1.png

PluginList2.png

PluginList3.png


PluginList4.png
The plugins are in the correct order
no, they are not.

yanfly's plugins are in the wrong order, and that has been known to cause problems.
they have to be EXACTLY in the order found on his website, top to bottom

Additionally, mog's plugins change too much for them to be on top, I suggest moving those more to the bottom, especially after yanfly's and victor's.
Thanks for your help! I'll make the changes and report back. Truly appreciate it!
no, they are not.

yanfly's plugins are in the wrong order, and that has been known to cause problems.
they have to be EXACTLY in the order found on his website, top to bottom

Additionally, mog's plugins change too much for them to be on top, I suggest moving those more to the bottom, especially after yanfly's and victor's.
So I moved everything Yanfly to the top in the order that was listed as you linked and placed the VE above MOG's plugins which are now at the bottom. Still the same issue.

NewPluginList1.png

NewPluginList2.png

NewPluginList3.png

NewPluginList4.png


I opened up a new blank project and isolated only the VE plugins and it still has the same issues (Note boxes don't work for the VE Loop Animation but does work for the Critical Hits Effect).

EDIT: I went ahead and started a battle in a blank project with Poison as the technique and called the <loop animation> notetag in the States tab and it worked in the blank project! I have a feeling it may be a MOG issue at this point but I'll move things around again and I'll keep digging through everything. If I find a solution, I'll post an update.

Thank you again, @Andar!



NEW EDIT: Temporary solution is found - this was more complicated than needed since the events are technically "not" in battle - I would have to rewrite some of VE's plugin and I don't have the time to do so or try to figure it out.

Instead, I went with something else for the time being - I just animated the icon states by providing a blank state with a different icon to start when the state is applied (Example: A poisoned state and then another state above it for animation, slightly lower priority). When the state turn is over, it removes the dummy animation state. That way, it's not a static icon, but a 2-frame animation like Chrono Trigger.

For those interested, here is the code you can use (save as plugin - use at your own risk):

The states such as Poison, Sleep, etc. are between state 4 and 14. Yours may be different.
I added a slightly different icon for the 'dummy' states from 24 through 34 and changed the priority of each icon to be a value higher than the regular states (if Poison has a priority of 50, then the dummy state's priority is 51, that way it looks animated.)


Game_Battler.prototype.addState = function(stateId) {
if (this.isStateAddable(stateId)) {
if (!this.isStateAffected(stateId)) {
this.addNewState(stateId);
// Code below is to add the blank state for animation purposes.
if (stateId >= 4 && stateId <= 14) {
this.addNewState(stateId + 20);
}
this.refresh();
}
this.resetStateCounts(stateId);
this._result.pushAddedState(stateId);
}
};
Game_Battler.prototype.removeState = function(stateId) {
if (this.isStateAffected(stateId)) {
if (stateId === this.deathStateId()) {
this.revive();
}
this.eraseState(stateId);
// Code below is to remove the blank state for animation purposes.
if (stateId >= 4 && stateId <= 14) {
this.eraseState(stateId + 20);
}
this.refresh();
this._result.pushRemovedState(stateId);
}
};


Thanks,

Thou

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/ve-loop-animation-notes-issue.152419/