RMMV Is it possible to show a stats window in battle, like in NES Dragon Quest?

DrBuni

Regular
Regular
Joined
Dec 27, 2020
Messages
234
Reaction score
143
First Language
.
Primarily Uses
RMMV
DQ-NES-SIZZ.png


I don't mean showing the stats by going through a menu, I mean a static window showing the stats, though in my case I'd like it for both player and enemy alike. Now, nearly everything is possible if one is an experienced programmer, but that I am not. If this is something that would take some sort of severe re-writing of battle-related code, please feel free to shut down my idea, I sometimes take way too long to move on to a different idea.

By the way, I looked around and found this, which is interesting and defenitely a start. If someone can cook a plugin of sorts for me, I would be eternally grateful!

https://forums.rpgmakerweb.com/inde...-actor-parameters-atk-def-mtk-and-mdf.150014/

Here is a quick dirty mockup I made to make it easy to visualize how I would have it in this little project I am brainstorming. Thanks!

 

CleanWater

Jack-Of-All-Trades Freelancer
Regular
Joined
Apr 8, 2017
Messages
1,044
Reaction score
1,129
First Language
Português BR
Primarily Uses
RMMV
It's possible to do, but I believe you either would need to find an already made plugin or hire a freelancer (like myself) to do it for you.
 

DrBuni

Regular
Regular
Joined
Dec 27, 2020
Messages
234
Reaction score
143
First Language
.
Primarily Uses
RMMV
It's possible to do, but I believe you either would need to find an already made plugin or hire a freelancer (like myself) to do it for you.
Would you mind sharing your rates privately? Programming is never cheap so I might not be able to afford your service, but who knows.
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,960
First Language
English
Primarily Uses
RMMV
@DrBuni if you wish to hire someone (paid) to do this, please post in the Classifieds section.
@CleanWater please don't offer to do work for hire outside of that section. If people post here, they are asking for something for free. I feel this is not the first time I've mentioned this to you.
 

Sword_of_Dusk

Ace Attorney
Regular
Joined
Sep 13, 2015
Messages
1,528
Reaction score
1,629
First Language
English
Primarily Uses
RMMV
@Shaz To be fair, there was no offer of work given. OP was simply told they might have to hire a programmer to do the job.
 

DrBuni

Regular
Regular
Joined
Dec 27, 2020
Messages
234
Reaction score
143
First Language
.
Primarily Uses
RMMV
If that's all you want you can do it with SRD HUDmaker.
I have used this plugin a fair bit to move around windows and such, but I wasn't aware I could make brand new windows (like Window_BattleStatus and such), because isn't that what I need? I figured since there aren't Window_EnemyStats and Window_PlayerStats or anything like that, some programming would be needed. With that being said, I will look into that plugin/tool once more.
I could help you. :)
I am all ears :)
 

JohnDoeNews

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,083
Reaction score
1,533
First Language
Dutch
Primarily Uses
RMMV
I use orange hudmaker by... uhm... id have to check, but I think it was Huddel. But Im not sure ot works during battle.

Alternatively yanfly has a plugin that can show you the stats on skill. So it wont be on screen the whole time. Like the Scan skill in Final Fantasy.
 

sassydolly

Villager
Member
Joined
Apr 15, 2022
Messages
7
Reaction score
3
First Language
english
Primarily Uses
RMMV
I have used this plugin a fair bit to move around windows and such, but I wasn't aware I could make brand new windows (like Window_BattleStatus and such), because isn't that what I need? I figured since there aren't Window_EnemyStats and Window_PlayerStats or anything like that, some programming would be needed. With that being said, I will look into that plugin/tool once more.

I am all ears :)
there is also a youtube tutorial for it which might help you alot.
 

DrBuni

Regular
Regular
Joined
Dec 27, 2020
Messages
234
Reaction score
143
First Language
.
Primarily Uses
RMMV
I use orange hudmaker by... uhm... id have to check, but I think it was Huddel. But Im not sure ot works during battle.

Alternatively yanfly has a plugin that can show you the stats on skill. So it wont be on screen the whole time. Like the Scan skill in Final Fantasy.
I am aware of that plugin, but thanks for pointing it out. It doesn't quite do what I am looking for, though.

there is also a youtube tutorial for it which might help you alot.

Oh, thank you. I will give that a run.

If I am not asking too much, can any of you more folks more inclined to programming share what are the lines referring to the following stats for actors and enemy alike? I mean stuff like "$gameParty.leader().hp" which refers to the hp of the first actor in the party. Or should I make a new thread?

The stats are HP, MP, DEF, ATK, AGI/SPD and LCK. In the mockup I made, there is LV (level) as well, but since enemies don't have levels, I can give up on that bit. I am asking so I can try showing the aforementioned stats with the HUD Maker.
 

JorgeMaker

Regular
Regular
Joined
Jan 14, 2020
Messages
71
Reaction score
62
First Language
Português - BR
Primarily Uses
RMMZ
This might be useful for you:
JavaScript:
$gameParty.leader(); //returns the first battle member, same as $gameParty.battleMembers()[0]
$gameParty.members(); //returns an array with all members
$gameParty.battleMembers(); //returns an array with all battle members

const actor = $gameParty.leader();

actor.level; //LEVEL
actor.hp;    //HP
actor.mp;    //MP
actor.atk;   //ATTACK
actor.def;   //DEFENCE
actor.agi;   //AGILITY
actor.luk;   //LUCK
:awink:
 

AquaEcho

Script Kitty
Regular
Joined
Sep 20, 2021
Messages
1,711
Reaction score
1,175
First Language
English
Primarily Uses
RMMV
wasn't aware I could make brand new windows (like Window_BattleStatus and such), because isn't that what I need?
SRD Window Upgrade does let you make a brand new window, I don't know if it works in battle or not, but you can try it out. But you can do what you want (display information) with HUDMaker, even if what you're making isn't a window.
 
Last edited:

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
11,218
Reaction score
9,180
First Language
English
Primarily Uses
RMMV
The stats are HP, MP, DEF, ATK, AGI/SPD and LCK.
Aside from the chunk of code provided to you above, they're all listed when you mouse over the damage formula in a skill.

You just need to get the reference to what goes in front, e.g.
Code:
$gameTroop.members()[SceneManager._scene._enemyWindow._index]
should be a reference to the enemy you're currently highlighting.

In the mockup I made, there is LV (level) as well, but since enemies don't have levels, I can give up on that bit.
They do if you give it to them. There are a number of plugins, such as Yanfly's Enemy Levels, which provide this functionality.
 

Latest Threads

Latest Posts

Latest Profile Posts

The terrifying online threats I shield my precious RM’ers from. BULK FRIDGE MAGNETS.

IMG_0501.jpeg
Was sick with a fever... slowly getting better.
I HATE SEOs! I do not want to add Reddit to every single search in order to find helpful content posted by actual humans.
bandicam 2023-10-02 09-53-18-106.png
Yanka is one of my dearly loved characters. And not only because she can perform the look of "puss in boots")))) Spy, infiltrator, kind-hearted with a soft spot for one Crimson Knight.
Just completed another cutscene. Huge one for the story. I'm so enthusiastic about where this game is going.

Forum statistics

Threads
134,985
Messages
1,252,628
Members
177,882
Latest member
ashbutler
Top