Giter VIP home page Giter VIP logo

global-health-indicators's Introduction

Global Health Indicators (GHI)

Logo

What is it?

Global Health Indicators is a simple Gmod addon to display the health of everyone on the server on the HUD. This will show the health and health change of everyone on the server in real-time and can be used to test the damage of your weapons.

example

NOTE: This addon is very rough around the edges, meaning that it's basically a minimum viable product and should really only be used to test your weapons, traps, etc. on your TEST servers.

Convars

Client:

  • ghi_enabled 0/1 - Toggles the panel on the HUD.
  • ghi_draw_health_text 0/1 - Toggles the health text.
  • ghi_draw_last_damage 0/1 - Toggles damage text.

Server:

  • ghi_sv_enabled 0/1 - Toggles the health monitoring on the server-side.
  • ghi_sv_console_log 0/1 - Toggles damage logging in the server console.

Links

Steam Workshop

Known issues

  • [TTT] If there's only one person on the server as a spectator, the background would still be drawn.
  • Sometimes on new player connection, the HUD doesn't update properly.

Licence

Feel free to use and modify the code to your own liking, following the guidelines of the MIT licence.

global-health-indicators's People

Contributors

ksprugevics avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.