MZ Official RPG maker ARPG plugin...what???

So a few days ago I finally got around to poking around in the ARPG plugin that RPG Maker put out for its festival. I spent most of that time trying to create an archery skill. I ended up building my project on top of the sample project, for fear the plugins won't work with the other plugins available.

archery3.png


When I finally did, I ended up requiring my character to have a bow for the skill to work, so it would make sense for the character to have a bow... thing is, the character's default weapon is a dagger, mostly because I couldn't make the bow the character's default weapon... but I digress.

Anyway, after LOTS (and I mean lots) of fiddling around, I did get the archery skill to work in game. It's not perfect, the arrows don't travel far enough for my liking, but I did get it to work.

But here's what has happened since I got the skill to work.

archery1.png


The arrows only seem to travel in one direction, and that's up, no matter what direction the character faces. Which is awkward.


archery2.png


Another thing that seems to be happening, and this is almost accidental, is that the character seems to be a dual wielder. Unintentional but it works. The character still 'has' the dagger' even though the dagger is not equipped, yet is still able to use the dagger along with the bow to kill monsters.

How can I fix the arrows so that they point properly? And as far as the 'dual wielding' is concerned, is there a working plugin that would go along with this so that the character could be 'officially' a dual wielder? Thanks very much!
Moved to: Plugin Support
The skill common event should define the angle of attack. If you want to be able to fire in just 4 directions, just make 4 conditionals based on character direction that modify the angle of attack by 0, 90, 180, 270 (look at the sample fire skill for example).

Then you should also change the arrow graphic depending on which way the character is facing. I don't know how to do that most efficiently in the plugin. Can you just change the image with a set move route before the event is loaded on the screen?

If you want to take away the dagger attack, you should change what the character's basic attack skill is in the plugin parameters. You can change your arrow skill ID there.

I also think that you can change how far the projectile travels, by using the plugin command "get distance between characters". Then set a conditional on the page that runs the skill after it has been activated that if the distance is > X, turn a self switch on to the page that handles the skill event/projectile erasure.
The skill common event should define the angle of attack. If you want to be able to fire in just 4 directions, just make 4 conditionals based on character direction that modify the angle of attack by 0, 90, 180, 270 (look at the sample fire skill for example).

Then you should also change the arrow graphic depending on which way the character is facing. I don't know how to do that most efficiently in the plugin. Can you just change the image with a set move route before the event is loaded on the screen?

If you want to take away the dagger attack, you should change what the character's basic attack skill is in the plugin parameters. You can change your arrow skill ID there.

I also think that you can change how far the projectile travels, by using the plugin command "get distance between characters". Then set a conditional on the page that runs the skill after it has been activated that if the distance is > X, turn a self switch on to the page that handles the skill event/projectile erasure.



Thank you so much for your reply! Very helpful.

Funny you should mention the sample 'fire' skill. I built the archery skill directly from the 'fire' skill, since the arrows and the fire are both projectiles, I figured it would make sense to do so.

archery4.png


Since I built the 'archery' skill directly from the sample 'fire' skill, the common directions 0, 90, 180, and 270, are there.

As far as changing the images directly in the plugin, that one has befuddled me. It doesn't seem like in the sample fire skill the images were changed, but the arrow images look a bit awkward.

archery5.png


Apparently in the sample 'fire' skill and in its 'child' skill the archery skill, there is a script that calls on the variable for the direction of the attack, to dictate the movement direction. For some reason I'm not getting the proper script call for the arrow images to move in the directions requested.
I'm a bit confused. Is your problem with the arrow skill only that the arrow sprite is always facing up? Or is it also always moving upwards?

If you just copy the fire skill and only change the sprite pics, then the arrows should move in the right direction (works for me at least). If it doesn't work for you, then you probably changed some values in the common events, variables, plugin parameters or whatever.

As for changing which way the arrow sprite is facing, you have to do multiple different pages on the skill template event (or at least that's one way of doing it, like I assumed above):

*create a total of 4 copies of the skill event's page that is currently run if self switch A is on
*create 4 self switches in the switch list: $up, $down, $left, $right
*have each of those 4 pages run when one of those self-switches is on (chosen from the normal switch list) (also remove the self switch A conditions)
*change the event sprite on those pages to the correct arrow direction, which is the same as the self-switch name (you can also remove the event sprite pic from the first event page completely + remove the 'turn self switch A ON')
*then at the end of the first event page (which has those 'set hit box' etc) put 4 IF-conditionals, which turn on the correct self-switch depending on which direction the player is facing
I'm a bit confused. Is your problem with the arrow skill only that the arrow sprite is always facing up? Or is it also always moving upwards?

If you just copy the fire skill and only change the sprite pics, then the arrows should move in the right direction (works for me at least). If it doesn't work for you, then you probably changed some values in the common events, variables, plugin parameters or whatever.

As for changing which way the arrow sprite is facing, you have to do multiple different pages on the skill template event (or at least that's one way of doing it, like I assumed above):

*create a total of 4 copies of the skill event's page that is currently run if self switch A is on
*create 4 self switches in the switch list: $up, $down, $left, $right
*have each of those 4 pages run when one of those self-switches is on (chosen from the normal switch list) (also remove the self switch A conditions)
*change the event sprite on those pages to the correct arrow direction, which is the same as the self-switch name (you can also remove the event sprite pic from the first event page completely + remove the 'turn self switch A ON')
*then at the end of the first event page (which has those 'set hit box' etc) put 4 IF-conditionals, which turn on the correct self-switch depending on which direction the player is facing


Hi, I didn't get a chance to do anything yesterday at all.

Well, when I did the sprites, the arrows are not only always facing up, when I did make 4 different pages in the event, for 4 different directions, they each faced a different direction than what was intended!

archery6.png

Here's the archery, facing up when it's clearly supposed to be facing down.

I'm clearly more confused than ever...
Did you remove the direction fix from the arrow event?
Edit: just saw your event, you do need to uncheck direction fix.
Spoiler: What you need to uncheck
1682650058374.png
EDIT: To clarify, I meant that the direction fix can be on if you make the 4 different pages. But, @Izzy_MS is correct and if you just uncheck the direction fix the plugin handles the projectile direction automatically. That is a much simpler solution 😀 You should turn the sprite event on the first page empty though, otherwise it will load the sprite in a wrong direction for a short time before turning it in the right direction when moving.


[No, the arrow event can have the direction fix on. If your arrows are now pointing in a different direction than you intended, doesn't that mean you made a mistake in the IF-statements or the page conditions? Check that your if-statements for direction, page conditions and arrow sprite pics match.

If that doesn't help, post pics of the first event page and those 4 conditional pages from your arrow event.]
Did you remove the direction fix from the arrow event?
Edit: just saw your event, you do need to uncheck direction fix.
Spoiler: What you need to uncheck
I feel like such a dunce! OMG.... I went ahead and did what you suggested in the event and it looks to have resolved THAT issue...
Now to figure out changing the animation for the main attack for a possible 2nd character...decisions, decisions...
Thank you two so much!
Looks really cool i might use it later on 🙂

Original thread: https://forums.rpgmakerweb.com/threads/official-rpg-maker-arpg-plugin-what.156972/