I'm automating the process of creating tiled terrains through code and I have an unusual problem when saving the node files.
<?xml version="1.0" encoding="utf-8"?>
<nodes version="1.19">
<node type="ObjectTerrain" id="575191784" name="Terrain_x7_y11">
<terrain/>
<lod_distance>20</lod_distance>
<lod_progression>2</lod_progression>
<flatness_threshold>3</flatness_threshold>
<visible_distance>8000</visible_distance>
Basically my terrain tag is completely empty. I'm not sure that my script has any knowledge of the terrain filepath being saved at all.
Should I:
1. Generate the terrain.
2. Save it to a node file.
3. Load the terrain node file ??
Or is there some other/better method for this