Does it require verse,is there any tutorial that I can follow?
Hello,
Check out the Star Wars Roleplay template for an example of UI implementation.
I do see a verse ‘quest_manager_device’ in the project, so to answer your question - yes some verse is likely involved. (At least as the bridge between game logic and UMG)
I realize that pointing you to a complex template is not ‘beginner friendly’ - But if you start tearing into this template (try to make small changes and see how they manifest) while also learning the fundamentals - that should put you on a path to leveling up your UI knowledge.
There’s been many UI/UMG features added recently - so I’m not sure which tutorials to point you towards.
@Astrotronic What I wish to make is the currency ui on the right side of this photo
Were you able to download that template? The widget ‘UW_UI_Stats’ looks to be the simplest. (If you’re taking a top-down approach to modifying existing StarWars UI assets, otherwise a ‘bottom up’ approach of figuring out how to display and update a number in UMG is also a valid path)
It’s funny you mention the currency specifically, I saw that credit symbol yesterday and went searching for it in the assets. I could not find it…
I think it’s unprecedented to be given ‘official access’ to such a legendary IP, so I’ve been engaging with Forum members who are asking questions about the brand rules.
So I’m reminded of rule 2 " You are not permitted to create your own version of a Star Wars Asset or new assets based on Star Wars or Star Wars Assets…"
If infact that symbol is not included, would creating a credit symbol violate the rules? Is that symbol necessary for your vision of a UI element that displays currency?
I don’t know if the symbol is included…that’s why I asked…but I think making your own assets is not permitted
@Astrotronic I am trying to make a custom ui for displaying coins for my own Star wars island so that’s when I came up on this post …
I was also searching for that symbol in the content drawer but I couldn’t find it
This may be the wrong path to go down: but have you considered using the built-in resource type ‘Gold’?
Drop a Vending Machine device into your island to see what I’m talking about.
Zooming out a bit - Why are you including a currency system? - How do you earn currency? What do you spend currency on?
@Astrotronic I have set the game to earn gold on elimination and the player can use gold for activating conditional buttons in the map which grant hero ability to the player(using hero devices) so I wanted to modify the default gold ui with something different as I did not like the default ui(because it’s not starwars themed)
Ok, that makes sense.
So I think the first step would be finding a way to link the players gold resource to a custom UI Widget.
I’m unsure if it’s possible to query the current players gold (or wood/stone etc) - hopefully someone else can educate me on this. (Ideally there would be a function somewhere in the API)
I’m not experienced with UI in the context of UEFN, but I’d start by following some video tutorials in a new/separate project to better understand the ‘moving pieces’ - as a hack/workaround I can imagine creating your own custom UI that covers up the undesirable fortnite elements. (but then you get into strange territory when players run at different resolutions/UI scales)
@Astrotronic what is an API(btw I have zero experience in verse) and also is there a way to modify the ui layout only for mobile because my UI(just default UI with the new starwars health bar and quickbar which was included in the stars template) works fine in PC but the layout in mobile ( I playtest in mobile and PC)is weird.(the default gold UI does not show and the UI which shows elimination s is on the top corner of the screen and half of it asked s cut off)( i modified it’s placement to be little more to the top just below the map and I disabled the map so that I can have the scoreboard there)it works on pc but not on mobile
As far as I know the only control we have over the mobile UI is the ability to hide certain elements. Making a UI that works well on PC and mobile is a can of worms within itself!
The API is like a bridge between you and the things in the world. Like in the example of the fortnite character there are a collection of functions to get specific information from it (and also functions to do specific things to it)
So in the example of resources/gold - I’m looking for a function like ‘GetCurrentGold’ or even something like ‘GetCurrentResources’ which would return Wood/Stone/Gold and then you’d just use the gold part of it.
fort_inventory_resources_component seems to be the closest match, but it will require some figuring out. For example - ‘FindItem’ is a function - but is gold considered an item? ‘FindInventories’ is a function - but are the players resources considered a sub-inventory?
It’s way less beginner friendly - but I think the path that would allow you the most control will be abandoning the built-in gold system, and rolling your own currency system - at that point you could completely disable the built-in UI and create completely custom ways to display it. (I think this is what @EsmeeSays is doing in the screen shot you posted)
@Astrotronic Then how do i integrate my custom coin system with conditional buttons(example: showing the custom currency’s icon on the conditional button’s hologram, triggering the conditional buttons only if I have 15 coins)



