Re: Procedural Generation
I experimented with this a while ago. One idea was to use terrain debris to place terrain objects such as those in zombie cave eg: the crater, rock pile, and rock tower etc onto the topsoil, and use a grid of 4x4 pixel dots with 94 pixels between them consisting of a different material and terrain debris arranging bunker modules in a random pattern.
Problems were that the base's location wasn't random, the bunker modules didn't always form a useable base and the terrain debris places the centre of the sprite onto the target material, so the zombie cave objects required a sprite extension to place the bottom of the object in the centre of the .bmp
I'm obviously not an expert. Just posting the result of the idea without Lua.
Lord Tim wrote:
Technically, you can place Bunker Modules into scenes via Lua, but there is no way to create them with the current functions, or something like that.
So It is currently impossible to place bunker modules via Lua?
Edit: Ignore that question. I think this is the answer:
Lord Tim wrote:
Well, if it were possible to do it with Lua, it'd be real easy.