[mod] WorldEdit HUD Helper [0.2] [worldedit_hud_helper]

User avatar
Starbeamrainbowlabs
Member
 
Posts: 36
Joined: Sat May 26, 2018 11:25
Location: Nowhere, Everywhere, and Somewhere inbetween
GitHub: sbrl

[mod] WorldEdit HUD Helper [0.2] [worldedit_hud_helper]

by Starbeamrainbowlabs » Fri Sep 14, 2018 23:01

I'm back with another small quality-of-life improvement mod!

This time, I noticed that I only used 2 pieces of information from the debug info output - the direction I'm looking in (+/- X/Z), and the name of the node I'm looking at. To this end - in an attempt to reduce visual noise (and make taking screenshots easier) - I've written another mod.

It's based on advanced_gui, and despite the name, it doesn't actually depend on worldedit.



It displays the name of the node you're looking at, and the direction you're facing in the HUD. It also adds the //hud chat command to toggle it on and off.

Here's a screenshot:

Image

Here are some more screenshots:
+ Spoiler


► Download


I strongly recommend using git to clone the repository to install this mod. If you can't, then I've provided an always up-to-date download link too :-)

Note that if I don't reply to your message on here, I'll be much more responsive if you open an issue against the repository..

Image Repository | Clone | Download (Previous versions) | Issue Tracker

License: MPL-2.0 (Mozilla Public License 2.0) - no textures present
Mod dependencies: none
Last edited by Starbeamrainbowlabs on Tue Sep 25, 2018 17:47, edited 1 time in total.
 

User avatar
LMD
Member
 
Posts: 685
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: [mod] WorldEdit HUD Helper [0.2] [worldedit_hud_helper]

by LMD » Sun Sep 23, 2018 07:10

What a nice mod ! However, probably display Node Description instead of name, or even better, both...
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

User avatar
Starbeamrainbowlabs
Member
 
Posts: 36
Joined: Sat May 26, 2018 11:25
Location: Nowhere, Everywhere, and Somewhere inbetween
GitHub: sbrl

Re: [mod] WorldEdit HUD Helper [0.2] [worldedit_hud_helper]

by Starbeamrainbowlabs » Mon Sep 24, 2018 18:34

LMD wrote:What a nice mod ! However, probably display Node Description instead of name, or even better, both...


Ah, good thinking - and thanks! I originally made this because I'm always needing the node name for worldedit commands, like //replace. I could always add a configuration option to display the node description or something. What do you think?
 

User avatar
LMD
Member
 
Posts: 685
Joined: Sat Apr 08, 2017 08:16
Location: Somewhere over the Rainbow : Bonn, Germany
GitHub: appgurueu
In-game: LMD + PRO_LMD + Limo

Re: [mod] WorldEdit HUD Helper [0.2] [worldedit_hud_helper]

by LMD » Mon Sep 24, 2018 20:27

Probably add config, and make default setting : Show both description and nodename. Chatcommands to toggle would be nice too...
Magic-CTF(soon)MTPCFractal-SuiteModel Creator Schematic CreatorColorfulXmas BallsWebsite • Never judge me by my age
 

User avatar
Starbeamrainbowlabs
Member
 
Posts: 36
Joined: Sat May 26, 2018 11:25
Location: Nowhere, Everywhere, and Somewhere inbetween
GitHub: sbrl

Re: [mod] WorldEdit HUD Helper [0.2] [worldedit_hud_helper]

by Starbeamrainbowlabs » Tue Sep 25, 2018 17:45

Good idea! Is there a reference sheet on config options? I'm unsure on how to do that, being new to modding minetest and all (not new to programming though :P).

There is a chat command to toggle it already - //hud :-)

I should probably document it in this forum post as well as the readme :P
 

User avatar
pilcrow
Member
 
Posts: 24
Joined: Thu Sep 12, 2013 09:10

Re: [mod] WorldEdit HUD Helper [0.2] [worldedit_hud_helper]

by pilcrow » Wed Nov 21, 2018 07:07

Starbeamrainbowlabs wrote:Is there a reference sheet on config options?


I know it's been over a month, but I see no one replied to you yet. In general, the dev wiki is useful for figuring out the usage/syntax of minetest functions. In this particular case, though, the page for minetest.settings is pretty lacking. For a working example of both reading and writing settings, you can look at the first few lines of my Flying Saucer mod (though note that I only use number and bool settings; just remove the 'tonumber' calls if you want your setting to be a string instead).
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 8 guests