Sign in to follow this  
Aphalin

RPG Map generator needed...but...

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Hi Paladine, i ll tell you the truth ;) I am writing WRPG, JScript + C# for client side. I am not at all fammiliar to working with non web types of files :( But there gottabe a program! no?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this