Skip to content

Repository files navigation

HLTV Health bars

A tool for watching HLTV demos and live HLTV servers. Mostly used by Counter-Strike 1.6 streamers in the 2010s.

Screenshot of a HLTV Healthbars Overlay

Features

  • Set up team names and flags
  • Team total score
  • Round & bomb timers
  • Fancy scoreboard with headshot count (binded to o by default, see 720.cfg)
  • Health bars
    • Side
    • Nickname
    • HP
    • Current weapon
    • Bomb/Defuse kit
    • Reloading status (Weapon icon turns orange)
    • Bomb planting (C4 icon turns orange)

Usage

  1. Download the latest release
  2. Extract the archive into your counter strike 1.6 folder (replace existing files, it's harmless, but you may want to make a backup first)
  3. Run the game
  4. Inject the dll in <your game folder>/hltv_healthbars/hltv_healthbars.dll to hl.exe process using Extreme Injector or any other suitable tool
  5. If you run page in 1280x720 resolution then just open in-game console and type exec 720.cfg
  6. Connect to HLTV server with hltv_connect IP or play a demo
  7. Type hltv_help to print available commands
  8. Enjoy
  9. (optional) Download & install Roboto Condensed font from Google Fonts
  10. (optional) If you do not want to run the game in 1280x720, copy 720.cfg and adjust accordingly

Tested on

Protocol version 48
Exe version 1.1.2.6 (cstrike)
Exe build: 16:05:41 Jun 15 2009 (4554)

Unfortunatelly, newer versions of the game are not supported (yet).

NOTE THAT

  1. You will get VAC-banned if connected to the game server.
  2. You will not get VAC-banned if you play a demo or connect to HLTV server.
  3. Therefore connect command is disabled and renamed to hltv_connect however, it does not distinguish between HLTV server and HLDS.

Building from source

  1. Clone this repo with git clone --recursive https://github.com/ValveSoftware/hltv_healthbars.git
  2. Load cmake project and compile

Contributing

Issues and pull requests are welcome in any form

References

Most of the code is based on the source code once published on gamedeception.net by some dick jones. The original code is stored in kallkod branch along with some references.

I believe that's the original post was on currently unavailable page 5 of this thread:

Health bar design heavily inspired by RomkaNAT version

Country flags are provided by awesome hampusborgos

Timer icon is provided by Fontawesome

About

HLTV Health Bars Overlay - a cute and informative way of watching Counter-Strike 1.6 HLTV lives or HLTV demos

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages