Jump to content

Hiding specific parts of the hud


Recommended Posts

So I'm trying to hide specific parts of the hud without hiding the entire thing like "HUD:Hide()" does

 

I know how to hide the specific status bars like health and hunger with "class.heart:Hide()" and "class.stomach:Hide()"

 

And I've been digging through the different screen and widget files looking for ways to hide the inventory bar and crafting hud, but I just can't figure it out.

can those two widgets even be hidden with the same method? (class.whatever:Hide())

 

Link to comment
Share on other sites

It should be the same method. I believe the relevant files are 'widgets/controllercrafting.lua' and 'widgets/inventorybar.lua', but you may run into issues finding runtime references to them. The backpack and similar widgets would likely have to be hidden separately.

Link to comment
Share on other sites

It should be the same method. I believe the relevant files are 'widgets/controllercrafting.lua' and 'widgets/inventorybar.lua', but you may run into issues finding runtime references to them. The backpack and similar widgets would likely have to be hidden separately.

 

that's where I've been looking. But yea, I just can't find their references. It's strange because they don't look much different from the code for the health bars but apparently they just aren't created the same

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...