To Show AI Info or Not to Show It?

Say, if you had a system where enemies choose their actions based on their current AI state, which changes based on certain conditions that vary for each enemy, would you display said AI states directly to the player or not? and why?

I am quite torn on this at the moment.

No cookies for just *It Depends [TM]* though.
That seems really vague? It really does depend on what kind of feel you're going for. For example, Fire Emblem Three Houses has red lines showing which character is going to get attacked the next turn, which, while isn't showing you how the AI works, does show you how they will act, allowing the player to strategize accordingly.
*It Depends [TM]*
What exactly do you mean by "AI State", and what are the conditions for changing it?

If the player is expected to react accordingly and adjust their tactics based on the state, then it might be worth showing, or at least hinting towards the state. Of course, *It Depends [TM]* on the specifics of the state and the overall game.
if it is a tactic game where the enemy has a fixed attack pattern per turn regardless of whatever you do in that turn, and you should react and strategize accordingly (so you know who to kill first and which actor is going to take a hit), then yes show the AI info.
*It Depends [TM]*
What exactly do you mean by "AI State", and what are the conditions for changing it?

If the player is expected to react accordingly and adjust their tactics based on the state, then it might be worth showing, or at least hinting towards the state. Of course, *It Depends [TM]* on the specifics of the state and the overall game.

enemies always have an AI state, and they always use the same 1 or 2 moves if that state doesn't change.

AI state changes by attacking the enemy, attacking a different enemy, healing, having low HP, an enemy using a specific move, etc. it depends on the enemy.

This reply would have happened regardless of *It Depends [TM]*, but this snarky version is way better.
Say, if you had a system where enemies choose their actions based on their current AI state, which changes based on certain conditions that vary for each enemy, would you display said AI states directly to the player or not? and why?

I am quite torn on this at the moment.

No cookies for just *It Depends [TM]* though.
If you want a great example of it, try out Slay the Spire if you havent. its a roguelike deckbuilder game, but one of the most important aspects of it is that you see what the enemy intends to do the next turn during your own turn and youre meant to plan accordingly.
if they want to damage you, It shows you the raw damage they would deal to you. if its a multihit attack itll show how many times youll be hit by for each hit. its really nice that you can can math out how much block you need/want to put up in response, or even decide if you want to put up a counter to capitalize on being hit 5 times by one enemy in a turn
if an enemy intends to debuff you, the game shows you that theyll do it. it doesnt show you how youll be debuffed, but if you know the enemy's skills then you know exactly whatll happen since theres no randomization in each enemy's skill pool. in that same vein, if an enemy intends on buffing or healing, itll show that too and you can act accordingly
its all really well done.

Personally though, i wouldnt show the Ai change through visible states if it could be helped. Id rather use some other tell like changing their sprite, adding some persistent animations, or having a troop event telegraph a future skill somehow
It might work? Make the UI look like Omori except for enemies, and instead of stat boosts it changes their AI.

I've never seen someone do it before, but it could lead somewhere.
As always, it depends. If the player has a good idea of what the enemy is doing in the upcoming turn, then their skill sets need to reflect that. Just knowing what's coming isn't really enough if you're not giving tools to play around it. Or basically, the game would ideally revolve around planning turns carefully to get the most out of giving the info away, which means it would play very differently than your regular RPG.
enemies choose their actions based on their current AI state
you mean like almost quite literally every other game ever that doesn't use the standard per-turn logic of RM?
like, those games that pretty much every gamer ever has played, that have enemies behave according to AIs that remain obscured to the player pretty much until the very end when the player has became an expert?
like that?
I think this is a great question and an example of a very important and non-straightforward design decision. I think in order to answer it, one should think about the following:

-Is my game the kind of game where I want the player to have to figure out the enemy AI pattern?
-Is my game the kind of game where it's not so important to know the exact enemy AI pattern, or there is some RNG in the enemy AI pattern, but the player has to adapt based on what the enemy does?

OR:

-Is my game the kind of game where I want the player to have to choose different strategic options and branches based on the given information (i.e. the enemy AI pattern)?

This will shed light on whether it's valuable or suitable to show it.
Say, if you had a system where enemies choose their actions based on their current AI state, which changes based on certain conditions that vary for each enemy, would you display said AI states directly to the player or not? and why?

I, personally, wouldn't. But, I think games where the player can be surprised and has to adapt or prepare for things they haven't seen are exciting games. Interesting games.

Combat would lose some luster if the player knew next turn the enemy was going to cast AOE Poison on everyone, attack the mage twice, and heal its tank.

Any surprise I wanted to hit the player with, at that point, would then need to be as a direct reaction to what the player has done, and not be obvious. Like, if the player inflicted Burn on an enemy, that enemy's AI and moves change to something else. That would be the only "surprise" I have left on the player, since they could effectively see what's coming at every opportunity.

I am quite torn on this at the moment.

No cookies for just *It Depends [TM]* though.

The problem is, "it depends", however. I'm not really sure why you don't want the "it depends" answer when you've given us nothing. If you're looking to solve your specific particular problem, then you should have included EXACTLY how your combat system works and the feel you're going for.

Namely, what you are trying to do, how you are trying to accomplish it, and why you are doing it that way.

If you do that, you don't get any "It depends" answers.

But, if you're just super highly vague, then the correct answer is "it depends". Because, it does. It depends on what you're trying to do, why you're trying to do it, and what feel you're going for with your game.

My personal design decisions, for example, often run quite contrary to most everyone on these forums. I'm prone to experimentation, trying to buck the trends, and attempting to prove the band-wagon people wrong.

So, if everyone has Visual Encounters, I will thumb my nose at them and work on making random encounters good, or at least not onerous. If all of game design says "you shouldn't ever take agency away from the player", then I will go out of my way to make removing that agency fun for the player. On and on.

My design philosophies aren't likely to mesh with anyone else's, or even be agreed upon. So, I'm not sure asking me "How I would view a particular system" will be helpful to you. Because, due to my own philosophy, I'm more likely to tell you "I would never do that" when it doesn't fit design philosophy and probably run you down a road of every single reason I might find it's not a good idea... and then argue you into the ground about it.

However, if you come into a topic and state, "this is my design philosophy, and what I'm hoping to accomplish, is this a good idea?", you're going to get a different answer. At that point, I would go, "Okay, if you want to accomplish that, here's some things you can do and why you might want to do them, since they mesh better with what you want and believe".
Combat would lose some luster if the player knew next turn the enemy was going to cast AOE Poison on everyone, attack the mage twice, and heal its tank.
Eh, I kinda think it depends on the combat system.

One of my favourite games, Library of Ruina, does exactly this and tells you what each enemy is going to do every turn. It works in this case because the combat is complex and challenging enough that you are pretty much expected to use that information to your advantage.
@AphoticAmaranth That's what I mean when I say you can't just ask a vague question and then tell people "don't answer with 'it depends'".

My personal design philosophy would ensure I never design a game like you're putting forward here. I think combat loses luster when you know what's coming every single turn. Because you've changed combat from "testing a player's reactions and how prepared they are to deal with the unexpected" into "making sure the player can always give the right answer to the test".

These are two very different ways to play games. My design philosophy is "answering test questions isn't fun" as it leans heavily into "making players into robots" or "robotic play", which I don't find intellectually stimulating in the slightest. If you can see that your mage is going to get attacked twice in a turn, the answers are "defend them to prevent that damage" since they're squishy. There's one optimal solution and answer to the question, and if you know that question is coming, you'll make that choice every single time. No room for variation or different answers.

But, if you have no idea who is going to get attacked next turn, or healed, or hit with Poison... You've got some room to create your own answers. Your own solutions to the problem. Maybe you heal up the wizard after they're hit. Maybe you take a chance and don't heal them because there's no way the AI would choose to hit them twice. And, maybe the AI wasn't programmed to do that. Maybe the AI is choosing targets at random. Or, maybe the AI of that monster is programmed to always attack the weakest character (character with the least HP). A player can choose to chance things if they don't know what's coming. They can choose a myriad of different responses in reaction to what is done to them. Rather than simply immediately know what the solution is and employ that, because they can see what's coming.

But, that's my design philosophy. Obviously, it isn't something that will appeal to every player. Or, even, every dev.

I, personally, don't enjoy "Raid Content" in MMO's because it is "robotic play", so I avoid and advise against any design decision that will turn the player into a robot.

But, some people like robotic play. It provides a sense of "mastery" for them. They can respond so perfectly that they take no damage. They like that. I can admit that's fun for me, too, but once I've attained that mastery, there's nowhere to go with it anymore. No further height to reach.

For me, that mastery is a "low bar". I want a different kind of mastery where a game is always surprising me, and forcing me to adapt. Where I can be surprised and dumped into a hole and now have to claw my way back out of it. I like the tension of not knowing.

But, it's a difference in philosophy.

So, "it depends" is all we've got. If you want my personal opinion on a system where you can see what the enemy is going to do and are given ample time to prepare for it, then it's minimally fun for me and borders on robotic play, which I think is "beneath" an audience. It sets the skill bar very low. But, if you are asking me how to make such a system really fun, well, I've got some different answers for you.
Because you've changed combat from "testing a player's reactions and how prepared they are to deal with the unexpected" into "making sure the player can always give the right answer to the test".
That's not entirely right; there are often multiple ways to deal with any given problem.

For instance, if you know your guy is going to get attacked and possibly killed on the next turn, you can have them play defensively, try and use your best attack to clash with the attack, have someone else redirect the attack, try and kill/stagger them before that happens, or just give up and let them die and focus your efforts elsewhere (you do have other problems to deal with, after all). There's also resource management to consider, so sometimes you might not necessarily want to counterplay the enemy's every move.

I guess part of it specific to the example I mentioned might also be the deckbuilding and dicerolling aspects, so not all cards are always available all the time and you may not always know the outcome.

Hence why I said it depends. As with anything, it depends on context and execution. Even not revealing anything about the enemy can still make gameplay become "robotic" if all we're doing is "always be prepared for anything, heal/defend when low on health, etc".
you mean like almost quite literally every other game ever that doesn't use the standard per-turn logic of RM?
like, those games that pretty much every gamer ever has played, that have enemies behave according to AIs that remain obscured to the player pretty much until the very end when the player has became an expert?
like that?

the vast majority of enemies in everything ever just attack you with a random move in their arsenal (or a preset order of moves) once you're in range and have a very basic sense of at what distance they should be (or just move in a preset path).

the point of what I'm doing is to have a more reactive approach.
kinda like kingdom hearts 2 where each enemy changes into agressive pattern after you attack it and that lets you handle gank squads in different ways.

only with more state variety and less boss loops.

nice try though.
That's not entirely right; there are often multiple ways to deal with any given problem.

As ever, it's a "it depends" sort of situation, ha ha. I'm speaking more "generally" when I mean that. If you add systems/skills/etcetera to change how that works, then you'll get different results.

As per your example of deck building and dice rolls, that's one of the easier ways to change the system from "answering a question on the test" back into "testing how the player reacts and adjusts".

But, as a default system, it is very much "answer the questions on the test". If you change things around and add in features or skills or whatever, you can very much change its core identity into something else. You can change where its focus lies and in how "player skill" is measured by the Dev.

But, it depends on what the dev is trying to accomplish. What "feel" they want, and who their audience actually is.

Nothing we say is going to be "entirely right" as there are exceptions to rules, outliers, or just added details/information that can change what the question even is.

So, unless we're talking about a specific system and set up, I'm going to answer based on the system being "generic".

After all, your examples rely on the dev having coded skills to redirect attacks (among a few other things). If they didn't, you don't have that option.

For instance, if you know your guy is going to get attacked and possibly killed on the next turn, you can have them play defensively, try and use your best attack to clash with the attack, have someone else redirect the attack, try and kill/stagger them before that happens, or just give up and let them die and focus your efforts elsewhere (you do have other problems to deal with, after all). There's also resource management to consider, so sometimes you might not necessarily want to counterplay the enemy's every move.

The problem I think a lot of devs run into with design is that they think "possible options" mean "there are lots of options".

That's why "robotic play" tends to exist a lot. It's unintentional a lot of the time, but is the result of the way the game is designed.

Sure, you could have them play defensively. But, is that the most optimal thing to do? You could redirect an attack, but is that the most optimal thing to do? You could try to kill the enemy before they act, but is that the most optimal thing to do?

This is why such gameplay turns into "answering the question on the test". Because, if the answer is "yes, it's the most optimal thing to do", then it is the only answer. It is the singular correct answer to the situation or the enemy actions. Any other answer will eat up your resources, eat up your time, put you on the back foot in combat, etcetera. And, in a system where the game advertises to you what is going to happen, it is insinuating that skill lies in being able to take advantage of that information. So, if a player can't take advantage of that information... then we start getting into other issues. Like, the same sort that people who "hate RNG and missing enemies" would complain about. "You mean the only way I can deal with that is with some thing I didn't have at the time? Some card I didn't draw? Otherwise, I just have to shut up and eat it?". You would tend to get players playing a lot more "defensively" and "carefully" with such mechanics (like they did for Elden Ring when most of their bosses adopted such nonsense. It wasn't clear until nearly a year later that most of the really hard bosses in the game were meant to be tackled very aggressively with stance damage, which makes all those fights super easy... and it wasn't obvious because the game never teaches you that and provides a ton of methods for the player to "play safe" instead).

But, regardless of what choices you "can" make, if only one choice is "optimal", then it is "the right answer". The choice isn't a choice at all, at that point.

Would you rather wade through mud waist deep for 50 meters to cross the finish line, or walk 70 meters around the mud hole to the finish line? Which is the more optimal path? Is wading through the mud even an option at that point? Sure, it's presented as an option... but it's presented as the "you are an idiot" option.

Or, if you're a game player... it's the option where the game punishes you for not playing optimally.

So, we arrive at, "the gameplay is just asking you to give the correct answers to the test".

I'm just not particularly into playing games like that, or designing them like that. I prefer "thinking on the fly" to "preparing for a test". I value that more in terms of game design. I also think it invites more engagement from players and less "turn my brain off" type stuff.

But, that's just me.



I guess part of it specific to the example I mentioned might also be the deckbuilding and dicerolling aspects, so not all cards are always available all the time and you may not always know the outcome.

Hence why I said it depends. As with anything, it depends on context and execution. Even not revealing anything about the enemy can still make gameplay become "robotic" if all we're doing is "always be prepared for anything, heal/defend when low on health, etc".

Yep, if the combat system isn't designed very well, even in my preferred context, it becomes very robotic as well. But, I mean, I personally have taken steps to remove that sort of gameplay while keeping the core advantage of it. I want to design and play games where "there is no right answer" and there is only "the answer you chose to give is correct". Where the player's understanding of the game and clever usage of the tools brings them victory, rather than just having the single optimal answer to the problem.

But, for me, the difference in systems is that one inherently has an advantage toward providing that particular type of gameplay. The other doesn't. The other needs to be heavily reworked and modified in order for it to not be what it is, and to be something else. You know, like your deck building example. Or the dice rolling. At which point, we've got a heavy element of luck involved, and in whether or not the game even gave you a counter or an option to tackle the particular problem. You could have 10 cards that could counter exactly what the enemy is going to do to you... but if they just so happened to end up at the bottom of your deck, and completely inaccessible... then you are unable to give any "correct" answer to the test.

And, when the dev is communicating to the player what the enemies are going to do, it is with the silent expectation that the player do something about them. If the player cannot do something about that information, then what good is having that information to begin with? Just to advertise to the player the unfair situation they find themselves in and can do nothing about? That certainly doesn't feel very good to players.
kinda like kingdom hearts 2 where each enemy changes into agressive pattern
yeah.... *now* you know that, after playing KH2.
did you know that at the time, or did you have to adapt on the fly?
if every game told you how their enemies are going to move, you'd have half the battle won for you, for free.

Original thread: https://forums.rpgmakerweb.com/threads/to-show-ai-info-or-not-to-show-it.162589/