I've done some Googling myself but come up with nothing I've wrapped my hear around, yet. I also haven't wrapped my head yet conceptually around how Fire Emblem or Fate/Extra handle this on a dumbed down level.
I've played a couple games with variants of RPS (jan-ken-pon) systems and wanted to emulate this on an extremely basic level for a game where combat is not a focus.
Our esrtwhile creative director wants me to look into coding this system for light combat usage in our game.
I just began digging into and understanding damage formulas or applying states. According to some google searches there is a conversation almost every year since 2016 on this, and was an old RPGMaker MV tutorial on the concept, but the coding was only discussed at the theoretical level.
I'm using the Visustella plugins but I shouldn't even need to touch the Battle_Core to do this (where this could otherwise have been partly handled by Weapons Unleashed it appears)
At a basic level I'm trying to understand where to begin writing the following process
1) At the beginning of every turn, a variable is chosen, hidden from the player
2) The player inputs their command for Rock, Paper or Scissors. ,< ---- From my understanding this can be resolved entirely with element rates on the applied state for each of the three types.
3) Only once the player's attack command resolves, the state icons are applied to the enemies right before the attacks resolve.
4) From there each enemy type can either choose an attack off a variable or have multiple copies of each skill weighted to the appropriate attack types.
5) Optional: Some games let the protagonist comment a one-liner to guide the player to what they should pick if they want to intentionally win or lose. I think a common event can be called to handle this with the VZ plugins for battle events by just checking the variable generated in 1 before the player picks an attack.
This seems like it should take ten minutes for an experienced RPGMaker coder, but after setting the randomized variable I haven't the faintest idea on how to begin writing to ensure the common event seizes control from how battle turns are normally processed to ensure a hidden state is applied to the enemy actor before attacks resolve.
We can simplify this by assuming the player goes first and only change that up for more difficult fights. I've also seen games that were able to remove/add skills that increase damage or provide other benefits by equipping items that change the rock-paper-scissors attacks but limit the player to only upgrading one or two of these attacks. I assume more difficult enemies can have skills or other randomized states or variables that could on occasion negate an otherwise successful attack, then just scale the stats to where between 1 and 10 successful attacks win a player a given battle, oneshot cheat codes etc.
I didn't yet find any RPGMaker projects like the Variables Guide that are unencrypted to look at the code for this, but it's possible I didn't look hard enough. Can someone point me in the right direction? The Variables guide helped me successfully implement a fishing mini-game for our game, and I was hoping to see something at that college-textbook level of detail rather than having someone write the entire thing with screenshots out here.
I've played a couple games with variants of RPS (jan-ken-pon) systems and wanted to emulate this on an extremely basic level for a game where combat is not a focus.
Our esrtwhile creative director wants me to look into coding this system for light combat usage in our game.
I just began digging into and understanding damage formulas or applying states. According to some google searches there is a conversation almost every year since 2016 on this, and was an old RPGMaker MV tutorial on the concept, but the coding was only discussed at the theoretical level.
I'm using the Visustella plugins but I shouldn't even need to touch the Battle_Core to do this (where this could otherwise have been partly handled by Weapons Unleashed it appears)
At a basic level I'm trying to understand where to begin writing the following process
1) At the beginning of every turn, a variable is chosen, hidden from the player
2) The player inputs their command for Rock, Paper or Scissors. ,< ---- From my understanding this can be resolved entirely with element rates on the applied state for each of the three types.
3) Only once the player's attack command resolves, the state icons are applied to the enemies right before the attacks resolve.
4) From there each enemy type can either choose an attack off a variable or have multiple copies of each skill weighted to the appropriate attack types.
5) Optional: Some games let the protagonist comment a one-liner to guide the player to what they should pick if they want to intentionally win or lose. I think a common event can be called to handle this with the VZ plugins for battle events by just checking the variable generated in 1 before the player picks an attack.
This seems like it should take ten minutes for an experienced RPGMaker coder, but after setting the randomized variable I haven't the faintest idea on how to begin writing to ensure the common event seizes control from how battle turns are normally processed to ensure a hidden state is applied to the enemy actor before attacks resolve.
We can simplify this by assuming the player goes first and only change that up for more difficult fights. I've also seen games that were able to remove/add skills that increase damage or provide other benefits by equipping items that change the rock-paper-scissors attacks but limit the player to only upgrading one or two of these attacks. I assume more difficult enemies can have skills or other randomized states or variables that could on occasion negate an otherwise successful attack, then just scale the stats to where between 1 and 10 successful attacks win a player a given battle, oneshot cheat codes etc.
I didn't yet find any RPGMaker projects like the Variables Guide that are unencrypted to look at the code for this, but it's possible I didn't look hard enough. Can someone point me in the right direction? The Variables guide helped me successfully implement a fishing mini-game for our game, and I was hoping to see something at that college-textbook level of detail rather than having someone write the entire thing with screenshots out here.