• 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 another example of the extended road bug.

https://imgur.com/qspwsQ4

https://imgur.com/k3uld7i

https://imgur.com/JrKlS34

Then out the other way

https://imgur.com/xlMOyQf

SETTINGS:
biomes_map=C:/Users/golob/Desktop/kinggen/Maps/united-kingdom-8192landbridgesgaus biomes.png
border_size=medium
border_type=water
burnt_size=medium
cities_grid_size=large
cities_level=60
cities_number=medium
cities_size=medium
default_biome=pine forest
default_biome_tools=pine forest
desert_size=medium
heightmap=C:/Users/golob/Desktop/kinggen/Maps/united-kingdom-8192landbridgesgaus.png
heightmap_smoothing=little
mountains_size=medium
multiple_generations=1
name=KingGenWorld
output_folder=
png_heightmap=no
pois_list=C:/Users/golob/Desktop/kinggen/A19.4 CP47 KingGen/KingGen Prefablist(vanilla inc)/CompoPackandVanilla original - Copy
pois_number=medium
seed=ZEv5o1eWlz
size=8
skip_preview=false
snow_level=
snow_size=medium
spacing=medium
spawn_points=medium
terrain_roughness=medium
towns_grid_size=large
towns_number=medium
towns_size=medium
traders_location=cities
traders_number=increased
villages_grid_size=medium
villages_number=medium
villages_size=medium
waste_size=medium
water_level=45
water_size=medium


What system do you use to share files so I can send you the heightmap and biome pngs?

Sorry, can you give me the name of the file to get the seed from?

 
Last edited by a moderator:
Here's another example of the extended road bug.

https://imgur.com/qspwsQ4

https://imgur.com/k3uld7i

https://imgur.com/JrKlS34

Then out the other way

https://imgur.com/xlMOyQf

SETTINGS:
biomes_map=C:/Users/golob/Desktop/kinggen/Maps/united-kingdom-8192landbridgesgaus biomes.png
border_size=medium
border_type=water
burnt_size=medium
cities_grid_size=large
cities_level=60
cities_number=medium
cities_size=medium
default_biome=pine forest
default_biome_tools=pine forest
desert_size=medium
heightmap=C:/Users/golob/Desktop/kinggen/Maps/united-kingdom-8192landbridgesgaus.png
heightmap_smoothing=little
mountains_size=medium
multiple_generations=1
name=KingGenWorld
output_folder=
png_heightmap=no
pois_list=C:/Users/golob/Desktop/kinggen/A19.4 CP47 KingGen/KingGen Prefablist(vanilla inc)/CompoPackandVanilla original - Copy
pois_number=medium
seed=ZEv5o1eWlz
size=8
skip_preview=false
snow_level=
snow_size=medium
spacing=medium
spawn_points=medium
terrain_roughness=medium
towns_grid_size=large
towns_number=medium
towns_size=medium
traders_location=cities
traders_number=increased
villages_grid_size=medium
villages_number=medium
villages_size=medium
waste_size=medium
water_level=45
water_size=medium


What system do you use to share files so I can send you the heightmap and biome pngs?
Thanks, could you send the files via discord? You can find me in the compopack server.

Or you can send me a wetransfer link.

 
Here's another example of the extended road bug.

https://imgur.com/qspwsQ4

https://imgur.com/k3uld7i

https://imgur.com/JrKlS34

Then out the other way

https://imgur.com/xlMOyQf

SETTINGS:
biomes_map=C:/Users/golob/Desktop/kinggen/Maps/united-kingdom-8192landbridgesgaus biomes.png
border_size=medium
border_type=water
burnt_size=medium
cities_grid_size=large
cities_level=60
cities_number=medium
cities_size=medium
default_biome=pine forest
default_biome_tools=pine forest
desert_size=medium
heightmap=C:/Users/golob/Desktop/kinggen/Maps/united-kingdom-8192landbridgesgaus.png
heightmap_smoothing=little
mountains_size=medium
multiple_generations=1
name=KingGenWorld
output_folder=
png_heightmap=no
pois_list=C:/Users/golob/Desktop/kinggen/A19.4 CP47 KingGen/KingGen Prefablist(vanilla inc)/CompoPackandVanilla original - Copy
pois_number=medium
seed=ZEv5o1eWlz
size=8
skip_preview=false
snow_level=
snow_size=medium
spacing=medium
spawn_points=medium
terrain_roughness=medium
towns_grid_size=large
towns_number=medium
towns_size=medium
traders_location=cities
traders_number=increased
villages_grid_size=medium
villages_number=medium
villages_size=medium
waste_size=medium
water_level=45
water_size=medium


What system do you use to share files so I can send you the heightmap and biome pngs?

Sorry, can you give me the name of the file to get the seed from?
I replicated the bug, but I am still trying to figure out what's going on...

 
I'm pleased you can replicate it, but I'm sorry you can't find the problem. I didn't want to add more work to your already great effort. 

 
Hi, I keep getting the same error when I click the generate world button and also clicking the X button to exit out of the software. I also tried running it as Administrator with the same result. Any help is appreciated.

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

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

 
Last edited by a moderator:
Hi, I keep getting the same error when I click the generate world button and also clicking the X button to exit out of the software. I also tried running it as Administrator with the same result. Any help is appreciated.

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

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


I could not  edit my previous post. I seemed to have fixed the issue. I moved the KingGen .exe to the same drive that my game is installed and everything now seems to work.

 
Yeah, the actual reason is that cities avoid mountains, it has nothing to do with the biomes themselves.

In your image though, it looks like about 50% of cities are in the pine forest, which isn't bad IMO. But yeah, you can always customize the biomes.png map.


I'm seeing something similar in all of the maps I've generated so far.  The bulk of the cities seem to follow the desert or burnt forest biomes.  The one below is pretty typical of what I've gotten so far.

Rjb1aIg.jpg


 
Good day  KingslayerGM

A couple of question ..

How would I go about connecting all the cities with at least 1 roadway in and out .. in simple terms for this 74yr old gamer. Because it seems that every map I make at least 50% are not connect .. other than overland express. (or maybe a option to do so)

Also .. you've done a great job with increased Traders .. but could you add "cities and towns" as an option .. OK, I admit it .. I like traders in a game, maybe more Jen's would be nice, Lol. .. Also I was thinking maybe a option for "unprotected traders" if that is even possible in the future. 

Thank you for adding a simple height adjustment, because some of cities are having issues with roads being lower than the buildings and you get that float effect as in the picture .. So I was thinking if I raise the height map by 1 .. it would help, so in my latest map I set it to 61 and hope that will work.

Anyway .. I do enjoy your mod system. Take Care and Be Safe ... the Old Gamer .. 😌

This is the wall of the Nuclear powerplant from CP47 for your mod .. but I get it with vanilla poi's also.

7 Days to Die Screenshot 2021.06.09 - 17.27.26.11.png

 
Last edited by a moderator:
Good day  KingslayerGM

A couple of question ..

How would I go about connecting all the cities with at least 1 roadway in and out .. in simple terms for this 74yr old gamer. Because it seems that every map I make at least 50% are not connect .. other than overland express. (or maybe a option to do so)

Also .. you've done a great job with increased Traders .. but could you add "cities and towns" as an option .. OK, I admit it .. I like traders in a game, maybe more Jen's would be nice, Lol. .. Also I was thinking maybe a option for "unprotected traders" if that is even possible in the future. 

Thank you for adding a simple height adjustment, because some of cities are having issues with roads being lower than the buildings and you get that float effect as in the picture .. So I was thinking if I raise the height map by 1 .. it would help, so in my latest map I set it to 61 and hope that will work.

Anyway .. I do enjoy your mod system. Take Care and Be Safe ... the Old Gamer .. 😌

This is the wall of the Nuclear powerplant from CP47 for your mod .. but I get it with vanilla poi's also.

View attachment 20358
Roads are still a work in progress. Please share screenshots of maps where there should be a road but KG did not generate it. So I can understand what's going on...

What's the option "cities and towns"?

I can't change the protection of traders... that is a game thing, I do not control that in the generation.

Regarding the floating blocks. I have noticed that the game lowers the generated heightmap by around 0.5 blocks, maybe less... Perhaps if I added 0.5 everywhere the problem would be fixed... I have to test that.

 
Last edited by a moderator:
This is the wall of the Nuclear powerplant from CP47 for your mod .. but I get it with vanilla poi's also.

View attachment 20358
I've seen the same thing with the vanilla RWG (floating blocks).  It seems to be the terrain block underneath that is the issue.  Putting a wooden frame next to it seems to fix it when I come across it on POIs I take over for bases (I am not that OCD that I have to do it for all POIs in the game).  It will be interesting if KingSlayers solution works.

 
I've seen the same thing with the vanilla RWG (floating blocks).  It seems to be the terrain block underneath that is the issue.  Putting a wooden frame next to it seems to fix it when I come across it on POIs I take over for bases (I am not that OCD that I have to do it for all POIs in the game).  It will be interesting if KingSlayers solution works.


Placing a wood frame does work on one side only .. Walls you can do both, but that a pain and when doing building, well the funny thing is I did 1 bldg once and it fell down shouldn't have, but did.

Haven't had a chance to SEE what going from 60 to 61 will do yet .. but I will sometime today I hope.

 
Roads are still a work in progress. Please share screenshots of maps where there should be a road but KG did not generate it. So I can understand what's going on...

What's the option "cities and towns"?

I can't change the protection of traders... that is a game thing, I do not control that in the generation.

Regarding the floating blocks. I have noticed that the game lowers the generated heightmap by around 0.5 blocks, maybe less... Perhaps if I added 0.5 everywhere the problem would be fixed... I have to test that.


I tried several times to upload a 10k map, that I just made today from KingGen v10  ... which 10k and larger are the ones that seem to have most issues .. but they keep getting error message "error 200" ..... The 8k don't seem to have an issue with roads.

Cities and Towns may have 1 trader each ..... or ..... 1 trader per city and town 

 
I tried several times to upload a 10k map, that I just made today from KingGen v10  ... which 10k and larger are the ones that seem to have most issues .. but they keep getting error message "error 200" ..... The 8k don't seem to have an issue with roads.

Cities and Towns may have 1 trader each ..... or ..... 1 trader per city and town 
Perhaps you are trying to upload an image that is too big...


The option to put traders in towns and cities is already in KG

 
Perhaps you are trying to upload an image that is too big...


The option to put traders in towns and cities is already in KG


There is one or the other the way I read it .. not .. "1 in both a city and town at the same time" .. basically you would be doubling the traders.

The upload was only 40.6 mb so it should have gone .. even tried one with just the map as a separate load and still won't. 

What I thought might work with raising height map from 60 to 61 was a disaster, won't do that again .. most every place that had buildings on it .. looked like this .. Lol.

I'll watch your video's on " How To " and see it might help or this old brain takes it in ... Thank again and I will be back ... the Old Gamer .. 😌

7 Days to Die Screenshot 2021.06.16 - 12.34.33.88.png

 
There is one or the other the way I read it .. not .. "1 in both a city and town at the same time" .. basically you would be doubling the traders.

The upload was only 40.6 mb so it should have gone .. even tried one with just the map as a separate load and still won't. 

What I thought might work with raising height map from 60 to 61 was a disaster, won't do that again .. most every place that had buildings on it .. looked like this .. Lol.

I'll watch your video's on " How To " and see it might help or this old brain takes it in ... Thank again and I will be back ... the Old Gamer .. 😌

View attachment 20359


Regarding traders: the text might say just cities, but actually it is both cities and towns.... I don't think you need more options, you can already control pretty well how many traders you will have.


The screenshot you posted has nothing to do with the heightmap offset. The buildings you are looking at are in a village on a mountain, where the terrain underneath is uneven. You can see that KG is trying to smooth it out.

 
Last edited by a moderator:
1).  . . . just needs a 'before'  and an 'after' pic. . . and maybe even a close-up or two, to see more precisely what he means.

and then . .
2). regarding the Trader locations, KS - giving the map-making player more options is a good thing, and better satisfies the creative urge in many - if not all of us that love to make changes to any game - not just 7D2D.    It could be something similar to what you already have under "Advanced customization" - but under a "Trader Customization" category, so: -  "Cities", "Towns", "Wilderness", "Anywhere" and "None", with numeric choices for each category. This can, or should have an overall maximum numeric limit for the map - one dependent upon the map size, so, for e.g, a 4k map might have a min of '0', with a max of '8' Traders: You (KS) would set that limit for each map size to whatever value you think is appropriate. A 16k map might have a min of 0 and a max of 20... An 8k map might be limited to a max of, say  14... and so on.

The existing "POIs" menu would need a small change or two, but I reckon you could do this "Trader Mod" moderately easily - and it would enhance the players' creativity, and give even more 'professional polish" and growing functionality to an already superior Map Generator!
My main point is - let the player divide them up, and put them in any category he or she wants, with the only limit being dependent upon map size - which you (KS) set in the application.   Does that make sense?  

pj 
. . . .  even older gamer!  (than gpcstargate)

 
Perhaps you are trying to upload an image that is too big...


The option to put traders in towns and cities is already in KG


I was able to get an 8k to load on here .... this one shows the NE corner not connected by road to the rest of map (top area North down along the East side to desert)  Hope that helps. ........ I also was able to make 1 map that was void of Traders for the most part of the center to the lower half of the map as in a upside down cone and had about 5 cities in it boundaries. ...... And even this one is pretty lacking in Traders with setting at increased.  "setting for desert, snow and burnt were on small"

Thank again for your time ... the Old Gamer .. 😌  ........................................... pj 75 in Aug, does that help .. LOl 😊

preview.png

 
Back
Top