GI JOE RPG Launch
  1. #1
    Vass_Dts's Avatar
    Join Date
    Feb 2017
    Location
    Greece or Iceland, depending on the time of year.
    Posts
    173

    Temporary Hit Point color in dark themes is not adjusted.

    A picture is worth a thousand words: hpDARK.jpg

    So, essentially, Temp HP are not visible in the dark theme.

    I know that this is what we use to have a dark theme alter its HP colors for dark palettes:
    Code:
    ColorManager.setStandardDarkUIHealthColors();
    And I know because I stole it for my own dark theme. Now, I could have sworn it used to change the Temp HP color but it's possible I am not remembering correctly. Even so, there ya go.

  2. #2
    Are you sure that you are not overriding some colors somewhere else? This is what I see in the Core - Dark theme, which only uses that function to recolor.

    Regards,
    JPG
    Attached Images Attached Images

  3. #3
    Vass_Dts's Avatar
    Join Date
    Feb 2017
    Location
    Greece or Iceland, depending on the time of year.
    Posts
    173
    The screenshot was from core dark but I can’t remember if that particular campaign was extensions-free. I’ll check later tonight when I get home and I’ll let you know.

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,954
    These are two different places - Moon Wizard's screenshot is from the Combat Tracker, not 100% sure where the composite image in post #1 is from - maybe a bit more information on that please?
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  5. #5
    Good point.

    For those fields/templates not on CT, make sure that you remove any hard-coded color tag; and add this code:
    Code:
    					function onInit()
    						setColor(ColorManager.getUIColor("health_shield"));
    					end
    Regards,
    JPG

  6. #6
    Vass_Dts's Avatar
    Join Date
    Feb 2017
    Location
    Greece or Iceland, depending on the time of year.
    Posts
    173
    My original screenshot was from the character sheet and it was using the default core themes (and it was a campaign with no extensions).

    So, from the top: This is a screenshot from a campaign with no extensions and using the Core Dark theme displaying both the character sheet and the CT tempHp_2.png

    The colors are okay on the CT, not on Character Sheet. I'm not sure where I'm supposed to place that code in my own themes, but it seems it has to be placed in the core dark theme as well

  7. #7
    Yeah, I think many of the character sheet temphp fields have not been updated to use the new health color tagging I registered for exactly this purpose. I'll be doing a full review this weekend of all the rulesets that we directly support, or that I have permission to modify from the developer.

    If you see any other rulesets not respecting that after next Tuesday's update, you can ping the developer to have them look at this thread.

    Regards,
    JPG

  8. #8
    Vass_Dts's Avatar
    Join Date
    Feb 2017
    Location
    Greece or Iceland, depending on the time of year.
    Posts
    173
    Gotcha, thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Fantasy Grounds Merchandise

Log in

Log in