Show landmark on player's HUD

Post Reply
User avatar
ratmix
Member
Posts: 149
Joined: Mon May 01, 2017 19:45
In-game: ratmix
Contact:

Show landmark on player's HUD

by ratmix » Post

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.
King of the Hill :: Modern Warfare Server RATMIX.COM:30000 | King of the Hill Community Site

User avatar
AspireMint
Member
Posts: 415
Joined: Mon Jul 09, 2012 12:59
GitHub: AspireMint
IRC: AspireMint
In-game: AspireMint
Location: Stuck at spawn

Re: Show landmark on player's HUD

by AspireMint » Post

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: 149
Joined: Mon May 01, 2017 19:45
In-game: ratmix
Contact:

Re: Show landmark on player's HUD

by ratmix » Post

Thank you AspireMint. Looks like a good place to start.
King of the Hill :: Modern Warfare Server RATMIX.COM:30000 | King of the Hill Community Site

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests