Health bar alpha w/class color #255


  • Enhancment
  • Declined
Closed
Assigned to michaelsp
  • _ForgeUser307722 created this issue Oct 3, 2011

    What steps will reproduce the problem?
    1. Set the color that represents full health to transparent black
    2. Set the color that represents empty health to opaque white
    3. Add current health to the health-color mapping (I hope I am describing this correct)

    What is the expected output?
    A health bar which goes from transparent at full health to opaque class color as it approaches 0 health

    What do you see instead?
    The two colors don't blend.  I will either get a bar with the appropriate class color or a bar that transitions between the colors in the first two steps depending on which mapping is on top

    What Grid2 version and language of WoW are you using?
    r624 English

    I don't know if it is possible or not to make two values additive as opposed to overwriting one another.

  • _ForgeUser307722 added the tags New Enhancment Oct 3, 2011
  • michaelsp posted a comment Oct 3, 2011

    Umm the health bar gradient is defined using 3 colors. Which color are you using for 50% health  ?
    Color1 is the color at 0% health
    Color2 is the color at 50% health
    Color3 is the color at 100% health
    Setting color2 to gray and 50% opacity the gradient seems ok for me.

    Notice that to apply the transparency effect correctly you must set full transparent the cells background color (Its is black by default) from General Tab.


    Edited Oct 3, 2011
  • michaelsp unassigned issue from _ForgeUser117147 Oct 3, 2011
  • michaelsp self-assigned this issue Oct 3, 2011
  • _ForgeUser307722 posted a comment Oct 6, 2011

    I was able to get the gradient working just fine. C1 black 100% opaque C2 grey 50% opaque C3 white 20% opaque

    What I was trying to achieve was C1 [class color] 100% opaque C2 [class color] 50% opaque C3 [class color] 20% opaque

  • michaelsp posted a comment Oct 6, 2011

    <<reply 398417>>

    Not posible.
    Health status is a status like any other status, it does not have a especial management.
    If you link both statuses (health and classcolor) to the health bar:color indicator, only the status with highest priority is displayed (the first in the list)
    To allow the requested enhancement a redesign of some parts of Grid2 is required. Sorry for now i am not going to do so big change.


    Edited Oct 6, 2011
  • michaelsp removed a tag New Oct 6, 2011
  • michaelsp added a tag Declined Oct 6, 2011
  • michaelsp closed issue Oct 6, 2011

To post a comment, please login or register a new account.