Show landmark on player's HUD

User avatar
ratmix
Member
 
Posts: 105
Joined: Mon May 01, 2017 19:45
In-game: ratmix

Show landmark on player's HUD

by ratmix » Fri Dec 28, 2018 02:39

I am working on a mod that requires several landmarks to be displayed on the player's screen. The name of the landmark would be visible the same way a user name is displayed only in a different color. Just like a player name, the label would be visible from any distance and through terrain. Something like this...
Image

I have modded before but I am not sure where to start with this.
Mintest server ratmix.com:30000
Ratmix Chat
 

User avatar
AspireMint
Member
 
Posts: 329
Joined: Mon Jul 09, 2012 12:59
GitHub: AspireMint
IRC: AspireMint
In-game: AspireMint

Re: Show landmark on player's HUD

by AspireMint » Fri Dec 28, 2018 11:46

Try this mod https://github.com/AndrejIT/goto_waypoint , look at code :-)

EDIT: Some ideas, display how far you are from target position. Players may not know how to read coordinates.
Add toggle button to hide/show waypoints (commands arent userfriendly for smartphone users).
Or make checkbox list which waypoints should be displayed to me.
 

User avatar
ratmix
Member
 
Posts: 105
Joined: Mon May 01, 2017 19:45
In-game: ratmix

Re: Show landmark on player's HUD

by ratmix » Sat Dec 29, 2018 01:30

Thank you AspireMint. Looks like a good place to start.
Mintest server ratmix.com:30000
Ratmix Chat
 


Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 3 guests