Battle Overview
by Lay
Introduction
by Lay
Introduction
The massive development of RMMV plugins has open the door to the creation of very elaborate battle strategy. Mainly, battle complexity has been provided by the ability to create complex states and skills. Unfortunately, from the player point of view, there isn't a satisfacting way to acess a nice and clear description of what those complex states really do. On the other hand,the use of specific skills usually need to have at least an estimation of the opponent parameters and elemental affinity. As a consequence, players are, for most of them, invited to adopt a "die and retry" game plan until the effect of states has been perfectly understood based on how battlers behave and react to them. However, not all developers expect from their game to require this kind of game plan for being understood. For those kind of RMMV makers, this plugin propose a way to give to player minimal information he needs on battlers to elaborate a strategy. A command named "overview" (by default) is added either to the ActorCommand Window or the PartyCommand Window. This command open a window that display information about the selected battler.
Features
game features :
- A new battle command that open a window to display information about a selected battlers. It includes the list of states the battler is currently affected by, the battler parameters and the battler element rate. The battler list and states list are selectable items. Upon state selection, a description of the state is displayed.
- Add a new object to game party to store the enemies element rate. You can choose to display element rate with an empty icon in the battle overview window. This new object can be update in the middle of battles to set a specific element Icon to an other value. Thus, this allow you per example to hide all the enemy element rates by default and reveal them upon hit with the corresponding element. This feature might be computed using lunatic mode, providing you a huge flexibility.
dev features :
- Made with respect to Yanfly plugins architecture and should be compatible with most of the Yanfly plugins.
- A lot of effort has been dedicated to window customization. Thus, this plugin propose a huge amount of adjustable parameters.
Requirements
- This plugin required Lay_WindowDrawPolygon plugin. This plugin doesn't bring any change to the game but contain all the function I use to draw object in windows. If you are a baby scripter like me, you can enjoy an easy access to the drawing functions this plugin provide.
- (optional) if you are using YEP_X_AnimatedSVEnemies, the enemy battler sprite will be drawn.
Compatibility
- Might be place above MOG's Battle HUD plugin @Vis_Mage
Development...
Coding things is a hobby for me and I don't pretend that I'm a good scripter since I'm not a pro. After a recent discovery of JavaScript, I really enjoy to create extra features to RPG Maker. Here, I propose you to help me in perfecting this plugin. If you are interested in the feature it proposes, go test it and give me your feedback !! Implementing new features, parameters or bugs correction is my absolute priority at this stage. Meanwhile, if you are an experience scripter and see something in the code that could be improve, I will really appreciate to have your feedback too and will dedicate the time I can to optimize it.
Therms of use
Free to use for all RMMV project, including commercial games.
Free to hack.
I will appreciate to know if you use it so don't hesitate to respond here or to send me a message with the name of your project (this is not mandatory).
Bug report & Work in progress
The current version don't allow you to customize the command name and the element affinity diagram legend. I'm currently working on that with low priority. If you're in a hurry and want to modify them, see in the discussion below how to modify them from the plugin code.FIXEDThe battle overview window doesn't give information on Enemies or Actors that appears in the middle of a battle. I'm currently working on that with a high priority. Thanks to @ScorchedGround for this report.FIXED- BUG :
the current version doesn't support the load of old save files if the enemy databse has been updated. I'm currently fixing this bug.FIXED (see update page 2 for details) TODO : notetags to hide gauges @ScorchedGroundTODO : extend the elemental affinity bar customization @ravenhood- TODO : extend the battler selection window customization
- TODO : Implement a visual notification of parameters buff/debuff
- TODO : Add buff stack and state counter
Troubleshooting
Element rate related index conflict can be detected when the enemy element rates are not properly updated or when the enemy element rates are updated without any evident reasons. This could happen after the following action in the editor :
if you are not familiar with console, you can also create a NPC and put this command in Script... Talking to this NPC will run the command.
This command will re-create the Element_Weakness_Discovery table according to the database statement. You will loose all the element you has discovered throught game advancement. However, since you will only have to use those things during game development, it shouldn't really break you're game testing.
- If you decide, for some reasons, to swap two elements in the database. There isn't any possibilities for the plugin to understand such a thing. As a consequence, if you per example swap element 2 and 3, the element 3 will be drawn with the icon of element 2 and vis versa for all monsters that were present in the database before you decided to swap those elements. Updating the elements icon plugin parameter will only be took into account for newly added monsters.
- If you decide, for some reasons, to swap two monsters in the database or to change the index of a given monster. Same than before, impossible to understand it. As a consequence, all the element that has been discovered for a swaped monster will be replace by the discovered element of the other swaped monster.
- All other manipulation that can create Element Index conflict or monster Index conflict I didn't think about are susceptible to make Element_Weakness_Discovery inconsistent with the updated database.
Code:
$gameParty.setUpDiscoEnemWeak()
This command will re-create the Element_Weakness_Discovery table according to the database statement. You will loose all the element you has discovered throught game advancement. However, since you will only have to use those things during game development, it shouldn't really break you're game testing.
This error usually pop up if you have updated the plugin from a version below 0.3 to a version higher than 0.3. This occurs when plugin parameters are badly formated.
method 1 : remove the plugin from the plugin manager and reload it. This will cause to reset all parameters to default.
method 2 : carefully check the plugin parameters entries. Pay a particular attention to "Draw Icon Condition" and "Element Rate Scalling Script". Those parameters might be provide from the "Note" and not "Text".
method 1 : remove the plugin from the plugin manager and reload it. This will cause to reset all parameters to default.
method 2 : carefully check the plugin parameters entries. Pay a particular attention to "Draw Icon Condition" and "Element Rate Scalling Script". Those parameters might be provide from the "Note" and not "Text".