Hello, I'm hoping to make it possible to add a random name generator to the player name input screen. Bonus points if there's a way for certain names to only show up for certain variables such as gender and/or species. I really just want a dice button somewhere that when clicked it'll change the player name from a list until the player finds one they like.
Random Name Generator
RPG Maker MV SupportReally a lot of that could be achieved through randomized variable. Var 1 would be a random number related to the max number of names you have, and var 2 would be your names. Under change variable, script, pop in quotes the name. Such as: “David” based on the variable result.
And then for whatever actor, change name using var 2. Then you’d prompt the player to input actor name and their default name would be whatever var 2 was set to.
You could isolate the name list in a common event.
For segregating gendered names just have a switch turn on based on player input, then use a conditional branch to determine which common event to run. So you’d have two common events. One with masculine names and one with feminine names. Calling a common event in the main event won’t end the main event, so after the common event you’ll be able to return back to allow the player to “name” the actor.
If you’d rather have the name display in a message window you’d just use a text code and then prompt the player if they want to use that name or reroll. Depending on how you’d want to do it; you could achieve the dice through a simple sound, and then show the dice result. No need for animation.
Oh, dice button for mousing over it? Sorry; I didn’t notice that part. That I’m not sure off the top of my head.
And then for whatever actor, change name using var 2. Then you’d prompt the player to input actor name and their default name would be whatever var 2 was set to.
You could isolate the name list in a common event.
For segregating gendered names just have a switch turn on based on player input, then use a conditional branch to determine which common event to run. So you’d have two common events. One with masculine names and one with feminine names. Calling a common event in the main event won’t end the main event, so after the common event you’ll be able to return back to allow the player to “name” the actor.
If you’d rather have the name display in a message window you’d just use a text code and then prompt the player if they want to use that name or reroll. Depending on how you’d want to do it; you could achieve the dice through a simple sound, and then show the dice result. No need for animation.
Oh, dice button for mousing over it? Sorry; I didn’t notice that part. That I’m not sure off the top of my head.
Original thread: https://forums.rpgmakerweb.com/threads/random-name-generator.171447/