Jump to content

Noob looking for help to resolve map issue.


Recommended Posts

Hi there.  I wanted to know if there's any way to tell the game to give me LESS grass and MORE deciduous-turf areas on the map when I start a new world?  I've been sitting here typing c_regenerateworld() for the last hour and a half (yes, really) because the game keeps giving me massive amounts of land  masses with grass and forest, and a very tiny 1/2-inch square of deciduous land (which is my favorite of all of them).  I think disease spreads more on deciduous but I have disease disabled anyway (because it's my favorite land area, I think it's called a biome?).  In any case...how do I get more of it on my map and less grass all over the place?  

 

Thank you kindly for any help :)

 

Edit: Update:  Figures, as soon as I posted this it gave me 2 big chunks of deciduous.  However..like I said, it took a solid hour and a half to get there.  Surely there is an easier way?  Am I missing a configuration box to click which land masses/biomes I want?

 

Edit again: and now I have one itty-bitty rock/quarry chunk. LOL I just want a nice balance of all of them :D

Link to comment
Share on other sites

  • Developer

There's no slider for turf types. As for the deciduous biomes, there will only be one with a chance for a second. 

From my experience, if you disable land loop in the world gen you may get large biomes. But that might be just my random luck. Google the land loop and branches settings for more info on how they impact the shape of your world.

Link to comment
Share on other sites

Surprisingly, I think I may actually be able help with this.
Note: I am a complete amateur at this kind of stuff so I can't provide too much information. Also, this only works on the PC version.

You can actually go into the game files and edit the world generation directly.

Spoiler

First of all, as mentioned before, you'll only have a chance of generating a world with a second deciduous forest. However, we can go into the game files and make it so that it is guaranteed to generate.

1. Go to your Steam Library and right click Don't Starve Together and click Properties
2. Click the tab labeled Local Files
3. Click Browse Local Files
4. Go to data
5. Go to scripts
6. Go to map
7. Go to tasksets
8. Go to forest

Here, you should see


tasks = {
			"Make a pick",
			"Dig that rock",
			"Great Plains",
			"Squeltch",
			"Beeeees!",
			"Speak to the king",
			"Forest hunters",
			"Badlands",
			"For a nice walk",
		},
		numoptionaltasks = 6,
		optionaltasks = {
			"Befriend the pigs",
			"Kill the spiders",
			"Killer bees!",
			"Make a Beehat",
			"The hunters",
			"Magic meadow",
			"Frogs and bugs",
			"Oasis",
			"Mole Colony Deciduous",
			"Mole Colony Rocks",
			"MooseBreedingTask",
		},

These are the available biomes that will spawn in the world (Note: These are the biomes as of now on the main branch of the game. If you go to the A New Regin beta branch, the biomes will differ slightly. Luckily, it won't change the deciduous biomes at all)

Cut "Mole Colony Deciduous", from the optional tasks, and paste it under tasks. Be sure to include the quotation marks and the comma!

It should see something like this


		tasks = {
			"Make a pick",
			"Dig that rock",
			"Great Plains",
			"Squeltch",
			"Beeeees!",
			"Speak to the king",
			"Forest hunters",
			"Badlands",
			"For a nice walk",
			"Mole Colony Deciduous",
		},
		numoptionaltasks = 6,
		optionaltasks = {
			"Befriend the pigs",
			"Kill the spiders",
			"Killer bees!",
			"Make a Beehat",
			"The hunters",
			"Magic meadow",
			"Frogs and bugs",
			"Oasis",

			"Mole Colony Rocks",
			"MooseBreedingTask",
		},

This will guarantee that both biomes will then spawn.
Note: the total number of biomes that will spawn in your world will be 16 biomes instead of the normal 15 biomes, as you have moved one of the optional tasks over to the guaranteed tasks. You can change the number of optional tasks to 5 to compensate, or you could not for a larger world. Why not increase it to 10 and generate a super large world with 20 biomes? The choice is yours.

Spoiler

Now we will edit the size of the two biomes.

1. Go to your Steam Library and right click Don't Starve Together and click Properties
2. Click the tab labeled Local Files
3. Click Browse Local Files
4. Go to data
5. Go to scripts
6. Go to map
7. Go to tasks
8. Go to forest

Spoiler

Now hit ctrl+f and type "Mole Colony Deciduous" (be sure to include the quotation marks!)
Then hit enter
If you scroll down, you should see



		room_choices={
			["MolesvilleDeciduous"] = 1,
			["DeepDeciduous"] = 2,
			["DeciduousMole"] = 2,
			["DeciduousClearing"] = 1,
		},

These values control how much of the deciduous turf is spawned for the Mole Colony Deciduous biome (this is the optional deciduous biome that has a chance of spawning, although we already set it as guaranteed to spawn)
Increasing them will thereby increase the size of the biome
Note: The "MolesvilleDeciduous" and "DeciduousClearing" room choices both include molesworms, so be careful about how much you adjust these two values.

Now hit ctrl+f once again and type "Speak to the king" (Once again, include the quotation marks!)
Then hit enter
If you scroll down, you should see



		room_choices={
			["PigKingdom"] = 1,
			["MagicalDeciduous"] = 1,
			["DeepDeciduous"] = function() return 3 + math.random

(SIZE_VARIATION) end, 
		},

Once again, these values control the size of the biome for the "Speak to the king" biome. This is the one that has Pig King and Glommer's Statue, and is guaranteed to spawn in your world.
Note: the "PigKingdom" room choice is tied to the Pig King set piece. This means that increasing this value will also increase the number of Pig Kings and Pig Villages (i.e. increasing "PigKingdom" to 3 will spawn 3 Pig Kings and Pig Villages in this biome). The "MagicalDeciduous" room choice is tied to the Glommer set piece. Increasing this value will also increase the number of Glommer's Statues you'll find in this biome. So, I suggest you only increase the "DeepDeciduous" value.

 

World generation comparison

Spoiler

Note: I set the number of optional tasks to 0 to make the increase in biome size more obvious.

Default World Generation without deciduous size increase

Spoiler

DST_World_Gen_Default.png

Default World Generation with deciduous size increase

Spoiler

DST_World_Gen_Deciduous_Modifications.pn

Code Modification

Spoiler



"Mole Colony Deciduous"

		room_choices={
			["MolesvilleDeciduous"] = 5,
			["DeepDeciduous"] = 6,
			["DeciduousMole"] = 6,
			["DeciduousClearing"] = 5,
		},  




"Speak to the king"

		room_choices={
			["PigKingdom"] = 1,
			["MagicalDeciduous"] = 1,
			["DeepDeciduous"] = function() return 10 + math.random

(SIZE_VARIATION) end, 
		}, 

 

 

As you can see, the modified map has much larger deciduous biomes!

 

Whew, that was a long post! I hope this was helpful to you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...