[Mod] Information on the HUD [hud_improved] [1.1]

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

[Mod] Information on the HUD [hud_improved] [1.1]

by bigfoot » Thu Dec 29, 2016 02:44

Hello! This mod adds more information on the HUD.

This mod works on 0.4.14-dev from late November.

BUGS:
You may post bug reports on github or here.
You may post feature requests on github or here.

+ Features

+ Planned Features


+ Screenshots


License
  • Code: LGPL v2.1+

Mod Dependencies
  • None

Optional Mod Dependencies

Downloads
Download
OR
Browse the code on github.

+ Changelog


Image Image Image
Attachments
screenshot_20161228_204447.png
(12.33 KiB) Not downloaded yet
Last edited by bigfoot on Sun Jan 08, 2017 23:06, edited 3 times in total.
 

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

Re: [Mod] Information on the HUD [hud_improved] [1.1]

by bigfoot » Thu Dec 29, 2016 21:00

*bump*
God's not dead, He's surely alive!
My Stuff | My User Page | Check out my website!
<bigfoot547> I major in existing. | <RedPanda246> Not every day is good, but there is good in every day.
Stay elusive ⓐⓝⓓ ⓣⓐⓛⓚ ⓘⓝ ⓒⓘⓡⓒⓛⓔⓢ!
 

echosa
Member
 
Posts: 107
Joined: Tue Aug 30, 2016 04:01

Re: [Mod] Information on the HUD [hud_improved] [1.1]

by echosa » Thu Dec 29, 2016 22:09

Your download and browse repository links don't work. Did you make the repo private?

Also, you mention that you want to add a way to customize where the text on the screen is. I recommend also adding a way to customize what information does and does not get displayed.

Finally, when I first saw this, I thought it might be a Minetest version of the WAILA mod for Minecraft, which tells you what you're looking at and additional information about that block/thing. Do you think you could add something like that to this mod? It seems fitting. Currently, I don't see any use for this mod, personally. A WAILA replacement, however, would be super awesome.
 

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

Re: [Mod] Information on the HUD [hud_improved] [1.1]

by bigfoot » Fri Dec 30, 2016 01:27

echosa wrote:Your download and browse repository links don't work. Did you make the repo private?

Also, you mention that you want to add a way to customize where the text on the screen is. I recommend also adding a way to customize what information does and does not get displayed.

Finally, when I first saw this, I thought it might be a Minetest version of the WAILA mod for Minecraft, which tells you what you're looking at and additional information about that block/thing. Do you think you could add something like that to this mod? It seems fitting. Currently, I don't see any use for this mod, personally. A WAILA replacement, however, would be super awesome.


Fixed. I'm sorry, I typo-ed both the links :P.
Sadly, minetest doesn't support anything like player:get_pointed_thing() so there is no way to find out what the player is looking at without geometry and such. If you have any ideas of how, feel free to put them here! :-)
I was looking at making a configuration menu for position.
God's not dead, He's surely alive!
My Stuff | My User Page | Check out my website!
<bigfoot547> I major in existing. | <RedPanda246> Not every day is good, but there is good in every day.
Stay elusive ⓐⓝⓓ ⓣⓐⓛⓚ ⓘⓝ ⓒⓘⓡⓒⓛⓔⓢ!
 

echosa
Member
 
Posts: 107
Joined: Tue Aug 30, 2016 04:01

Re: [Mod] Information on the HUD [hud_improved] [1.1]

by echosa » Fri Dec 30, 2016 02:04

minetest doesn't support anything like player:get_pointed_thing()


That's surprising. If you look at the debug info with F5, it shows it:

Image
 

User avatar
mahmutelmas06
Member
 
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum
 

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

Re: [Mod] Information on the HUD [hud_improved] [1.1]

by bigfoot » Fri Dec 30, 2016 15:10

echosa wrote:
minetest doesn't support anything like player:get_pointed_thing()


That's surprising. If you look at the debug info with F5, it shows it:

Image


That is part of the core. Sadly, AFAIK there is not an api function for that.
God's not dead, He's surely alive!
My Stuff | My User Page | Check out my website!
<bigfoot547> I major in existing. | <RedPanda246> Not every day is good, but there is good in every day.
Stay elusive ⓐⓝⓓ ⓣⓐⓛⓚ ⓘⓝ ⓒⓘⓡⓒⓛⓔⓢ!
 

echosa
Member
 
Posts: 107
Joined: Tue Aug 30, 2016 04:01

Re: [Mod] Information on the HUD [hud_improved] [1.1]

by echosa » Fri Dec 30, 2016 15:25

That's unfortunate. Seems like there's an number of things not exposed to through the API or a config yet (like the ability to start with the minimap on everytime you load a world).
 

User avatar
bigfoot
Member
 
Posts: 203
Joined: Fri Sep 02, 2016 23:31
Location: Somewhere between polar bears and penguins.
GitHub: bigfoot547
IRC: bigfoot547 or bigfoot
In-game: bigfoot547 or bigfoot

Re: [Mod] Information on the HUD [hud_improved] [1.1]

by bigfoot » Fri Dec 30, 2016 22:27

mahmutelmas06 wrote:Of course it is possible and there is a mod doing that already.

viewtopic=10095


That mod does not use the actual pointed node, it uses a hack to get the correct node most of the time.
It does not work when pointing through the negative space of a nodebox.
In C++, there is a getPointedThing() function, but this is not in lua.
You may be interested in this.
God's not dead, He's surely alive!
My Stuff | My User Page | Check out my website!
<bigfoot547> I major in existing. | <RedPanda246> Not every day is good, but there is good in every day.
Stay elusive ⓐⓝⓓ ⓣⓐⓛⓚ ⓘⓝ ⓒⓘⓡⓒⓛⓔⓢ!
 


Return to WIP Mods



Who is online

Users browsing this forum: Bing [Bot] and 3 guests