As I did the directory mapper, I worked through all the files in the world folder and came across the following files and folders in sons of mars:
custom_tiles_db.txt
and the folder custom_tiles
with a map.rmw in it.
After some playing around, success: This battle took place just inside gaulish territory to the north of Rome....
You can see the possiblities, with this, you can now make ports villages wonders and mines appear on the map...
How to do it:
1 Using the latest patch: use the battle editor to select the area of the map you want to edit. Edit the terrain and save it as temp. It doesn't matter if you don't place any armies, it will come up with an error but it will still save the map.
2 Go to data\world\maps\battle\custom\temp and copy the map.wfc file.
3 Go to data\world\maps\campaign\campaign
where campaign is the campaign you want to edit and make a new folder called cutom_tiles. Paste the map.wfc file in there.
4 Make a new text file called custom_tiles_db.txt in data\world\maps\campaign\campaign. Write the following text:
Where x and y are the co-ordinates on the map you want your new tile to be applied to.Code:map.wfc x y map.wfc
Delete map.rmw and launch.
I haven't finished working out the syntax yet, I don't know if both bits there need to read map.wfc, but I think the first one definately does because I got an error when I changed it. I do know that the above format definately works.
I don't know about you guys but I'm very happy about this, its going to be a huge help for my Wheel of Time mod for making the isle of tar valon and shayol ghul.
But for realism mods, you can now make wonders appear on the tile below the wonder or something, and you can now make maps for ports and villages.![]()
Bookmarks