Battle Analytics

Hi all!

We all know that battles in RPG Maker can be tough to balance properly. There will always be at least one move that sticks out like a sore thumb, either for being too easy to cheese the battle, or too useless to ever use.

That's why I want to implement analytics for the game, to determine which moves are used, how often they're used, and in what situations, etc.

That being said, I've no experience implementing something like that in an RPG Maker MV project. Does anyone have any pointers, or links/resources I'd be able to take a look at?
That should be easy to apply from a gameplay perspective:

Attach a common event to all player skills that adds 1 to a given variable, each variable is used only to count the # of times a skill got used. Give the player a key item that tells them the number of times a specific skill has been used. Relay that info to the development team and adjust as needed.
That should be easy to apply from a gameplay perspective:

Attach a common event to all player skills that adds 1 to a given variable, each variable is used only to count the # of times a skill got used. Give the player a key item that tells them the number of times a specific skill has been used. Relay that info to the development team and adjust as needed.

that’s an interesting idea, I feel like for it to be useful, we might have to log more information.

A script that logs to a json file that stats of the party and enemies, as well as what abilities were used on that specific turn, maybe. That way if there are multiple abilities that do similar but different things, you could see when the player used each, on what situation, and whether or not that’s the situation intended (the first example that comes to mind is a “heal one party member” vs “heal all party members a bit”)

I wonder if there is a way to get that automatically sent to the dev team, rather than having the player have to track down a file and send it off themselves.
@nathanlink169 General Discussion is not for feedback on individual, specific projects, nor is it for "How do I...?" (implementation) questions, which this seems to be becoming.

Moved to: Game Ideas and Prototypes
From a conceptual level I'd probably want to print out the sequence of actions/skills the player used in each battle to a database or a spreadsheet, along with data about the "result" of the battle (such as victory/defeat, how many turns it took, and total damage/healing dealt to characters). You could then run queries on some of the best and worst results to see if there was a pattern in which actions the player was chosen - for example, if there's a broken strategy that involves stun-locking enemies, you'll see the skills involved over-represented in a search for Very Low Damage to Characters.

Ultimately, though, unless you're designing a competitive game where every option needs to be almost perfectly balanced against most other options for highly skilled players, all of this is grossly unnecessary. For the balance of a standard RPG, all you really need is general feedback from 20 or so playtesters. They'll let you know if they find techniques that make the game too easy, or a difficulty spike in the power of monsters from one dungeon to the next frustrates them. What's even better is if you can watch a few of them play through, either in person or by having them record their play experience. Talk to them as little as possible as they play through - let them (try to) figure out everything on their own.

From there, you'll know what's wrong in your balance, and you'll probably have a good idea of why it's imbalanced as well. So you just need to make a change to address that issue. For example, in timeblazer, I noticed that while my mage's Heal skill felt useful, its high MP cost (designed to prevent spamming) was also making it hard for her to use her more fun Damage spells. So I reduced its MP cost, and created a "charges" system (she can only use the Heal 3x per battle) to address the spamming issue instead. Someone let me know that the large number of unique mechanics in a certain boss fight felt intimidating, and several testers let me know that same battle was too difficult, so I changed up the battle to introduce the mechanics one at a time throughout the battle, instead, with the first few turns being basic and giving the player time to get some buffs up before the boss brings out the big guns.

As a bit of extra advice, this post addresses some design tools you can use to give yourself a wider "balance target", so that the gameplay is richly satisfying even if your balancing isn't exact.
three words:
Game
Action
Result.

it's been there since the beginning

find the battle loop for each turn, and print that object to somewhere.... it has attached to it all you need: user, target, object, damage, etc.

Original thread: https://forums.rpgmakerweb.com/threads/battle-analytics.116278/