UE4 - CHANGE MINIMAP TEXTURE IN GAME

Опубликовано: 22 Февраль 2018
на канале: TechNova45
658
8

In this video we will see how to change the minimap texture at runtime, basically while playing you might want to change the texture to something else based on some sort of event like entering a house, or loading a new level etc

The function you'll want to use is Change Minimap Texture you can simply drag a pin from the MinimapComponent and call this function, give it a texture and the length which is the width (in world unit) of the map area displayed in your texture, if your texture covers exactly the entire map then the Length is pretty much the width of your map.

In this example we used a multifloor building example where we change the minimap texture based on if we'e outside the building or in the bottom/top floor.

Link to the minimap:
https://www.unrealengine.com/marketpl...

Forum post: https://forums.unrealengine.com/unrea...

Written Guide: http://ue4minimap.blogspot.com/p/how-...

List of features you can expect from this Minimap

Rectangular or circular style
Can rotate
Zoom in and out
Add and track actors location and rotation in the minimap
Height system (You can easily tell if something is below/above you in the minimap)
Add persistent actors like teammates characters which you can always track on the minimap even if they're too faraway.
Change minimap texture while playing this is useful if you have a multifloor building for example and you want to change the texture for each floor.
Change the color and size of anything you add to the minimap at runtime.
Add/Change/Remove/Resize minimap border at runtime
You can click on the minimap to get the world location, in the tutorial we used to spawn an actor to add a position marker.
Can make a big map where you can see the entire map and drag to a specific location (Like when press M in MMORPG games etc)
Add tooltips (Shown when you hover over something you added)
If an actor is no longer valid (Destroyed) it'll get removed from the minimap automatically.

Email: [email protected]


Смотрите видео UE4 - CHANGE MINIMAP TEXTURE IN GAME онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь TechNova45 22 Февраль 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 658 раз и оно понравилось 8 людям.