Garry's Mod

Garry's Mod

Team Fortress 2 Hud For GMod | REMADE
 This topic has been pinned, so it's probably important
Турельк  [developer] 16 Jul @ 10:43pm
BUGS
Report your bugs here! (If you have any) :missing:
Last edited by Турельк; 18 Jul @ 8:04am
< >
Showing 1-15 of 20 comments
..there is literally no hud when i enable it,is it because im playing on 4:3 resolution?
Турельк  [developer] 19 Jul @ 5:55am 
@Whatsoam303 Do you have "Allow clientside scripts" (sv_allowcslua) set to 1?
AJS 19 Jul @ 9:01pm 
So, I didn't know how big the UI re-sizer went and i made it VERY BIG and now i cant change it. I have tried uninstalling and reinstalling and disabling the mod but nothing worked. Any way i can fix this? I really wanted to use it.
I do all what need but i don't see THE HUD
AJS 20 Jul @ 9:35am 
@Nesigmohka1 did you go to the context menu and turn on "allow client side scripts"? You gotta do that then reload i think.
Zsombor99 20 Jul @ 10:13am 
The hud does not show the changes when I change the playermodel's bodygroups. :missing:
ATP-1002 20 Jul @ 11:41pm 
because i unfortunately didn't enable sv_allowcslua on default, my tf2 options to edit the hud is just.. not there?
I removed the addon in-game, quit, and downloaded again and loaded it in again, and it's still not there, unfortunately.
I mean the hud is working now, but the option to edit it in the.. options tab isn't there.
Not even the tf2 folder for custom image portrait was made too.

♥♥♥♥, I made the folders myself but I can't make a plyimg file.
Last edited by ATP-1002; 20 Jul @ 11:43pm
Турельк  [developer] 20 Jul @ 11:46pm 
@ATP-1002 Setting sv_allowcslua to 1, should create both options menu and the hud itself, unless there is a mod that conflicts with this one. Custom portrait folder isn't created by default so it isn't a bug
ATP-1002 20 Jul @ 11:52pm 
Originally posted by Турельк:
@ATP-1002 Setting sv_allowcslua to 1, should create both options menu and the hud itself, unless there is a mod that conflicts with this one. Custom portrait folder isn't created by default so it isn't a bug

I see.. The problem is; the only lua addons I have only relate to posing and rendering.
Well, there IS lua addons that are related to TF2, but even then, they're also only used for aforementioned posing and rendering.
I'll download it again right now, but if the option doesn't appear, it would be really unfortunate.

In the mean time, uhh, how do you make a plyimg file? Or, what ever it's called. The only thing I could make on this laptop was just folders and text files.
Турельк  [developer] 21 Jul @ 12:04am 
@ATP-1002 plyimg file is actually just a JSON file with a fancy name, the hardest part in making it is splitting your image into colorable and non colorable parts (if you need it). Just change layer1-4 values to the path to your image (relative to the materials/tf2_hud/minimodel (P.S: Materials is a separate from data folder!)) and change layer_color value from 0 to 1 relative to your layers: 1 - colorable, 0 - non-colorable. Here is the template

{
"layer1": "nil",
"layer2": "nil",
"layer3": "nil",
"layer4": "nil",
"layer_color": "0,0,0,0"
}

And an example (Colorable error):
{
"layer1": "error_1c.png",
"layer2": "nil",
"layer3": "nil",
"layer4": "nil",
"layer_color": "1,0,0,0"
}

Then in the config change the path from "tf2_hud/minimodel/error_color.plyimg' to "tf2_hud/minimodel/<file-name>.plyimg" and reload

I am planning to change how this system works, because it's pretty confusing
Last edited by Турельк; 21 Jul @ 12:04am
ATP-1002 21 Jul @ 12:11am 
Alrighty
Uh, sorry, I'm genuinely stupid, so it takes a long while to get what you mean, but, should that mean I should make a "plyimg file" as like, a text file extension? or a JSON file extension?
I do know what to do, however thankfully
Турельк  [developer] 21 Jul @ 12:35am 
@ATP-1002 file extension is intended to be .plyimg, but GMod doesn't actually care - It just reads the file, so you can just name it file.txt and then enter tf2_hud/minimodel/file.txt and it will work
for some reason the options section to configure the hud I only get the bar but not the options, maybe it is due to some ui or something like that?
"Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts""Allow clientside scripts"
The half life 2 hud is still there along with the tf2 hud they are both there and i can't get rid of the half life 2 hud
< >
Showing 1-15 of 20 comments
Per page: 1530 50