Jump to content
xisto Community
Sign in to follow this  
Vyoma

Random Name Generator For a fantasy RPG forum

Recommended Posts

Well, I did this particular piece of coding a few days back, and I forgot to display it to you all here at Xisto.

I have just started a fantasy RPG forum. The naming rules are pretty strict because it has to be based on a construted langage called Pasen. No matter how much I explained, I thought, it would be hard for a newbie to understand the syllable formation constraints. Hence, I wrote a script and put it at my Drupal powered site, that generates random names for the four races for both genders.

http://forums.xisto.com/no_longer_exists/

I wrote the code in PHP (took 3 hours), but most of the time went into tweaking the probability constraints.
So, what do you guys think?

Share this post


Link to post
Share on other sites

Those are interesting names Seems very fitting for an RPG...can't explain exactly why.. Might I ask exactly what the rules to creating character names are? I can guess at a couple of rules though:

--Giants, regardless of male or female, end in either 'k' or 'g'

--It seems like all characters have at least two vowels in their name.

Share this post


Link to post
Share on other sites

I would be glad to explain, Aribitrary. As I said in the previous post, all the names are affected by the language of Pasen. The language is actually pretty simple (because I constructed it, :P), and details on it can be found in Blog Post 1,Blog Post 2,Blog Post 3).

 

Basically, it follows a syllable pattern of:

Syllable pattern:

[C]V[E]

[C] Optional ordinary consonant: k | t | d | n | p | m | r | l | w | s

V Mandatory vowel: a | i | u | e | o

[E] Optional ending consonant: n | m | r | l | s

 

Addtionally here are some basic pointers to the names in realm of Chaos And Order:

Names may not end with the following sounds: |e| |i| |u| |er|

 

The syllables must be formed of the following consonants: |k| |t| |d| |n| |p| |m| |r| |l| |w| |s| |g|

 

The syllables must be formed of the following vowel sounds: |a| |i| |u| |e| |o|

So, that is it. All names in the name generator are formed of two syllables. So, it goes something like this:

C1V1E1[C2]V2E2

But for Female Elf: [C1]V1E1[C2]V2E2

 

That is it, now, for actually differentiating between the different Races, I just took different subsets of the whole consonant set allowed in that position and also the vowel set, and just tweaked on the probability of few of the consonants. And usually, the male and female names are almost similar, except for the probability distribution of the vowels.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.