• 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

HI! I just painstakingly read through all 15 pages incase someone asked the question, but how do I create a prefab list if I'm using WoTW?
Hello,

The response of Paulj_3 goes in the right direction, BUT, ...

WotW PoIs do not contain (at least for most of them) any restriction/indication of which sort of townships they may spawn, so your kinggen prefab list will have entries as:

"wotw_HouseB_LogCabin1,22,16,23,-5,0,burnt_forest/snow/pine_forest/desert/wasteland,,residentialold" - notice the 2 commas between "wasteland" and "residentialold" that's the place where "City/Town/..." would go - without this parameter KingGen ignores the PoI and it is not generated

You must fix this manually - and even if the PoI's .xml does not mention it, the fact that the PoI list does makes it generate

Regards

JayZhee

 
I've been experimenting with KingGen for almost a week now so don't know all of the options but enough to put together a couple of video tutorials that new users might find helpful. The second video includes how to create your own height map and draw Biomes and cities. I don't want to post a direct link here without getting permission.

If anyone would like to find the videos you can just Google 'kinggen tutorial'. Currently my videos are the first results. I hope sharing this isn't an issue and I'll understand if you'd prefer to remove this post. Thanks for creating such great software kingslayer! 

 
I've been experimenting with KingGen for almost a week now so don't know all of the options but enough to put together a couple of video tutorials that new users might find helpful. The second video includes how to create your own height map and draw Biomes and cities. I don't want to post a direct link here without getting permission.

If anyone would like to find the videos you can just Google 'kinggen tutorial'. Currently my videos are the first results. I hope sharing this isn't an issue and I'll understand if you'd prefer to remove this post. Thanks for creating such great software kingslayer! 
Hi, please share the urls here! People will find it helpful.

Also if I like them, I can also put them on the first page :)

 
Ah that's great! Thank you. I hope I haven't made too many mistakes in them. First video is the basics of kinggen options, increasing traders, excluding biomes etc. Second video spends a bit more time in Gimp showing how to make a basic height map, then layers for biomes, cities. Also includes how to export them in the correct format. 







 
Ah that's great! Thank you. I hope I haven't made too many mistakes in them. First video is the basics of kinggen options, increasing traders, excluding biomes etc. Second video spends a bit more time in Gimp showing how to make a basic height map, then layers for biomes, cities. Also includes how to export them in the correct format.
Just watched the fist one, loved it! Great job!

If it's ok with you, I will feature it on the first page. I think people are gonna like it

 
Oh absolutely. I'm more than happy for it to go anywhere. I hope it can help others get started. 
I am watching the second video now, great job again! Just a couple of minor things to keep in mind for next time. When you save a biomes map in gimp, I believe you can choose 8 bits instead of 16, but I honestly have never tried with gimp. Also, this is just a personal preference, you don't need to keep clicking the button to open and close the settings, you can just press tab to switch view, also you can press enter to start the generation :)

 
Ah right. I thought the biome map needed to be 24bit, but I got 16 bit to work as the alpha was removed. So I could just use 8 bit. Keeps it a little simpler for people learning I guess. 

Tab to change screens is good. Good to know enter works too. Thanks. 

 
Ah right. I thought the biome map needed to be 24bit, but I got 16 bit to work as the alpha was removed. So I could just use 8 bit. Keeps it a little simpler for people learning I guess. 

Tab to change screens is good. Good to know enter works too. Thanks. 
No problem :)  As long as it works, people will be happy. However, just to clarify things: the biomes map should be a 3-channels (rgb)  24-bit png image. So that means there are only 8 bits per channel. I guess Gimp is letting you choose the bits per channel, not the overall number of bits.

 
In the export options I could only choose 8 or 16 bit rgb or rgba. Result was png files and even with a transparent background they seemed to work. Originally I was using your fix button but tried without and they seemed fine so stuck with it for simplicity of the video. Really need to experiment with the water feature next. Also, can I ask about the grid size? Was I correct that it makes roads closer/further and therefore less/more poi's in a grid but more/less roads, effectively, to a city area? 

 
Last edited by a moderator:
In the export options I could only choose 8 or 16 bit rgb or rgba. Result was png files and even with a transparent background they seemed to work. Originally I was using your fix button but tried without and they seemed fine so stuck with it for simplicity of the video. Really need to experiment with the water feature next. Also, can I ask about the grid size? Was I correct that it makes roads closer and therefore less poi's in a grid but more roads, effectively, to a city area? 
The water map is just a way to generate water in the world. HOWEVER you have to supply a compatible heightmap. One that hase "holes" where you want lakes or rivers. Otherwise the water will be generated inside the terrain.

Grid sizes are exactly what they sound like. They are the size of the city grid. Smaller grid sizes will result in more packed cities and larger grid sizes will result in more open cities. The number of pois in a block will almost always remain the same. Also larger sizes allow for larger pois to be placed inside cities. The Compo Pack for example contains a lot of very large pois and the people working on it specifically asked me for this option in the settings of KingGen.

If I may suggest, a cool idea for a video would be "how to install and use the Compo Pack together with KingGen". A lot of people have been asking me that. You can find the Compo Pack here.

 
Last edited by a moderator:
The compo pack sounds good to me. I'll check it out tomorrow and try and get a video together when I'm happy I can demonstrate it. 

Thanks kingslayer! 

 
Hi Tallman Brad

First of all I want to thank you for these excellent tutorials, they have been very helpful, with trial and error I have created my dream map.
The only thing I did not know was how to create your own Heightmap (now I know) and now here comes the million dollar question  ¿How do I create my heightmap from a downloaded image (like the map of Great Britain or any other image), I have tried it but it does not work correctly, when I am painting the biomes it does not show me the colors, it is clear that I did something wrong in the Heightmap, you could make a video tutorial on this.
Regards

Also thank you very much KingSlayerGM for this excellent tool, with each update it improves surprisingly.
Regards

 
Thanks Gouki! Fixing downloaded height maps is pretty tricky, I'm planning on doing a tutorial as soon as I can. For a tip to get you started, I'd recommend changing the brightness of the map so the dark areas are lighter. Just try increasing a tiny bit at a time and testing. There is a great little trick I've found but it's difficult to explain in text. Give me a day or two and I'll get a video done if I can. In the meantime just try brightening a little? The UK map has extremely varied heights and can be a bit of a pain to get the base level just right for city generation. Also you could try 'softening' an area to see if it balances the levels out enough to allow city placement. I hope this helps a little until I can do a video.

Sorry @Gouki, I've just noticed you said you were having problems with painting colours. (I'm doing 2 things at once here haha. No good at multitasking). If the image you are working on is already a grayscale then you cant add colour. You'll need to convert it to colour then export the map in grayscale, but export the biome drawings in colour.

 
Last edited by a moderator:
Thanks Gouki! Fixing downloaded height maps is pretty tricky, I'm planning on doing a tutorial as soon as I can. For a tip to get you started, I'd recommend changing the brightness of the map so the dark areas are lighter. Just try increasing a tiny bit at a time and testing. There is a great little trick I've found but it's difficult to explain in text. Give me a day or two and I'll get a video done if I can. In the meantime just try brightening a little? The UK map has extremely varied heights and can be a bit of a pain to get the base level just right for city generation. Also you could try 'softening' an area to see if it balances the levels out enough to allow city placement. I hope this helps a little until I can do a video.

Sorry @Gouki, I've just noticed you said you were having problems with painting colours. (I'm doing 2 things at once here haha. No good at multitasking). If the image you are working on is already a grayscale then you cant add colour. You'll need to convert it to colour then export the map in grayscale, but export the biome drawings in colour.


OK no problem.
The image I have is a map of Mexico, it is a flat image (blue water, gray the map and part of the United States in white) is not a heightmap map, I think that images like this are easier to edit.
Regards

 
3 hours ago, Tallman Brad said:

Here's a video showing how to add a custom POI list, specifically the Compo Pack. Plus how to remove unwanted POIs from the list. 

Thanks for the tutorial, well done!

I have also posted it in the CP discord

Btw I think there is a bug with the water map.. I will fix it this weekend.

 
Last edited by a moderator:
Back
Top