Posted By: sheefo
Terrain Generator - 10/08/06 10:46
In the Wiki there is a snippet for generating terrain HMP files using DLL and C-Script (http://www.coniserver.net/wiki/index.php/HMP). I got it working, and generating a nice small terrain. But when I make it large it only changes the X verts and the result is that it looks like a long line for a terrain.
There is this line of code that links to a function you have to create yourself, and the comment tells you what to do. But I don't get it, I don't know how to change the terrain's Y vertices?
Code:
Someone please help me, all I want is to change the size of the entire terrain and not just the X size.
There is this line of code that links to a function you have to create yourself, and the comment tells you what to do. But I don't get it, I don't know how to change the terrain's Y vertices?
Code:
Terrain_GetSize(terrain, Terrain_Info); //get Size (Num Verts X / Tri Size X/Y) via a help function
Someone please help me, all I want is to change the size of the entire terrain and not just the X size.