Skip to content

MinimapOverlays and bug fixing.

Compare
Choose a tag to compare
@manups4e manups4e released this 08 Aug 18:50
· 426 commits to master since this release

We are super glad to announce that thanks to @wowjeeez we just started to port ScaleformUI to the JS community! Keep an eye to the commits and releases! ScaleformUI for the V8 community is coming!!!!! 🥳 🥳 🎉 🎉

This release brings you the super awesome ability to stream any texture you want (both ytd and DUI) on Pause Map and Minimap!!

image

We added both in Lua and C# the new mega extreme MinimapOverlays class!
2 simple methods/functions to throw your aweomse textures in minimap!

  • AddSizedOverlayToMap(string textureDict, string textureName, float x, float y, float rotation = 0, float width = -1, float height = -1, int alpha)
    and
  • AddScaledOverlayToMap(string textureDict, string textureName, float x, float y, float rotation = 0, float xScale = 100f, float yScale = 100f, int alpha = 100, bool centered = false)

The difference between the 2 is very simple:

  • The first.. lets you decide the pixel size override of your texture (for example, the texture is 1920x1080 but you want it at 400x600) (default values are -1 to keep the size to the original texture)
  • The second one lets you scale your texture (from a starting default value of 100 , you can downscale or upscale both width or height in percentage)
    Lua users, don't worry.. you're not bounded to set only float values, ScaleformUI rounds every value adding a float if you push an integer value!

⚠️ Important change: for C# Devs (will be added to Lua too in next updates) we just started, with the help of @QuadrupleTurbo, to add checks for empty menus by throwing errors in the F8 console, this is to avoid adding empty menus to the handlers, empty menus are useless and definitely avoidable as give players only confusion. So consider checking if the menu is empty or not before drawing it if you don't want to get an error! Also.. no.. building your menu with the OnMenuOpen event is stupid.. because the menu is internally sent to the Scaleform before that event is fired!

What's Changed

New Contributors

Full Changelog: 4.2.0...4.2.3

⚠️⚠️ As always please make sure to update the ScaleformUI_Assets resource to be able to use this release! ⚠️⚠️

❤️❤️ If you enjoy my work and my menus, and you want to support me, you can contribute by donating via PayPal / ko-fi or by buying ScaleformUI on Tebex (You decide the price!)