Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Random Name Generator, For a fantasy RPG forum
Vyoma
post Oct 13 2006, 05:44 PM
Post #1


Cosmic Overlord
Group Icon

Group: Members
Posts: 560
Joined: 26-November 05
From: Denver, Colorado, US
Member No.: 9,811
myCENTs:38.41



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

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://www.WiseTome.com/name-generator-for-chaos-and-order

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?
Go to the top of the page
 
+Quote Post
Arbitrary
post Oct 13 2006, 11:23 PM
Post #2


Premium Member
Group Icon

Group: [HOSTED]
Posts: 377
Joined: 17-June 06
From: Adblock life
Member No.: 13,992



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.
Go to the top of the page
 
+Quote Post
Vyoma
post Oct 14 2006, 07:19 AM
Post #3


Cosmic Overlord
Group Icon

Group: Members
Posts: 560
Joined: 26-November 05
From: Denver, Colorado, US
Member No.: 9,811
myCENTs:38.41



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, tongue.gif), 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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Random Banners Rotation...(2)
  2. Php Random Text Generating(4)
  3. Script to allow only members to download media(18)
  4. Forum Signature-image With Php(8)
  5. Php: Write Random Text As Image(3)
  6. Any Tool/software For Php Code Generation ?(3)
  7. Wordpress With Forum ?(2)
  8. Script For Viewing A Random Image Needed(3)
  9. Php Forum Cookies(3)
  10. Free Forum Hosting Type Script Help!(2)
  11. Random With Functions?(4)
  12. How To: Make A Simple Php Forum System(4)
  13. Php Random Selector(2)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 09:51 AM