Don't Starve Together

Don't Starve Together

1,216 ratings
Megarandom world generation
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.409 MB
16 Jul, 2017 @ 12:56pm
25 Dec, 2021 @ 11:22am
61 Change Notes ( view )

Subscribe to download
Megarandom world generation

Description
Generate larger, random and more varied maps than the original game.



FEATURES:
  • A new world generation algorithm better suited for large worlds.
  • Circular world shapes: more biomes, less water, less empty space.
  • Optimizations in the game code to better place regions of interest ("setpieces").
  • Other cool stuff: caves and ruins on surface, various options to increase world generation randomness, settings to spawn special items from other mods.

RECOMMENDED SETTINGS:

- "Continental" shape.
- "Optimized World Gen" ON. Note: this can rarely lead to things spawning in unusual spaces (eg. Pig King in Bee biomes), see description for details.

DESCRIPTION:

This mod brings cave biomes on the surface and adds several algorithms to make world generation much more random and varied.

I have designed an other world generation system to make the world shape more compact (supports 50-60 biomes vs 20 for the original game). Without it the original algorithm tries to connect all biomes to the center, which is very poor for 40+ biomes: it results in a lot of water separations overall and thin paths that serve no gameplay purpose in the center of the map. Examples: 60 biomes map with the original algorithm.[imgur.com]

Note that since many new biomes are marsh/cave/dangerous areas the game tends to become a bit harder. Also, since the map generation is very random, some maps can be especially unfair.

If you want to quickly see what the new shapes look, there is a setting to reveal map at start (only works in hosted worlds). If you just want to try the new algorithm without changing anything else, you can disable Cave/MultiWorld biomes in the mod options and the world generation will be close to vanilla (minor differences in the size/content of certain biomes). In general, the world gen code should be compatible with other mods and treat modded biomes just fine.

Last but not least, I changed the game code to spawn objects more "leniently". In the original worldgen, the game has a list of things to spawn per biome (eg. Pig King), aka "set pieces". Unfortunately, when the biome does not have enough room to contain all set pieces, the original game would discard the unplaced set pieces, and if one of these happens to be important (eg. pig king), the world gen would restart, hoping the next attempt will be luckier. This process has several negative consequences: the first is that your world may not contain all the intended objects, the second is that the default world gen algorithm can sometimes take a large amount of time, this becomes prohibitive when using many mods with new biomes and set pieces (eg. Teleportado).

When that happens, my new code will try to spawn the set piece somewhere else using several different fallbacks, in the worst case, the object could spawn in a totally different biome.

This "optimization" can be toggled on/off (default: ON)

Summary:
  • More items will spawn than in your regular DST.
  • Much faster worldgen.
  • Things may (rarely) spawn in weird locations. eg. Pig King in Marsh.
Imo, the new result looks far better in practice, but it's a trade-off. Be aware!

RECOMMENDED MODS:

I advise to also play with the following mods:
  • Tropical Experience: complete port of Don't Starve: Shipwrecked biomes.
  • Green World, Windy Plains (bugged), Cherry Forest: add new biomes to the game.
  • Mods for which I have added special features:
    Basements (a random basement will spawn on the map)
    Birds and berries for friends (new plants will spawn in Multi Worlds biomes too)
    Moar Metals (New rocks will spawn in Multi-Worlds biomes, not tested recently)
    Tungsten mod (New rocks will spawn in Multi-Worlds biomes)
  • Cave On Grounds if you like ruins, this mod has a better and more up-to-date Ruins generation than Megarandom. Both mods are perfectly compatible, just set "Ruins" to "Disabled" in Megarandom options, otherwise the ruin biomes will be spawned twice. (Settings Ruins to "Disabled" won't interfere with other mods ruins)

KNOWN ISSUES:

- Map generation time increased significantly (1-2 minutes with default options).

- Incompatible with the following mods:
  • More Adventures and a lot of items.
  • Season Starting Items. (if playing with Multi worlds, fine otherwise)
  • Turfed ! (if playing with Multi worlds, but this version works)
  • Island Adventures (never tried, unlikely to work)

- Compatible with issues:
  • Any mod that spawns major set pieces, such as Teleportato may cause longer map generation and the new set pieces might spawn at weird locations or not spawn at all. I recommend using the "Optimized World gen" setting which should help with this.

- Atrium is disabled by default. You can enable it by setting the "Ruins" option to "Too Many". Be aware that this will cause about 2x longer map generation time. In addition, some ground textures near the Atrium are invisible, but it is just a visual bug, you won't get any problem for navigating on them.


CREDITS:

Special thanks to:

- Déjà Vu ( Advanced World Generation) for his idea to merge cave with surface, his excellent & well-written worldgen code and the numerous tips he gave me.

- Snook-8, keeper_m, Flying Teapot ( Multi-Worlds mod for DST) for porting tons of objects from Shipwrecked, creating new inspired and original biomes and bringing one of the largest content mods on the Workshop.
If you like the new biomes, please show your support to their actual authors by also liking & favoriting this mod.

- Zarklord for LibraryManager[github.com], which enables to handle the "Multi Worlds" dependency in the mod menu.

- Vagnerdarochasantos (Tropical Experience) for helping to make his mod compatible and discovering new things on Worldgen.
Popular Discussions View All (5)
45
4 Mar @ 5:04am
PINNED: Bugs
Swaggy
7
10 Aug, 2019 @ 11:59am
Разработчики у меня к вам просьба.
icole1500._.
1
21 Nov, 2019 @ 12:08pm
PINNED: Out of memory issues
Swaggy
818 Comments
BetFury.io_afa82 15 May @ 3:10pm 
plis update mod
BetFury.io_afa82 15 May @ 3:10pm 
plis update mod
BetFury.io_afa82 15 May @ 3:10pm 
plis update mod
BetFury.io_afa82 15 May @ 3:09pm 
plis update mod
Legenda pro trader 9 Nov, 2023 @ 10:44pm 
Kiki gas crashed:steamsad:
a username 1 Oct, 2023 @ 3:35pm 
I have no other mods installed and the MacTuskCity is still appearing. I'm confused on if this setpiece is part of the vanilla game or if it's added by this mod.
CryoChick 27 Jun, 2023 @ 1:07pm 
hey is there a mod or addon to this that can make it so that caves bosses spawn in the overworld as well as making the ocean islands connect to the mainland? (moon quay moon island and pearls island)
Ducky 25 Apr, 2023 @ 7:21pm 
:DSTskull:
Jujusolano 25 Apr, 2023 @ 9:29am 
mod dont work anymore
NEPONYATNO KTO 13 Apr, 2023 @ 12:42am 
:DSTskull: