Procedural Mapping in LUA


The objective of this project was to create an effective procedural mapping program that could be either used as an independent application to generate a terrain map, or as the map generation portion of a larger program such as an RPG or strategy game. This was a side project I completed in my spare time midway through the Guildhall program to practice scripting and further my knowledge of LUA.

Production time: 40 hours (approximate)


 

Code Sample

 

The following code is a modified version of the Diamond-square algorithm which generates the height maps for the program.