# Cashgen - (kinda) Infinite Procedural World Generator

**URL:** <https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [May 6, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131 "2016-05-06T16:37:03Z")\
**Posts on this page:** 14\
**Page:** 23

<div class="post-metadata">

**Author:** ![AinSophAur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AinSophAur](https://forums.unrealengine.com/u/AinSophAur)\
**Post date:** [April 4, 2019, 3:55pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/453 "2019-04-04T15:55:50Z")

</div>

I did not use the island demo for that result tho. Just tweaking the tutorial video a bit and added a landscape to use as water. You would perhaps be better off using the water option in the plugin. However, it’s probably not the solution you are looking for. Keep in mind that those images are also very zoomed out. If you look closely, you see a tiny platform in the middle of the dome, that’s a 4x4m ish platform that the player are located. Just to give you a hint of how zoomed out it actually is.

---

<div class="post-metadata">

**Author:** ![micpro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@micpro](https://forums.unrealengine.com/u/micpro)\
**Post date:** [April 8, 2019, 6:55am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/454 "2019-04-08T06:55:51Z")

</div>

> [@AinSophAur](#):
>
> I did not use the island demo for that result tho. Just tweaking the tutorial video a bit and added a landscape to use as water. You would perhaps be better off using the water option in the plugin. However, it’s probably not the solution you are looking for. Keep in mind that those images are also very zoomed out. If you look closely, you see a tiny platform in the middle of the dome, that’s a 4x4m ish platform that the player are located. Just to give you a hint of how zoomed out it actually is.

Ok thanks Will try that… But I’m thinkink of writing my own noise generator… Anyway thanks a lot

---

<div class="post-metadata">

**Author:** ![mid\_gen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mid\_gen](https://forums.unrealengine.com/u/mid_gen)\
**Post date:** [April 25, 2019, 8:43am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/455 "2019-04-25T08:43:51Z")

</div>

> [@micpro](#):
>
> Does anybody know how to achieve this starting with the island demo ? I need some flat (or nearly flat) areas (around 100 m²) where I can put some buildings, and if I could connect them with roads it’d be awesome !
> 
> But after messing with modules, different settings, a lot of crash, adding selectors, etc… I cannot get a decent result…
> 
> So if someone could help me on that, (s)he’d be my God(dess) forever ! Thanks… 🙂

You could use a constant node and a radial node to blend some flat areas into your terrain.

A more complex solution such as scattering buildings and stamping the heightmap is unfortunately too close to what I do I at work so I wouldn’t be comfortable developing it on this plugin. Pull requests are welcome though…

---

<div class="post-metadata">

**Author:** ![Algorithman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Algorithman](https://forums.unrealengine.com/u/Algorithman)\
**Post date:** [May 29, 2019, 1:00pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/456 "2019-05-29T13:00:12Z")

</div>

First: Thx for the plugin 🙂

But i have a small problem with the demo:  
After packaging and starting the Level CashDemo\_Terrain i always fall through geometry when passing a tile boundary. I tried more/different LODs, but nothing helped so far.  
Any clue how to fix this?

---

<div class="post-metadata">

**Author:** ![Algorithman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Algorithman](https://forums.unrealengine.com/u/Algorithman)\
**Post date:** [May 30, 2019, 8:44am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/457 "2019-05-30T08:44:22Z")

</div>

Nevermind, i found the problem.

If you don’t use the MakeCGTerrainConfig node and use class defaults instead, TileReleaseDelay is 0 seconds in a packaged game. With no delay, the game wants to recreate ALL sectors on each boundary crossing and you are just stuck then.

Seems stuct properties inside struct properties don’t get properly transferred to shipping?  
Workaround for now: use the MakeCGTerrainConfig node and set it.

@EpicGames Please fix this, such things are really quite annoying and time consuming to find/debug.

---

<div class="post-metadata">

**Author:** ![mid\_gen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mid\_gen](https://forums.unrealengine.com/u/mid_gen)\
**Post date:** [April 20, 2020, 12:48pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/458 "2020-04-20T12:48:37Z")

</div>

So, I finally got round to updating the plugin. As I’m not actively developing it, the maintenance dealing with the RuntimeMeshComponent as a dependency had got too onerous, so I’ve ripped it out and just switched back to the built in ProceduralMeshComponent.

Plugin and demo project are now updated to 4.24.

I did rip out the CGWorld stuff as it was nothing more than a curiosity on my part, and needed a little more work to refactor. If anyone really really wants it, then I can merge it back in sometime.

---

<div class="post-metadata">

**Author:** ![Thunder\_Owl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thunder\_Owl](https://forums.unrealengine.com/u/Thunder_Owl)\
**Post date:** [April 22, 2020, 1:36pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/459 "2020-04-22T13:36:33Z")

</div>

> [@mid\_gen](#):
>
> So, I finally got round to updating the plugin. As I’m not actively developing it, the maintenance dealing with the RuntimeMeshComponent as a dependency had got too onerous, so I’ve ripped it out and just switched back to the built in ProceduralMeshComponent.
> 
> Plugin and demo project are now updated to 4.24.
> 
> I did rip out the CGWorld stuff as it was nothing more than a curiosity on my part, and needed a little more work to refactor. If anyone really really wants it, then I can merge it back in sometime.

That’s cool news! 8) Thank You for all your work!

---

<div class="post-metadata">

**Author:** ![Kiyano](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kiyano](https://forums.unrealengine.com/u/Kiyano)\
**Post date:** [July 9, 2020, 9:25pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/460 "2020-07-09T21:25:03Z")

</div>

Am i able to use this system during runtime?  
Since i want to be able to generate a world during runtime by a seed value.

---

<div class="post-metadata">

**Author:** ![Edx\_09](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Edx\_09](https://forums.unrealengine.com/u/Edx_09)\
**Post date:** [September 4, 2020, 7:51pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/461 "2020-09-04T19:51:04Z")

</div>

Hi mid\_gen , very nice plugin.

How do you set up folige spawning ( in my case bp actors) ?

---

<div class="post-metadata">

**Author:** ![mid\_gen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mid\_gen](https://forums.unrealengine.com/u/mid_gen)\
**Post date:** [March 24, 2021, 8:58am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/462 "2021-03-24T08:58:55Z")

</div>

> [@Arikawa-](#):
>
> Am i able to use this system during runtime?  
> Since i want to be able to generate a world during runtime by a seed value.

It generates at runtime by default.

---

<div class="post-metadata">

**Author:** ![Vormulac](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vormulac](https://forums.unrealengine.com/u/Vormulac)\
**Post date:** [April 22, 2021, 12:07am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/463 "2021-04-22T00:07:36Z")

</div>

Hey hey!

First off want to say your plugin looks awesome. Unfortunately I can’t get it to work. I tried to use it in my 4.25.3 project but didn’t have any luck (nothing seemed to generate). I’ve created a blank 4.25.3 project and got the same results.

Pretty sure I followed the readme correctly.  
made a blueprint “terrain” based on CGTerrainManager and added it to the level:  
[![](https://puu.sh/HAmUq/0bb5c6c9e9.png) ](https://puu.sh/HAmUq/0bb5c6c9e9.png)

Went into the event graph and created the following (also tried with two, and the non fractal noise generator node).  
[![](https://puu.sh/HAmTj/71bfbdffdc.png) ](https://puu.sh/HAmTj/71bfbdffdc.png)

Unfortunately nothing seems to generate.

Is anything in the Terrain config I need to set maybe?

Any help would be greatly appreciated.  
Cheers!

---

<div class="post-metadata">

**Author:** ![mid\_gen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mid\_gen](https://forums.unrealengine.com/u/mid_gen)\
**Post date:** [January 13, 2022, 8:50pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/464 "2022-01-13T20:50:58Z")

</div>

Not really actively developing this any more, but I’ve been doing some housekeeping and is now compatible with UE 5.0.

---

<div class="post-metadata">

**Author:** ![tomchk1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomchk1](https://forums.unrealengine.com/u/tomchk1)\
**Post date:** [November 18, 2022, 3:16am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/465 "2022-11-18T03:16:26Z")

</div>

Amazing plugin! I might use this in some big ways if I can replace my current system with it. Are you still willing to merge back in the CGWorld parts? Those might be of great interest to me if I can make them work like the rest of the plugin terrain. Thanks! By the way, are you aware of any plugins like this that are actively developed?

---

<div class="post-metadata">

**Author:** ![lizardmanjj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lizardmanjj](https://forums.unrealengine.com/u/lizardmanjj)\
**Post date:** [March 11, 2023, 8:24am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/466 "2023-03-11T08:24:25Z")

</div>

Figured out a way to get navigation working, set up the map to nav invokers as normal, and dynamically load, then make a timer to find all CGtiles, get world location Z, = 0, if true set the world location Z to 0.01, as a object has to move to cause the navmesh to update,

[Previous page](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131.md?page=22)
