Original Source
- Original title: A few extensions to Eventing and Battles
- Original author: BurningOrca
- Original date: January 6, 2022
- Source thread: https://forums.rpgmakerweb.com/threads/a-few-extensions-to-eventing-and-battles.143663/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)
Summary
Preface Okay I recently got MZ and combined some of my unreleased MV plugins into new MZ plugins and also wrote some new ones. Originally I've planned to have only one version of each of these plugins compatible with both MV and MZ, but ultimately I've splitted them apart as I didn't like all those if-statements to handle the maker differences. I've noticed most of the extensions, that come with these plugins, have already been implemented by other programmers and their version are often more sophisticated, so I feel a...
Archived First Post
Okay I recently got MZ and combined some of my unreleased MV plugins into new MZ plugins and also wrote some new ones. Originally I've planned to have only one version of each of these plugins compatible with both MV and MZ, but ultimately I've splitted them apart as I didn't like all those if-statements to handle the maker differences.
I've noticed most of the extensions, that come with these plugins, have already been implemented by other programmers and their version are often more sophisticated, so I feel a little uncomfortable by uploading these. I've also tried to make a plugin demo project, but didn't have very good ideas for this so I guess I won't upload it, but it helped me identifying a few bugs/missing features already.
Description of plugins:
BoMZ_PluginBase/BoMV_PluginBase
The core plugin, which includes common functionality used by my other plugins, although I didn't want to name it core. It adds no new functionality to your game. If you really want to know what it provides, than please read the help file.
BoMZ_GameplaySettings/BoMV_GameplaySettings
This plugin provides a few plugin parameters to adjust some aspects of gameplay. But beware changing those will result in functions of the default engine being overwritten instead of aliased, which might cause compatibility issues with other plugins.
- Preemptive & Surprise:
In default engine surprise can be switched off by party ability, but preemptive chance can only be raised, not switched off entirely. This plugin provides options to overwrite the formulas used to determine preemptive and surprise at the start of a battle. - Escape from battle:
The plugin provides the option to make escaping from battle always succeed and two options to set the individual formulas for determining the escape ratio in case the always succeed option is not set. - Always revive after battle:
In the default engine if the party loses a battle it is allowed to lose, then all members are revived with 1 HP left. In case of victory or escape fainted party members stay fainted. This option changes this to make fainted party members always revive with 1 HP left after battle.
- Party settings:
The usual setting for maximum number of party members participating in battle. By setting this to 0 the settings from other plugins or the default engine will be applied.
From v.1.2 onwards this setting can be changed mid game via plugin command SetMaxBattleMembers if the plugin parameter is unequal to 0.
A setting to adjust the level of a newly added party member according to the levels of the rest of the party in case the initialize check box is ticked in "Change Party Member" event command.
- Level up settings:
Different recovery options for HP/MP at level up:
* All: Full recovery
* Difference to maximum: e.g. before level up you have 10/100 HP left, after level up you will have 10/110 HP left, basically all the damage you've received stays the same.
* Keep same ratio: e.g. before level up you have 10/100 HP left, after level up you will have have 11/110 HP left, basically the percentage of HP left will stay the same.
* No: Don't recover any HP/MP
Options to remove states upon level up.
Option to make every level up require the same amount of expirience.
Plugin Parameters:
The MZ version provides a plugin parameter to automatically show name box containing the name of the event, when the name box is kept empty in the "Show Text" event command.
Both versions provide a plugin parameter to automatically show a face image that has been assigned to an event page using these plugins (how to do that will be described below) in case it is kept empty in the "Show Text" event command.
Both version provide a plugin parameter, that can assign face images to enemies.
Some new message replacement codes:
\evn[id]: Will show the name of the event with the given id
\evn: Will show the name of the current event
\e[id]: Will show the name of the enemy with the given id
\tm[position] Will show the name of the enemy at the given position in the troop which the player party currently fights
Escape codes for name box:
\n[id] and \p[index] are enhanced to also automatically show the face image currently assigned to the appropriate actor if the "Automatic Face Image" plugin parameter is set to true.
\nn[id] and \pnn[index] will show the nickname of the appropriate actor instead.
\evn[id] Will show name and face image of the event with the given id.
\e[id] Will show name and face image of the enemy with the given id.
The MV version has similar escape codes to extend upon the namebox functionality of Yanfly's YEP_MessageCore plugin.
New options for event pages:
This plugin can change the name, hue, opacity of an event page as well as assign a face image to an event page. It can also make it use a conditional name/character image/charcter graphic or use the graphics of an actor all through a single plugin command. MV version uses comments for this. It is required, that the plugin commands of this plugin are placed at the top of the event page before everything, that is not a comment. The comments in the MV version should also be placed on top of everything, that is not a comment.
MV Version comments:
Further page conditions:
The MZ plugin provides two further plugin commands, that provide additional page conditions, while one of them is meant for map events and the other one for troop events. The one for map events only provides conditions based on the default map refresh logic, while the one for troop events provides the same options aswell as an option to evaluate javascript, which seems to be possible as the conditions for troop events are checked quite frequently by the default engine. The troop conditions are also checked if the troop event page is set to "Don't run" in the default engine.
Yet again the MV version uses comments. The following options are provided:
* Check further switches if they are on or off
* Check further variables using various comparison methods (==,!=,<=,>=,>,<,in, not in, between, not between, etc.)
* Check further self switches and self switches of other events
* Check further party members and party members based on variables
* Check further items aswell as armor/weapons if they are in the inventory of the party
BoMZ_FollowControl/BoMV_FollowControl
This is not just a follower control plugin, but also provides functionality to make events follow the player or the player follow events. While developing this, I've noticed, that my previous MV plugin BO_FollowLinks has a lot of issues so I would appreciate if users of this plugin would switch to BoMV_FollowControl instead.
In short terms this plugin provides the following options:
- Let event and movement route commands target a follower via plugin commands "ControlFollower" and "ControlFollowerByVariable". All commands, that would target either the player or the current event will then target the follower instead. Targeting the follower instead of the current event was implemented so that the "Set Event Location" command can target the follower, because "Transfer Player" wasn't possible to be abused with this functionality.
- Add and remove party members by variables, e.g. if variable 9 is 2 then Priscilla will be added to the party by using the following plugin comand:
- Make events follow other characters such as the player or events on their movement routes. Make the player follow events on their movement routes through various plugin command aswell as comment tags on the event page described in the help file. These comment tags must be placed at the top of the event page even before the plugin commands provided with BoMZ_EnhancedEventPages.
BoMZ_BattleAtmosphere/BoMV_BattleAtmosphere
I was looking for a name, that fits enhancing visual and acoustic stuff at the same time and came up with atmosphere.
First of all a plugin command for showing balloon icons in battle: Hooray!
Also a plugin command tho change battle background mid battle.
Did you know, that in the default engine overworld maps have a special logic for battle backgrounds based on the auto tile you stand on, e.g. this one will automatically display a poison swamp background:
However this logic cannot be transferred over to regular maps as the auto tile at the same location of the outside tile
set will still show a poison swamp even though it is a water and snow tile.
So I came up with plugin parameters to set not only troop specific battle backgrounds, background music and even background sounds, but also region specific and also settings based on tileset and terrain tag.
The logic which one is chosen is the following:
- Troop overrules everything
- Region overrules tileset/terrain tag
- Tileset/Terrain tags overrule engine default logic
- Engine default logic is taken.
but, if a troop has e.g. a battle background image, but no music assigned, the music will be taken from the next setting in the hirachy.
Terms of use:
1. These plugins may be used and redistributed with both free and commercial games.
2. These plugins may be redistributed only for free otherwise, but I would appreciate linking back to the this thread instead.
3. You may take code from these plugins for your own free plugins, but not for commercial plugins.
4. You may edit these plugin, but BurningOrca has still to be mentioned in the author section. You may not rename these plugin. You may redistribute your edits for free.
Edit:
Get the plugins here:
BurningOrca Plugins (Google Drive)
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Terms of use: 1. These plugins may be used and redistributed with both free and commercial games. 2. These plugins may be redistributed only for free otherwise, but I would appreciate linking back to the this thread instead. 3. You may take code from these plugins for your own free plugins, but not for commercial plugins.
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...