Create a map for level

So i want to create a map for my level. i want it to be automatic. something similar can be found in World Streaming tab where you can see your map.

i want to be able to create a level and then automatically be able to have its map generated.

i can use both blueprint and C++ but i would prefer bp.

edit:
something like this:

btw i dont want a top down view of my map using a camera. i can easily make that. i want a graphical representation.

dont want a top down view of my map
using a camera

How about a top-down ortho camera, take a screenshot / use render target and chuck it into UMG as material. Overlay the lot with additional widgets as markers and so on.

im not so sure how if i will be able to achieve what i want that way. i have included a image of how i want it to look (obviously not the exact same way just want to learn how the map rendering is being done here.). i will look into it however. thanks for the suggestion

I’ve done minimaps with render target before. But honestly not sure whether it would work well enough for a high resolution map. I might give it a try tomorrow, as a good exercise or proof of concept at least. Failing is also precious. :slight_smile:

But do tell if you find a good solution or make progress.

sure. i will try giving it a little more look at it tomorow.

i tried some stuff, i think using heightmap may give me what i want but i need to be able to create the heightmap using bp on runtime to be able to do more research on this…

i have been trying stuff and researching but could not really find any good tutorials which do want it here. they are just small topdown view minimaps. pretty disappointing.

So how is this supposed to work, as in - the end goal? Player spawns in the world, hits a button and a map of the world around them pops up as a widget you can interact with? If it’s just about showing the world, the render target should work fine for this.

Here’s what I understood:

Image from Gyazo

This is my mini world, and it has a map (currently as a widget component). You can choose when this gets updated - every frame is VERY expensive (depending on the resolution). But you can call Update on the scene capture component and it takes a snap shot of what the camera above sees only once and shows it in a widget.

i think using heightmap may give me
what i want but i need to be able to
create the heightmap using bp on
runtime to be able to do more research
on this…

This sounds a bit like what I attempted years ago:

https://forums.unrealengine.com/development-discussion/rendering/101264-feeding-material-with-world-position-offset-data

I got some real good help with this but the end effect left too much to be desired back then.

hmm so i just went and tried creating a heightmap to show (kind of how) i want the map to look like.
i have not used this with UBT yet but using libnoise, and noiseutil i was able to create this. it took a while to remember what to do even though the code isnt too big.

280972-heightmap.png

if i can import the heightmap at runtime, i may just be able to use noiseutil to color the image.

also what i want to do is give the ability for the player to be able to see where they are in the entire map. kind of how pubg or ark maps work.

I think our wired crossed. I thought you wanted to create a map, just a map, of an existing terrain (as seen in world composition). And you want to actually generate the terrain?


btw, setting projection mode to ortho on the scene component brings you close to what we see in the original attached pic:

first of all yh the ortho views brings the result kinda close, i will try using it.

and about generating the terrain, nope i dont want to generate the terrain with the heightmap. i use libnoise and noiseutil just to test how i could color the heightmap.

i do just want to create a just a map of an “existing” terrain that i created myself. the heightmap looks similar to how the result i want to be that is why i am using it.

Makes sense. Keep hammering at it until it works :slight_smile: Do tell even if all fails.

yep i sure will.

ah… i have been searching everything. i cant even find good tutorials. Unreal doesnt have stuff for this. i will have to make modifications or just write big lines of code to create such a small thing. the only tutorials i can find are about unity. unity already has quite a lot of stuff for heightmap and noise and such. im not sure if i will waste more time at this. maybe i will visit the idea at another time. im not too sure of unreal c++ api anyway.

Somehow I feel I spend half the dev time writing utilities / helpers / tools rather than actually adding substantial things. I just hope the time investment pays off in the end. :expressionless: