Community Forum

Merging Map Terrain

Forum Overview >> Editor

CategoryEditor
Created04.03.2018 22:39


Carl Krolikowski (carlk5555) 04.03.2018 22:39
So im working on a 16x map. Im asking if its possible to take the terrain of a 1x map and import and merge it with the terrain in my 16x map. I tried just importing the map into my map. Which works in the editor, But the game crashes im assuming because there are two separate terrains in the scenegraph. So im looking to combine them or somehow import the terrain as an object maybe? Anyone have any experience with this?

Bartek Perkowski (Unknown) 05.03.2018 14:29
Maybe there is possiblilty to do it in Maya, like: creating plane (2k map is 2048x2048 squares) and subdivide it by 16k next add attributes and export it.
But IMO there isn't possibility to do that (I guess that GE will crash)

Carl Krolikowski (carlk5555) 05.03.2018 23:23
I might just not merge the maps then. Its too bad you cant just put the second terrain at the correct height and combine it with the existing terrain. Oh well.

Horace Mct (hpmc13) 06.03.2018 19:01
I think that I worked out a solution but I have not tested it. Proceed with caution and MAKE BACKUPS!

The terrain for the maps are stored in a file called either MapName/maps/map01/map01_dem.png or MapName/maps/map02/map02_dem.png. You'll generally have only one or the other. This file can be opened and edited with pretty much any standard paint program (photoshop, paint.net, GIMP, Krita, etc). A standard map's terrain file is 1025x1025. A 16x map's terrain file is 4097x4097. It seems to me that you could open both terrain files, then copy and past the 1x map's file into the 16x map, place it where you want, then save and off you go. In theory that should work. You probably will, however, get a nasty border around the edge of the import since it's probably not the same height as what you already have. While some smoothing should take care of that, it might not give you the result you desire.

Again, and I can't emphasize this enough, I have never tried this (though I have edited the map01_dem.png files of my maps extensively) so I can't guarantee a good result. Proceed at your peril and MAKE BACKUPS!

Horace Mct (hpmc13) 06.03.2018 19:15
I think that I worked out a solution but I have not tested it. Proceed with caution and MAKE BACKUPS!

The terrain for the maps are stored in a file called either MapName/maps/map01/map01_dem.png or MapName/maps/map02/map02_dem.png. You'll generally have only one or the other. This file can be opened and edited with pretty much any standard paint program (photoshop, paint.net, GIMP, Krita, etc). A standard map's terrain file is 1025x1025. A 16x map's terrain file is 4097x4097. It seems to me that you could open both terrain files, then copy and past the 1x map's file into the 16x map, place it where you want, then save and off you go. In theory that should work. You probably will, however, get a nasty border around the edge of the import since it's probably not the same height as what you already have. While some smoothing should take care of that, it might not give you the result you desire.

Again, and I can't emphasize this enough, I have never tried this (though I have edited the map01_dem.png files of my maps extensively) so I can't guarantee a good result. Proceed at your peril and MAKE BACKUPS!

Carl Krolikowski (carlk5555) 07.03.2018 04:50
I will have to give it a try


Note: Log in to post. Create a new account here.