Hi,

the new function ent_terraincreate() is great! But I'm missing a function that stores a terrain into a .hmp file.
I would do it for my own, but I got stuck when it came to calculating the lightnormalindex out of the lightnormals table.

Example:
Code:
ENTITY* TerrainEnt = ent_terraincreate(NULL, nullvector, 100, 100, 20);
//Maybe some deforming, painting or adding a new skin
//Let's save changes:
ent_terrainsave(TerrainEnt, "NewTerrain1.hmp");



Or a function for calculating the lightnormalindex would also make the task a lot easier.

Thanks!


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version