Random Name Generator

I may have created a random name generator. I’m not sure though since I just mashed it together in a brief time and I’ve only tested it using the choicescript tester. And I’m not the best coder.

I grabbed the top 100 boy’s names from http://www.behindthename.com/top/lists/us/2012/100

http://pastebin.com/dsBViM4q was what I came up with. I couldn’t remember my dropbox info so that’s just code, not testable.

Is there a better way to do this? If I’ve done it a weird and convoluted way and there’s a much easier method I’d love to know. If the code actually works and anyone would like it for randomly selecting a male name for any purpose feel free to grab it.

UPDATE: https://dl.dropboxusercontent.com/u/154988802/chobox/namegenerator.txt

UNISEX UPDATE: https://dl.dropboxusercontent.com/u/154988802/chobox/namegenerator2.txt

1 Like

Wow this is really cool, thanks! This will come in handy for my game.

@FairyGodfeather
That’s about how I would’ve started. Just add some girl’s names, some last names, and probably some way for the player to preview the name and either accept or try again before setting it in the permanent stats.

Of course, having different versions, such as fantasy/modern/futuristic/Japanese/whatever would be awesome as well. That’s probably a huge workload, but I’m certain many people here would love to use one of the flavours of the script for their games.

If it’s to be used to generate NPC names, I’d probably also add a check in to ensure that it’s not randomly picked the same name previously.

The if you don’t like this name then try again option should be easy enough.

The female name version should go quicker, as should the last names.

I’d been vaguely considering a werewolf name generator too but I was looking for a list of names. And doing it just using syllables to make up fake names.

http://pastebin.com/GZhc8RDb Added the girls.

The modular syllable version sounds like it’d be tricky for most western names. Can’t lie, though; it’d be awesome if you could design a way for that to work well. :slight_smile:

And added surnames as well which I took off the top 100 American Surnames.

The code is at: https://dl.dropboxusercontent.com/u/154988802/stuff/web/mygame/scenes/startup.txt

And if anyone wants to try it out: https://dl.dropboxusercontent.com/u/154988802/stuff/web/mygame/index.html

I’ll probably then add something to make sure the first name isn’t the same as the second and also to allow you to reroll only the first name, and perhaps create a fullname variable as well.

Please if you want to use the code, alter it, whatever, take it and do with it what you want.

Thanks again! I would be interested to see a fantasy name generator.

I was thinking it would be easier to do something like the wolf name generator, like the one on: http://fyeahmoonmoon.tumblr.com/post/49079589405/meefgal-all-the-moon-moon-posts-that-ive-seen and using that to randomly generate names. Of course someone will end up being Moon Moon.

Wow. I forgot I made this. I did give the werewolf name generator a go but I got bored of it. Ditto for the syllable one. Bumping this in the hope it’ll encourage me to have another look.

Does anyone have lists of parts of werewolf names? Or syllables to make up fantasy names or something? Or hey want to try making a choicescript generator of your own?

Have you tried looking at Seventh Sanctum, at least for ideas for names to use? They have different kinds of generators for names, from normal, to greek names, to vampire to fantasy and a number of others.

There’s also another site called chaotic shiny that has a name jumbler, so you can put in a normal name and it’ll put out a load of strange/unique jumbles of it.

@FairyGodfeather Mind if I use this for my game?

It’s a cool concept, but it would also make it harder for readers to discuss NPCs with each other and the author.

@Samuel_H_Young True, but personally I was going to use it to generate a unique list of names for the player along with one for inputting their own.

@Fantom Sure. Feel free to. Take it, edit it, do whatever you want with it. I’d actually love if someone got some sort of use out of it.

@Samuel_H_Young I’d actually intended for it to generate PC names, although it likely could be used for NPCs as well.

@Babisko Yeah, that’s one of my favourite name generator sites. I’ve never heard of chaotic jumbler so I’ll give it a look.

Well this could really be used in name selection, you could also give the player to choose a random name if they don’t like any of the names and don’t have any ideas of their own either

mind if i use it?

@Prototype Please do! That’s what I was hoping to use it for, to come up with names for character generation.

thanks.

Ok guys, here’s a small scene that randomly generates a list of four names or lets you choose your own. Here’s the link to the files:

Let me know what you think.

@Fantom Oh that looks awesome. It’s nice.

@FairyGodfeather Did you get a chance to look at the code? I did it mainly as a coding exercise.