Edit: you can now find mapconv.exe compiled with this fix here. It's not official or supported by the SY, but it should work.
---------
Yay this is my first code contribution to TA Spring! All it does is modify the mapconv.exe to prevent it from generating trees and grass on the map. This is for those map-makers who wanted to make maps with some green texture but got flooded with trees.
To use this modification, download the 0.41b1 source code, and do the following changes to the FeatureCreator.cpp file in /MapConv:
Add /* before (and on the same line as) //trees (should be on line 313).
Add */ after (and on the same line as) the second-to-last closing bracket at the end of the file (should be on line 365).
Code: Select all
/* //trees
unsigned char* map=new unsigned char[ysize*xsize];
for(int y=0;y<ysize;++y){
for(int x=0;x<xsize;++x){
.....
.........
..... MANY LINES SKIPPED
........
.....
ffs.zpos=(float)y*32+16;
features.push_back(ffs);
}
}
} */
}
Compile the mapconv utility.
Please let me know if it works well. Hopefully I'll get more time and add a switch which turns that option on and off, and maybe even move the generating of trees/grass to color dots in the metal map.