• 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

Just an FYI for KS:  13.1 worked fine for me yesterday following the release . . . I created the list using the name "poislist.txt", and saved it in the Prefabs folder, just as I did in the previous releases, and made a couple of (playable) maps. I had no issues. After reading Shem's post, this morning - I checked the file and it looked quite normal. I then deleted the txt file, loaded KingGen, and proceeded to re-make the list, using the same "poislist.txt" name. The KG GUI showed the process as "running", and ended after a few seconds. I then selected "custom list" in the "POIs list" listbox; the Windows Explorer popped up, with the "poislist.txt" file appearing correctly in the browser window, automatically replacing "custom list" correctly in the "POIs list" listbox.  I made a playable third map without issue.

pj

View attachment 20780
think iam weird now..... 

ok, if its correct for you. then i try checking my settings.. .hmmm...

Ah GOT IT !

I have a directory called "backup" with my prefab backups in my "/Data/Prefabs/" dir! i moved this backup dir out of the prefabs dir and kinggen works fine :)

if there is a second directory in the prefabs directory, kinggen generates an empty poislist !

 
Last edited by a moderator:
"if there is a second directory in the prefabs directory, kinggen generates an empty poislist"

Wow!  Well done! This is good to know. I wondered about placing the pois list inside that folder too, but it has worked that way since day one. Naming doesn't seem to matter either.


 
Thanks for this little tool but there's a problem... 

The section "Cities, Towns & Villages" is broken, KG don't want to respect setting.

I try build a little map 4k one city set to be small but after many generate it's always large, city cover spawn nearly 25% of the map...

 
Not tryin to rush ya man but hows that Texas map comin along kaptcrunch
Not even close man, months off, Ive got a lot of other stuff already in the works. I would guess mid A20.

Thanks for this little tool but there's a problem... 

The section "Cities, Towns & Villages" is broken, KG don't want to respect setting.

I try build a little map 4k one city set to be small but after many generate it's always large, city cover spawn nearly 25% of the map...
This is definitely not a 'little tool'. I would recommend watching the video series on the tool to learn all the functionality.

 
Worked fine for a few generations, now i keep getting this every time i try. Using the same settings but different name and seed.

Generating heightmap.
Generating biomes.
Generating cities.
Generating water.
Generating roads.
Generating villages.
Traceback (most recent call last):
  File "crash_log.py", line 19, in handle_crash_log
  File "gui_generation.py", line 27, in generate
  File "ntime.py", line 11, in ntime
  File "world.py", line 1301, in run
  File "world.py", line 272, in generate
  File "world.py", line 349, in gen_villages
  File "world.py", line 393, in gen_villages_forest
  File "hub_factory.py", line 79, in gen_hub
  File "city.py", line 46, in __init__
  File "city.py", line 53, in generate
  File "city.py", line 125, in gen_grid
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
this looks like a bug, could you share the settings that you used?

 
I will try my best, i did some different maps after that, but i think i should be able to reproduce them. It still happened after my post with different settgins but not as frequently as before.

 
This is definitely not a 'little tool'. I would recommend watching the video series on the tool to learn all the functionality.


-_- xDDD

I said "a little tool" but that doesn't mean "incomplete/simple" tool with less options/functionality...

It's not complicated at this point to see a video to know how to set a city to small...

I used Nitrogen who are not complicated too...

Or will you said maybe I miss a second option (or whatever) to re-set again city to small??? I don't think so...

Just see my result here & what I set: https://postimg.cc/bDJ60P2B

Edit: But for a another thing, here maybe my fault, but there's is no road, we have to draw them ourselves? It's not automatic?

 
Last edited by a moderator:
-_- xDDD

I said "a little tool" but that doesn't mean "incomplete/simple" tool with less options/functionality...

It's not complicated at this point to see a video to know how to set a city to small...

I used Nitrogen who are not complicated too...

Or will you said maybe I miss a second option (or whatever) to re-set again city to small??? I don't think so...

Just see my result here & what I set: https://postimg.cc/bDJ60P2B

Edit: But for a another thing, here maybe my fault, but there's is no road, we have to draw them ourselves? It's not automatic?
The lack of roads and the one city location is based on your settings.

Instead of having towns set to 0 and villages set to few, switch those two settings.  In addition, change grid sizes from medium to small.  Since you are trying to generate a 4k map, you don't have enough land for medium size cities / towns and have them spread out.  You can either have a large city on the map or smaller ones spread out.  You will still get some maps with everything in one location but you will also start getting some that are spread out with roads connecting.

Since you have it set to villages (instead of towns), it is not drawing roads onto the map.

Note:  These are just my observations, KingSlayer would be more knowledgeable as he created the tool.

 
Last edited by a moderator:
I just ran it again setting everything back to default settings and running a 4k map.  I generated two maps and both have cities / towns / villages spaced out and with roads.  Using same version you are.

https://imgur.com/a/pz4RwMk

 
Last edited by a moderator:
-_- xDDD

I said "a little tool" but that doesn't mean "incomplete/simple" tool with less options/functionality...

It's not complicated at this point to see a video to know how to set a city to small...

I used Nitrogen who are not complicated too...

Or will you said maybe I miss a second option (or whatever) to re-set again city to small??? I don't think so...

Just see my result here & what I set: https://postimg.cc/bDJ60P2B

Edit: But for a another thing, here maybe my fault, but there's is no road, we have to draw them ourselves? It's not automatic?
Best thing is to use the masking functionality, which will help with city size

 
Not even close man, months off, Ive got a lot of other stuff already in the works. I would guess mid A20.

This is definitely not a 'little tool'. I would recommend watching the video series on the tool to learn all the functionality.
alright man. at least i know there's gonna be a map shaped like Texas eventually and that's what I'm excited about. but i did want to ask u what are your thoughts on the idea on having full map generation control such as controlling where biomes towns and cities spawn? I came up with this because people would want to put large cities in say a Texas map where the Texas cities are in real life for realistic accuracy. second because states and countries have biomes in certain areas, Texas for instance is woods and plains aka forest biome in the north and east while south and west Texas are a desert, and because this is the zombie apocalypse we're talking about here i would like to see the wasteland spawn in the exact same locations as the real life cities and within the city boundaries. I know that was a huge mouthful but full control over biome town and city spawning would be interesting and would definitely bring more creative freedom.

KingSlayer I know i already mentioned it but considering how interesting it would be. do u think full control over biome town and city spawning in custom maps could be possible?

 
alright man. at least i know there's gonna be a map shaped like Texas eventually and that's what I'm excited about. but i did want to ask u what are your thoughts on the idea on having full map generation control such as controlling where biomes towns and cities spawn? I came up with this because people would want to put large cities in say a Texas map where the Texas cities are in real life for realistic accuracy. second because states and countries have biomes in certain areas, Texas for instance is woods and plains aka forest biome in the north and east while south and west Texas are a desert, and because this is the zombie apocalypse we're talking about here i would like to see the wasteland spawn in the exact same locations as the real life cities and within the city boundaries. I know that was a huge mouthful but full control over biome town and city spawning would be interesting and would definitely bring more creative freedom.

KingSlayer I know i already mentioned it but considering how interesting it would be. do u think full control over biome town and city spawning in custom maps could be possible?
Its possible already. Its a few steps, but not at all hard to do. I could do everything you just asked for in 2-3 days max. Draw the biomes, prep the population areas, plan out your towns and cities, then build a mask around that. Easy easy stuff.

The one thing I would need to get my hands on for this map is a real clear topographic map in order to plan and adjust the heights a bit more realistic. Other than that, just take into account either the need to create some area with snow, or mod the biomes in order to put the winter ores into another biome and done.

If you really want to get fancy, maybe a few Texas specific prefabs, Alamo, maybe a few others.

 
I just ran it again setting everything back to default settings and running a 4k map.  I generated two maps and both have cities / towns / villages spaced out and with roads.  Using same version you are.

https://imgur.com/a/pz4RwMk


Best thing is to use the masking functionality, which will help with city size


I find it, it's my bad... I try "large" & "small" to see the difference & so in fact the size "small" with KG build city/town bigger than the "small" with Nitrogen & so it's for that I was said city was every time bigger... In fact my opinion is "small" with KG should be built city/town at 50% less bigger than currently...

& for any road missing, KG don't build it like Nitrogen & so I take a look for the road tutorial youtube & so sadly we must edit ourself the splat file...

But I will pass, easy to do but boring to do it LOLLL

Thanks anyway !

 
& for any road missing, KG don't build it like Nitrogen & so I take a look for the road tutorial youtube & so sadly we must edit ourself the splat file...

But I will pass, easy to do but boring to do it LOLLL

Thanks anyway !
Well, KingGen has only been around since March of this year while Nitrogen has been longer.  The issue with Nitrogen is that it has been abandon while @KingSlayerGM is actively updating and refining his tool as it goes along.  There are going to be differences, but KingSlayerGM does look for feedback and will adjust his tool if he feels that feedback will improve on it and the user's experience.

 
I havent Generated new lists since KG updated and removed the required and unique tags.

Is the list totally borked or just the lines using those tags?

 
Oh man, this is awesome tool! We are just starting a new map with this. Really like the clear UI and the extra info on each setting. 👍

One question/improvement: Would it be possible to add option to exclude water in desert biome? Would make the biome more feel like a dry desert. I know that this could be done with custom height/waterinfo but i'm really not fluent in making those :(

 
Not speaking for KingSlayer, Alaric, but the amount of work that he will have to do in order to create a water/biome dependency far exceeds the learning curve of GIMP. All you need to do is simply follow TallmanBrad's video on making a custom heightmap.  Try it - it is so easy - perhaps ten minutes or less, and you'll have a usable heightmap - and it's so rewarding. Like riding a bicycle - after the third map you will barely notice the 'work' involved.  You don't need to create splat files; or zone files; even city files aren't necessary to make a good map. You just need a heightmap. It's a very small - but satisfying - piece of the hobby.
pj

 
Back
Top