Random Map Maker, Like in Transport Tycoon

Blitz3D Forums/Blitz3D Programming/Random Map Maker, Like in Transport Tycoon

OK this is probably stupid BUT...

There is a game called NETHACK which is open source. It is a dungeon crawl BUT the maps are randomly generated. I think (but am not sure) there is code in basic.

The map generator portion should not be too hard to deconstruct if it is in C.

Then you just have to come up with 3D "tiles" that are all on th same level and use the generator to parse them into a map document.

OR

You could write a simple program to create an array that fills it with 1,2,3,4,5,6,3,2,1,1,0 etc...

where each number corresponds to a style of map tile. Then you simply read position in the array for your location AND the surrounding locs (to speed up movement to the next terrain...

Just an idea...

-RZ