worldgenoverride.lua with the new post-Caves settings


Recommended Posts

  • Developer

I've added in caves options to worldgenoverride.lua, so you can fill your world with slurpers if that's your thing. Yay!

Also, important note! A while ago we made it so that you can specify a whole preset in worldgenoverride.lua rather than having to specify each override manually (and can still tweak it further if preferred). So the easiest way, for example, to get caves looks like this:

return {
    override_enabled = true,
    preset = "DST_CAVE",
}

If you would like to set the server's Playstyle (Updated Oct 25, 2022):

The playstyle can be configured on the Master Server's worldgenoverride.lua by setting the desired preset. An example to get a relaxed playstyle looks like:

return {
	override_enabled = true,
	preset = "RELAXED", -- options must be in all caps: "SURVIVAL_TOGETHER", "RELAXED", "ENDLESS", "WILDERNESS", "LIGHTS_OUT",
	overrides = {
	},
}

 

Update April 4, 2016:

Quote

The format of the file has changed slightly, but is backwards compatible for now. Going forward, all overrides are listed in a single "overrides" table, instead of misc, unprepared, etc. as before.

Update Oct 21, 2016:

Quote

wormattacks has been added to control the timed worm attacks in the caves. (Note: this was, and still is, achievable using 'hounds' for a cave world. It was added for the UI setup, feel free to use whichever you like.

specialevent (currently A New Reign Beta only) can enable events . default setting will allow events to come and go as we enable them. "none" will prevent any events from entering your world.

Update Dec 12, 2016

Spoiler

Updated specialevent to include "winters_feast"

Also bear in mind that any value set to "default" doesn't need to be specified at all!

Spoiler
return {
	override_enabled = true,
	settings_preset = "SURVIVAL_TOGETHER", 			-- "SURVIVAL_TOGETHER", "MOD_MISSING", "SURVIVAL_TOGETHER_CLASSIC", "SURVIVAL_DEFAULT_PLUS", "COMPLETE_DARKNESS", "TERRARIA", "DST_CAVE", "DST_CAVE_PLUS", "TERRARIA_CAVE"
	worldgen_preset = "SURVIVAL_TOGETHER", 			-- "SURVIVAL_TOGETHER", "MOD_MISSING", "SURVIVAL_TOGETHER_CLASSIC", "SURVIVAL_DEFAULT_PLUS", "COMPLETE_DARKNESS", "TERRARIA", "DST_CAVE", "DST_CAVE_PLUS", "TERRARIA_CAVE"
	overrides = {
		--WORLDSETTINGS
		-- GLOBAL
		specialevent = "default", 			-- "none", "default"
		autumn = "default", 			-- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
		winter = "default", 			-- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
		spring = "default", 			-- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
		summer = "default", 			-- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
		day = "default", 			-- "default", "longday", "longdusk", "longnight", "noday", "nodusk", "nonight", "onlyday", "onlydusk", "onlynight"
		beefaloheat = "default", 			-- "never", "rare", "default", "often", "always"
		krampus = "default", 			-- "never", "rare", "default", "often", "always"

		-- EVENTS
		crow_carnival = "default", 			-- "default", "enabled"
		hallowed_nights = "default", 			-- "default", "enabled"
		winters_feast = "default", 			-- "default", "enabled"
		year_of_the_gobbler = "default", 			-- "default", "enabled"
		year_of_the_varg = "default", 			-- "default", "enabled"
		year_of_the_pig = "default", 			-- "default", "enabled"
		year_of_the_carrat = "default", 			-- "default", "enabled"
		year_of_the_beefalo = "default", 			-- "default", "enabled"
		year_of_the_catcoon = "default", 			-- "default", "enabled"

		-- SURVIVORS
		extrastartingitems = "default", 			-- "0", "5", "default", "15", "20", "none"
		seasonalstartingitems = "default", 			-- "never", "default"
		spawnprotection = "default", 			-- "never", "default", "always"
		dropeverythingondespawn = "default", 			-- "default", "always"
		brightmarecreatures = "default", 			-- "never", "rare", "default", "often", "always"
		shadowcreatures = "default", 			-- "never", "rare", "default", "often", "always"

		-- MISC
		hounds = "default", 			-- "never", "rare", "default", "often", "always"
		winterhounds = "default", 			-- "never", "default"
		summerhounds = "default", 			-- "never", "default"
		atriumgate = "default", 			-- "veryslow", "slow", "default", "fast", "veryfast"
		wormattacks = "default", 			-- "never", "rare", "default", "often", "always"
		earthquakes = "default", 			-- "never", "rare", "default", "often", "always"
		petrification = "default", 			-- "none", "few", "default", "many", "max"
		frograin = "default", 			-- "never", "rare", "default", "often", "always"
		alternatehunt = "default", 			-- "never", "rare", "default", "often", "always"
		hunt = "default", 			-- "never", "rare", "default", "often", "always"
		lightning = "default", 			-- "never", "rare", "default", "often", "always"
		meteorshowers = "default", 			-- "never", "rare", "default", "often", "always"
		weather = "default", 			-- "never", "rare", "default", "often", "always"
		wildfires = "default", 			-- "never", "rare", "default", "often", "always"

		-- RESOURCES
		regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		deciduoustree_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		carrots_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		evergreen_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		flowers_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		flower_cave_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		lightflier_flower_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		mushtree_moon_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		moon_tree_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		mushtree_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		saltstack_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		twiggytrees_regrowth = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"

		-- ANIMALS
		bees_setting = "default", 			-- "never", "rare", "default", "often", "always"
		birds = "default", 			-- "never", "rare", "default", "often", "always"
		lightfliers = "default", 			-- "never", "rare", "default", "often", "always"
		bunnymen_setting = "default", 			-- "never", "rare", "default", "often", "always"
		butterfly = "default", 			-- "never", "rare", "default", "often", "always"
		catcoons = "default", 			-- "never", "rare", "default", "often", "always"
		dustmoths = "default", 			-- "never", "rare", "default", "often", "always"
		gnarwail = "default", 			-- "never", "rare", "default", "often", "always"
		perd = "default", 			-- "never", "rare", "default", "often", "always"
		grassgekkos = "default", 			-- "never", "rare", "default", "often", "always"
		moles_setting = "default", 			-- "never", "rare", "default", "often", "always"
		mushgnome = "default", 			-- "never", "rare", "default", "often", "always"
		penguins = "default", 			-- "never", "rare", "default", "often", "always"
		pigs_setting = "default", 			-- "never", "rare", "default", "often", "always"
		rabbits_setting = "default", 			-- "never", "rare", "default", "often", "always"
		rocky_setting = "default", 			-- "never", "rare", "default", "often", "always"
		fishschools = "default", 			-- "never", "rare", "default", "often", "always"
		slurtles_setting = "default", 			-- "never", "rare", "default", "often", "always"
		snurtles = "default", 			-- "never", "rare", "default", "often", "always"
		monkey_setting = "default", 			-- "never", "rare", "default", "often", "always"
		wobsters = "default", 			-- "never", "rare", "default", "often", "always"

		-- MONSTERS
		bats_setting = "default", 			-- "never", "rare", "default", "often", "always"
		spider_hider = "default", 			-- "never", "rare", "default", "often", "always"
		cookiecutters = "default", 			-- "never", "rare", "default", "often", "always"
		spider_dropper = "default", 			-- "never", "rare", "default", "often", "always"
		frogs = "default", 			-- "never", "rare", "default", "often", "always"
		mutated_hounds = "default", 			-- "never", "default"
		hound_mounds = "default", 			-- "never", "rare", "default", "often", "always"
		wasps = "default", 			-- "never", "rare", "default", "often", "always"
		lureplants = "default", 			-- "never", "rare", "default", "often", "always"
		walrus_setting = "default", 			-- "never", "rare", "default", "often", "always"
		merms = "default", 			-- "never", "rare", "default", "often", "always"
		penguins_moon = "default", 			-- "never", "default"
		mosquitos = "default", 			-- "never", "rare", "default", "often", "always"
		molebats = "default", 			-- "never", "rare", "default", "often", "always"
		nightmarecreatures = "default", 			-- "never", "rare", "default", "often", "always"
		sharks = "default", 			-- "never", "rare", "default", "often", "always"
		moon_spider = "default", 			-- "never", "rare", "default", "often", "always"
		squid = "default", 			-- "never", "rare", "default", "often", "always"
		spider_warriors = "default", 			-- "never", "default"
		spiders_setting = "default", 			-- "never", "rare", "default", "often", "always"
		spider_spitter = "default", 			-- "never", "rare", "default", "often", "always"

		-- GIANTS
		antliontribute = "default", 			-- "never", "rare", "default", "often", "always"
		bearger = "default", 			-- "never", "rare", "default", "often", "always"
		beequeen = "default", 			-- "never", "rare", "default", "often", "always"
		crabking = "default", 			-- "never", "rare", "default", "often", "always"
		deerclops = "default", 			-- "never", "rare", "default", "often", "always"
		dragonfly = "default", 			-- "never", "rare", "default", "often", "always"
		eyeofterror = "default", 			-- "never", "rare", "default", "often", "always"
		klaus = "default", 			-- "never", "rare", "default", "often", "always"
		fruitfly = "default", 			-- "never", "rare", "default", "often", "always"
		malbatross = "default", 			-- "never", "rare", "default", "often", "always"
		goosemoose = "default", 			-- "never", "rare", "default", "often", "always"
		deciduousmonster = "default", 			-- "never", "rare", "default", "often", "always"
		spiderqueen = "default", 			-- "never", "rare", "default", "often", "always"
		toadstool = "default", 			-- "never", "rare", "default", "often", "always"
		liefs = "default", 			-- "never", "rare", "default", "often", "always"
		--WORLDGEN
		-- GLOBAL
		season_start = "default", 			-- "default", "winter", "spring", "summer", "autumn|spring", "winter|summer", "autumn|winter|spring|summer"

		-- MISC
		task_set = "default", 			-- "default", "cave_default", "quagmire_taskset", "classic", "lavaarena_taskset"
		start_location = "default", 			-- "lavaarena", "plus", "darkness", "quagmire_startlocation", "caves", "default"
		world_size = "default", 			-- "small", "medium", "default", "huge"
		branching = "default", 			-- "never", "least", "default", "most", "random"
		loop = "default", 			-- "never", "default", "always"
		roads = "default", 			-- "never", "default"
		touchstone = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		boons = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		cavelight = "default", 			-- "never", "veryslow", "slow", "default", "fast", "veryfast"
		prefabswaps_start = "default", 			-- "classic", "default", "highly random"
		moon_fissure = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		terrariumchest = "default", 			-- "never", "default"

		-- RESOURCES
		moon_starfish = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_bullkelp = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		berrybush = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		rock = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		ocean_bullkelp = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		cactus = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		carrot = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		banana = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		fern = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		flint = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		flowers = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		wormlights = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		grass = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_hotspring = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		lichen = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		flower_cave = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_rock = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_sapling = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_tree = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		meteorspawner = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		rock_ice = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		mushtree = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		mushroom = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		cave_ponds = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		ponds = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		reeds = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		sapling = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		ocean_seastack = "ocean_default", 			-- "ocean_never", "ocean_rare", "ocean_uncommon", "ocean_default", "ocean_often", "ocean_mostly", "ocean_always", "ocean_insane"
		marshbush = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_berrybush = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		trees = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		tumbleweed = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"

		-- ANIMALS
		bees = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		beefalo = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		buzzard = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_carrot = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		catcoon = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moles = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		pigs = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		rabbits = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		bunnymen = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		rocky = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		moon_fruitdragon = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		ocean_shoal = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		slurper = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		slurtles = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		monkey = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		lightninggoat = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		ocean_wobsterden = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"

		-- MONSTERS
		bats = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		worms = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		chess = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		houndmound = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		angrybees = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		merm = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		walrus = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		fissure = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		ocean_waterplant = "ocean_default", 			-- "ocean_never", "ocean_rare", "ocean_uncommon", "ocean_default", "ocean_often", "ocean_mostly", "ocean_always", "ocean_insane"
		moon_spiders = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		spiders = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		cave_spiders = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		tallbirds = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
		tentacles = "default", 			-- "never", "rare", "uncommon", "default", "often", "mostly", "always", "insane"
	},
}

 

 

worldgenoverride.lua worldgenoverride.lua

  • Like 9
  • Sanity 1
Link to comment
Share on other sites

Ipsquiggle 

 

So this seems to works overall. However there is one small problem and it could be a bug. When you go to server details and hit the “view world” button (via the client) it will not show you anything that has been changed. So for instance on my server I turned up chess and merms to the max (as a test). When I get into the server it holds to be true; since I can see merms and chess pieces everywhere. Nevertheless when I exit out of the server and check the world view from the client, it shows that merm and chess pieces are set to default.

 

So anyone who gets in the server and thinks the world is normal, will be in a bit of surprise once they get in it. A friend of mine said he had to create a server map from his client and then ported over that save to his dedicated server to get around this issue.

Edited by Sindex
Link to comment
Share on other sites

  • Developer

So this seems to works overall. However there is one small problem and it could be a bug. When you go to server details and hit the “view world” button (via the client) it will not show you anything that has been changed.

Ah, you're right! I'll have a look into that.

 

Hi,

 

to use the wordlgenovrride.lua you just copy that into dont starve together folder ? 

 

whats the script part do need that too run map ? 

 

regds

This file is simply for dedicated servers, because they don't have a main menu where you can choose world settings. You put this file in your configuration directory (in your documents/home folder) and it will be used for the next generation.

Link to comment
Share on other sites

Ah, you're right! I'll have a look into that.

 

This file is simply for dedicated servers, because they don't have a main menu where you can choose world settings. You put this file in your configuration directory (in your documents/home folder) and it will be used for the next generation

 

 

 

 

hi, 

 

i can't find the documents / home folder, i have dedicated server from a site, so i put the worldgenoveride.lua in the dont starve together folder and that works with world generation , 

Link to comment
Share on other sites

I have this worldgenoverride.lua in the correct folder but get the message

 

ERROR: Failed to load ../worldgenoverride.lua 

 

It is exactly the same as the above first spoiler.  Am I missing something? What is the second spoiler for?

Link to comment
Share on other sites

I will reiterate a questions that have been asked above but not answered satisfactorily. Do we need to create a script file in (referenced in the second spoiler) or is adding the worldgenoverride file sufficient to affect world gen settings? If we do need a script file in addition can someone please explain what it does.

Link to comment
Share on other sites

I will reiterate a questions that have been asked above but not answered satisfactorily. Do we need to create a script file in (referenced in the second spoiler) or is adding the worldgenoverride file sufficient to affect world gen settings? If we do need a script file in addition can someone please explain what it does.

 

Im only using worldgenoverride.lua and it works fine, without second spoiler, but I dont have the last comma i

n the first spoiler

 

this is my worldgenoverride.lua

 

return {

override_enabled = true,

misc={

boons="default", --options are "never", "rare", "default", "often", "always"

branching="never", --options are "never", "least", "default", "most"

day="default", --options are "onlyday", "onlydusk", "onlynight", "default", "longday", "longdusk", "longnight"

frograin="rare", --options are "never", "rare", "default", "often", "always"

lightning="default", --options are "never", "rare", "default", "often", "always"

loop="default", --options are "never", "default", "always"

season="default", --options are "onlysummer", "onlywinter", "default", "longsummer", "longwinter", "longboth", "shortboth"

season_start="default", --options are "winter", "summer"

touchstone="default", --options are "never", "rare", "default", "often", "always"

weather="default", --options are "never", "rare", "default", "often", "always"

world_size="huge", --options are "default", "medium", "large", "huge"

wildfires="default" --options are "never", "rare", "default", "often", "always"

},

monsters={ --options are "never", "rare", "default", "often", "always"

bearger="default",

chess="default",

deciduousmonster="default",

deerclops="default",

dragonfly="default",

goosemoose="default",

hounds="default",

houndmound="default",

krampus="default",

liefs="never",

lureplants="rare",

merm="default",

spiders="default",

tentacles="default",

walrus="default",

},

animals={ --options are "never", "rare", "default", "often", "always"

alternatehunt="rare",

angrybees="default",

beefalo="often",

beefaloheat="default",

bees="default",

birds="default",

butterfly="often",

buzzard="default",

catcoon="default",

frogs="default",

hunt="often",

lightninggoat="default",

moles="default",

penguins="default",

perd="often",

pigs="default",

rabbits="often",

mandrake="default",

tallbirds="default"

},

resources={ --options are "never", "rare", "default", "often", "always"

flint="often",

flowers="often",

grass="often",

marshbush="often",

meteorshowers="default",

meteorspawner="default",

reeds="default",

rock="default",

rock_ice="default",

rocks="default",

sapling="default",

trees="default",

tumbleweed="default"

},

unprepared={ --options are "never", "rare", "default", "often", "always"

berrybush="often",

cactus="often",

carrot="often",

mushroom="often"

}

}

Link to comment
Share on other sites

Thanks Screamer. I created the .lua with copy/paste from this thread in my DoNotStarveTogether folder (alongside my settings.ini, modoverride.lua, and server_token.txt files) on my rented Citadel Server, but the world setting changes are not being picked up when I create a new world. Can you confirm this is the correct file location?

 

 

Im only using worldgenoverride.lua and it works fine, without second spoiler, but I dont have the last comma i

n the first spoiler

 

this is my worldgenoverride.lua

 

return {
override_enabled = true,
misc={
boons="default", --options are "never", "rare", "default", "often", "always"
branching="never", --options are "never", "least", "default", "most"
day="default", --options are "onlyday", "onlydusk", "onlynight", "default", "longday", "longdusk", "longnight"
frograin="rare", --options are "never", "rare", "default", "often", "always"
lightning="default", --options are "never", "rare", "default", "often", "always"
loop="default", --options are "never", "default", "always"
season="default", --options are "onlysummer", "onlywinter", "default", "longsummer", "longwinter", "longboth", "shortboth"
season_start="default", --options are "winter", "summer"
touchstone="default", --options are "never", "rare", "default", "often", "always"
weather="default", --options are "never", "rare", "default", "often", "always"
world_size="huge", --options are "default", "medium", "large", "huge"
wildfires="default" --options are "never", "rare", "default", "often", "always"
},
monsters={ --options are "never", "rare", "default", "often", "always"
bearger="default",
chess="default",
deciduousmonster="default",
deerclops="default",
dragonfly="default",
goosemoose="default",
hounds="default",
houndmound="default",
krampus="default",
liefs="never",
lureplants="rare",
merm="default",
spiders="default",
tentacles="default",
walrus="default",
},
animals={ --options are "never", "rare", "default", "often", "always"
alternatehunt="rare",
angrybees="default",
beefalo="often",
beefaloheat="default",
bees="default",
birds="default",
butterfly="often",
buzzard="default",
catcoon="default",
frogs="default",
hunt="often",
lightninggoat="default",
moles="default",
penguins="default",
perd="often",
pigs="default",
rabbits="often",
mandrake="default",
tallbirds="default"
},
resources={ --options are "never", "rare", "default", "often", "always"
flint="often",
flowers="often",
grass="often",
marshbush="often",
meteorshowers="default",
meteorspawner="default",
reeds="default",
rock="default",
rock_ice="default",
rocks="default",
sapling="default",
trees="default",
tumbleweed="default"
},
unprepared={ --options are "never", "rare", "default", "often", "always"
berrybush="often",
cactus="often",
carrot="often",
mushroom="often"
}

}

 

Link to comment
Share on other sites

Thanks Screamer. I created the .lua with copy/paste from this thread in my DoNotStarveTogether folder (alongside my settings.ini, modoverride.lua, and server_token.txt files) on my rented Citadel Server, but the world setting changes are not being picked up when I create a new world. Can you confirm this is the correct file location?

 

Did You type "worldgenoverride.lua" ?Im playing my server and client from the same machine, and running it trough steam with custom folder and it works really fine, sorry but i dont know how it works in rented servers, but yes you need to have it on the same floder that setting.ini

Link to comment
Share on other sites

I forgot to post I fixed the issue, initially the service I was using didn't have a "worldgenoverride.lua" in their folder, and I had to change the encoding of the file that I created, then redo the space formatting in notepad++ and copy and paste it that way.

 

Once I did that it worked flawlessly.

Edited by Tovath
Link to comment
Share on other sites

hello I apologize for the English, but the text is translated with google.Ho posted the question in the wrong section then I realized this tread, so I ask here. Use dedicated server, and edit the file \ worldgenoverride.lua to customize the world. I realize that there are several problems.
For instance, adding more tallbird, they are placed everywhere and not in their biome. I would like to enter more in their biome not everywhere
Also missing some parts of the map, including the forest with trees owned.
How do you solve? thanks

Link to comment
Share on other sites

  • Developer

For instance, adding more tallbird, they are placed everywhere and not in their biome. I would like to enter more in their biome not everywhere

This is just how the game works. If you try "edit world" when you start a server from the main game, it will also place things outside of their biomes on the "more" and "lots" settings.

Also missing some parts of the map, including the forest with trees owned.

How do you solve? thanks

I don't understand, sorry. Could you post a screenshot?

Link to comment
Share on other sites

I apologize for being late, I had not seen the risposta.quello I mean is, it is the tree that evil does drop wood magico.ho tried to follow the guide but my limit with the English language prevents me from understanding the tutto.sarebbeYou can create a script where I create a world according to my taste? if so, it would be possible to have a file "ready" to be able to understand how to work on the setting to create it?

Link to comment
Share on other sites

Hi,

I'm trying to generate a custom world on a dedicated server but keep failing to do so. I have worldgenoverride.lua file in my C:\Users\$username$\Documents\Klei\DoNotStarveTogether folder next to the settings.ini. The contents are copy-pasted directly from the first post (first quote) but they have no effect whatsoever on the world generated, moreover the log file doesn't even mention worldgenoverride.lua no errors or warnings, nothing. This has me very confused, is there something I'm missing?

Link to comment
Share on other sites

Hi, I removed the save folder next to the settings.ini and wolrdgenoverride.lua, started the server and it worked like a charm. Shame it doesn't say anywhere this is necessary and I had to guess.

  • Like 1
Link to comment
Share on other sites

Hi !

Thanks for this great job.

When you wrote "Just run this from the game data/scripts folder", how do you do this ?

I paste the second spoiler code in a new file data/scripts/generateWorldGenOverride.lua, changed the mod of this file to 775 like the others, but which executable is able to launch this script ?

Thx.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share