(MV)Mystery game that randomizes the suspect one every playthrough?

captainette777

Mad Scientist
Veteran
Joined
Jan 19, 2018
Messages
78
Reaction score
72
First Language
English
Primarily Uses
RMMV
I'm not sure whether this belongs here or on Maker Specific, so I hope I'm not bothering anybody by asking--

I have a game where you solve a murder by getting info from random people inside a room and arresting the culprit. I'm wondering if there was a way to randomize the culprit every game.I thought about using a variable that would pick one character to be the perpetrator, and that same variable would also decide what lines every other character would say that would eventually point to the villain(it could even be the player). It's a very short game with only <10 characters in it, basically made for a fun experiment. What do you think?

Btw, my main inspiration for this is a game called Sleuth for the Windows, and possibly the board game Cluedo/Clue. Hope that's good info!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,291
Reaction score
11,878
First Language
English
Primarily Uses
RMMV
As this is a "how do I ..." and is very specific to your game, it would go into the MV Support forum.

The approach you are describing is exactly what I think you'd need to do. To make it easier to do the eventing, have as many pages on each event as you have potential culprits, and condition the pages by the randomized variable. That means everything on a single event page would be for just one scenario, and you don't have to worry about a heap of conditional branches to handle all the possible suspects.

The logic of the design is going to be the hardest part - deciding what everyone says for each potential culprit and making sure the player can figure out who it was based on the clues.
 

captainette777

Mad Scientist
Veteran
Joined
Jan 19, 2018
Messages
78
Reaction score
72
First Language
English
Primarily Uses
RMMV
As this is a "how do I ..." and is very specific to your game, it would go into the MV Support forum.

The approach you are describing is exactly what I think you'd need to do. To make it easier to do the eventing, have as many pages on each event as you have potential culprits, and condition the pages by the randomized variable. That means everything on a single event page would be for just one scenario, and you don't have to worry about a heap of conditional branches to handle all the possible suspects.

The logic of the design is going to be the hardest part - deciding what everyone says for each potential culprit and making sure the player can figure out who it was based on the clues.
Thanks for the quick help! I like that idea the most, it's good to not worry about having to download a plugin or something. Also, I had a feeling this is in the wrong spot. Sorry...:hswt:
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,062
Reaction score
7,754
First Language
English
Primarily Uses
RMMV

I've moved this thread to MV Support. Please be sure to post your threads in the correct forum next time. Thank you.


And no worries, it happens. :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I keep snapping wireless headphones. I think thats how they get ya, good sound quality but cheap plastic...
Broke the 1,000 hour mark on MV last night! Most of that was spent on 1 project, with most of that project being worked on outside the engine so far.
School books are so expensive... I just paid a fortune. :(
Does anyone knows those arts are just rip-offs from anime, or those are custom arts? There are no availlable TOS information so I'm not sure it's safe to get them
The universe does not want me to do another letsplay it seems... I keep bumping into problem after problem... Oh well. Still have several days to sort them out.

Forum statistics

Threads
93,461
Messages
912,653
Members
122,995
Latest member
Nightfight
Top