MZ Map Projectiles

FEATURES
Create projectiles that can interact with player and events using script calls.
These projectiles can be fired from the player or an event and set to shoot in a direction, at a target or toward the mouse position. Settings can be used to control which projectiles will hit or run an action on other events, which terrain tag or region id tiles block them, different actions they will do when then hit the player or an event and more.

VERSION 1.1 – RPG Maker MZ
Download Plugin file


Download my master demo to view examples of this plugin from:
Galv’s MZ Plugins Home


40 thoughts on “MZ Map Projectiles

  1. Galv says:

    Updated to version 1.1 to fix a player hit collision y offset issue.

  2. Lady says:

    the distance the image travels goes further than 1 tile when I fire

    my settings
    [“{\”name\”:\”Shot\”,\”sid\”:\”-1\”,\”tid\”:\”d0\”,\”speed\”:\”8\”,\”dist\”:\”1\”,\”graphic\”:\”\”,\”anim\”:\”6\”,\”eAction\”:\”s(A:on)\”,\”pAction\”:\”\”,\”regions\”:\”\”,\”terrains\”:\”\”,\”z\”:\”3\”,\”pid\”:\”1\”,\”size\”:\”30\”}”]}

    I tried setting it to .01 like I did in MV (which worked btw) but it doesn’t in MZ. at 1 iy goes about 4 spaces.

    • Galv says:

      It fades out after that distance. Try changing the fade speed if you want it to disappear quicker. 255 should disappear instantly.

  3. Mooseboythe1st says:

    Hey man, thanks for the plugin. Any idea why my character can shoot in any direction with the mouse…but now cant move with the directional keys.

    • Galv says:

      Sounds like you’re doing that using an autorun event. Autorun stops all player controlled
      movement.

      • Mooseboythe1st says:

        Thanks! you were spot on. Now the trouble im having is the mouse click is firing the shot but also moving the character. in your demo the mouse movement stops. how did u do that?

        and thanks again :D

      • Galv says:

        Check out the demo and the plugin description. It’s a script call :)

  4. Mooseboythe1st says:

    ahh, got it now. Thanks again :D

  5. Kipa_Tiki says:

    Why does it say “cannot read the match prprety” when i use it ?

  6. Arker says:

    Hello I am asking if I can use this plugin for
    my commercial game.
    My game is not out yet I am just asking because it is polite to ask before using something for commercial use.

  7. Ulysses says:

    Hi, Galv, Thank you for the amazing plugins. About this one, I want to get the event ID of the projectiles. So, could you please tell me how. Thanks again!

  8. Leo says:

    Hi Galv,I am kinda confused on how to make my enemies die from the projectiles?

    • Galv says:

      This plugin doesn’t make enemies or enemies die – it makes projectiles. But check out the demo to see a way you could use it for that. If you cannot work it out, I recommend asking in a forum to see if someone can assist with what you’re trying to do.

  9. Mike says:

    Hello Galv, I try to use “dX” as a direction of projectile, but I want to use variable to determine the direction. Tried with “Galv.PROJ.atTarget(this.eventId(),’d’+$gameVariables.value(52),5,9,’bullet0′,2,’c(6)|s(C:on)’,[5,6],[6],3,2);” but with no luck…. any help, please?

    • Galv says:

      Provided your variable is set correctly, that looks like it should work. Check what the value of your variable is, it would need to be one of the cardinal directions.

      • Mike says:

        Thank you for quick reply. It was problem with “self switches and variables” plugin. It works now!

  10. Mike says:

    Dear Galv, is there an option to make the bullet (one bullet) go through the event and activate them at the same time, without breaking the bullet after touching the first one? I can’t figure it out… Events are “same as player”.

  11. Hey Galv,

    Love the plugin. I was wondering, what format should animated images be in (3×1 @48px per frame)? Also, is it possible to have two effects (such as a self switch and run CE on impact with enemy?

    Thank you!

  12. ctrlstudios says:

    We’ve made an abs system with this plugin.

  13. kipatiki says:

    Hello, is there a way to detect the ID of a projectile touching an event ?

  14. RinostarGames says:

    Is there a way to have the projectiles interact with each other? I’d like to make it so the player’s projectile can counter the enemy’s projectile, or if a trap shoots a projectile, the player can knock it back with their own projectile.

    Also, when I use d6 it only semi-works. If the player moves up and down, the projectile fires at an angle. Any solution for this?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s