edited August 24 in ORK Support
hi, im following this Individual combatant HUD for ORK 2 but i noticed a lot of things in the menu are changed and i couldnt figure out how to do this properly

i made a HUD game object using Status Value with + - changes - Name+Value+Bar (for prefabs) and make a new HUD in ORK UI-HUDs called HP Bar with these settings
settings

then i put HPBar game object on my combatants and positioned it under cursor and above Head of the combatant prefabs.

1. my HUD prefab exist in the scene ,is activated when my target in on game camera view, and can follow the target when i rotate camera (this far i think my HUD setting is fine), but the Value Bar always gets disabled so i cannot see the value bar at all, how can i fix it? i tried enabling the name and value objects but they didnt display anything either.
from what i understand, ork managed to detect the combatant (Status Value object that contains HUD Status object component is enabled), but i dont understand why the name, values, and value bar are all disabled..
2. i put around 30 enemies with combatant spawner in my turn base battle (change to battle scene), but there are almost a hundred of my HUD cloned prefabs.. how can i tell ork to delete it when changing scene so it wont pile up?

Post edited by rmagn on
  • edited August 24
    Hi @rmagn,

    Here is the Ork3 tutorial on it

    https://orkframework.com/guide/tutorials/3d-action-rpg/08-huds/

    Sounds like what you're doing is quite a bit different as this way puts the HUD object on combatant.
    Post edited by GeneralK on
  • edited August 25
    Hi @GeneralK ,

    i tried following the tutorial
    the combatant name is displayed but the value bar is disabled
    result

    setting1
    setting2
    i think the combatant is detected, the HUD settings also good since the prefab was instantiated.
    is there any way how to find out the problem and how to fix this?
    Post edited by rmagn on
  • edited August 25
    @rmagn looks like you're using a status value prefab from something else. It has Show Status Bonus checked, which is for showing Bonus Status Values from like equipment. You also have previews being used which I don't have in my Enemy HUD. Maybe you copied a Status Value component from your Combatant HUD showing character stats?

    Looking at the tutorial it just says to "ORK Framework > HUD > Status Value > Status Value with +- changes – Name+Value+Bar (single)" and I don't see it mentioning changing those settings for preview / show bonus.
    Post edited by GeneralK on
  • hi @GeneralK ,

    you were right, i unchecked the show status bonus and change the previews to current and it now works. i was thinking i could use them without changing the prefab.. is there a proper tutorial on how to use show status bonus and use the preview?
  • For showing preview values, you just need to use the Preview value origin in the content components. They'll display the preview values if available, otherwise the current value.

    The Show Status Bonus option is only used to show pure status bonuses, e.g. an equipment's status bonus or the status bonuses of a combatant. So, basically just enabling that option to show bonuses instead of the current status value of the combatant.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.