Giter VIP home page Giter VIP logo

Comments (6)

DamirPorobic avatar DamirPorobic commented on July 20, 2024

Can you post a top view Screenshot of your map and a screenshot of creating the widget with settings, im interested in seeing what parameters that you have set.

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

Ok, let's presume your texture is covering the area like on this screenshot (remember, your texture must be centered at the x=0 and y=0 of the UE4 Level.

screenshot_20160810_152108

The level dimension is the width between the red arrow. It could be tricky to find the correct width, you could place some dummy actor at the most left part of the area that the texture is covering, then, check his location on the X axis, take the value and multiply by 2. If the actor is located at x=2000, z=100, z=0 then you level dimension would be 2000 * 2 = 4000. Does that make sense?

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

can you explain this in a simpler manner?

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

You have a texture that represents some portion of the ue4 space, you are not covering all ue4 space that there is, only a portion that is interesting for your game. The texture that you have is not probably a 1:1 representation of your ue4 space, thats why we need the texture size and the size of the map that the texture represents so that we can calculate the proportion.

Back to the example, create any actor, place it at x=0 y=0 and z=0, then move this actor in ue4 space down the x axis (positiv or negative), as far as your map goes, check what the x value is, multiply it by 2 and use this value.

from ue4_minimap.

raghul1129 avatar raghul1129 commented on July 20, 2024

Thanks i got that working :).

from ue4_minimap.

DamirPorobic avatar DamirPorobic commented on July 20, 2024

cool, glad to hear that :)

from ue4_minimap.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.