Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How are worlds made?  (Read 1328 times)

Zahariel

  • Bay Watcher
    • View Profile
How are worlds made?
« on: November 17, 2011, 07:50:27 pm »

So I'm making a large-scale strategy game, and one of the things I'm trying to do is generate a realistic-ish looking world. It turns out, this is harder than it looks. I really like the looks of the world in DF, so I was hoping maybe Toady or someone could share some insights as to how his algorithm works.
Logged

_DivideByZero_

  • Bay Watcher
  • Not to be confused with infinity
    • View Profile
Re: How are worlds made?
« Reply #1 on: November 17, 2011, 08:27:20 pm »

Step One: Generate DF world
Step Two: Draw DF world on paper
Step Three: ???
Step Four: Profit!
Logged
Have I now become your enemy by telling you the truth? (Gal 4:16)

Urist Imiknorris

  • Bay Watcher
  • In the flesh, on the phone and in your account...
    • View Profile
Re: How are worlds made?
« Reply #2 on: November 17, 2011, 08:35:35 pm »

Step one: Get two worlds.
Step two: Provide copious amounts of alcohol.
Step three: Leave them alone.
Step four: Wait.
Logged
Quote from: LordSlowpoke
I don't know how it works. It does.
Quote from: Jim Groovester
YOU CANT NOT HAVE SUSPECTS IN A GAME OF MAFIA

ITS THE WHOLE POINT OF THE GAME
Quote from: Cheeetar
If Tiruin redirected the lynch, then this means that, and... the Illuminati! Of course!

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: How are worlds made?
« Reply #3 on: November 17, 2011, 08:36:18 pm »

There was that DF Talk segment where Toady discussed how the worlds were generated. Can't find it though.
Logged
Thank you for all the fish. It was a good run.

Itnetlolor

  • Bay Watcher
    • View Profile
    • Steam ID
Re: How are worlds made?
« Reply #4 on: November 17, 2011, 09:08:08 pm »

Step one: Get two worlds.
Step two: Provide copious amounts of alcohol.
Step three: Leave them alone.
Step four: Wait.
Step five: Sell the recordings for additional profit or use them as blackmail against one of the worlds.

Urist Imiknorris

  • Bay Watcher
  • In the flesh, on the phone and in your account...
    • View Profile
Re: How are worlds made?
« Reply #5 on: November 17, 2011, 09:10:09 pm »

Step five: Sell the recordings for additional profit or use them as blackmail against all three of the worlds.

Fixed that for you. Why limit yourself to one when you can blackmail both worlds and their spawn as well?
Logged
Quote from: LordSlowpoke
I don't know how it works. It does.
Quote from: Jim Groovester
YOU CANT NOT HAVE SUSPECTS IN A GAME OF MAFIA

ITS THE WHOLE POINT OF THE GAME
Quote from: Cheeetar
If Tiruin redirected the lynch, then this means that, and... the Illuminati! Of course!

Itnetlolor

  • Bay Watcher
    • View Profile
    • Steam ID
Re: How are worlds made?
« Reply #6 on: November 17, 2011, 09:13:01 pm »

Step five: Sell the recordings for additional profit or use them as blackmail against all three of the worlds.
Fixed that for you. Why limit yourself to one when you can blackmail both worlds and their spawn as well?
Touche. Nice touch.

Gatleos

  • Bay Watcher
  • Mournhold... City of Light... City of MAGIC!
    • View Profile
    • Someone Sig This
Re: How are worlds made?
« Reply #7 on: November 17, 2011, 09:28:50 pm »

how is wurld formed?

To give a serious answer: Toady went on at length about the worldgen details in this Gamasutra interview (it's on page 7).

To summarize: the fractal terrain is created with 2-dimensional midpoint displacement. It seems like a pretty detailed process after that, creating biomes based on elevation, temperature, and water drainage. There are lots of online resources for fractal terrain generation online, you might want to look some of those up too.

Hope that helps. Good luck!
Logged
Think of it like Sim City, except with rival mayors that seek to destroy your citizens by arming legions of homeless people and sending them to attack you.
Quote from: Moonshadow101
it would be funny to see babies spontaneously combust
Gat HQ (Sigtext)
++U+U++ // ,.,.@UUUUUUUU

Pokon

  • Bay Watcher
  • [ETHICS:HAHAHAHA]
    • View Profile
Re: How are worlds made?
« Reply #8 on: November 17, 2011, 10:25:29 pm »

Quote
Step one: Get two worlds.
Step two: Provide copious amounts of alcohol.
Step three: Leave them alone.
Step four: Wait.
Quote
Step five: Sell the recordings for additional profit or use them as blackmail against one of the worlds.

So using this in a Exalted game. So hard.
Logged
A vile force of dark'ness has arrived, led by their champion Ebony Dark'ness Dementia Raven Way.