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

Teragon - Random Map Generator

So I tried tinkering with terragon on 1.0 stable with little success. Anyone know what settings i need to change to make the map completely flat. 

 
So I tried tinkering with terragon on 1.0 stable with little success. Anyone know what settings i need to change to make the map completely flat. 
If you want it flat, you need to disable the heightmap changing commands on the Expert tab (the mountains, hills, depressions) as well as the scale height map command.

 
IMPORTANT NOTE

Teragon has a new updater and there is an issue with one specific update using the updater.  It may fail to update.  You may be able to close and reopen Teragon and get it to complete the update.  However, if it does not update for you, please copy any presets to another location and then remove your Teragon folder and download/install Teragon again.  You can then put your presets back into the presets folder.  Note that the 3D Preview utility is part of the normal Teragon install now, so you do not need to reinstall that separately.

If you have problems, check on Discord (link in first post).

 
Teragon v0.50.10.0 has been released.  The two biggest changes in this version are:
 

  • New default preset, World Generator 5, which is set up for trader progression.  This is a much more complex preset, with some unique features in it.  Because there is much more to it, generation will take longer, but you'll get a unique map compared to other presets.  Note that this preset is still a work in progress and will continue to be tweaked and improved over time.  See post 2 in this thread for screenshots of a map made with World Generator 5.
  • The Help Center tab is updated to include the documentation/help text.  This lets you view the help in a larger window.  It also now supports images, so you will start to see the screenshot comparisons from the online documentation being added to the commands.  This will take time, but some are already added.  All extra sections from the online documentation are now also included here.  Note that the new images will also appear on the Expert tab's help text, but will be smaller to fit within that window, so if you want to see the larger view, go to the Help Center tab.  The online documentation will likely go away once all images are moved into the updated help text within Teragon.  I'll leave it available for at least a while after that, but there won't really be a need for it with everything being available inside Teragon.  Below is a screenshot showing the new Help Center tab and an example of the help text on the Expert tab. Note that there is a minor display bug that sometimes happens, where the text will be dark instead of light.  To fix it, just click the command again.

image.png

image.png

 
Last edited by a moderator:
Teragon v0.50.11.0 is released.  The main change is that it will generate a checksum file that will prevent the game from using half_splat images of terrain, causing roads to look bad or disappear altogether.

So what are half_splat images?  They are new in 1.0 and I don't know exactly why they were added, but they are a processed image that take your road and water maps and shrink them to 50% the original size.  So an 8k map becomes 4k.  This doesn't change the map size in the game, but it does cause a loss of detail, especially for roads.  Many thin gravel roads can partially or fully disappear on your map, and if you're making your main roads be less than 100% road so that they look slightly overgrown with grass and dirt, this can make those roads look extremely patchy.  There may be a good reason for them using half_splat images, but they cause a lot of problems.  Even on my RWG map I started with in 1.0, my gravel side roads were often missing.  I could see where they were on the map, but there wasn't any gravel where the road should be.  In the forest, I could see where they *should* be because the grass decorations and stuff weren't on them, but that was the only indication where the path was as it was just the grass terrain without gravel.

Here is an example of what half_splats can do to roads.  And in this one, they didn't entirely disappear, but they still look really bad.  And even if you think this looks okay in the snow (snow covering the roads), it looks really out of place in the other biomes.

image.png

The update for Teragon should prevent the half_splat problem from happening.  If you still have problems, let us know.  You'll still run into this kind of problem with RWG, though.  Hopefully TFP will either remove halt_splats or find a way to not have this issue.

Note that although this does also impact rivers, rivers are usually wide enough that you won't notice.  If you had a river that was very narrow, you would probably see a patchy river as well.

 
Last edited by a moderator:
Thanks for the updates.

There are quite a few help items that are just basically a quick description of the parameter with no explanation of what the value change really does. 

Some make a huge difference by increasing by 1 some need to be increased by 1000 to see a difference.

I know documentation takes time and is a pain in the A$$ to do. so Thank you for what we already have and these updates.

 
Thanks for the updates.

There are quite a few help items that are just basically a quick description of the parameter with no explanation of what the value change really does. 

Some make a huge difference by increasing by 1 some need to be increased by 1000 to see a difference.

I know documentation takes time and is a pain in the A$$ to do. so Thank you for what we already have and these updates.
If you have any specific commands in mind, feel free to list them.  Note that the descriptions are based almost entirely on just trying them.  Sometimes there just isn't a clear change so the descriptions are less.  In any case, once the comparison screenshots from the online documentation are all added, that should cover most of it.  But there will always be a need to just try stuff.

 
I made it 16k square islands worked fine but enabled 'Create Player Spawn' always crashed closed down itself they can't handle on 16k same last in January 2024 was give up. 'Create Player Spawn' have no issued on lower than 15k 🤷‍♀️

I founded disabled 'Create Player Spawn' no more crashed. I use manual spawnpoint position lists on spawnpoints.xml. I haven't make map long time last A20 from KingGen make Square Islands.

ixZa8cw.png


 
I made it 16k square islands worked fine but enabled 'Create Player Spawn' always crashed closed down itself they can't handle on 16k same last in January 2024 was give up. 'Create Player Spawn' have no issued on lower than 15k 🤷‍♀️

I founded disabled 'Create Player Spawn' no more crashed. I use manual spawnpoint position lists on spawnpoints.xml. I haven't make map long time last A20 from KingGen make Square Islands.

You would need to share your present (preferably on discord) for someone to look into that.

 
I have a question. I created a custom height map and after the map generation is complete and I go to open it in the World Editor it shows **World Version A21.99**, so is this going to work with v 1.0?

 
I have a question. I created a custom height map and after the map generation is complete and I go to open it in the World Editor it shows **World Version A21.99**, so is this going to work with v 1.0?
Any time the game updates, you have to change the version in Teragon to match.  People make maps for multiple versions, so Teragon will not change your version for you.  You can edit the map_info.xml file with the version number for your map you already made, but you should update it in Teragon for future maps.  You can use V.1.0.999 for 1.0.  I haven't looked at 1.1 experimental yet, but if you are using that, you can probably use V.1.1.999.

Hi, im' news here. How to download your program ?
It can be downloaded from #downloads on discord. See the link in the first post.

 
I not yet discord. I'm test 4k map have small issue about some tiles are empty no POIs spawn & Create side roads is not worked won't generate, I use manual draw road worked well. I use all in 1 city without small town & oldwest

regular_town;1;100;center:downtown,commercial,industrial,countrytown;outskirt:rural,residential,countrytown,countryresidential;layout:maze_3;extra_link:0.3;gateway:rwg_tile_gateway_t,rwg_tile_gateway_straight,rwg_tile_gateway_straight2,rwg_tile_gateway_intersection2

Old Square Island feel bit small on islands, I make bit wide island more city.

2yHB09z.png


 
I not yet discord. I'm test 4k map have small issue about some tiles are empty no POIs spawn & Create side roads is not worked won't generate, I use manual draw road worked well. I use all in 1 city without small town & oldwest

regular_town;1;100;center:downtown,commercial,industrial,countrytown;outskirt:rural,residential,countrytown,countryresidential;layout:maze_3;extra_link:0.3;gateway:rwg_tile_gateway_t,rwg_tile_gateway_straight,rwg_tile_gateway_straight2,rwg_tile_gateway_intersection2

Old Square Island feel bit small on islands, I make bit wide island more city.

Since you do squares like that instead of a normal map, use Create Single Town instead of Create Towns.  Do that for each square.  And maybe increase minimum town size for the regular_town if needed.

I can see side roads on your screenshot.  Are those all manual?  If the Create Side Roads command isn't working, you would need to provide your present and files that you are importing on discord for us to test it and find the problem.

 
Since you do squares like that instead of a normal map, use Create Single Town instead of Create Towns.  Do that for each square.  And maybe increase minimum town size for the regular_town if needed.

I can see side roads on your screenshot.  Are those all manual?  If the Create Side Roads command isn't working, you would need to provide your present and files that you are importing on discord for us to test it and find the problem.
 I manual side roads but Create side Roads won't automatic generate side roads not worked. I never heard Create Single Town new released first time, I try on Create Single Town for Old West town on desert only 1 spawn can't multi spawn like normal create town. 5x Create Single Town make 5 cities.

 
Last edited by a moderator:
 I manual side roads but Create side Roads won't automatic generate side roads not worked. I never heard Create Single Town new released first time, I try on Create Single Town for Old West town on desert only 1 spawn can't multi spawn like normal create town. 5x Create Single Town make 5 cities.
Yes, that is why it is create "single" town and why I said to do it for each square.  It will work better than trying to hope towns get placed in every location on such a map.

Even so, your squares are small and if a town is not generated in a specific way, it may still not fill the entire square, including leaving large sections unfilled.  That is the risk of trying to generate a random town in a small, specific space.

 
Last edited by a moderator:
I have issued about terrain look rough big step not smooth slopes on Teragon. I was done 4k 8k 12k 16k Square Island maps maker, I tested in games founded terrain not smooth slopes. Can't find any fix terrain.

49FD11960F02A3C88C28D86ABEC34532A1F13E87


 
I have issued about terrain look rough big step not smooth slopes on Teragon. I was done 4k 8k 12k 16k Square Island maps maker, I tested in games founded terrain not smooth slopes. Can't find any fix terrain.

If you use a custom heightmap that you either made yourself it is a real world heightmap and it is 8bit instead of 16bit, you are going to have that problem.  8bit does not provide enough gray shades to have smooth terrain in this game.  Every shade in 8bit is 1m, so you are jumping up 1m at a time on slope instead of evenly the way it would with 16bit.

You will either need to do a lot of smoothing (filter gaussian blur) which will smooth that out somewhat but will also smooth out everything else as well, or use an image editing app to manually fix the heightmap, or just make/get a new 16bit heightmap to use.  Or let Teragon make your terrain for you.

 
Back
Top