On-screen Text Display Binds
MadFunk
Join Date: 2002-11-16 Member: 8986Members, Constellation
<div class="IPBDescription">scr_connectmsg, echo and.. what?</div> I've been scowering the forums and I have yet to find out which 'bind' is used to create an on-screen list of text. This is common in games like Counter-Strike for the radio options, DoD for the communcations binds and several admin-mods use it as well. It appears as white text, roughly centered on the left side of the screen.
Can anyone help me out?
Oh, and a second question: Is there anyway to 'clear' an scr_connectmsg?
Can anyone help me out?
Oh, and a second question: Is there anyway to 'clear' an scr_connectmsg?
Comments
For example. I make a script that allows me to hold a key, press a button to send a voice com, and then release the button to rebind my selection keys and resume playing. I could, fathomably, use the right-click menu, but sometimes, other methods are faster.
scr_connectmsg "0"
scr_connectmsg1 "0"
scr_connectmsg2 "0"
Still, the buring question: Is the vertically-centered, left-side menu possible? Even non-NS commands would be appreciated.
p.s. if you wanted this for DoD why didnt u post it in their forums <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> even tho it would be appreciated here too i guess
yeah, it's possible, but you can't click on anything, probably has something to do with NS...
Now I've never tried this in NS, so it's entirely possible it doesn't work. However, I've attached the commandmenu.txt from CS since it's pretty easy to see in there what everything does and how to change it to what you'd want. A possible problem may be that it wants to use the CS vgui files. To get around this, either copy them to your NS folder (if you have CS) or add the either <i>setinfo "_vgui_menus" "0"</i> or <i> setinfo "vgui_menus" "0"</i> (I cant remember which, so just add both) to your config.cfg.
I've decided to clear up some of the confusion and provide a screenshot taken of said menu as it appears in Day of Defeat:
<img src='http://lacota.net/thehub/storage/whitemenu.jpg' border='0' alt='user posted image'>
<b>A third question</b>: Does anyone know a workaround that lets you use a scr_connectmsg with spaces in an alias (i.e. alias pronto scr_connectmsg "Pronto Activated!")
Maybe the age-old trick of using a % sign would fix your space. i.e. "Pronto%Activated"
alias hello "devloper 1; echo hello; developer 0"
that will print the word hello in the top left of your screen. good day
[edit]The "workaround" when using scr_connectmsg displays is to have the connectmsg texts in a "specific-menu.cfg", which, when exec'ed, also binds the appropriate keys to whatever you have displayed in the menu. I made a decent spy config for TFC using this method...note the section commented as "disguise menu." This alias is a toggle to bring up the scr_connectmsg box and bind the keys I use and then go back to scr_connectmsg 0 and rebind the 1-9 keys back to default when I realease the button. If you want any help I enjoy making scripts and can help you out in #rot if I am around. Crap, won't let me attach it on an edit....[/edit]
I hope Flayra fixes the command menus (being the commandmenu.txt) and MOTD message in 1.1.
Does anyone know how it's done in OTHER mods? Anyone?
Props to Roscoe for attaching that. It will help, significantly.
<b>UPDATE</b>
Alright, I think I've got what I want working, working. I have to give it some testing, but I'll definetly tell you how it goes.
Thanks to all those who helped out!