• 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

COOL!!!  Definitely as you've noted... I seem to remember that TFP hard coded the 16k limit, unless you made a map with Nitrogen.  Anyway if you look closer at the cities before and after - you'll also notice that total lootable area has dropped massively.  I haven't looked at the numbers but I've guesstimated that it's above 25% to upwards of 40%  :(   There is a definite noticeable drop in sky scrapers too.   I miss the old time - city at 0-0 cause you didn't venture in there till you got some serious levels and stuff!  And you did get serious stuff for going there too! lol   Oh well.  Thanks for adding the 12k option!
Wait, what? With nitro you can make maps larger than 16K and they work?

 
Yeah, back in the day some people ran 32k maps.  One guy said he had a 48k map - unverified.  With my group anything over 16k was too much; but 16k was the sweet spot.  Then the lag happened and everything changed.  I'm sure that was alpha 16 to 16.4 or around there; when Nitrogen first came out.

 
Yeah, back in the day some people ran 32k maps.  One guy said he had a 48k map - unverified.  With my group anything over 16k was too much; but 16k was the sweet spot.  Then the lag happened and everything changed.  I'm sure that was alpha 16 to 16.4 or around there; when Nitrogen first came out.
Ohh I see. Yeah, back in the day I also saw huge maps.

 
I had a tester of 3 Worlds at 8K. The eclectic transitions between biomes was superb and a World will never get dull. This is a very decent plus.

The terrain is also very smooth and offers a pretty gentle meander. The option to add a little bit more noise would be nice.

20210418023903_1.jpg


I also wonder if it would be possible to reduce the impact of roads creating raised banks. Some of them are pretty long and requires driving to a flatter area to get onto a road.

20210418023335_1.jpg


It's early days, and I won't even ask if we can tag selective POIs into selective groups or assign set limits for specific POIs. Maybe in the future.

All in all, another treasure for the community in the making.

 
Mmmkay, gonna have a look at this.

If POI placement obeys biome restrictions (as per the POI XML file) then I will be VERY happy.
It doesn't. But I added it to the todo list.
Anyway, at the moment is obeys to the Zoning and AllowedTownships properties in the xml.

I had a tester of 3 Worlds at 8K...
Thank you for the feedback :)
I added rougher terrain to the todo list.
I added a smoothing road banks to the todo list.

Regarding POIs.. At the moment POIs are placed according to Zoning and AllowedTownships properties inside the xml. I will probably also add the AllowedBiomes property in the next version.

 
Last edited by a moderator:
Quick test. Command line execution doesn't seem to work on Windows 10. I just get a popup with "Fatal error: Failed to execute script king_gen".

GUI works fine.

 
Bug confirmed. The command line interface doesn't work. I'll see what I can do.

May I ask why you want to use it instead of the GUI?

 
Custom map sizes not supported by the GUI.

Also I can set up a BAT file to just generate a ton of worlds if I want as well.

EDIT - Worse case I CAN use Linux since I have an Ubuntu dual-boot on here, but figured I'd report it just in-case someone else tries on windows. :)

 
Last edited by a moderator:
Custom map sizes not supported by the GUI.

Also I can set up a BAT file to just generate a ton of worlds if I want as well.

EDIT - Worse case I CAN use Linux since I have an Ubuntu dual-boot on here, but figured I'd report it just in-case someone else tries on windows. :)
Sounds reasonable. Thank you for reporting it.

 
Quick test. Command line execution doesn't seem to work on Windows 10. I just get a popup with "Fatal error: Failed to execute script king_gen".

GUI works fine.
I found workaround for now. On windows you can use the command:

Code:
.\KingGen.exe -h | more
and that will work because it will keep the console attatched.

This is a workaround for the moment, but I am not sure if I can find a better solution.

 
I found workaround for now. On windows you can use the command:

Code:
.\KingGen.exe -h | more
and that will work because it will keep the console attatched.

This is a workaround for the moment, but I am not sure if I can find a better solution.
Can confirm this command works fine.

KingGen -h | more

Might be worth adding to the main post for windows users. I don't think you need a better solution tbh :)

 
Can confirm this command works fine.

KingGen -h | more

Might be worth adding to the main post for windows users. I don't think you need a better solution tbh :)
Yeah, this is a Windows constraint. I can either build the program for window mode or for console mode. The latter will always attach a console, even if you double click the executable, which is undesirable. So yeah, i think the solution with "| more" is here to stay. I will add it to the user guide on the first page.

 
Biome restriction seems to be pretty much working. Only 1 instance that was iffy, but honestly, there isn't much you can do about that (large wasteland-only POI half in the wasteland and half in the forest, but this can happen in vanilla ANYWAY).

Could possibly do with a way to limit certain POI's if possible as one of my quest ones spawned 24 times, which seems a little excessive. :D  But i'll do more tweaking and see if there's any way I can limit that in the xml. I THINK I can assign it a unique tag and that might work.

 
Back
Top