Battle Power / Power Level Hud?

Hello. I would love to have a plugin in my game which shows me the power level of my character, of each character in menu like near actors class name or something like that. A Power Level means the power the battler has like calculated all stats all together / 2 to achieve it or something like this? I've been waiting for ages since RPG Maker MV appeared and still could not find a plugin like this and I wonder why there is still none already made. Here is a picture which shows what I mean. I would totally love to have such a plugin but I just don't know how to make one because I am not a scripter and my brain is just useless slimy stuff.

Spoiler: Power Level / Battle Power
5ctVWmr.png
This isn't perfect and I'm sure someone else could probably think of a cleaner solution.
But for in the meantime you could do this to achieve similar results.

So first off need Yanfly's Status Menu Plugin:
http://yanfly.moe/2015/12/04/yep-37-status-menu-core/

Then gonna need Yanfly's Actor Variables Plugin:
http://yanfly.moe/2015/12/10/yep-41-actor-variables/

Basically, we just put their stats into a variable and display it via the status menu instead.

Make an event that will add all of an actor's parameters into a single variable and at the end divide that variable by 2.
Should look like this: And then just take that variable number and put it into Yanfly's Variable plugin to display it.
a0bbbcc17ebbce8a27501e31e2210329.png
This isn't perfect and I'm sure someone else could probably think of a cleaner solution.
But for in the meantime you could do this to achieve similar results.

So first off need Yanfly's Status Menu Plugin:
http://yanfly.moe/2015/12/04/yep-37-status-menu-core/

Then gonna need Yanfly's Actor Variables Plugin:
http://yanfly.moe/2015/12/10/yep-41-actor-variables/

Basically, we just put their stats into a variable and display it via the status menu instead.

Make an event that will add all of an actor's parameters into a single variable and at the end divide that variable by 2.
Should look like this: And then just take that variable number and put it into Yanfly's Variable plugin to display it.
a0bbbcc17ebbce8a27501e31e2210329.png

Wow this is a good solution to go with. It's not that what I actually wanted but it does the same job, just need to check this attribute out in the status menu.

PS: Thanks for your idea. I was trying to this this with using Yanlfy's Actor Varible but I've failed. xD your Idea how to do this was the fix 😉

PPS: Oh looks like it does not work when I change the gear or something else. The stats does not change unless I activate the event again. Even if I do the stats will calculate to that what I have already set. Awww
First, a question... your menu looks very different from the default in the screenshot, are you using a plugin for the main menu, and if so what is it? I'm only asking so I can figure out if what I'm thinking of can work with it or if I need to go about it a different way or not.

Secondly, do you want the exact words "Power Level" or use an Icon, or both? As depending on how high your stats can get in your game there may be some overlap if the number gets too large and close to your FP section.

Once I see a response I'll see what I can do later this afternoon 😀
First, a question... your menu looks very different from the default in the screenshot, are you using a plugin for the main menu, and if so what is it? I'm only asking so I can figure out if what I'm thinking of can work with it or if I need to go about it a different way or not.

Secondly, do you want the exact words "Power Level" or use an Icon, or both? As depending on how high your stats can get in your game there may be some overlap if the number gets too large and close to your FP section.

Once I see a response I'll see what I can do later this afternoon 😀

Hello. Well I am using Yanfly plugins and this background picture is a plugin from Moghunter well let's say some plugins by Moghunter for the menu. Menuparticles, Menubackground, Scrollbar, CursorBorder, Menucursor, oh and his time system where you can check the time, day, etc. Then I am using GALVs MenuFade,CursorImage which makes the 2nd cursor animated like in the game Star Ocean 2 then Yanlfys, MusicMenu all together makes it look very beautyfull 😀
Is one of the plugins making the game resolution larger than default? If you are and it happens to be Yanfly Core Engine, then I can already make this work... if not I'll need to see whatever you're using interacts with this little bit of code.

Edit: adding a screenshot of how this looks with only Yanfly Core Engine and Main Menu Manager in the project @1920x1080 resolution... and it updates when equipment changes 😀

68849-3f9a8a9e38fcb4d436abf6f1efd22671.jpg
Is one of the plugins making the game resolution larger than default? If you are and it happens to be Yanfly Core Engine, then I can already make this work... if not I'll need to see whatever you're using interacts with this little bit of code.

Edit: adding a screenshot of how this looks with only Yanfly Core Engine and Main Menu Manager in the project @1920x1080 resolution... and it updates when equipment changes 😀

68849-3f9a8a9e38fcb4d436abf6f1efd22671.jpg
Yep I am using Yanfly's EngineCore for the screen resolution 😀 There are also some gauge plugins installed if this matters.
Mmmk, I want you to see if this at least works with what you have... its really simple and can be edited if you know what you're doing... but if there are any issues, send another screenshot of how it works with this in. Place it under the Main Menu Manager first, and if it acts up, put it after everything and see if it makes any difference 🙂

Also, for the power level I used this formula:
Attack = 1, Defense = 1, Magic Attack =1, Magic Defense = 1, Agility = 1, Luck = 1, MaxHP (10) = 1, MaxMP (5) = 1
then take that total and divide by 2 as you had requested.

One last thing: If you need to edit things in this, you will need something like Notepad++, as I never figured out how to make a plugin properly for using the MV Plugin Editor.
Wow you're my hero. It works like a charm even the stats I've put in ( base, special and extra parameter ) plugins by yanfly are calculated. You're amazing 😀 . Check this out
sipMflp.png
PS: is there a way to animate the change alittle like shake or collor change while it jumps up or down? Sound effects? Help file ? 😀 I rlly don't know how to thank you. This plugin is so short but it makes my life sooo much better. Thanks 🙂
I can't really do anything fancy, but I am glad I could assist you and make it work well. 🙂

the only thing I can see I would change myself if it were my menu would be to move it just a tad closer to the class name so there wouldn't risk any overlap with the "0 FP" just to the right. to edit the placement for that go in and look for this line
Code:
var x3 = x2 + (xpad * 2)
and change it to
Code:
var x3 = x2 + (xpad * 1.5)
and see how that looks 😀

The one thing I did think of that might be interesting would be change the text color for the power level once it hits certain levels... like white could be 1-500, green 501-1000, blue 1001-1500, ect with each tier just being a easy tell for showing power in a non-bland way
I can't really do anything fancy, but I am glad I could assist you and make it work well. 🙂

the only thing I can see I would change myself if it were my menu would be to move it just a tad closer to the class name so there wouldn't risk any overlap with the "0 FP" just to the right. to edit the placement for that go in and look for this line
Code:
var x3 = x2 + (xpad * 2)
and change it to
Code:
var x3 = x2 + (xpad * 1.5)
and see how that looks 😀

The one thing I did think of that might be interesting would be change the text color for the power level once it hits certain levels... like white could be 1-500, green 501-1000, blue 1001-1500, ect with each tier just being a easy tell for showing power in a non-bland way

Thanks I've changed the part you've told me and I also changed some stuffs inside the Plugin itself. Could you please check it out if it's ok for you?
I ofcourse don't want to claim that this Plugin is made by me so I've made some changes about this. 😀

Oh about this collor you are talking about like power lvl 1-1.000 white and 1.001-10.000 green this is a nice idea I just don't know how to do that xD PS: Thanks a bunch I never thought that someone ever would write a plugin for me. I mean a plugin which I would like to have (a requested one) 🙂
I had a massive migraine last night, so while I was having good ideas, I wouldn't dare coding... I'll look into my thoughts I had last night later on today once I've had time to wake up, and as for your changes, they look fine to me... and interesting you added an actual header to it with a plugin description and all that XD

Like I said before I can make stuff, but I don't really do them "properly" with headers, descriptions, and what have you. I've always liked doing stuff in notepad++

If I have a breakthrough with the ideas I had Ill let you know, one of them will be a pain though as it will be a learning curve even for me 😀
I am also using Notepad ++ for scripts but I am not a scripter. I just copied from other scripts and changed the settings. Even copy and paste took me over an hour because it did not show the power level when I started my game. So I had to check and compare what's different. till I've found that /* and */ it's same like <> and </> to close the brackets. Well I never learned coding and my brain wouldn't be able to learn it. I even had trouble with math at 4th class xD but lucky there are some nice people who helps out 😉 . PS: Take care and get some rest. I do have headache everyday for the rest of my lvl cap so I know how you feel. One thing I would like to ask, is it ok if you or me put this plugin into the master list so other people can use it ? well when it's finished ofcourse 😀
Looking at some of these attributes, I can see that they can actually have the wrong effect on a power level... first one I've been really toying with is Magic Cost Rate... in this case the lower the value the better since you would be saving MP. I'm looking to see if I can make it work to give more when its a lower value.

I'm also adding a lot more to it for proper customization and other details 😀 and once its done I guess I'll put it up on the release page, lol
Oh yeah I have probably to remove Magic Cost Rate. Sure have to check more stats and balance them. Well let's say Magic Reflect Rate will at 100% reflect any magic back and this is half of being god. So I have to make a cap for some rates like Magic Reflect, Evasion and so one because they would be just to OP. Yeah this would be cool. Having this plugin on the master plugin list would be really amazing 😀 PS: Same goes for attributes like base, special and extra some of them are better if they are high and some if they are low this is very confusing when collor comes in handy.
Well just cause we would want caps on some stuff doesn't mean everyone would, so I'm making it so that if you have the "negative" versions of stuff (as in increasing MP cost of skills instead of lowering it), it will actually lower your power level since its making you weaker in a way.

The trial and error of this is slow and steady, but I'm solving it one thing at a time 😀
Uff I wish my brain would be more something like than just a roasted potatoe so I could make it myself but well I don't even understand this here base * (1 + (level - 1) * rate) + (flat * (level - 1)) xD am totally KO by just looking at it lol
All the attributes are done now, and I'm going on to adding in options for text coloring for the higher the power level value... once that is done Ill look into seeing if I can animate the number when it shrinks/grows and apply in some sound effects.

Everything so far is tested and working perfectly, so rest that roasted potato, lol

Edit: I busted my chops working on this thing all day, and sadly I cannot get it to properly make sound effects when changes happen (I can, but I can't if that makes sense), nor can I figure out a good way of animating the Power Level Text to show who got a boost or a drop.

I'll try a bit more tomorrow, but to be honest I'm happy with the way it is now. Kinda feels like my first legit plugin over the personal chicken scratch I've been doing so far.
Your first legit plugin? Oh glad to know that and you're the fist one who makes a plugin I wanted so badly. 😀 This must be something and I rlly hope that more people will use it and like it like we are🙂
Yeah, anything else I've ever made I never planned on letting others use, so I built them as code only... so yeah, this one is a real plugin now. I dont have time to make the release page for it atm, but once I get back from morning routine I'll make a page for it, and maybe if I'm lucky someone will see it and enjoy it 🙂

But what started at a roughly simple 20-25 line code turned into a ~750 line monster XD

Original thread: https://forums.rpgmakerweb.com/threads/battle-power-power-level-hud.95481/