Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphical overlay #21

Open
d4f5409d opened this issue Apr 12, 2021 · 5 comments
Open

Graphical overlay #21

d4f5409d opened this issue Apr 12, 2021 · 5 comments

Comments

@d4f5409d
Copy link

Hello! It would be good, if there would be an option to have a graphical, in-game visualization of pois. For example, when I set a new poi, it also shows the poi's position in the game (on the screen), whether I look right or left.

Example(s):
w1

w2

w3

@acmgit
Copy link
Owner

acmgit commented Apr 12, 2021

You mean a small hud on the screen, who shows you the name and the distance of the last jump?

The Idea is nice, but ..

On witch conditions should poi show the hud?
On witch conditions should poi not show the hud?
Should it be automatically or could it be switched on or off?

The problem is, poi had to fill a table with many playerdata and must then check EVERY serverstep this table.
Next Problem is, PoI makes only sense on Servers, maybe a litte on Singleplayer, but most is multiplayer.
As more player are connected, as more time is needed to check and work up all players.

I've no really good solution for this or poi will slower your server in short time.

Greetings, Clyde.

@d4f5409d
Copy link
Author

d4f5409d commented Apr 13, 2021

"You mean a small hud on the screen, who shows you the name and the distance of the last jump?"

Yes, but I meant the poi's name and distance from the player. (Not the last jump)

"On witch conditions should poi show the hud?"

For example, it could be first time automatically enabled when the player joins and with a shortcut, it could be turned off and on.

Believe me, it makes sense in Singleplayer too, but I'm playing in a small server nowadays. I would really need this feature. Oh and I don't know too, how to fix the poi checking problem. :/
But I think it's worth it, at least soon probably we will find a solution. :)

Edit: I think this could help you:
https://content.minetest.net/packages/-SX-/metatool/?protocol_version=39

@acmgit
Copy link
Owner

acmgit commented Apr 17, 2021

Ok, which poi should show the mod in the hud, when it's not the last jump? The nearest? What is, 2 Poi's have the same distance?

Shortcuts afaik are not possible to change per mod, only way could be a chat-command.

In a "Single-Mode", that could be possible, only one player is to check.

Take a look on my distancer-mod, the difference between this mod is, distancer is a Client Side Mod. https://github.com/acmgit/distancer

@d4f5409d
Copy link
Author

I don't really know.. then please do in that way you can, but please implement this!! 🙏 Thank you!

@acmgit
Copy link
Owner

acmgit commented Apr 17, 2021

I have maybe a solution, how to implement it in a lightweight way, but i have to check it in all cases, before i start to develop it.

Greetings,
Clyde.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants