Hello,
I've been trying to display a few custom Battle Statistics I've made but was unsuccessful.
I'm currently showing the statistics via HUD using ORK HUD Status Text Content component. More -> ORK -> Statistic Custom (#)
It's always ending up being 0. The other statistics that are not custom shows their number just fine.
I've made sure battle reset is not checked.
(The statistic Custom is for HP - Damage given)

Any help is appreciated, thanks!

EP
  • edited February 28
    The ORK HUD Status Text Content component is used for displaying specific information on a provided content, e.g. a combatant, ability, item, etc.
    You can use it for displaying other information as well, but it still requires the correct HUD content to be passed to it to display content.

    For general information, e.g. global variables or statistics via text codes, you can use the ORK HUD Text Content component. This doesn't require a specific content to display.

    The rest is up to using the correct text codes for the content you want to display.
    Post edited by gamingislove on
    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!
  • Thanks GIL! I was able to make it work. Although because it's a HUD for Battle End [Battle End -> Loot Dialogue -> Notification: Loot (Display Type All) -> Dialogue Settings -> Loot Content -> HUD] it's not grabbing any combatant to display their statistics. I have 3 combatants in a party and want each of them to show their own damage statistic. Any way I can make this work?

    @gamingislove
    Another issue I've found is that the ORK HUD Status Text Content component -> Status Type -> Cost does not update in real time on value change. I've made sure to have Use Time Update checked to 0.1 but still nothing.

    Thanks!

    EP
  • EtherealPlayer said: I have 3 combatants in a party and want each of them to show their own damage statistic. Any way I can make this work?
    Sure, e.g. set that up as a separate Combatant type HUD and display it via HUD conditions (e.g. game state or variable conditions) just when showing the battle end loot dialogue.


    Can you give me more details on your setup, e.g. which kind of HUD/content is using it?
    Generally, the Cost type is used for showing only costs, i.e. research item costs, shop buy/sell prices or use costs of abilities/items. E.g. as part of a combatant HUD it'd most likely just display the price for that 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!
  • Thank you @gamingislove , that solved my problem!

    As for the cost, it's using HUD List Cost -> Upgrade Cost for research tree
    And it's being used for showing the upgrade cost of an equipment. Both of them works fine, except when an upgrade is being done to an ability or an equipment, you'd have to click away from that selection, and select it again in order for the cost to update showing the cost of the next upgrade.

    EP
  • I'll check it out - is that HUD part of the menu setup or a separate thing?
    The menu should refresh and update it's content on upgrades.
    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!
  • The research tree is part of a menu screen setup
    While the upgrade cost is also from a menu but the upgrading is being triggered by a schematic.
    The HUD itself is called via the menu screen as Description (option) to display the cost. It does it's job except when an upgrade is done on the equipment, it does not refresh.

    EP
  • Research trees don't really upgrade equipment - unless you're using a research item that creates a new equipment (e.g. consuming another one as cost). This creates a brand new equipment, though.

    I'll need more details on your setup (research item where this happens), or a Unity test project where I can check it out and test it.
    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!
  • Sorry, I should've been more specific the research tree is for abilities
    While the upgrading from schematic is for equipment.

    I'll be creating a test of my project very soon with a small list of issues I'm unable to resolve.
    Thanks!

    EP
Sign In or Register to comment.