So I have an image on the same Widget that I want to show underneath the text. How would I add this to the code seeing as the code currently is only adding the text and nothing else in the widget.
where's the canvas tutorial that you mentioned on 7:58 ? I couldn't find it is this one "Interactive UI Buttons in UEFN/Fortnite Creative [Tutorial]" ?
Thanks it helps me a lot and save me lot of money. For me its not posible to code by my self and i cant find friends to create maps with me, its sad because i have in plan big projects but solo its imposible to do it next to work.
Hey i want to make custom currency wich is not gold and not an item in the game. And idk how to do it. I tried to make it when i earn gold the number goes up and it didnt work.. pls help
Thank You Great Video by the way I Subscribed, I'm new to verse, So would i copy MyCanvas:=canvas: and below then just copy in the offsets for the New Text Block that i would put into the Widget?@@MaestroShark
@@Cobbfather rather than copy the canvas, add another canvas_slot below the other one, set up your margins and add another text_block widget. Make sure you update the text and store that text_block to allow you to update OR as an easy alternative if this is above/below your gold text, you can just add the text onto your current text_block: for example, “Gold: {NameOfTheGoldCountVariable} Other Resource: {NameOfOtherResourceCountVariable}” Etc. just make sure you’re using the right conditional button slot to get each counted variable and note that is the code for a newline, so when displayed it would show: Gold: 0 Other Resource: 0
I was trying to make this code for multiplayer but when we start the game the gold amount start switching between how much i have and how much other players have , can you help me to fix it ?
Love the tutorial, was wondering if you could do a small tutorial explaining how we could show multiple counters (For multiple resources)?, i managed to fix the anchor but confused slightly on how to approach the multiple counters part.
Just a simple copy and paste and changing of variables to make multiple counters. In the ui function, add a new text block widget, in the updating function include that text block widget
@@MaestroShark I tried duplicating and editing the text block widget but kept getting stuck on errors. I'm extremely new to verse, i joined the discord asking for help. I would really appropriate it if you could show me what you mean.
@@umf4798Yeah just keep working at it. Like he said, make sure your variable names aren't the same. Keep working at it!!! Coding is not easy at all and he does a great job of explaining things, so just keep watching and learning
“Unreachable” likely means you have a break or return statement before the return statement you want to use. Otherwise you likely defined the function out of scope. If you’re struggling, get the first canvas function working, copy and paste it then change it for your second canvas
i followed exactly, but the text didnt update. so i copied your code from the link, and tried that, and it still didnt update. any idea why? EDIT- ok, so i ended up opening a new project and trying it, and it worked, so idk what was happening. also in the previous project i was having an issue where, when i would build verse code, and up top where it says to push verse changes, it also kept saying that i needed to push the games changes. and after id do that it still say the same thing. what exactly causes that to happen? cuz that could of been the issue i was having.
I have a seperate widget hud which is a overlay and the resource counter is showing under the overlay is thereee a way I can makee the resorce counter layer above the hud layer
Swap the order they’re at in your overlay widget. I can’t remember what the order rules are but if you swap their code the counter should appear on top.
Unfortunately not, that’s a feature Epic should work on! It does resize when hud scale is increased in player settings but obviously that can’t be controlled
@@MaestroShark any ideas on this? It's been driving me crazy and I can't find any explanations. I noticed if I pass the UI an integer it has commas but a string doesn't is there a way to convert it to an int?
@@artbytav you can use simple integer math to separate into multiple variables. For example: MyInt = 937,400,290 MyString = “” Val := MyInt/100000 (which would be 937) (If Val>0): string += “{Val},” And so on
@@MaestroShark Thanks so much! I’ll give this a try. I’m an artist so I’m slowly trying to wrap my head around all this verse code. It would be great to see how this integrates into the code in your video/pastebin.
Learn Verse? Months of just experimentation, and reading the verse api to figure out what I would need. Learn this? I already knew how UIs worked so all I needed to do was set one up and know how to count resources
very good video ! i wished that "get agent count" for score, eliminations. eliminated and other things was a thing or is it possible somehow? would make life so much easyer
This is exactly what I needed haha! Thank you Maestro!
So I have an image on the same Widget that I want to show underneath the text. How would I add this to the code seeing as the code currently is only adding the text and nothing else in the widget.
Great tutorial, UEFN definitely needs a device for this
your the best 3 tutorials down awesome
Has anyone solved the problem of the HUD scaling? So the UI doesnt change position when HUD scaling
where's the canvas tutorial that you mentioned on 7:58 ? I couldn't find it
is this one "Interactive UI Buttons in UEFN/Fortnite Creative [Tutorial]" ?
how do I move where the text is or make it bigger
This UI method seems to have stopped displaying on my map after the 28.10 patch yesterday. Are you getting the same thing? is there a workaround?
if I want 2 different resources and not just 1, Do i need to do another exact one ? (verse code)
To Widgets the scale correctly, use the "Overlay" panel
How do I write that in verse?
Can you make a tutorial on voting system with ui in verse
Hey thanks! But why this code is not working for multiplayer?
What would measmurements be to make it left centre and give it an outline? im new to this but great tutorial u get my sub
Awesome tutorial, thanks!
Also do you know how to round up the numbers? instead of showing 1000000 it shows 1M ?
Thanks it helps me a lot and save me lot of money. For me its not posible to code by my self and i cant find friends to create maps with me, its sad because i have in plan big projects but solo its imposible to do it next to work.
thanks for sharing the code!
Are you going to do an event concept?
Unfortunately not, all the cards were against me. I’m hoping to make one this winter.
Hey i want to make custom currency wich is not gold and not an item in the game. And idk how to do it. I tried to make it when i earn gold the number goes up and it didnt work.. pls help
Excelente tuto Bro sigue así te mando saludos y bendiciones
Hello! Could you make a gold/sec indicator as well, it would help a lot!
How do I get over 3 layers in paint?
Pls I need help I need to make this map quickly but I don’t even have the dirt paint layer
How would you add a counter of coins per seconds not total value
How do you set gold in the inventory using verse tho?
Is there a way to add a black frame behind it like a black background in a box
Using overlays, yes. You can take a look at this tutorial which is an improved version:
ruclips.net/video/pi6yf1_kS0M/видео.html
now what if we wanted multiple counters for different items? Exm: coins, eggs, etc.?
Same process, just add another text block, another canvas slot, and test with a different slot of the conditional button.
So do you mean add these into the current verse code or create a new verse file same process?@@MaestroShark
@@Cobbfather you can easily add these into the same device.
Thank You Great Video by the way I Subscribed, I'm new to verse, So would i copy MyCanvas:=canvas: and below then just copy in the offsets for the New Text Block that i would put into the Widget?@@MaestroShark
@@Cobbfather rather than copy the canvas, add another canvas_slot below the other one, set up your margins and add another text_block widget. Make sure you update the text and store that text_block to allow you to update
OR as an easy alternative if this is above/below your gold text, you can just add the text onto your current text_block: for example, “Gold: {NameOfTheGoldCountVariable}
Other Resource: {NameOfOtherResourceCountVariable}”
Etc. just make sure you’re using the right conditional button slot to get each counted variable and note that
is the code for a newline, so when displayed it would show:
Gold: 0
Other Resource: 0
I was trying to make this code for multiplayer but when we start the game the gold amount start switching between how much i have and how much other players have , can you help me to fix it ?
when you like buy something with the gold dose it go less
Love the tutorial, was wondering if you could do a small tutorial explaining how we could show multiple counters (For multiple resources)?, i managed to fix the anchor but confused slightly on how to approach the multiple counters part.
Just a simple copy and paste and changing of variables to make multiple counters. In the ui function, add a new text block widget, in the updating function include that text block widget
@@MaestroShark I tried duplicating and editing the text block widget but kept getting stuck on errors. I'm extremely new to verse, i joined the discord asking for help. I would really appropriate it if you could show me what you mean.
@@umf4798Yeah just keep working at it. Like he said, make sure your variable names aren't the same. Keep working at it!!! Coding is not easy at all and he does a great job of explaining things, so just keep watching and learning
how did you fix the anchor thing?
@@merdo4611 It can't be fixed but you can recommend the hud scale so its always in the same place
I'm trying to add a second canvas for my map, but it's saying unreachable code when I try to return the 2nd canvas
“Unreachable” likely means you have a break or return statement before the return statement you want to use. Otherwise you likely defined the function out of scope. If you’re struggling, get the first canvas function working, copy and paste it then change it for your second canvas
i followed exactly, but the text didnt update. so i copied your code from the link, and tried that, and it still didnt update. any idea why?
EDIT- ok, so i ended up opening a new project and trying it, and it worked, so idk what was happening.
also in the previous project i was having an issue where, when i would build verse code, and up top where it says to push verse changes, it also kept saying that i needed to push the games changes. and after id do that it still say the same thing. what exactly causes that to happen? cuz that could of been the issue i was having.
Can you make a tutorial on making custom health and shield bars?
Great tutorial 🖖💯
I have a seperate widget hud which is a overlay and the resource counter is showing under the overlay is thereee a way I can makee the resorce counter layer above the hud layer
Swap the order they’re at in your overlay widget. I can’t remember what the order rules are but if you swap their code the counter should appear on top.
@@MaestroShark can you explain it more?
thanks a lot bro for this vid !!!
Thanks very much! Is there any way to resize the text?
Unfortunately not, that’s a feature Epic should work on! It does resize when hud scale is increased in player settings but obviously that can’t be controlled
How can you make it shorten the numbers? eg 40.5k instead of 40500
divide number by 1000 and add k at the end
@@ninofranci3922 im getting loads of zeros at the end on my float when i do that, how can i get rid of these
I madea frame for the text, but the text appears behind of the image, any ideas?
That’s my issue, hope he responds
did you fix it?
This is great, thanks! How do I get MyResource to show up with commas i.e. 1,000,000 instead of 1000000?
That’d be a great mini-tutorial, I’ll link it for you sometime soon
@@MaestroShark any ideas on this? It's been driving me crazy and I can't find any explanations. I noticed if I pass the UI an integer it has commas but a string doesn't is there a way to convert it to an int?
@@artbytav you can use simple integer math to separate into multiple variables. For example:
MyInt = 937,400,290
MyString = “”
Val := MyInt/100000 (which would be 937)
(If Val>0):
string += “{Val},”
And so on
@@MaestroShark Thanks so much! I’ll give this a try. I’m an artist so I’m slowly trying to wrap my head around all this verse code. It would be great to see how this integrates into the code in your video/pastebin.
how did you learn this
Learn Verse? Months of just experimentation, and reading the verse api to figure out what I would need.
Learn this? I already knew how UIs worked so all I needed to do was set one up and know how to count resources
Amazing tutorial! Is there a way to contact you to ask a few questions?
You can contact @MaestroShark on discord
what is done in 5 minutes to manage to record for 40 minutes, you still have to try so hard)
23:00
😭
very good video ! i wished that "get agent count" for score, eliminations. eliminated and other things was a thing or is it possible somehow? would make life so much easyer
You can use a score manager to get player score. Eliminated/eliminations can be tracked with a tracker device
WOW lol i have made triggers updating the hud ui must check that out! thank u maestro@@MaestroShark
@@jahshaka2000 can you give me the code for the elimination tracker ?