Several plugins created by my Slayer2
A downloadable project
Introduction
Hello everyone!
I've developed several plugins for RPG Maker MZ based on the needs of my own project, and I thought they might be useful for other creators. While I'm not an expert programmer, I've crafted each plugin based on my own ideas and requirements.
All the plugins are in Spanish since it's my native language. If you don't speak Spanish, you can use a translator to understand their functionality. Although these aren't extremely complex plugins, they've been very useful to me, and I hope they will be for you too.
Features
- AcitvadorInterruptor.js: Allows you to activate or deactivate local switches of any event on any map through a script.
- Aleatorio.js: Moves events randomly within a specified area on the map using movement routes.
- AudioDistancia.js: Controls the volume and panning of a sound based on the distance between the player and the event producing the sound.
- ComprobarLocales.js: Checks the status of local switches and returns true or false in event conditions depending on whether their local switches are activated or not.
- ComprobarPosicion.js: Provides functions to check if the position of events and the player meets the conditions of the events.
- DentroPantalla.js: Checks if specified tiles are visible on screen to return true or false in conditions.
- DentroPantallaX4.js: This plugin allows you to check if multiple specific checkboxes are on or off the screen and will return true or false on a condition. Several can be configured.
- EventosConjuntos.js: Monitors multiple events at once based on their distance to the player, allowing you to activate or deactivate their local switches based on the distance to the player and independently for each of the events.
- NPCCercano.js: Checks if the player is adjacent to an event on the map and returns true or false in a condition.
- Radar.js: Tracks the distance between the player and a specific event, updating a variable based on that distance.
- STOP.js: Temporarily immobilizes the player.
- TiempoEspera.js: Adds random pauses in event movement routes to prevent unwanted movement synchronizations between events.
- TiempoEsperaEvento.js: Similar to "TiempoEspera.js", but specific to event pages.
- VariasPosiciones.js: Checks if the player is in one of the specified positions and returns true or false in conditions.
- InicioAutomatico.js: This plugin allows you to define certain switches, common events, variables, and scripts to be activated, deactivated, modified, or executed automatically when starting a new game, loading a saved game, or in both cases.
New
- TimeAction.js: This plugin allows you to perform time-based actions in seconds. Controls events, switches and local switches. Ideal for creating timed mechanics. Like the growth of a plant in phases and time, for a garden, replenish map resources after a while.
How to Use
They are installed in the usual way, putting the files in the js\plugins path of the project and activating the plugin in RPG Maker MZ itself. Each plugin already comes with its own instructions.
Plugin Commands / Script Calls
All plugins are used through scripts in events, either in conditions or in movement paths. Everything you need to know how to use each plugin is explained in the plugins themselves.
Terms and Credits
The plugins are free to use for both commercial and non-commercial projects. If you choose not to pay for them, I'd appreciate it if you could credit me under the name "Slayer2". If you decide to support me with a contribution, crediting is optional.
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
I don't mean to offend, I'm just curious how you use these plug-ins in your projects
Hello good. Sorry for answering so late. Well, I give you examples in which some can be used:
TimeAction.js: You can create a garden, plant a seed and when the time you want passes, that seed would grow a little more, after another time that you want, it could grow a little more and even obtain the fruit. Or if you defeat an enemy, instead of changing the map and returning to the map the enemy is restored, set a certain time to pass. These times continue even if you save and load the game, so the state of the time is saved.
Radar.js: You can update a variable based on the distance between the player and an event. It would serve to put treasures on the map and configure it so that when the player is nearby a sound is heard or a message appears.
VariasPosiciones.js: Used to put a scrypt in conditions. You can set a condition to be met or not depending on whether the player is on a square. For example, the minesweeper game. Put which squares are the mines and if the player steps on them then the condition is met and something happens. You can use it with Radar.js to detect mines.
TiempoEsperaEvento.js: This is like the wait option that already comes in the game, but through a script it allows you to set several times and randomly wait for one of the times you have set. It works for example if you have the sleep follow balloon set in several events and these are played at the same time in all the events at the same time, with this plugin each one will wait the random time that you have customized.
TiempoEspera.js: I use this on almost all my NPCs along with Aleatorio.js. It is the same as TiempoEsperaEvento.js but instead of on the event page, in movement routes.
Aleatorio.js: I use it on almost all my NPCs along with TiempoEspera.js. It is used for the movement path of events, so that they move randomly, but without moving the number of squares you put away from their origin. Along with TiempoEspera.js between random movement, I set it to wait randomly between several different times. With this I get each NPC on the map to move randomly and not at the same time, as events almost always move in coordination. With this, each event will wait, for example, between 60, 80, 100 frames or whatever you put in it, before making a random movement.
AudioDistancia.js: This allows you to use a sound in the game, and it will play more on a left or right speaker depending on the player's position. With this you get more immersion since you know if the sound is coming from the left or the right.
More or less it's a small summary. But in the same plugins, from RPG Maker MZ you can see how they work.