[Feature Request] Multiple Status Bars or Allow LUA to draw HUD

User avatar
BrandonReese
Member
 
Posts: 839
Joined: Wed Sep 12, 2012 00:44
Location: USA
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

[Feature Request] Multiple Status Bars or Allow LUA to draw HUD

by BrandonReese » Fri Dec 21, 2012 20:11

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).
 

User avatar
jmf
Member
 
Posts: 164
Joined: Mon Nov 05, 2012 18:13
Location: Germany

by jmf » Fri Dec 21, 2012 21:05

That would be epic.
Thousands of mods could be integrated with a nice look.
I just think of magic powers with mana and stuff.
Nice idea, should be implemented.
My ingame name is "john", my IRC name is "john_minetest".
I am chef mod on this server: minetest.org : 30015(see here)
"I am immune to signature virus." <-- Add this to your signature to gain immunity!!!
 

User avatar
rubenwardy
Moderator
 
Posts: 5836
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Sat Dec 22, 2012 17:04

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).
 

User avatar
Calinou
Moderator
 
Posts: 3156
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Dec 22, 2012 17:58

Zeg9 wrote:That would be great. Shouldn't become a way to flood the hud and crash clients, though... But yeah that'd be great!


It's so easy to crash clients using a mod already... :P
 

User avatar
kaeza
Moderator
 
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Sat Dec 22, 2012 18:00

+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
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Sun Dec 23, 2012 20:05

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.
 

User avatar
sfan5
Moderator
 
Posts: 3810
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Dec 28, 2012 12:46

I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Sun Dec 30, 2012 15:54

sfan5 wrote:I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud


Oh nice :D have you done anything else with it recently?
 

User avatar
sfan5
Moderator
 
Posts: 3810
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Mon Dec 31, 2012 10:58

dannydark wrote:
sfan5 wrote:I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud


Oh nice :D have you done anything else with it recently?

Not much, I need help implementing it into the Lua API
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55
Location: 0gb.us:30000

by 0gb.us » Thu Jan 03, 2013 20:17

Calinou wrote:It's so easy to crash clients using a mod already... :P


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.
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Thu Jan 03, 2013 21:34

0gb.us wrote:
Calinou wrote:It's so easy to crash clients using a mod already... :P


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.


This shou;d be fixed ASAP/
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.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Fri Jan 04, 2013 15:45

sfan5 wrote:I'm working on something similar: https://github.com/sfan5/minetest/tree/customhud

That's great! I think that should be pushed to the master branch! :)

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.
 


Return to Feature Discussion



Who is online

Users browsing this forum: MSN [Bot] and 5 guests