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)
@Astrotronic and also, is there a way to make the jedi rank system (from the photo) without verse
@Astrotronic pls help
Hey EagleEye,
Sorry for the delay, I was out of town for a bit.
About the conditional button - thatâs a really good question. I think the answer to it is âYou canâtâ (Since the device works with a pre-defined list for âKey Itemsâ)
If you wanted to explore that path - the first question would be if âCustom Itemsâ (Super new as of v40.20 would appear on that list)
As for a rank system - the Score Manager, Tracker and Stat Creator devices come to mind. (Not necessarily to be used together, but just as built in systems that could potentially be used to track progress)
@Astrotronic I have a problem with my mapâŚthe conditional button in my map gets destroyed when using force throw near itâŚI have conditional buttons in my spawn roomâŚso I tried disabling weapon fire using mutator zones but for some reason mutator zones allow using force throw ability even when weapon fire is off
Do you have a solution to this?
The Force Throw issue would be considered - âoff topicâ for this thread, so consider making a new thread for things not relating to UI.
That reminds me of this bug - Itâs not clear if it was closed as a duplicate of another bug on these Forums, or of a bug just in Epics internal bug tracking system - but it is known.
I like to imagine that a bug with such game-breaking potential will be high priority. The next update is scheduled for 4/30 - Itâs dangerously close to Star Wars Island launch opening, but rolling the dice and crossing your fingers for a fix might be the best course of action here. - Having a plan to temporarily disable Force Throw would be good to go along with that plan. Let me know after the update on the 30th if youâre still seeing this.




