I found a beautiful code-example for a radomized polygonal map editor for flash.
http://www-cs-students.stanford.edu/~am ... eneration/
We just need the 2D quad-mesh tiling-part. I will further check about useful distributions of the tiling, including
- major (7-10 regions) and minor (3-5 regions) nations
- multiple "continents"/ islands
- equally spread resources
etc.
But for the first version I think we should work with an as simple as possible version:
fixed resolution
fixed pointset
one continent
each region consists about 10 squares
major nations have 7 regions, minor 3
It always can be extended in the future
Random scenarios - parameters
Forum rules
Posted relevant content can be used under GPL or GFDL (http://www.gnu.org/) for the project. Thanks!
Posted relevant content can be used under GPL or GFDL (http://www.gnu.org/) for the project. Thanks!
Re: Random scenarios - parameters
Yes, that looks cool and surely could be used for random generated maps. It would be nice if you could make some research and write down the algorithm how they do it. If you want you could also then try it out with the help of a script language (Python for example).
Re: Random scenarios - parameters
It seems not so hard for our purpose. For Quadmeshes it is an equilateral vertexset and a 2 dimensional function including (land)/excluding (water) vertices.Trilarion wrote:Yes, that looks cool and surely could be used for random generated maps. It would be nice if you could make some research and write down the algorithm how they do it.
Yes, I will!!Trilarion wrote:If you want you could also then try it out with the help of a script language (Python for example).
Re: Random scenarios - parameters
Very good. Thanks for doing it.mongo wrote:... Yes, I will!!
Re: Random scenarios - parameters
I've started developing a first prototype in Java. As soon as it is running nicely I'll show you some results. Afterwards I'll try to implement it Python.
best
Andre
best
Andre
Re: Random scenarios - parameters
Hi Andre,
Fine. Let me know if there is something ready. Do you use Github or another versioning service? Then one could even look at intermediate results.
Cheers,
Jan
Fine. Let me know if there is something ready. Do you use Github or another versioning service? Then one could even look at intermediate results.
Cheers,
Jan
Re: Random scenarios - parameters
Hi Jan,
sorry, but I use my own svn-server yet. I can use to gitlab as soon as I have a running alpha version. I am working on some familiar problems right now.
best
Andre
sorry, but I use my own svn-server yet. I can use to gitlab as soon as I have a running alpha version. I am working on some familiar problems right now.
best
Andre
Re: Random scenarios - parameters
I hope your familiar problems are not too grave. Take your time. I will be here when you show the alpha version. I also plan to do more again in this project, but I'm kind of looking for a new job currently, so the immediate future does not look like I have a lot of time too.