Unfortunately, this is completely impossible according to how I've coded the plugin. sorry...
Battle Overview
JS Plugins In DevelopmentNo problem, it was a suggestion 🙂
@Boonty
I don't really think that this would work well within this plugin.
I think something like what you suggest would almost be fit for another plugin in itself.
Lay also said that he intended for the plugin to not be too complex.
I don't really think that this would work well within this plugin.
I think something like what you suggest would almost be fit for another plugin in itself.
Lay also said that he intended for the plugin to not be too complex.
@ScorchedGround
In one of your suggestion you've mentioned the ability to customize the font size for the state description. You may know that this text box is an executed text. This means that you can use, within the dedicated state description notetag, commands like \i[x] to draw the icon x or \c[2] to change the text color. If you are using YEP_MessageCore, you can change the font size using \fs[x]. This will change the font size to x until an other \fs[x] is provided.
And this is not an update, this feature was already present since the beginning xD
Testing it make me realize that I didn't reset the font size after execution. Thus, I've an other bug to fix xD I've updated the plugin in consequence.
In one of your suggestion you've mentioned the ability to customize the font size for the state description. You may know that this text box is an executed text. This means that you can use, within the dedicated state description notetag, commands like \i[x] to draw the icon x or \c[2] to change the text color. If you are using YEP_MessageCore, you can change the font size using \fs[x]. This will change the font size to x until an other \fs[x] is provided.
And this is not an update, this feature was already present since the beginning xD
Testing it make me realize that I didn't reset the font size after execution. Thus, I've an other bug to fix xD I've updated the plugin in consequence.
@Lay
Yes I am aware of that.
The thing is, I did have some lines in the state descriptions that were just slightly too long.
So I applied the \} Escape code to decrease the text size.
However, the change in size was too drastic in my mind and it did not look pretty.
I'd much rather change the font-size of the entire description by 1.
Because in the screenshot you attached, the difference between the second and third line of the description is too much.
But again, this is just a minor detail I found.
Yes I am aware of that.
The thing is, I did have some lines in the state descriptions that were just slightly too long.
So I applied the \} Escape code to decrease the text size.
However, the change in size was too drastic in my mind and it did not look pretty.
I'd much rather change the font-size of the entire description by 1.
Because in the screenshot you attached, the difference between the second and third line of the description is too much.
But again, this is just a minor detail I found.
Showing a drastinc change of font size was my intention. \fs[x] can be used for any kind of font size so the customization could be very narrow
Oh wow I did not know about \fs[x], thank you very much. I only knew about the standard Escape Codes.
While I'm at it. While playing around with some Notetags I stumbled upon a strange thing.
When you put these two Notetags into the Notes of an Enemy
<Hide Elem Icons: X>
<Overview HP Gauge: X>
The HP Gauge won't be affected by the Notetag (The Element Icons will still be affected though)
However, if you put the Notes in reverse order, like that:
<Overview HP Gauge: X>
<Hide Elem Icons: X>
Both Notes work as intended
At least, that's how it went for me. This may be a minor bug, but I felt like pointing it out anyways.
While I'm at it. While playing around with some Notetags I stumbled upon a strange thing.
When you put these two Notetags into the Notes of an Enemy
<Hide Elem Icons: X>
<Overview HP Gauge: X>
The HP Gauge won't be affected by the Notetag (The Element Icons will still be affected though)
However, if you put the Notes in reverse order, like that:
<Overview HP Gauge: X>
<Hide Elem Icons: X>
Both Notes work as intended
At least, that's how it went for me. This may be a minor bug, but I felt like pointing it out anyways.
Normally this bug was fixed by the previous update. Are you sure it still exists ? I can't reproduce the bug...
Hmm I don't think I tested it with the latest version, yet.
I will test it out tomorrow as I am going to bed in a moment.
If the problem still exists, I will tell you. Otherwise consider the problem fixed.
I will test it out tomorrow as I am going to bed in a moment.
If the problem still exists, I will tell you. Otherwise consider the problem fixed.
Just a little Inquiry.
This problem was fixed. That mistake was on my behalf.
However one thing that kind of bugged me all along is that the Element-Discovery only works when damage is dealt or absorbed (havent tested aborbing damage yet but I assume it works). It does not work when no damage is dealt (i.e. the element rate is at 0%).
So the "?" Icon is displayed at the very beginning of "resist" on the element affinity bar, but can never change to it's actual element icon.
This problem was fixed. That mistake was on my behalf.
However one thing that kind of bugged me all along is that the Element-Discovery only works when damage is dealt or absorbed (havent tested aborbing damage yet but I assume it works). It does not work when no damage is dealt (i.e. the element rate is at 0%).
So the "?" Icon is displayed at the very beginning of "resist" on the element affinity bar, but can never change to it's actual element icon.
In other words, you are looking for an other yanfly state notetag that the one I've posted as an illustration.
The notetag below will run if damages are equal or higher than 0, what should fixed your issue.
Keep in mind that the plugin offer a function to change the element rate discovery but this function is never used by the plugin (setElementDefault(ElementId, elements)). The only way to make this function run at least once is in combination with other plugin that offer lunatic mode, in this case yanfly BuffStateCore.
Doing so, it opens the door to any kind of element rate discovery system. You can make a consumable item that update the element rate of a specific monster outside of the battlefield, a bit like a monster book that give knowledge to the player. You can do an analysis skill that update all element at once about the target enemy and so on... You just have to be creative on how to use the function above 🙂
The notetag below will run if damages are equal or higher than 0, what should fixed your issue.
JavaScript:
<Custom Respond Effect>
if (target.result().hpDamage >= 0) {
var EnemyId = target._enemyId;
var elements = this.getItemElements();
$gameParty.setElemIconDefault(EnemyId,elements)
}
</Custom Respond Effect>
Keep in mind that the plugin offer a function to change the element rate discovery but this function is never used by the plugin (setElementDefault(ElementId, elements)). The only way to make this function run at least once is in combination with other plugin that offer lunatic mode, in this case yanfly BuffStateCore.
Doing so, it opens the door to any kind of element rate discovery system. You can make a consumable item that update the element rate of a specific monster outside of the battlefield, a bit like a monster book that give knowledge to the player. You can do an analysis skill that update all element at once about the target enemy and so on... You just have to be creative on how to use the function above 🙂
Hey Lay! Great plugin, exactly what I need. I did encounter a problem when I updated to the 0.3 version, however, as it stopped working.
This is the error I get at the console. IT doesn't crash the game, but the Overview command won't show up anymore.
JavaScript:
Uncaught SyntaxError: Unexpected token r in JSON at position 0 index.html:1
at JSON.parse (<anonymous>)
at js/plugins/LAY_BattleOverview.js:962
This looks like an error about how the plugin retrieve the plugin parameters.
Since the latest version works fine in my project, I will assume that some arguments are badly formated in your plugin parameters.
Can you check the parameters "Draw Icon Condition" and "Element Rate Scaling Script" please ?
Give me a screenshot of those parameters if the problem persist.
PS : the latest update included a rework of plugin parameters, especially around element rate stuff. If you didn't choose to remove and reload the plugin in the plugin manager, some arguments are still provided in a old format that is no longer supported.
Since the latest version works fine in my project, I will assume that some arguments are badly formated in your plugin parameters.
Can you check the parameters "Draw Icon Condition" and "Element Rate Scaling Script" please ?
Give me a screenshot of those parameters if the problem persist.
PS : the latest update included a rework of plugin parameters, especially around element rate stuff. If you didn't choose to remove and reload the plugin in the plugin manager, some arguments are still provided in a old format that is no longer supported.
Draw Icon condition is bad format.
When you are about to change the parameter, you will be allow to choose between Note or Text.
if you want to use Text, enter : "resi != 1"
if you want to use Note, enter : resi != 1
At the end, when you are looking the plugin manager as in the screenshot, it should be written "resi != 1".
And yes the problem doesn't come from how you set parameters, it comes from the modification I've introduced to the plugin manager by the latest update.
By the way, if you want to make sure that all parameters are in good format, remove the plugin from the list and reload it. Doing so, all parameters will be set to their new default values.
When you are about to change the parameter, you will be allow to choose between Note or Text.
if you want to use Text, enter : "resi != 1"
if you want to use Note, enter : resi != 1
At the end, when you are looking the plugin manager as in the screenshot, it should be written "resi != 1".
And yes the problem doesn't come from how you set parameters, it comes from the modification I've introduced to the plugin manager by the latest update.
By the way, if you want to make sure that all parameters are in good format, remove the plugin from the list and reload it. Doing so, all parameters will be set to their new default values.
Adding the quotation marks fixed it. Thank you 🙂
Great,
If you meet issues with the plugin parameters for customizing the overview stuff, don't hesitate to ask. It will be a pleasure to help.
enjoy the plugin
If you meet issues with the plugin parameters for customizing the overview stuff, don't hesitate to ask. It will be a pleasure to help.
enjoy the plugin
Awesome plugin! Being able to let players see all of this detail at any point in battle is really convenient. Very helpful 😤
Just curious, would it be possible to add Buff and Debuff displays as well? (Since Buffs and Debuffs can stack, having a display that either shows the current buff/debuff % of the target, or even just how many stacks of the Buff/Debuff they have?)
Just curious, would it be possible to add Buff and Debuff displays as well? (Since Buffs and Debuffs can stack, having a display that either shows the current buff/debuff % of the target, or even just how many stacks of the Buff/Debuff they have?)
Thanks for your message @Vis_Mage.
I'm currently working on it for the next update. However, in order to space updates in time, I will also implement other features at the same time. Below a non exhaustive list containing the major features I've in mind.
- visual information of buff and stack
- visual information of state counter
- modification of parameter text color according to the current battler States & Buffs situation.
The last update introduced a major change in the plugin. It will be more comfortable for me to make sure that this last update isn't buggy too much. Because all games are different and because I can't test all the possible situations, I will leave you a bit more testing time for bug report.
Always better to build a new building on solid foundations isn't it ?
Thank you, and no problem, sounds good.
I've added the current version in the project. I haven't ran into any issues so far, but I'll let you know if I find anything.
Compatibility seems to be really good, seeing as my project has ~200 plugins. The only oddity I've ran into is, if you are using MOG's Battle HUD plugin, you'll want to have your plugins above MOG's, as otherwise some of the battle HUD is overwritten.
EDIT: One other suggestion that I have after using the plugin some more, perhaps there should be a option in the plugin to set a default <Hide Elem Icons: X> value for enemies (not actors). The reason being that otherwise you'd need to paste the <Hide Elem Icons: X> notetag in every enemy notebox to have the icons hidden.
You could even take this one step farther, and also have a switch that, when on, reveals hidden element icons. Could be used to create a Scan skill, or a Wise Goggles equipment that reveals them when equipped. Or even to have elements revealed by default in easy mode, while still needing to unlock them the normal way in normal or hard mode.
EDIT2: Similar to above, perhaps being able to add a default <Overview Hp/Mp/Tp Gauge: unk> setting that would apply to all enemies would be convenient, with a switch to reveal it if on.
EDIT3: Turns out there is an incompatibility with MOG's Battle HUD. If you're plugin is above MOG's, then the MOG Battle Hud will show up like it should when you enter battle. However, if you open and close the Overview window, then the default RPG Maker MV battle hud shows up over top MOG's.
I've added the current version in the project. I haven't ran into any issues so far, but I'll let you know if I find anything.
Compatibility seems to be really good, seeing as my project has ~200 plugins. The only oddity I've ran into is, if you are using MOG's Battle HUD plugin, you'll want to have your plugins above MOG's, as otherwise some of the battle HUD is overwritten.
EDIT: One other suggestion that I have after using the plugin some more, perhaps there should be a option in the plugin to set a default <Hide Elem Icons: X> value for enemies (not actors). The reason being that otherwise you'd need to paste the <Hide Elem Icons: X> notetag in every enemy notebox to have the icons hidden.
You could even take this one step farther, and also have a switch that, when on, reveals hidden element icons. Could be used to create a Scan skill, or a Wise Goggles equipment that reveals them when equipped. Or even to have elements revealed by default in easy mode, while still needing to unlock them the normal way in normal or hard mode.
EDIT2: Similar to above, perhaps being able to add a default <Overview Hp/Mp/Tp Gauge: unk> setting that would apply to all enemies would be convenient, with a switch to reveal it if on.
EDIT3: Turns out there is an incompatibility with MOG's Battle HUD. If you're plugin is above MOG's, then the MOG Battle Hud will show up like it should when you enter battle. However, if you open and close the Overview window, then the default RPG Maker MV battle hud shows up over top MOG's.
Original thread: https://forums.rpgmakerweb.com/threads/battle-overview.121408/