[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

14853: RE: [MUD-Dev] Re: Scaling a world.

[Full Header] [Plain Text]
From: David Bennett <ddt@discworld.atuin.net>
Newsgroups: nu.kanga.list.mud-dev
Date: Mon, 24 Jul 2000 16:08:05 -0700 (PDT)
References: [1]
Organization: Kanga.Nu
On Mon, 24 Jul 2000, Patrick Dughi wrote:

> 	Of course, it seems silly to end up saving this level of detail
> for each room in the system.  I'm open to suggestions, but the best I
> could get was a sort of hash of the coordinates having some influence.

Seeded psuedo random number generators.  This is exactly how we do it on
dw.  Use the co-ordinate as the seed and then randomly generate a series of
numbers for the room.  The numbers will be repeatably the same based on a
fixed seed.  If you choose your psuedo random number generator will it
still looks pretty random too.

Randomly appearing in random places,
David.




_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev