impworks Logo - a grinning imp in flight

Vue 5 Infinite Terrain to CSV Script

Tuesday, August 29th, 2006

I’ve been meaning to have a play with the terrain functions in Vue’s Python. Finally found the time and wrote two scripts that use most of the related features.

Two scripts that allow you to work with a terrain by exporting it as a CSV file that
can be edited in a spreadsheet and then importing it back into Vue.

Select a terrain and then run terraintocsv.py. A file called terraindata.csv will be saved in the directory you put the script in.

Edit the CSV file in your prefered spreadsheet or text editor. Save a CSV file over the original terraindata.csv

Go back to Vue. With the original terrain selected run the csvtoterrain.py and the altered CSV file will be loaded and used to set the terrains altitudes.

Terrain to CSV Script

 

Leave a Comment

impworks © Copyright Mark Caldwell 1996 - 2024