Feature Request: Server-controlled HUD ElementsI am going to describe the ideal version of the feature. However, multiple boxes is not a necessity. The ability to create HUD elements that can be toggled in and out server side, with support for new lines and screen location.
The command could contain four arguments:
▪ Unique name identifier▪ X location (to be normalised)▪ Y location (to be normalised)▪ String (with support for \n and colour characters)
________
Ideal commands:createinfobox <identifier> <x location> <y location> <custom string>toggleinfobox <identifier> <state>createinfobox "box1" 0 0 "Waiting for all players.\n---------------\nTeam 1 (3/3)\nPlayer1\nPlayer2\nPlayer3\nTeam 2 (2/3)\nPlayer1\nPlayer2
toggleinfobox "box1" 1
__________________________________________________
Why?The only server command I have found in dp that seems similar to that is called "cprint." However, it is not very useful unfortunately because it only allows one line of text and it is not very readable. It prints text on the center of everyone's screen with no background and the message rapidly disappears when replaced by center prints coming from in-game such as the "Match starting in..." messages.
The commands would allow server owners to create custom HUD elements of their own that display information. This would create many possibilities for making custom gamemode systems that are friendly for new players, so they don't have to keep opening their console to read messages from the server.
In my case, I can use it for to produce features for my upcoming system that will make it much more accessible.
Some examples of features this would make possible:
- ▪ Player rank list.
- ▪ In-game clan leaderboard at the end of a match
- ▪ Current status of who the server is waiting for to start the match
- ▪ Current map voting pool