random name generator.

Let the flames roll in...
Err... yeah, well I suppose you can talk about other stuff as well, maybe?

Moderator: Halleck

Post Reply
Duality
Daredevil Venturer
Daredevil Venturer
Posts: 583
Joined: Sun Feb 16, 2003 12:58 am
Location: West Coast of USA
Contact:

random name generator.

Post by Duality »

I was board so I decided to make one in VB. Its just simple. Th only good use I know about this is probably an internet nick. It really sounds wierd to have a nick like this but its interesting. I've been messing around with random name generators for years.

http://edice.verohost.com/images/rndname.gif
Last edited by Duality on Tue Jan 27, 2004 6:04 am, edited 1 time in total.
Silverain
Expert Mercenary
Expert Mercenary
Posts: 984
Joined: Thu Aug 07, 2003 5:35 am
Location: Brisbane, Land of Oz
Contact:

Post by Silverain »

Dandandaman,

Could we use something like this for random names in Dynamic News? Generate flightgroup names, people names etc?
THOUGHT CRIME! [points finger] THOUGHT CRIME!
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

Silverain wrote:Dandandaman,

Could we use something like this for random names in Dynamic News? Generate flightgroup names, people names etc?
Well, flightgroup names are read from files of names specific for each faction.........as will the regular names shortly (and then randomy selected when the news is generated)......

the trouble with this generator is that there is no way to specify what "style" of name is produced......Rlaan have quite different names from humans ;-)

Dan.a
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Re: random name generator.

Post by dandandaman »

Duality wrote:I was board
really? what type? oak, pine, jarrah...:-P

I've always wondered what it would be like to be a long plank of wood ;-)

Dan.a
Duality
Daredevil Venturer
Daredevil Venturer
Posts: 583
Joined: Sun Feb 16, 2003 12:58 am
Location: West Coast of USA
Contact:

Post by Duality »

Well it wasn't ment to be made for flight groups but just user names or something like that. Normally I don't even know what name to come up with when it comes to creating a new names in multiplayer game.
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

cool :-)

when we get multiplayer of course it would be useful :-)

Dan.a
richard
Bounty Hunter
Bounty Hunter
Posts: 162
Joined: Mon Jan 26, 2004 9:29 am
Location: Melbourne, Australia
Contact:

Post by richard »

Sure name generators can generate a certain style. Mostly you just have to be careful about what components (generally syllables) are used as source for them. The following Python generates names - just change the syllables to suit the syllables you want to see:

Code: Select all

syllables = """
ak ek ik ok uk ag eg ig og ug al el il ol ul an en in on un
at et it ot ut
az iz ez oz uz azz izz ezz ozz uzz
kar kur kul kor kas
ral rel
lok luk las lug
mak mok mas mos mag mog
ga gul ger
tha the thi tho thu
ug ig og ag eg
sni sna snu
fer fi fir fru fri for
por per
erl lep
zen zun zin zan zon
naz nez niz noz nuz
ard ich ald
ber
s
t
""".split()

def name():
    import random
    numsyl = random.randint(2,4)
    namesyl = [random.choice(syllables) for i in range(numsyl)]

    name = (''.join(namesyl)).capitalize()

    if not random.randint(0, 1) and numsyl < 4:
        # tack on a second name
        namesyl = [random.choice(syllables) for i in range(random.randint(1,3))]
        name += " " + (''.join(namesyl)).capitalize()

    return name

if __name__ == "__main__":
    for i in range(20):
        print name()
Gamer, Python programmer
Duality
Daredevil Venturer
Daredevil Venturer
Posts: 583
Joined: Sun Feb 16, 2003 12:58 am
Location: West Coast of USA
Contact:

Post by Duality »

My rescent random name generator was programed in Visual Basic.

If I could realease the source code, it could give someone the opportunity to create names based on different races.

Edit: I updated the link.
Post Reply