Random scenarios - parameters

Discussion on game mechanics, balancing etc.
Forum rules
Posted relevant content can be used under GPL or GFDL (http://www.gnu.org/) for the project. Thanks!
mongo
Posts: 9
Joined: Wed May 27, 2015 10:23 am

Re: Random scenarios - parameters

Post by mongo »

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 ;)
User avatar
Trilarion
Founder
Posts: 845
Joined: Thu Jan 12, 2012 9:27 pm
Location: Central germany

Re: Random scenarios - parameters

Post by Trilarion »

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).
mongo
Posts: 9
Joined: Wed May 27, 2015 10:23 am

Re: Random scenarios - parameters

Post by mongo »

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.
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:If you want you could also then try it out with the help of a script language (Python for example).
Yes, I will!!
User avatar
Trilarion
Founder
Posts: 845
Joined: Thu Jan 12, 2012 9:27 pm
Location: Central germany

Re: Random scenarios - parameters

Post by Trilarion »

mongo wrote:... Yes, I will!!
Very good. Thanks for doing it.
mongo
Posts: 9
Joined: Wed May 27, 2015 10:23 am

Re: Random scenarios - parameters

Post by mongo »

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
User avatar
Trilarion
Founder
Posts: 845
Joined: Thu Jan 12, 2012 9:27 pm
Location: Central germany

Re: Random scenarios - parameters

Post by Trilarion »

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
mongo
Posts: 9
Joined: Wed May 27, 2015 10:23 am

Re: Random scenarios - parameters

Post by mongo »

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
User avatar
Trilarion
Founder
Posts: 845
Joined: Thu Jan 12, 2012 9:27 pm
Location: Central germany

Re: Random scenarios - parameters

Post by Trilarion »

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.
Post Reply