Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Modify health bar and lightly modify the health HUD code. #72

Merged
merged 1 commit into from Aug 9, 2018
Merged

Conversation

Rohesie
Copy link
Collaborator

@Rohesie Rohesie commented Aug 8, 2018

Kept the base code the same but modified the following:

  • When at 100% (full health) or -100% (dead) the health bar is invisible. The health icon already informs if the person is dead or alive, so we diminish visual pollution here.
  • The health bar updates in 10% health intervals from 100% to 50% health, and in 5% ones from 50% to 0%, to add granularity to low-health statuses, which are more important.
  • The health bar blinks slowly when under 5% health, faster when under 0% health, and even faster when under -50% health (crit range).

@Rohesie Rohesie changed the title Modify health icons and change the health HUD code. Modify health bar and lightly modify the health HUD code. Aug 8, 2018
Copy link
Member

@ninjanomnom ninjanomnom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like this whole switch to get replaced with a single formula at some point and just have a state every 5 steps but this is fine for now.

@ninjanomnom ninjanomnom merged commit 2e73256 into ColonialMarines-Mirror:master Aug 9, 2018
MrStonedOne added a commit that referenced this pull request Aug 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants