RPG Map generator needed...but...
Hi all, does anyone knows any random map generator of terrain, but so that the output whould be not just jpeg picture, but something readable by my RPG program editor (something text based, whould be the best!). Or maybe anyone knows libraries of such text based maps? Or perhaps, a converter, from images, to bit code... Thank you for reading!
generally terrain generators just output a heightmap (a 2d array of height values). then you just write something to turn that into geometry.
writing the generator is pretty easy. there are a lot of well understood techniques. try googling "random terrain generation" or read the articles on this site covering it.
I don't offhand know the name of any terrain generation programs. I doubt they'd output in a non-binary format. But you can always just write a loaded, as whatever they output is bound to be well documented.
-me
writing the generator is pretty easy. there are a lot of well understood techniques. try googling "random terrain generation" or read the articles on this site covering it.
I don't offhand know the name of any terrain generation programs. I doubt they'd output in a non-binary format. But you can always just write a loaded, as whatever they output is bound to be well documented.
-me
I know that it is not the most difficult thing to program. But I whoud rather use someone's program for this one, since i have googled very sophysticcated map generators, that whould take days to right. The only problem ofcause that they do not output txt file. Or maybe they do? What i need though, is something like this
W W W W W W W W W G W W W W W
W W W G G W W G G G G S S W W
W W G G G G W W T G G G S S W
W G G R G G G W G G G T S W W
W W G R R R G G G G G S S S S
and so on where W-water, G-grass S-sand R-road connectig somethings T-tree
only 100 X 100. My game does not have heights unfortunatly.
Thank you everyone for answering
W W W W W W W W W G W W W W W
W W W G G W W G G G G S S W W
W W G G G G W W T G G G S S W
W G G R G G G W G G G T S W W
W W G R R R G G G G G S S S S
and so on where W-water, G-grass S-sand R-road connectig somethings T-tree
only 100 X 100. My game does not have heights unfortunatly.
Thank you everyone for answering
whatever format they output will be documented; it is _highly_ unlikely that it will correspond to exactly what you need).
You should be able to quickly write up a little application that parses their format and outputs what you specifically need. It's just file reading and translating. Should be very straight forward.
-me
You should be able to quickly write up a little application that parses their format and outputs what you specifically need. It's just file reading and translating. Should be very straight forward.
-me
Also if there whould be dangeon generator like this, i whould be the happiest man on the planet! :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement