random map generator

Interesting mapping tools and mapping help.

Moderator: Morax

Re: random map generator

Postby ColonelSheppard » 28 Jul 2013, 20:17

then do it :)
User avatar
ColonelSheppard
Contributor
 
Posts: 2997
Joined: 20 Jul 2012, 12:54
Location: Germany
Has liked: 154 times
Been liked: 165 times
FAF User Name: Sheppy

Re: random map generator

Postby Golol » 28 Jul 2013, 23:29

ive tried learning to code several times and i never did it. i never even got past console applications.
if i could id want to do it but i cant.
btw this is how it could work:
i dont know a lot about mapping but i know that the heightmap is stored inside a picture smoehow.
i just saw how by editing this picture the heightmap was easily adjusted so if a programm just creates a random pattern of grey colors and each pixel must have a color thats similar to an adjacent pixel (no random spikes on the map) then there should be a random map that isnt just a bunch of random spikes.
this would also leave the option for a "height difference tolerance" slider that indicates how similar a color may be to an adjacent pixels color.
but all the additional files have to be generated so its definetly not as easy. and i think to get the picture you need to do some stuff first that i dont know.
User avatar
Golol
Contributor
 
Posts: 700
Joined: 07 May 2012, 15:56
Has liked: 24 times
Been liked: 21 times
FAF User Name: Golol

Re: random map generator

Postby Hawkei » 29 Jul 2013, 05:30

Golol wrote:ive tried learning to code several times and i never did it. i never even got past console applications.
if i could id want to do it but i cant.
btw this is how it could work:
i dont know a lot about mapping but i know that the heightmap is stored inside a picture smoehow...


Learning new skills takes a lot of time and effort. You must understand that what you are asking for would require, even for an experienced programmer, would take a huge ammount of time to implement. It is not a simple task. People wont be motivated to devota all of that time to doing what you ask. Especially when you have not devoted the time to learning about this.

You are quite correct about the heightmap. It is edited using photoshop and exists as a 1 dimensional matrix. It should be possible to generate a heighmap of the proper design using an algorithm. Unfortunately, you underestimate the complexity of that algorithm. Because you need to consider gradients. Certain slopes are buildable terrain, and other slopes are passable, but not buildable. Then others are completely impassable.

Rolling hills will have a different overall look to mountain ridges. Etc. Making an algorithm which will generate realistic landform topography is very complicated.
User avatar
Hawkei
Supreme Commander
 
Posts: 1217
Joined: 03 Jun 2013, 18:44
Location: A rather obscure planet in a small cluster of stars on the outer edge of the Milky Way Galaxy
Has liked: 44 times
Been liked: 182 times
FAF User Name: Firewall

Re: random map generator

Postby Golol » 29 Jul 2013, 13:57

I know that no one would spend so much time for something that i ask.
Thats why i can simply hope someone decides that having a random map generator is something worth spending time into. Until i would have the necessary coding skils for this FA would propably already have died out...
User avatar
Golol
Contributor
 
Posts: 700
Joined: 07 May 2012, 15:56
Has liked: 24 times
Been liked: 21 times
FAF User Name: Golol

Re: random map generator

Postby HyperGrid » 24 Sep 2013, 07:49

I just wanted to comment: random map generation as an idea is not unfeasible in the least, and functions that are all about random generation of numbers / terrain / height-maps happen to be well-researched and implemented. Here are some sites that focus on random terrain generation (and some of the code):

http://www-cs-students.stanford.edu/~am ... eneration/
http://donjon.bin.sh/world/about/
http://www.gamereplays.org/community/in ... 78306&st=0 [this is a supcom random map generator]
http://forums.civfanatics.com/showthread.php?t=498630
http://forum.paradoxplaza.com/forum/sho ... 4be1ca2268 [newer civ map gen]
=>source: http://www.gamefront.com/files/21519878 ... source_zip
http://vterrain.org/Elevation/Artificial/
http://www.drdobbs.com/parallel/generat ... /184409269

I hope this info will supply someone with some inspiration to make this generator happen.
HyperGrid
 
Posts: 1
Joined: 02 Aug 2013, 08:01
Has liked: 0 time
Been liked: 0 time
FAF User Name: HyperGrid

Re: random map generator

Postby Duck_42 » 16 Mar 2014, 00:56

User avatar
Duck_42
Avatar-of-War
 
Posts: 237
Joined: 29 May 2012, 03:16
Has liked: 5 times
Been liked: 18 times
FAF User Name: Duck_42

Previous

Return to Mapping

Who is online

Users browsing this forum: No registered users and 1 guest