Forums » Suggestions
HudEcho, console command
Wouldn't it be nice to have a command, much like echo, that displays text directly on the hud, and doesn't bother the console? This would be great for those big aliases: Menus.
Imagine this command:
hudecho "Menu:\n1. Messages to Group\n2. Messages to Target\n3. Chainfire Settings\n4. Close Menu"
Resulting in this:
http://img214.imageshack.us/img214/5856/dumpbq0.jpg
Things would stay onscreen, until the hudecho command is issued again. This way the text can be replaced - and removed by not supplying the command with an argument. With the wait command, it can be made to go away of it's own accord after X seconds.
Couple this with a few aliases and binds, such as, "bind 1 groupmenu" and "bind 4 hudecho" - you get a fully functional menu system to keep track of all those aliases, to handle combat communications, taunts, hails, etcetera. Lovely, don't you think?
I'm sure it could be used for a myriad of other things as well.
Maybe a few CVARs to set the x and y screen coordinates for the menu's location?
Imagine this command:
hudecho "Menu:\n1. Messages to Group\n2. Messages to Target\n3. Chainfire Settings\n4. Close Menu"
Resulting in this:
http://img214.imageshack.us/img214/5856/dumpbq0.jpg
Things would stay onscreen, until the hudecho command is issued again. This way the text can be replaced - and removed by not supplying the command with an argument. With the wait command, it can be made to go away of it's own accord after X seconds.
Couple this with a few aliases and binds, such as, "bind 1 groupmenu" and "bind 4 hudecho" - you get a fully functional menu system to keep track of all those aliases, to handle combat communications, taunts, hails, etcetera. Lovely, don't you think?
I'm sure it could be used for a myriad of other things as well.
Maybe a few CVARs to set the x and y screen coordinates for the menu's location?
If I recall correctly, there's a function similar to this(displays the message on the screen for a short period of time) in the Lua API. When it's unlocked it should still be there- I don't see any reason why it wouldn't.
I would like to see it myself. My current menu system, running on regular echo-commands, spams the living daylights out of my chat! :P
Yes, echo-commands spamming chat (and chat spamming echo commands too) are annoying, and we don't currently have a choice. So introducing /HudEcho would be perfect temporary workaround