add valve.rc for hud specific + commands and change instructions on readme a bit

This commit is contained in:
Techno 2024-04-19 01:06:11 +01:00
parent 1fa23833de
commit fb22e99029
3 changed files with 30 additions and 4 deletions

View file

@ -1,14 +1,20 @@
# **INSTALLATION GUIDE YOU ACTUALLY NEED TO READ THIS I KNOW YOU THINK YOU CAN INSTALL A HUD BUT THIS NEEDS SOME EXTRA STUFF** # **INSTALLATION GUIDE YOU ACTUALLY NEED TO READ THIS I KNOW YOU THINK YOU CAN INSTALL A HUD BUT THIS NEEDS SOME EXTRA STUFF**
You can install the main hud file like normal, i.e., drop the "MenthaHUD" and "speedo" folders into tf/custom. However, you NEED to add to your config the following two commands (preferably in autoexec or whatever idk if it resets or not when you restart game): You can install the main hud file like normal, i.e., drop the "menthahud-main" folder into tf/custom. However, you NEED to add to your config the following two commands (preferably in autoexec or whatever idk if it resets or not when you restart game):
`tf_mm_dashboard_slide_panel_step 0` `tf_mm_dashboard_slide_panel_step 0`
`tf_dashboard_slide_time 0` `tf_dashboard_slide_time 0`
## recommended hud commands
1. use tf_hud_target_id_alpha 255 or else it breaks
2. I don't suggest changing the "HP Buff" color because I use it in a lot of other hud elements
This controls the animation when you click on "Casual" to queue, and the menu slides out from the side. For some bizarre reason this animation is permanently baked in so these two commands are the only way I can find (right now) that control it. The menu still slides back out of view when you close, and preferably it just vanishes but whatever. This controls the animation when you click on "Casual" to queue, and the menu slides out from the side. For some bizarre reason this animation is permanently baked in so these two commands are the only way I can find (right now) that control it. The menu still slides back out of view when you close, and preferably it just vanishes but whatever.
## Warnings and Precautions and Broken Things and Such ## Warnings and Precautions and Broken Things and Such
Firstly, I have made this hud using 16:9 1920x1080. In my videos using 4:3 windowed with no black bars or stretched, the main menu is a little bit weird. Still definitely usable as normal. I cannot guarantee it works nicely on ultrawide or other weirder resolutions, so just be warned if you do mess with your res. As well, I am running Windows 10. A friend tested this hud on Linux and some things broke due to file directory names including caps but they were also missing default TF2/HL2 fonts so their computer might have just been fucked to begin with. No idea. Just be aware if it breaks, I guess. Firstly, I have made this hud using 16:9 1920x1080. In my videos using 4:3 windowed with no black bars or stretched, the main menu is a little bit weird. Still definitely usable as normal. I cannot guarantee it works nicely on ultrawide or other weirder resolutions, so just be warned if you do mess with your res. As well, I am running Windows 10. A friend tested this hud on Linux and some things broke due to file directory names including caps but they were also missing default TF2/HL2 fonts so their computer might have just been fucked to begin with. No idea. Just be aware if it breaks, I guess.
Please note that because the above commands only controls how queueing for Casual looks, this means that as of right now **Competitive** and **MVM** queue screens are kind of messed up and I am too lazy right now to fix that given I have not queued for these gamemodes in forever. Arguably it would be a beneficial feature if the comp queue screen was so broken it was impossible to use. Please note that because the above commands only controls how queueing for Casual looks, this means that as of right now **Competitive** and **MVM** queue screens are kind of messed up and I am too lazy right now to fix that given I have not queued for these gamemodes in forever. Arguably it would be a beneficial feature if the comp queue screen was so broken it was impossible to use.

23
cfg/valve.rc Normal file
View file

@ -0,0 +1,23 @@
// load the base configuration
//exec default.cfg
// Setup custom controller
exec joystick.cfg
// run a user script file if present
exec autoexec.cfg
//
// stuff command line statements
//
stuffcmds
// display the startup level. Remove this if you're using background images instead of maps
startupmenu
// Required HUD commands
tf_mm_dashboard_slide_panel_step 0
tf_dashboard_slide_time 0
// Recommended HUD commands
//tf_hud_target_id_alpha 255

View file

@ -1,3 +0,0 @@
///Recommendations
1. use tf_hud_target_id_alpha 255 or else it breaks
2. I don't suggest changing the "HP Buff" color because I use it in a lot of other hud elements