Randomness and Rolls
Heya all
Making my first real game and it's mostly a character management game. An adventure as a newcomer to a city, where you find work and keep your job, try and deal with your stress, avoid both dying and becoming a failure, and building up stats that will drop if unused for too long.
It's not a combat based game, but rather choice based. For example, one of the career paths is sewer work. The character goes to a grate and the game fades into a text-based RPG with a few backgrounds and animations for flavour.
My idea was to have choices connected to skills, so the player would be presented situations in the sewer and could make a choice. Choices would be affected by the character's current skills, i.e an Agility based choice or a Strength based choice. Then a dice would roll, taking into account the stats, much like DnD. If your strength is high, you've got a higher chance of succeeding at an event that presents a Strength option.
My issue is finding the best way to go about this. I'm looking and finding lots of people with code, but I'm still a novice and don't understand a lot of the terminology. I'm generally used to working with engines that already have Randomness built in and RPG Maker MV doesn't seem to have that. Has anyone got any advice for the best way to pursue a stats+rng based system?
Posted Sep 1, 2019, 4:46 PM UTC
Rpg maker does have a randomness function built in with variables, but you can't set other variables (in this case skill attributes) as parameters. That being said, you can with code and it's honestly very easy to do. I'm on mobile but if you're interested I could paste the code later. I use the exact same thing in my game.
Would you mind doing that? I may also be able to use it if thats Okay
It'd be great to look at someone else's code, yes please.