# 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:** 20\
**Page:** 21

<div class="post-metadata">

**Author:** ![hippowombat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hippowombat/32/906590_2.png) [@hippowombat](https://forums.unrealengine.com/u/hippowombat)\
**Post date:** [April 6, 2018, 6:54pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/412 "2018-04-06T18:54:52Z")

</div>

Sorry if this has been asked before, but would this plugin support landscape holes generated at specific locations, sizes & shapes at runtime?

---

<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 10, 2018, 9:58am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/413 "2018-04-10T09:58:19Z")

</div>

> [@hippowombat](#):
>
> Sorry if this has been asked before, but would this plugin support landscape holes generated at specific locations, sizes & shapes at runtime?

Nope, not at present.

---

<div class="post-metadata">

**Author:** ![honaj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@honaj](https://forums.unrealengine.com/u/honaj)\
**Post date:** [May 14, 2018, 9:12pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/414 "2018-05-14T21:12:31Z")

</div>

So it appears that the runtime mesh component is broken in some way, this happens both with the demo project and if I create a new one in 4.18.

---

<div class="post-metadata">

**Author:** ![TheParadox](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheParadox](https://forums.unrealengine.com/u/TheParadox)\
**Post date:** [May 25, 2018, 9:49pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/415 "2018-05-25T21:49:45Z")

</div>

When I build it in VC - I get the exact same thing as @honaj  
BTW: I am attempting to do this in 4.19.2 - yes I do have the Runtime Mesh Component 4.19.2 version from GitHub

---

<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:** [May 26, 2018, 10:00am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/416 "2018-05-26T10:00:23Z")

</div>

Having some trouble with the RMC testing here. Hopefully get something fixed today…

---

<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:** [May 26, 2018, 10:17am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/417 "2018-05-26T10:17:54Z")

</div>

I’ve got fixes for CashGen 4.19.2’s interface with the RMC, but the RMC is still broken in 4.19.2 for me. Once It’s fixed I’ll submit this and everything should be sorted.

---

<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:** [May 26, 2018, 11:05am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/418 "2018-05-26T11:05:12Z")

</div>

is that flying pathfinding project advancing too? 🙂

---

<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:** [May 28, 2018, 11:42am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/419 "2018-05-28T11:42:24Z")

</div>

> [@Thunder\_Owl](#):
>
> is that flying pathfinding project advancing too? 🙂

Yep, been a bit slow recently as work has been busy, but still progressing.

The octree generation is complete, the node lookup is complete, I’m just working on the A\* implmentation, although I need to add a bunch of debug viz while I’m doing it. Will probably make a thread later this evening as I should have a couple of hours to work on it.

---

<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:** [May 28, 2018, 12:03pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/420 "2018-05-28T12:03:36Z")

</div>

> [@mid\_gen](#):
>
> Yep, been a bit slow recently as work has been busy, but still progressing.
> 
> The octree generation is complete, the node lookup is complete, I’m just working on the A\* implmentation, although I need to add a bunch of debug viz while I’m doing it. Will probably make a thread later this evening as I should have a couple of hours to work on it.

Nice… More than nice 🙂 Me myself have been experimenting with simple flying AI avoidances, reactions recent weeks. Actually looks good, for arcade-ish shooting situations (as intended). Need to start somewhere, right? 🙂

---

<div class="post-metadata">

**Author:** ![anon17187051](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon17187051](https://forums.unrealengine.com/u/anon17187051)\
**Post date:** [July 5, 2018, 1:04am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/421 "2018-07-05T01:04:34Z")

</div>

I’ve been designing something like this for quite some time for my game (Hiway 9), may i use yours instead?  
However, i’d like to ask you if there’s the possibility to add roads and towns and level the terrain where those are added.

Thanks!

---

<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:** [July 18, 2018, 11:49am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/422 "2018-07-18T11:49:56Z")

</div>

> [@Sabudum](#):
>
> I’ve been designing something like this for quite some time for my game (Hiway 9), may i use yours instead?  
> However, i’d like to ask you if there’s the possibility to add roads and towns and level the terrain where those are added.
> 
> Thanks!

Feel free to use it for whatever you want.

Adding roads/towns etc is a pretty big subjects. There is some spline support that someone submitted, although I haven’t played with it much.

Updates:

Working in 4.19, make sure you get the latest RMC as well.

Async cooking doesn’t seem to be working, at least I’m getting severe hitching on the demos that previously ran smoothly.

---

<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:** [July 18, 2018, 12:08pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/423 "2018-07-18T12:08:23Z")

</div>

My big appreciation for keeping this asset “alive”! 🙂 (it was me on github with questions…)

---

<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:** [July 20, 2018, 11:23am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/424 "2018-07-20T11:23:54Z")

</div>

> [@Thunder\_Owl](#):
>
> My big appreciation for keeping this asset “alive”! 🙂 (it was me on github with questions…)

No problem. I’m not really actively developing it at the moment, rather just keeping it maintained.

I should get some time next week to look into the hitching that has appeared in 4.19.

---

<div class="post-metadata">

**Author:** ![Masakralny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Masakralny](https://forums.unrealengine.com/u/Masakralny)\
**Post date:** [August 8, 2018, 1:25pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/425 "2018-08-08T13:25:07Z")

</div>

I have one problem…With CashGen in 4.19.2

//What I should change in code there?

---

<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:** [August 13, 2018, 8:49am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/426 "2018-08-13T08:49:06Z")

</div>

> [@Masakralny](#):
>
> I have one problem…With CashGen in 4.19.2

I’m not seeing this, I did a sync, git clean and rebuild this morning, on 4.19.2.

---

<div class="post-metadata">

**Author:** ![Masakralny](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Masakralny](https://forums.unrealengine.com/u/Masakralny)\
**Post date:** [August 13, 2018, 10:46am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/427 "2018-08-13T10:46:01Z")

</div>

Maybe this is Runtime Mesh Component ?

---

<div class="post-metadata">

**Author:** ![Zail](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zail](https://forums.unrealengine.com/u/Zail)\
**Post date:** [September 10, 2018, 2:57pm UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/428 "2018-09-10T14:57:54Z")

</div>

Good day.  
Today I tried to use your plugin in accordance with the lessons located under the link:  
“[CashGen Tutorial - Part 2 - Making a simple terrain scene - YouTube](https://www.youtube.com/watch?v=4kPxUCptLpU)”  
But unfortunately when I tried to start the gameplay, the system hung and I was given the following …

Tell me what I’m doing wrong, I’m working in version 18.3. The RuntimeMeshComponent works separately from the terrane generator.

---

<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:** [October 5, 2018, 6:15am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/429 "2018-10-05T06:15:11Z")

</div>

> [@Zail](#):
>
> Good day.  
> Today I tried to use your plugin in accordance with the lessons located under the link:  
> “[https://www.youtube.com/watch?v=4kPxUCptLpU](https://www.youtube.com/watch?v=4kPxUCptLpU)”  
> But unfortunately when I tried to start the gameplay, the system hung and I was given the following …
> 
> Tell me what I’m doing wrong, I’m working in version 18.3. The RuntimeMeshComponent works separately from the terrane generator.

You’ve run out of memory, as the error states. Are you trying some very large values for the size?

---

<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:** [October 5, 2018, 6:17am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/430 "2018-10-05T06:17:03Z")

</div>

I’m aware that the demos aren’t working on 4.20. I’m at a bit of a loss at the moment to see what the is, it seems the geometry calculations are incorrect, but I’m very confused as to how an engine version change could have caused it.

---

<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:** [October 8, 2018, 6:16am UTC](https://forums.unrealengine.com/t/cashgen-kinda-infinite-procedural-world-generator/63131/431 "2018-10-08T06:16:01Z")

</div>

Finally tracked down the problem! There was an error in the vertex generation that had started causing problems with the newer RuntimeMeshComponent.

Fixed 🆒

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

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