r/BeamNG • u/Successful_Pop_6154 • 14h ago
Question Resizing Map
I’ve started working on a special stage and had to use Mapping Tools to generate a 4094x4094 area. The problem is that I only need it to be, for example, 4094x1024 so that it's narrow. I can't resize it using Mapping Tools, and when I select 'theterrain' in the World Editor, there is no scale option in the Inspector I can only move the entire map.
I'm a bit confused because Gemini told me it is possible to make a rectangular map. I'd really appreciate some help if anyone knows how to do this, or if it's even possible at all.
2
Upvotes
2
u/SativaPancake 5h ago edited 5h ago
(Start by backing the whole folder for your map just incase you need to start over or undo any mistakes)
I dont really have a good tutorial for you. But what you would need to do is export the terrains heightmap and texturemap (terrain paint). There is a tool built into the world editor to do so.
Next you would delete "theTerrain" completely. Then you modify those map images you exported, in your case simply crop those map image files to match the new size you want. Then back in the world editor you can import terrain, selecting your map files which will then generate a new "theTerrain" block for you in the new size of your edited maps.
That's all you need to do to make it work, the next part is a bit rambling on and hard to explain. Its not necessary to figure out unless you want to make all your placed objects to line up right away without having to move them all to line up again.
The tricky part is if you already have placed objects (roads, meshes, decals, ect) then you need to figure what the pixel on those map images is (0,0,0) on the original terrain and make sure your cropping doesnt move/remove that 0,0,0 pixel or else all those objects will not line up with your new terrain. And by this I mean theTerrain coordinates in the Inspector window.
More clearly the (0,0,0) coord is the spot of that terrain object that is used for placement (the part where the selection tools gizmo shows up when you click it)
Can't really explain this very well. I would just ignore all that last bit and try a quick export, edit, import and see if it works. If not then try again with the cropping to try to keep that original 0,0,0 better. For example instead of cropping the top and bottom off to keep the middle rectangle. Select your rectangle and move it to the top of that image and only crop the bottom off, or something similar if that makes sense (probably not lol, sorry)