Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411581 Posts in 69386 Topics- by 58445 Members - Latest Member: Mansreign

May 05, 2024, 06:18:12 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Random map generation
Pages: [1]
Print
Author Topic: Random map generation  (Read 1501 times)
Muz
Level 10
*****


View Profile
« on: October 08, 2009, 05:01:18 PM »

Let's say that I wanted to create a random map of an island. Something like what Civilization, Dwarf Fortress, or Conquest of Elysium does. A place with mountains, hills, plains, forests, rivers, etc.

What's the best way to go about doing that? Thanks in advance!
Logged
Strom
Level 0
***



View Profile
« Reply #1 on: October 08, 2009, 05:50:25 PM »

Try this.

http://forums.tigsource.com/index.php?topic=5174.0
Logged

See my Assemblee 2009 2D and 3D work Here. My A Game By Its Cover compo entry Journal of Shikoku.
ragnor
Level 0
**


View Profile
« Reply #2 on: October 08, 2009, 05:54:50 PM »

you can use this one too: http://www.evilscience.co.uk/?p=53

It is easy to impelement and tweak. But if you want advanced stuff you should research on cellular automata or stuff like that.

This wiki could help you: http://pcg.wikidot.com/
Logged
ImaginaryThomas
Level 1
*


Reor, Creo, Incito


View Profile WWW
« Reply #3 on: October 08, 2009, 06:19:38 PM »

I wrote this in python. Im no professional so it's pretty basic but it might be a step in the right direction:
http://imaginarythomas.com/?id=6
Logged

Muz
Level 10
*****


View Profile
« Reply #4 on: October 09, 2009, 01:31:45 AM »

Ouch.

Thanks, guys, maybe I got it wrong, but I'm not really looking for any height maps. Mostly something like 2D tiles, with something like Hill, Mountain, without needing contours of their heights.

Any suggestions for something simple, like an algorithm to generate tiles of terrain? Maybe generating a mass of grasslands, desert, stuff next to them?
Logged
Mipe
Level 10
*****


Migrating to imagination.


View Profile
« Reply #5 on: October 09, 2009, 02:17:51 AM »

I refer you to Strom's post. It is not just about height maps.
Logged
Krux
Level 2
**



View Profile
« Reply #6 on: October 10, 2009, 05:17:17 AM »

you can start building a heightmap, and then replace all low coordinates with sea tiles, hight tiles with mountain tiles, and the medium coodinates with grass tiles.

After the Generation Process follows the history pocess, where an AI builds road cities and anything needed for a living world.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic