Spur
11-21-2006, 20:41
While I was converting the M2 map to a bigger size, I really missed the debug file (corrected_regions.tga) that RTW produced. This is a little work-around I came up with until CA releases info on all switches in config etc.
The main problem is that the regions map gets out of alignment with the other maps, making placement along coastlines very iffy.
Here's what you do:
make a copy of the map_heights.tga and resize it in a new file. Remove the waterm (select with magic wand set too 100 and delete), and resize it to the regions map size (using nearest neighbour, in ps).
Copy it as a new layer into your regions map file, and change its blending mode to linear dodge (or overlay, whatever you prefer - I find linear dodge easier)
Now comes the interesting part: CTRL-click the layer with the heights map copy, so it should select a perfect outline of its land/sea border - there are less handy ways to do this too, but ctrl click is easiest I think.
should look like this now:
http://www.riseofpersia.com/developers/spurius/diy_corrected_regions.jpg
now when you select the layer with the regions map info, you can edit it at will while the SELECTION lines remain visible of the heights map.
By changing the workarea by pressing CTRL-SHFT-I (for Inverse) you can switch from the land to the water area. With the pencil you can then make any corrections without screwing the wrong area. You can keep changing between the two at will.
There are a few more tricks to do some parts quicker, but this is clearest, I hope... Good luck :)
The main problem is that the regions map gets out of alignment with the other maps, making placement along coastlines very iffy.
Here's what you do:
make a copy of the map_heights.tga and resize it in a new file. Remove the waterm (select with magic wand set too 100 and delete), and resize it to the regions map size (using nearest neighbour, in ps).
Copy it as a new layer into your regions map file, and change its blending mode to linear dodge (or overlay, whatever you prefer - I find linear dodge easier)
Now comes the interesting part: CTRL-click the layer with the heights map copy, so it should select a perfect outline of its land/sea border - there are less handy ways to do this too, but ctrl click is easiest I think.
should look like this now:
http://www.riseofpersia.com/developers/spurius/diy_corrected_regions.jpg
now when you select the layer with the regions map info, you can edit it at will while the SELECTION lines remain visible of the heights map.
By changing the workarea by pressing CTRL-SHFT-I (for Inverse) you can switch from the land to the water area. With the pencil you can then make any corrections without screwing the wrong area. You can keep changing between the two at will.
There are a few more tricks to do some parts quicker, but this is clearest, I hope... Good luck :)