View Single Post
Old 04-27-2008, 04:48 PM   #73
Threshold
Legend
 
Join Date: Apr 2002
Home MUD: Threshold RPG
Posts: 1,260
Threshold will become famous soon enough
Re: How many muds have permadeath?

<Snip - Xerihae>

If you felt this was important enough, I think it would be pretty easy to do. Whenever you needed to create a new custom NPC, the code would through a series of steps:

1) Pick a random race (or pick from an array of specific races).

2) Depending on race, pick a random eye color. Then a random hair color. Then a random (whatever other features are commonly described on your game). You would probably want a list of at least 10-20 for each, all race dependent.

3) Randomly generate sex (assuming that race has male and female).

4) Randomly generate an appropriate height and weight for that race.

5) Randomly generate a name. You can either have a huge list of names, or have pieces of names. Just make sure you keep track of the ones used so you don't reuse them. Or maybe don't even worry about that. There is more than one "Bob" in our world. It is unlikely that your random generator would create two Bobs with the exact same descriptive characteristics.

Without a great deal of setup, you would easily have thousands of different NPCs. They wouldn't be terribly unique or special (since they are just a random combination of features), but they might do the job nicely.

Last edited by Xerihae : 04-28-2008 at 08:28 AM.
Threshold is offline   Reply With Quote