I'd like to have the sector xml in one file, which makes it easier for me to parse - maybe like this:
Coverage maps:
Code:
<terrain name="name" sectors="numberofsectors" otherinfo>
<coveragemaps sector_x="0" sector_y="0" patch_x="0" patch_y="0">
<coveragemap alphamap_texture="gras_00000_00000_000.PNG">
<alphamap detail_texture="gras.jpg" />
</coveragemap>
<coveragemap alphamap_texture="ground01_00000_00000_000.PNG">
<alphamap detail_texture="ground01.jpg" />
</coveragemap>
<coveragemap alphamap_texture="schlamm_getrocknet2_00000_00000_000.PNG">
<alphamap detail_texture="schlamm_getrocknet2.jpg" />
</coveragemap>
<coveragemap alphamap_texture="moos2_00000_00000_000.PNG">
<alphamap detail_texture="moos2.jpg" />
</coveragemap>
</coveragemaps>
<coveragemaps sector_x="0" sector_y="1" patch_x="0" patch_y="0">
<coveragemap alphamap_texture="gras_00000_00000_000.PNG">
<alphamap detail_texture="gras.jpg" />
</coveragemap>
<coveragemap alphamap_texture="ground01_00000_00000_000.PNG">
<alphamap detail_texture="ground01.jpg" />
</coveragemap>
<coveragemap alphamap_texture="schlamm_getrocknet2_00000_00000_000.PNG">
<alphamap detail_texture="schlamm_getrocknet2.jpg" />
</coveragemap>
<coveragemap alphamap_texture="moos2_00000_00000_000.PNG">
<alphamap detail_texture="moos2.jpg" />
</coveragemap>
</coveragemaps>
</terrain>
Likewise for the scene exporter:
Code:
<terrain name="name" sectors="numberofsectors" otherinfo>
<sector sector_x="0" sector_y="0" patch_x="0" patch_y="0">
<nodes>
<node placementType="object">
<position x="153.356003" y="1909.586548" z="928.283020" />
<quaternion qw="1.000000" qx="0.000000" qy="-0.000000" qz="0.000000" />
<scale x="10.000000" y="10.000000" z="10.000000" />
<entity name="arc_UnbHaus_01" meshfile="arc_UnbHaus_01.mesh" />
</node>
</nodes>
</sector>
</terrain>
That would simplify things a lot.
