pickleplayer Posted November 24, 2015 Share Posted November 24, 2015 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 https://forums.kleientertainment.com/forums/topic/59384-hiding-specific-parts-of-the-hud/ Share on other sites More sharing options...
Arkathorn Posted November 24, 2015 Share Posted November 24, 2015 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 https://forums.kleientertainment.com/forums/topic/59384-hiding-specific-parts-of-the-hud/#findComment-688340 Share on other sites More sharing options...
pickleplayer Posted November 25, 2015 Author Share Posted November 25, 2015 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 https://forums.kleientertainment.com/forums/topic/59384-hiding-specific-parts-of-the-hud/#findComment-688444 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now