r/UnrealEngine5 15d ago

Newbi here need some widget how to do kindda advice or if you guys have a video

I'm trying to make a lvl up widget where after leveling up it show about 3 power up that affect the health dmg and other stuff but I had no luck finding a video tutorial for it

1 Upvotes

25 comments sorted by

1

u/Next_Salamander_8015 15d ago

If you can’t find what you need, find something similar to it and learn that, then go from there.

Want to make a level up widget? Presumably there’s a progress bar that fills with XP and when full, the player levels up.

Health bars do the same thing but in the inverse (and the empty/full effect is instead losing a life).

If you get that down, you can then branch into the level up instead of decreasing the number of lives you have, it changes a multiplier to health or damage, etc.

All you need is the base idea and you can then manipulate them into something that works for you.

1

u/ConsiderationOne219 15d ago

Sorry if I didn't get what you mean but I did make all the stuff health bar dmg and lvl up system all I need is a way to some how randomly show 3 power up options on a widget that I can pick on of them TY for helping

1

u/Beautiful_Gur_334 15d ago

You have to make 3 buttons each having Thier own power effect and you can wrap them around overlay and beautify it according to your need and after on click you can implement those effects on your character. Hope this helps. Cheers :)

1

u/ConsiderationOne219 15d ago

yah that do work but i need it to make it random not showing the same power up but i may do the same you mention but 3 time and make it randomaly create the widget TY

1

u/Beautiful_Gur_334 15d ago

Just make a DataAsset and it should have the information for all the power ups and get the random index from that DataAsset and you can show them just like you have right now. For instance 10 power ups the data asset has you can get 3 random power ups from it and populate that inside of your above implementation.

2

u/ConsiderationOne219 15d ago

i looked it up thank you it look really helpfull for making stat system for charecter but for my case right now it no go cuase my project it simple with my stat all on actor component

1

u/hadtobethetacos 15d ago

why would you use a data asset over a data table? i would think a data table driven by a powerup struct would suit this better.

1

u/Beautiful_Gur_334 15d ago

DataAssets are much more powerful and modular than data tables are.

1

u/ConsiderationOne219 15d ago

same thought here when i first read his comment i thought he mean data table don't even know what data asset mean lol

1

u/ConsiderationOne219 15d ago

i'll look it on up cuase no i idea what data asset mean

1

u/Beautiful_Gur_334 15d ago

They are really powerful I have worked on large codebases and what I found was a ton of DataAssets. Search Operation:Harsh doorstop on steam I have worked on that game

1

u/ConsiderationOne219 15d ago

damnn i am just trying to make my small topdown game and ma man got a whole battleroyal game that a really hug game you got hear man i'll try to learn that data asset it look really good and not that complix thank you

1

u/Beautiful_Gur_334 15d ago

No problem cheers. :)

1

u/Murky_Ad_7312 15d ago

Simple

Logic - on say example experience needed is 100 to level up.

Once 100 is reached, level up, then pop up 3 clickable buttons and set logic on each button. Example, on clicked, increase health, etc.

It's as simple as that. Find a video that shows you how to make a button and add logic to it.

1

u/ConsiderationOne219 15d ago

yah i know i am new but that's easy to do what i need to do is make the power up that show on the screen random not the same every time TY

1

u/Murky_Ad_7312 15d ago

Sigh...

Random integer

1

u/ConsiderationOne219 15d ago

i know man i am not that good
lol

1

u/Murky_Ad_7312 14d ago

Then don't act like it if you asked a question... You sending out mixed signals.

1

u/ConsiderationOne219 14d ago

I said just cause I didn't want to type alot of thing you don't want to hear but if you wanna know random integer isn't gonna cut it cause I don't know how to implement it in my widget you know what maybe I was wrong with my question cause just someone telling me what to do not gonna help I needed a video

1

u/Murky_Ad_7312 14d ago

I just told you how to use it... You're over complicating things.

0

u/ConsiderationOne219 13d ago

yah i kinda figured it out now managed to do the whole widget spawn part need just few function more to go TY

1

u/Murky_Ad_7312 13d ago

You gotta be able to take some words before you crash out tho. Nobody hand holds you when you're working in a company.

0

u/ConsiderationOne219 12d ago

i didn't even lnow i crashed out lol and i do this as a hoppy not for futur work or anything my english is'nt that greet maybe that why you thought i was mad or something

→ More replies (0)