• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

KingGen - A Random World Generator for 7 Days to Die

Here's a little video that might be useful to a few people:



Note, it's not fully fixed, but it's not bad for those that want to play with a20 but using their own heightmap, biomes and even custom pois (that conform to new block rules). New roads and tiles are NOT fixed in this video. This is just a basic starting point.

 
Thanks for the video. My takeaway was that Tiles and Parts won't work, but otherwise KG maps appear playable. You talked about the effects of missing Tiles. Without support for Parts, I suspect some POIs will miss some content. For instance, you might see farm POIs without fields, would be my guess. Interesting. Thanks again.

 
Yes that's a good point about the parts. Well it's just a starting look at what the current situation is and something for people to experiment with. The tile system is going to be really tough to work out. Another option is to do something like what Krunch is working on. Reverse engineering a map from a20, editing the heightmap but keeping the pois/tiles in place. That's a bit out of my skill range at the moment but the results look really good. Haha they would though, he's a great mapmaker. 

 
For the time being, those are pretty much the 2 choices we have at this point. 1 is to make maps with King Gen or Nitro without the tile system, or 2, to rework vanilla rwg maps with the help of Nitrogen. Im using option 2 at the moment. Both options will require knowing how to remake the waterinfo.xml into a splat4 file using the Nitro preview feature and Gimp. I will be releasing a video on that at some point this week.

Regardless, we will keep the work going to release really killer maps, and either Nitro or KingGen will eventually update, or possibly a new map making tool from another community member who shall rename nameless ;) Stay tuned!

 
Not sure if this has been asked before but when I was generating maps in A19 with custom POIs I noticed that KingGen would always put extremely sharp cliff edges around POIs . Nitrogen seemed to place a circle around a group of POIs and then would tapper making the map much smoother. The rough edges made by KingGen were so bad you could barely drive around. The only fix I found was to make the world 100% flat and making the land and water level almost equal. But that makes the map super boring so I just kept using Nitro, unfortunately with A20 I don’t think Nitro will ever be an option again. Did anyone else have this issue and is there a good fix?

 
I got this error trying to generate a world...

Exception in Tkinter callback
Traceback (most recent call last):
  File "tkinter\__init__.py", line 1892, in __call__
  File "gui.py", line 1317, in generate_world
  File "settings.py", line 26, in dump_settings
PermissionError: [Errno 13] Permission denied: '.\\king_gen_config.txt'

What does this mean and how do I fix it?

 
Last edited by a moderator:
Thank you for supporting the A20's POI. I was waiting for this. Does using KINGGEN still cause the region corruption error that occurs in the Vanilla map? Do you have any error reports?
I expect KINGGEN to be free of region errors. 

 
PermissionError: [Errno 13] Permission denied: '.\\king_gen_config.txt'


Sounds like KingGen cannot access a file named king_gen_config.txt because of some permissions issue. Perhaps KingGen needs read-write access and it only has read-only access? Perhaps you're running KingGen as a different user and there's some ownership issue for the file?

 
Thank you for supporting the A20's POI. I was waiting for this. Does using KINGGEN still cause the region corruption error that occurs in the Vanilla map? Do you have any error reports?
I expect KINGGEN to be free of region errors. 
As far as i can see Kinggen does not support a20, we are having to use the default gen at mo and man the world is empty

 
^ Edit to above ^ (as i can not seem to edit)

There is a way to make POIs work in kinggen a20, as per a video further up. However you lose the new road system, and more importantly, the sewer system. The wait continues. Though I do wonder if Kinggen can ever do the sewer system? I mean it can go under multiple poi's that sounds like a drastic coding change....coule be wrong 

 
Sounds like KingGen cannot access a file named king_gen_config.txt because of some permissions issue. Perhaps KingGen needs read-write access and it only has read-only access? Perhaps you're running KingGen as a different user and there's some ownership issue for the file?
Well there is only 1 user on this PC, me cuz I built it and I don't share. :p

But really all I did was download it and open it up, click on Generate and got that error.

 
Well there is only 1 user on this PC, me cuz I built it and I don't share. :p

But really all I did was download it and open it up, click on Generate and got that error.


Maybe find the file, right click on it and choose "Properties." Then you can see if the read-only flag is set. After that, I'm out of ideas.

 
So how the heck do you generate a flat map? I set everything I could see to make it as flat as possible, but it's not flat at all.

 
Last edited by a moderator:
Hi great mod to keep map generation alive. Also congrats to the 7DtD team to have significantly improved on map generation using a tile system (and stamps). The main goal of NitroGen was to improve random map generation for this game overall. Good to see ideas being ported over to the vanilla game. I have moved on doing other projects by now.

Apart from loosing interest in updating NitroGen for major changes, I also did not like the behavior of  SylenThunder attacking my mod at many occasions. Its a community mod in the end.

 
Hi great mod to keep map generation alive. Also congrats to the 7DtD team to have significantly improved on map generation using a tile system (and stamps). The main goal of NitroGen was to improve random map generation for this game overall. Good to see ideas being ported over to the vanilla game. I have moved on doing other projects by now.

Apart from loosing interest in updating NitroGen for major changes, I also did not like the behavior of  SylenThunder attacking my mod at many occasions. Its a community mod in the end.
So kinggen is now dead?

 
Back
Top