Hi GiL,

I'm trying to show the bestiary stats as a range of stars.
I've been trying to use TMPRO by intercepting the value, and adjusting the text based on that. But having a terrible time with it rendering the wrong amount of stars for the same value on different prefabs.
ANYWAY, after some searching I see that ORK has a icon bar that by the sounds is used for this sort of thing. Could you help with setting that up please?

I'm trying to create my icon prefab, however the HUD Value bar wont accept any of my images (they're all png files of a sprite texture type)
  • That image slot in your screenshot is for the actual game object with an Image component.

    A quick and dirty way we did something similar (rarity of 1-5 stars) was just add all of the stars as child objects as the HUD, then added a HUD condition on each where they only showed if the given status value matched (rarity = 1, only show the 1 star object, etc.).
  • edited September 14
    @Acissathar Thanks for the info about that game object. was missing piece of the puzzle I needed. I've done effectively the same thing, I guess.

    image

    So ValueBar1 shows if value is 0 - 5, ValueBar2 shows 6 - 10 and ValueBar3 shows 11+

    I had to add the value check in there as well for it to work (only show the star if value is larger than XX)
    Post edited by fourscoopsplease on
Sign In or Register to comment.