poesel Posted January 15, 2007 Share Posted January 15, 2007 I hope Clay or one of the scenario developers can answer me that: As I understand it, the actual size of the map is dependent on the number of vertices and the distance between them. Each vertex gets its height value from the elevation file. This file is a .raw file with 513x513, 1025x1025 or 2049x2049 points. There are also two tags in the .scenario - WidthVertices and HeightVertices. Which one does now really determine the size of the map - the .raw file or the tag in the .scenario? thanks Link to comment Share on other sites More sharing options...
Toby Haynes Posted January 15, 2007 Share Posted January 15, 2007 As far as I understand it (and it seems consistent based on the object positions), the size of the map in metres is: </font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">WidthVertices * VertexSpacing</pre> Link to comment Share on other sites More sharing options...
Toby Haynes Posted January 15, 2007 Share Posted January 15, 2007 One other note - don't lie in the scenario file. Attempting to load a 513x513 .raw file into a scenario with </font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"><WidthVertices>1025</WidthVertices> <HeightVertices>1025</HeightVertices> </pre> Link to comment Share on other sites More sharing options...
poesel Posted January 15, 2007 Author Share Posted January 15, 2007 So I can simply take WidthVertices? Great - I went for easy "sqrt(Filesize/2)"... Thanks Toby for testing that out. Link to comment Share on other sites More sharing options...
Recommended Posts