Forum posts

Oh my god I forgot to switch the compile mode to GoldSrc in blender. Hopefully I won't make that mistake again, lol!
Posted 2 years ago2022-09-16 19:29:26 UTC
in HL1 Mod HUD suddenly disappeared? Post #346879
Ah, makes sense. Thank you for responding again! It wouldn't be hard to set it back to a more reasonable amount of digits worth of space, would it?
Thank you for responding. In most cases I haven't touched the bones at all. I've simply decompiled the model from crowbar, edited a (really poor) scope on, and have tried compiling it again. "Bone09" was already there when I decompiled the model. It's just the SMG attachment bone, if I'm correct.

If I delete Bone09, it just tells me that it can't find the bbox for any of the other bones. I'll check out some of those blender tutorials though, thank you!
Recently i've decompiled HL1's SMG viewmodel to edit in blender. However, whenever I export the smd from blender and attempt to compile it with Crowbar (which I know is just a GUI for Valve's official tools, making studiomdl the problem here) It just says " unknown attachment link 'Bone09' ".

Is there a reason for this? I'm unfamiliar with HL1 viewmodel editing.
Posted 2 years ago2022-09-15 18:38:14 UTC
in HL1 Mod HUD suddenly disappeared? Post #346874
Thank you! That was the solution after all. It works perfectly now! :crowbar:
EDIT: I appear to have the classic Half-Life view bobbing (The one where the camera tilts from side to side).

I don't remember doing the tutorial for that, but I'm not really complaining to be honest! I like this view bobbing! :)
A few HUD elements are a bit odd, though. The suit meter is quite a bit away from the health meter, and the MP5 viewmodel's a bit more centered. Is this a problem with some sort of code talking about aspect ratios?

EDIT 2: The viewmodels are fine, actually. Still confused about the HUD shifting slightly though.
Posted 2 years ago2022-09-15 15:51:14 UTC
in HL1 Mod HUD suddenly disappeared? Post #346873
If I'm correct, hud_draw was set to 1 when I checked it in the console. However, I think I only compiled hl.dll. Should I compile client.dll now? Thank you for responding to me.
Posted 2 years ago2022-09-11 13:41:41 UTC
in HL1 Mod HUD suddenly disappeared? Post #346869
Hello. I've been working on a mod for Half-Life 1 simply so I could test some things out. So far, all I've done programming-wise is change the func_wall entity to print a message to the console (for which I just followed this tutorial https://gamebanana.com/tuts/12801), and I've changed the MP5's secondary function to the crossbow's secondary function (Instead of the Grenade launcher, the MP5 has a zoom-in feature.).

However, for some reason my HUD appears to be completely missing. In my starter map I have an HEV Suit placed down at the player's spawn point, so it is equipped. Even the flashlight and H.E.V voicelines work! However, I can't switch my weapon, and I can't see any HUD elements.

I've only modified hl.dll. I haven't touched client.dll.

https://youtu.be/pN41aBY7xSA

If it helps, I could try and include the DLL files.