Author Topic: Random Name Generator(FUNCTION)  (Read 23774 times)

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Random Name Generator(FUNCTION)
« on: February 05, 2011, 07:54:34 AM »
So, I made a little function, which isn't much developed but works allready and I need your help, but first the story:

I sat donw, played a little Eufloria and saw how the asteroids got so nice random names... Nothing totally random or anyhting normal either, looking like scientific names in my minds... I thought: "I can try make my own random name generator and see if I can match thoose!" and I began coding my function. Din't work out well in the first test, or did it? It does only have lowercased letter(ONLY!) so it won't be anything special:
(sry for big picture!)
So, here are the rules for the letters currently:

1st: Start with a vowel(a,e,i,o or u) and is allways uppercased.
2nd: When two consonants have passed do a vowel.
3rd: Always vowel after x.
4th: Always numbers after -.
5th: Higher chance for numbers after a number.
6th: A random chance for other unclassified letters(-, !, ?).
7th: Always uppercased letters after ! or ?.
Last rule: Small chance for double vowels, else consonants.

More rules for less randomness would be appriciated!
« Last Edit: February 05, 2011, 10:03:09 PM by Aino »

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Random Name Generator(FUNCTION)
« Reply #1 on: February 05, 2011, 08:00:09 AM »
4.  First letter is always a capital
5.  Only vowels may follow the letter X



I'd suggesting modifying rule 3, to make a random chance for a double vowel.  For example, "e" to follow "e", making "ee" for words such as "see" and "pee" and "glee".


Interesting idea this... have you tried researching how others have generated their names?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #2 on: February 05, 2011, 08:00:52 AM »
Ok, just saw on the picture that one line says: afPIGdaqpibs :D

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Random Name Generator(FUNCTION)
« Reply #3 on: February 05, 2011, 08:02:35 AM »
I would suggest making the names shorter as well.  Then they're more likely to be something pronouncable.  :>

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #4 on: February 05, 2011, 08:03:53 AM »
4.  First letter is always a capital
5.  Only vowels may follow the letter X

I'd suggesting modifying rule 3, to make a random chance for a double vowel.  For example, "e" to follow "e", making "ee" for words such as "see" and "pee" and "glee".

Interesting idea... have you tried researching how others have generated their names?

Gonna add the rules now, thanks for posting them :)

Nope, haven't researched anyhting yet...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #5 on: February 05, 2011, 08:04:56 AM »
I would suggest making the names shorter as well.  Then they're more likely to be something pronouncable.  :>
Sry, but haven't posted it on here... But the function is:
Code: [Select]
FindRandomName(12)And 12 defines how many letters :)

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #6 on: February 05, 2011, 08:07:55 AM »
And annikk, how do you make an uppercase letter without doing so much? Does %u have something to do with it or?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #7 on: February 05, 2011, 08:20:10 AM »
Fixed double vowels now :) Take a look...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #8 on: February 05, 2011, 10:43:42 AM »
Added 3 new rules and 2 new letter types, numbers and others(-,!,?).

EDIT: Ooops, did a typing fail in the picture: 27/7 is 24/7, but that would seem obvious xD

EDIT 2: Wow, just saw "poo" two lines over "Imkaxi!", cool :D
« Last Edit: February 06, 2011, 09:05:25 AM by Aino »

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: Random Name Generator(FUNCTION)
« Reply #9 on: February 05, 2011, 10:20:07 PM »
Looking good :>
I think punctuation like "?" and "!" should only appear at the end of the name though...

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #10 on: February 05, 2011, 10:23:21 PM »
I'm still working on it :)

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 139
  • -Receive: 12
  • Posts: 670
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #11 on: February 05, 2011, 10:38:38 PM »
Perhaps … if the apostrophe also turns up (which I think it should) it ought to appear …

- before a vowel —> glottal stop, like, e.g. goa'uld
- in a name, not at the beginning


<edit>

Well, I know the above is NOT a real (typographical apostrophe ’) but rather the foot/minute sign, but it is used as a 7-Bit surrogate for the apostrope all the time. Similar to quotation marks “word” vs "word" (inch/second sign)

</edit>



<edit 2>

While I’m at it … would it be possible to use 8bit at all? (or is it all Unicode already?) Accents, Umlauts, etc.? Like á à â æ ä å ü ï ß ç, etc.? Methinks this would be quite cool. But then again I’m from Germany and am used to Umlauts ;)

</edit 2>
« Last Edit: February 05, 2011, 10:45:56 PM by Bonobo »

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #12 on: February 05, 2011, 10:50:54 PM »
<snip>
- before a vowel —> glottal stop, like, e.g. goa'uld
</snip>

Incidentally, who wants to make an SG-style name generator?

ConsNumCons Hyphen NumNumNum

Am I right in remembering there were no vowels in the intra-galactic gate adresses?

EDIT: For those sadder than me, how about a generator that works from some "binary function" like in the series? (Yes I know how computers work, but that's how it was described in SG-1) Better yet, one that only allows names on the cartouches?

Wow, I have no life. I've just had a great idea for a map, though it will require watching most of the SG-1 series again. Pity.
Anyone remember which worlds were under which System Lords' control and when?
<maybe></incurable nerd></maybe>
« Last Edit: February 05, 2011, 11:05:44 PM by Pilchard123 »

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 30
  • Posts: 1,527
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #13 on: February 06, 2011, 12:57:38 AM »
Perhaps … if the apostrophe also turns up (which I think it should) it ought to appear …

- before a vowel —> glottal stop, like, e.g. goa'uld
- in a name, not at the beginning


<edit>

Well, I know the above is NOT a real (typographical apostrophe ’) but rather the foot/minute sign, but it is used as a 7-Bit surrogate for the apostrope all the time. Similar to quotation marks “word” vs "word" (inch/second sign)

</edit>



<edit 2>

While I’m at it … would it be possible to use 8bit at all? (or is it all Unicode already?) Accents, Umlauts, etc.? Like á à â æ ä å ü ï ß ç, etc.? Methinks this would be quite cool. But then again I’m from Germany and am used to Umlauts ;)

</edit 2>

"before a vowel —> glottal stop, like, e.g. goa'uld"

mhm, maybe after a vowel, and if it comes it will be a vowel after it? Just like what you mentioned "goa'uld"?

I could add "á à â æ ä å ü ï ß ç" but for what? :)
If you find any rules they might follow, maybe after a specific letter or number?

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 139
  • -Receive: 12
  • Posts: 670
  • Eufloria: Yes
Re: Random Name Generator(FUNCTION)
« Reply #14 on: February 06, 2011, 01:22:25 AM »
"before a vowel —> glottal stop, like, e.g. goa'uld"

mhm, maybe after a vowel, and if it comes it will be a vowel after it? Just like what you mentioned "goa'uld"?
For a glottal stop a vowel does not nessecarily need to be before, but after the apostrophe … so, you’re correct: if it comes it will be a vowel after it.

<edit>

Upon thinking, it seems that a glottal stop can also occur within consonants … like in Muad’Dib (Mh… all I can think of is SF)

</edit>

Quote
I could add "á à â æ ä å ü ï ß ç" but for what? :)
If you find any rules they might follow, maybe after a specific letter or number?
Mh… no, I don’t know any rules for these.

And for what? Well, they are for different phones (I think), for different sounds
(http://en.wikipedia.org/wiki/Phone_(phonetics), http://en.wikipedia.org/wiki/Phonology, but I guess Goa’uld and Klingons should have quite different phonology than we :D )