Is there a way to do this? I see it was possible with MV with a bunch of plugins (it looks like Yanfly had a video on how to do it), but I'm worried they would conflict with my VisuStella plugins, of which I am using several. I'm just kind of assuming that otherwise the MV approach would work, with FOSSIL.
MZ Looking for a way to add a dragoon jump attack (like Final Fantasy IV)
JS Plugin Requestsfor the most part VS plugins can be seen as ports to yanfly ones on MV, but you have to read the documentation as there are many changes. Trihan has already shared an MZ/Visustella adaptation in his thread
forums.rpgmakerweb.com
How to implement every possible Yanfly Tips & Tricks effect in MZ with VisuStella plugins
Hi all. This is by far one of the biggest topics I've seen people asking about, to the point where I've been commissioned twice to make an MZ project containing all of the T&T effects. So I figured I'd make a topic about how to implement them all yourselves. If no other plugins are specified...
forums.rpgmakerweb.com
I will take a look at that tomorrow. I also found this thread: https://forums.rpgmakerweb.com/inde...ump-lets-just-get-this-out-of-the-way.129271/
I have been following the posts by miyanke, since it seems like he got it working with VisuStella and not having to also get a few Yanfly plugins to make it work.
I am able to get the character up in the air and off screen, but after a couple turns, I see the Jump state wear off, but the character never comes back down. I am assuming the reason for this, is I don't know if anything he has provided is causing his Land skill to trigger. He has this code for the Land skill note later in the thread:
<JS On Expire State>
user.forceAction(211, -1);
BattleManager.forceAction($gameParty.members()[1]);
</JS On Expire State>
He had some code earlier he said to put, that was based on Erase State. Am I supposed to just totally overwrite that? That's what I did. I am also not sure what part of the Expire State code is referencing the exact Land skill, since my Land skill is not in the same database position as his was (his was 394 it looks like). My Land skill is database entry 242.
EDIT: Okay, I got it mostly working. The problem was the 1 in ($gameParty.members()[1] - 1 means affect the 2nd party member, I needed it to affect the 3rd. He is coming down kind of transparent. I think I didn't follow one of his later changes, that might be the problem... will report back.
EDIT2: Yeah I got it working. Only additional thing I would like to have, is if when the sprite came down, it was upside down like Kain was in FFIV. I am not sure if anyone knows of what to do in the common event for Jump to achieve this? I can post screenshots later of what I did, since (and I am not knocking the guy for this) his screenshots show the database entries in Spanish, and also his updates weren't 100% clear on what to do. I can also post it in the thread I linked about this, only reason I wouldn't is I think it would be considered necroposting.
EDIT3: Oh, I guess that also, when Land triggers, it doesn't show the character travel to the target. They just appear on them. I watched Land play out at 1/4 speed to confirm this. So, I would like to see the travel to enemy, if anyone knows how to do that... EDIT4: Found it, it's the float duration setting for Land common event. So, will post screenshots and whatever extra explanations I think might be necessary probably tomorrow! Not sure if it's OK to make a new post here to do that so it doesn't get cluttered in all these edits.
EDIT5: Found a new problem... basically, it all works well, until an enemy dies while the jumping character is airborne. If that happens, they change their target. I have tried setting the "move to target" command to many different variables - all targets, current target, prev target, focus... if he targets say enemy A then is airborne, and enemy B dies while he is airborne, he will come down and hit enemy C. I need to go to bed. Will work on this tomorrow, but I am not sure where else to look.
I have been following the posts by miyanke, since it seems like he got it working with VisuStella and not having to also get a few Yanfly plugins to make it work.
I am able to get the character up in the air and off screen, but after a couple turns, I see the Jump state wear off, but the character never comes back down. I am assuming the reason for this, is I don't know if anything he has provided is causing his Land skill to trigger. He has this code for the Land skill note later in the thread:
<JS On Expire State>
user.forceAction(211, -1);
BattleManager.forceAction($gameParty.members()[1]);
</JS On Expire State>
He had some code earlier he said to put, that was based on Erase State. Am I supposed to just totally overwrite that? That's what I did. I am also not sure what part of the Expire State code is referencing the exact Land skill, since my Land skill is not in the same database position as his was (his was 394 it looks like). My Land skill is database entry 242.
EDIT: Okay, I got it mostly working. The problem was the 1 in ($gameParty.members()[1] - 1 means affect the 2nd party member, I needed it to affect the 3rd. He is coming down kind of transparent. I think I didn't follow one of his later changes, that might be the problem... will report back.
EDIT2: Yeah I got it working. Only additional thing I would like to have, is if when the sprite came down, it was upside down like Kain was in FFIV. I am not sure if anyone knows of what to do in the common event for Jump to achieve this? I can post screenshots later of what I did, since (and I am not knocking the guy for this) his screenshots show the database entries in Spanish, and also his updates weren't 100% clear on what to do. I can also post it in the thread I linked about this, only reason I wouldn't is I think it would be considered necroposting.
EDIT3: Oh, I guess that also, when Land triggers, it doesn't show the character travel to the target. They just appear on them. I watched Land play out at 1/4 speed to confirm this. So, I would like to see the travel to enemy, if anyone knows how to do that... EDIT4: Found it, it's the float duration setting for Land common event. So, will post screenshots and whatever extra explanations I think might be necessary probably tomorrow! Not sure if it's OK to make a new post here to do that so it doesn't get cluttered in all these edits.
EDIT5: Found a new problem... basically, it all works well, until an enemy dies while the jumping character is airborne. If that happens, they change their target. I have tried setting the "move to target" command to many different variables - all targets, current target, prev target, focus... if he targets say enemy A then is airborne, and enemy B dies while he is airborne, he will come down and hit enemy C. I need to go to bed. Will work on this tomorrow, but I am not sure where else to look.
Have you tried the one in Trihan's thread? I think it addresses all of that besides the upside-down sprite bit. There might be a way to add a command for it into the common event with VS action sequences, but I'm not familiar enough with it to be able to provide a method for it offhand.
So yes, with Trihan's advice, it seems to be saving the target when another one dies, and then if their target dies, they randomly pick another one so it isn't wasted.
To make it easier for others, the post with the info is the 4th in Trihan's thread. I had already used miyanke's posts from the thread I linked earlier to make the Jump and Land skills. So, I added the Jump and JumpRedirect states to test with Trihan's Javascript code in the notes for those, then copy-pasted the common events I had already made from miyanke's advice and edited the Jump state references in those. I didn't use Trihan's common events line for line, like I don't want screen shake with mine, I will probably also clean up the camera and zoom references since for me they aren't doing anything anyway, and I don't want camera effects from it even it was working, I just want it to be like Final Fantasy IV.
So, I did get the upside down on dropping into the enemy working. In the "Land" common event, before the "MOVE: Float" BattleCore plugin command, put a new BattleCore plugin command called "MOVE: Spin/Rotate". I set it to angle 180 for the spin, duration 1, revert angle on finish false, wait for spin true. This will all happen off screen. With this before the MOVE: Float command, when it is time to drop down, the character will spin upside down offscreen, then drop down, and hit the enemy while upside down.
Now, further down, before "MOVE: Move To Point", put another "MOVE: Spin/Rotate" BattleCore plugin command. Now, I am not sure of the most efficient way to do this, but I set this to angle 0, duration 25 (Move To Point duration beneath it is 30 for me), revert angle on finish = true, wait for spin false. This makes it so when your character starts moving back to their default position, they will flip back upright.
I am now going to be working on seeing if I can get it so the character's weapon can be out when they drop down, until they make contact with the enemy. Then tuck the weapon away before the MOVE: Spin/Rotate occurs for them heading back to home position.
I can post screenshots if you want, or maybe you're rather I put it in Trihan's thread. Let me know! Pretty happy so far.
To make it easier for others, the post with the info is the 4th in Trihan's thread. I had already used miyanke's posts from the thread I linked earlier to make the Jump and Land skills. So, I added the Jump and JumpRedirect states to test with Trihan's Javascript code in the notes for those, then copy-pasted the common events I had already made from miyanke's advice and edited the Jump state references in those. I didn't use Trihan's common events line for line, like I don't want screen shake with mine, I will probably also clean up the camera and zoom references since for me they aren't doing anything anyway, and I don't want camera effects from it even it was working, I just want it to be like Final Fantasy IV.
So, I did get the upside down on dropping into the enemy working. In the "Land" common event, before the "MOVE: Float" BattleCore plugin command, put a new BattleCore plugin command called "MOVE: Spin/Rotate". I set it to angle 180 for the spin, duration 1, revert angle on finish false, wait for spin true. This will all happen off screen. With this before the MOVE: Float command, when it is time to drop down, the character will spin upside down offscreen, then drop down, and hit the enemy while upside down.
Now, further down, before "MOVE: Move To Point", put another "MOVE: Spin/Rotate" BattleCore plugin command. Now, I am not sure of the most efficient way to do this, but I set this to angle 0, duration 25 (Move To Point duration beneath it is 30 for me), revert angle on finish = true, wait for spin false. This makes it so when your character starts moving back to their default position, they will flip back upright.
I am now going to be working on seeing if I can get it so the character's weapon can be out when they drop down, until they make contact with the enemy. Then tuck the weapon away before the MOVE: Spin/Rotate occurs for them heading back to home position.
I can post screenshots if you want, or maybe you're rather I put it in Trihan's thread. Let me know! Pretty happy so far.
Okay, I got back to working a bit on this game, and I found a problem I hadn't noticed before (not enough testing).
When I use the standard MZ ATB system, the character that jumps seems to have it charging fine after the jump ends, since they get another turn.
When I am using VisuStella Battle System ATB for the gauges and more control over how that system plays out, after the jump ends, their ATB doesn't charge.
I am not sure if it's something I have to add to the common event. I have a summoner running a common event to summon, and after she summons, her ATB charges fine.
I can post a screenshot of my common events for the Jump + Land states here, if that will help with troubleshooting.
When I use the standard MZ ATB system, the character that jumps seems to have it charging fine after the jump ends, since they get another turn.
When I am using VisuStella Battle System ATB for the gauges and more control over how that system plays out, after the jump ends, their ATB doesn't charge.
I am not sure if it's something I have to add to the common event. I have a summoner running a common event to summon, and after she summons, her ATB charges fine.
I can post a screenshot of my common events for the Jump + Land states here, if that will help with troubleshooting.
Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-way-to-add-a-dragoon-jump-attack-like-final-fantasy-iv.179074/