Upvote Upvoted 34 Downvote Downvoted
BaseHud - start point for HUD development
posted in Customization
1
#1
0 Frags +

https://github.com/JarateKing/BaseHud

Something about huds I've noticed is that a lot of the foundations when making a new hud take a while to set up. Stuff like adding certain common materials, or adding a blank font, or using some anim fixes are just busywork that distract from actually working on a hud. And while a lot of work has been done in the past few years to make working on huds easier (including using #base to split up files or setup auto-update scripts, or putting new closecaptions in a 'closecaptions_' folder to clean it up, or doing localization edits in chat_english.txt) most huds don't even attempt them because there's a lot that needs to be done before you get anything from them.

So for the past while I've been working on a starting point for huds that does all this tedious setup for you. It should provide any hud dev with a consistent, clean, and well developed base. And it should provide lots of features that may be hard to figure out or implement, without needing any extra work on your part.

Some notable features:

  • clean directory structure
  • large bank of basic materials and refract images
  • includes an auto-update script, for both windows and linux
  • full setup for closecaptions editing (compiler script, example source, and multiple options)
  • localization customization (with chat_english.txt and a language converter script)
  • different cfg options provided
  • preloaded cp_icons images
  • option to remove the screen dimmer that appears when you press the play button

What this doesn't do:

  • Change the default hud appearance any. You still edit it as if it were the default hud, you just have a lot of the setup and access to certain features available. This is a tool for hud developers, not a custom hud.
  • Force any design decisions. The file structure is split up and pretty laid out in a clean way, but it doesn't make the hud's design follow any specific pattern or abide by any limitations.
  • Be specific to any particular update. Everything this basehud does is pretty low impact and unlikely to become out of date -- the only parts that frequently get updated are covered by the auto-update script.

Links:
Readme
Usage Guide

If you want to use this, you can download the zip or you can fork the repo and edit it from there. And if you find any issue or something to contribute, either message me, create an issue on github, or fork the repo and make a pull request.

https://github.com/JarateKing/BaseHud

Something about huds I've noticed is that a lot of the foundations when making a new hud take a while to set up. Stuff like adding certain common materials, or adding a blank font, or using some anim fixes are just busywork that distract from actually working on a hud. And while a lot of work has been done in the past few years to make working on huds easier (including using #base to split up files or setup auto-update scripts, or putting new closecaptions in a 'closecaptions_' folder to clean it up, or doing localization edits in chat_english.txt) most huds don't even attempt them because there's a lot that needs to be done before you get anything from them.

So for the past while I've been working on a starting point for huds that does all this tedious setup for you. It should provide any hud dev with a consistent, clean, and well developed base. And it should provide lots of features that may be hard to figure out or implement, without needing any extra work on your part.

Some notable features:[list]
[*] clean directory structure
[*] large bank of basic materials and refract images
[*] includes an auto-update script, for both windows and linux
[*] full setup for closecaptions editing (compiler script, example source, and multiple options)
[*] localization customization (with chat_english.txt and a language converter script)
[*] different cfg options provided
[*] preloaded cp_icons images
[*] option to remove the screen dimmer that appears when you press the play button
[/list]

What this doesn't do:[list]
[*] Change the default hud appearance any. You still edit it as if it were the default hud, you just have a lot of the setup and access to certain features available. This is a tool for hud developers, not a custom hud.
[*] Force any design decisions. The file structure is split up and pretty laid out in a clean way, but it doesn't make the hud's design follow any specific pattern or abide by any limitations.
[*] Be specific to any particular update. Everything this basehud does is pretty low impact and unlikely to become out of date -- the only parts that frequently get updated are covered by the auto-update script.
[/list]

Links:
[url=https://github.com/JarateKing/BaseHud/blob/master/README.md]Readme[/url]
[url=https://github.com/JarateKing/BaseHud/blob/master/USAGE.md]Usage Guide[/url]

If you want to use this, you can download the zip or you can fork the repo and edit it from there. And if you find any issue or something to contribute, either message me, create an issue on github, or fork the repo and make a pull request.
2
#2
0 Frags +

that's super dope, can't wait to take another crack at making a hud

that's super dope, can't wait to take another crack at making a hud
Please sign in through STEAM to post a comment.