On-screen Text Display Binds

MadFunkMadFunk 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?

Comments

  • SupernornSupernorn Best. Picture. Ever. Made. Ever. Join Date: 2002-11-07 Member: 7608Members, Constellation
    edited May 2003
    i dont think there is one in NS, why would you need it? you have the right-click menu.
  • MadFunkMadFunk Join Date: 2002-11-16 Member: 8986Members, Constellation
    edited May 2003
    Truthfully, it's not FOR NS, it's for DoD, but I'd still like to know it so that if I need to script it at some point, I can. I mean, you can't use echo/developer and scr_connectmsg for all your menus, and sometimes you want to skip the whole right-click menu thing.

    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.
  • KRaggKRagg Join Date: 2002-11-15 Member: 8832Members
    Try

    scr_connectmsg "0"
    scr_connectmsg1 "0"
    scr_connectmsg2 "0"
  • FamFam Diaper-Wearing Dog On A Ball Join Date: 2002-02-17 Member: 222Members, NS1 Playtester, Contributor
  • MadFunkMadFunk Join Date: 2002-11-16 Member: 8986Members, Constellation
    Props to K'Ragg and Fam for their answers.

    Still, the buring question: Is the vertically-centered, left-side menu possible? Even non-NS commands would be appreciated.
  • Iced_EagleIced_Eagle Borg Engineer Join Date: 2003-03-02 Member: 14218Members
    hmmm no clue.. i dont really understand ur question do u have a pic or something do show me and i might know the comand <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    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
  • PykmiPykmi Join Date: 2003-04-14 Member: 15473Members
    The right/middle-click menu is very usefull, but quite slow actually. Using radio commands "cs-way" would be a lot easier and faster.
  • Bo_SelectaBo_Selecta Join Date: 2002-11-19 Member: 9374Members, Constellation
    I think I know what you're talking about, I'm using that menu to control Winamp in HL <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
    yeah, it's possible, but you can't click on anything, probably has something to do with NS...
  • MausMaus Join Date: 2002-11-03 Member: 5599Members
    edited May 2003
    I have a feeling commandmenu.txt may be what you want. Have a key bound to +commandmenu to bring up whatever is in your commandmenu.txt in-game.

    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.
  • MadFunkMadFunk Join Date: 2002-11-16 Member: 8986Members, Constellation
    I'm afraid that commandmenu.txt is not what I'm looking for, thanks for trying <b>Souris</b>.

    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!")
  • MausMaus Join Date: 2002-11-03 Member: 5599Members
    Hmm, sorry. I thought that was what commandmenu did, though I've never used it so I wouldn't know.

    Maybe the age-old trick of using a % sign would fix your space. i.e. "Pronto%Activated"
  • mraltzmraltz Join Date: 2002-12-22 Member: 11377Members
    hey, i think i understand what you want...

    alias hello "devloper 1; echo hello; developer 0"

    that will print the word hello in the top left of your screen. good day
  • RoscoeRoscoe Join Date: 2002-11-29 Member: 10221Members
    edited May 2003
    The menu in that dod shot isn't possible without hooking the dll or using an opengl wrapper afaik..

    [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]
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    You would need a hook to make menus like that.


    I hope Flayra fixes the command menus (being the commandmenu.txt) and MOTD message in 1.1.
  • RoscoeRoscoe Join Date: 2002-11-29 Member: 10221Members
  • MadFunkMadFunk Join Date: 2002-11-16 Member: 8986Members, Constellation
    edited May 2003
    <!--QuoteBegin--MadFunk+May 10 2003, 08:25 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (MadFunk @ May 10 2003, 08:25 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Still, the buring question: Is the vertically-centered, left-side menu possible? <b>Even non-NS commands would be appreciated</b>. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    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!
Sign In or Register to comment.