cwr said:
Is there an easy way to set a group of vertexes I highlight to all be the same height? I made some islands but I want to get rid of them and return that area to the ocean and it seems very tedious to do manually.
I did make a backup before starting- but I only want to delete about half the islands I made. So perhaps there is a way to combine the maps (even by directly editing the text file- I looked at it and it looks like a sequence of x,y,z coordinates? Is that correct?)
map.txt is organised as follows:
A. The first row is a single number, which is the number of vertices,
B. The next set of rows are of three numbers each, being the x,y,z coordinates of each vertex listed in order (but unnumbered) running from zero to the total number of vertices minus one,
C. The next row is a single number, which is the number of polys,
D. The final set of rows are of six reference numbers, each for each poly, listed in order (but unnumbered) running from zero to the total number of polys minus one. The reference numbers are:
1. Terrain code (i.e. 8 = river etc).
2. Zero - presumably unused.
3. Three - I assume this confirms that each poly is composed of three vertices.
4-6. The list numbers of the three vertices making up that particular poly.
To change vertex heights you need to:
A. Paint the terrain to be adjusted a unique terrain so it can be searched for. If your map has no snow, use that.
B. Import map.txt into excel. When asked the fields are delimited by a space, not fixed length.
C. Add vertex list numbers (0 to total-1).
D. Search the last poly section for terrain code 4 if using snow as an identifier and note all that poly’s vertex numbers.
E. Change the z coordinate for each vertex of each snow poly.
F. Reformat map.txt and export from excel.
This can be partially automated using lookup tables etc.
That can let you reset the height of your redundant islands back to sea level, or I could do it for you if you tell me what unique terrain code you’ve painted them with to identify the polys to be lowered.
I don’t know how to combine maps by txt edits. That needs tedious mesh edits in blender.