Description
the only reason to use this i know of is to export a dynamically generated heightmap. static heightmaps can be extracted with mapconvng.
usage:
place in LuaUI/Widgets/
in game, press enter and execute these commands:
/luaui exportheightmapppm
/luaui exportheightmapraw
both export images of the heightmap to spring userdata directory, as .pgm or .raw
.raw is photoshop raw
/luaui exportheightmaptxt
exports a text file of the heightmap. have not tested, merely kept the function from earlier script version
/luaui exportslopemapppm
/luaui exportslopemapraw
/luaui exportslopemaptxt
export images of the slopemap, both normalized and absolute