[Feature Request] Multiple Status Bars or Allow LUA to draw HUD
- BrandonReese
- Member
- Posts: 839
- Joined: Wed Sep 12, 2012 00:44
- GitHub: bremaweb
- IRC: BrandonReese
- In-game: BrandonReese
- Location: USA
[Feature Request] Multiple Status Bars or Allow LUA to draw HUD
I think it would be great to be able to register multiple status bars in lua. We only have a health bar now, but I know people are working on a hunger mod and such. If we had the option to register a status bar, and use lua to update the status bar that could open up a lot of new options. We could have a combination of health bar, hunger bar, stamina bar, air bar (for when your under water), or any other bar people can think of.
Or the other option I thought would be to hand over the entire drawing of the HUD to Lua, that way mods could change the look or position of the HUD, as well as add new items to the HUD (compass, clock, armor slots). I wonder how many mods could be improved by drawing on the player screen (drowning, hunger, and compass come to mind).
Or the other option I thought would be to hand over the entire drawing of the HUD to Lua, that way mods could change the look or position of the HUD, as well as add new items to the HUD (compass, clock, armor slots). I wonder how many mods could be improved by drawing on the player screen (drowning, hunger, and compass come to mind).
My Twitch Channel - https://www.twitch.tv/brandonreese81/profile
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
That would be great. Shouldn't become a way to flood the hud and crash clients, though... But yeah that'd be great!
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
+100 I've been thinking of having at least a GUI "canvas" item for some time now.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!
Check out my stuff! | Donations greatly appreciated! PayPal
Check out my stuff! | Donations greatly appreciated! PayPal
Or forcing a formspec-like form to appear without right-clicking a node.
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
-
- Moderator
- Posts: 4094
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud
Oh nice have you done anything else with it recently?sfan5 wrote:I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud
-
- Moderator
- Posts: 4094
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Not much, I need help implementing it into the Lua APIdannydark wrote:Oh nice have you done anything else with it recently?sfan5 wrote:I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud
This shou;d be fixed ASAP/0gb.us wrote:Define a node that is solid, but has a liquid draw-type. Clients will crash every time they log in, but the server won't even flinch.Calinou wrote:It's so easy to crash clients using a mod already...
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
That's great! I think that should be pushed to the master branch!sfan5 wrote:I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud
Could you possibly look into not only adding ability to draw smth, but also the ability to "textout" smth?
It would be great to output realworld time that way for example.
Who is online
Users browsing this forum: No registered users and 5 guests