+commandmenu

Infected_MarineInfected_Marine Join Date: 2002-12-21 Member: 11287Members
<div class="IPBDescription">Not supported by NS?</div> I am working on a command menu of Team say commands that are specific to maps and teams, so that if you where an alien on bast you could say something like "I am saving for sewer" to your team. And it would be most useful for a marine commander who could easily dole out team say commmands. But there is a problem:

The command menu in NS doesn't use the mouse. It forces you to use the keys you have associated with the commands.

Is there a reason for this that I am not aware of, like a setting in a CFG, or does it have to do with the programming of NS it self?

Comments

  • RoscoeRoscoe Join Date: 2002-11-29 Member: 10221Members
    I've been working on the same thing. The trick is to include the toggleeditps command in with your bind to the commandmenu. For instance mine is bind "v" "+commandmenu; wait; wait; wait; toggleeditps". (Don't know why it needs the waits but it won't work without them for me). This makes the mouse work on the commandmenu, but screws up the +popupmenu the next time you use it. I have tried to counter this by including a toggleeditps command at the end of each line in my commandmenu...sometimes it seems to work sometimes not--I think it is lag dependant for some reason. Hopefully 1.1 will come soon and sort out these toggleeditps problems.
  • Infected_MarineInfected_Marine Join Date: 2002-12-21 Member: 11287Members
    Thanks for the info, I will look into getting it to work right too.

    And I hope the dEVs see this too, and respond to it accordingly.
  • zymurgyzymurgy Join Date: 2003-03-04 Member: 14294Members, Constellation
    Too bad Bast's hives are Feedwater, Refinery, and Engine room. I don't think there is a Sewer hive in Bast. There is one in Caged though <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • Infected_MarineInfected_Marine Join Date: 2002-12-21 Member: 11287Members
    I experimented for a while with the toggling, but (and I don't mean this in a negative way to you) I found the results unacceptable, especialy for the command mode.

    I can only hope the dev team will explain to me why NS is different from every other mod I know of in this respect (I already know why it is better then the other mods I know of).
  • UnknownUnknown Join Date: 2002-06-12 Member: 759Members
    edited March 2003
    Make a script then. Only thing wrong with the script way, is the fact that you can only have 3 lines on the screen at a time and that you can't make it map specific (at least I don't <i>think</i> you can...) This was my first scripting attemp awhile back. I just wanted to see if I could actually script with no help. This script may also solve the problem of no software support until v1.1 comes out. (Assuming that software mode will be supported in v1.1)

    Note: This script overwrites backspace and =
  • RoscoeRoscoe Join Date: 2002-11-29 Member: 10221Members
    Actually I have gotten map specific comms working fine in the commandmenu. Here is the section of my commandmenu dealing with it:
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->"6" "TEAM MSG"
    {
    // Map Specific
    MAP ns_nothing "1" "nothing"
     {
     "1" "Cargo"  "say_team Enemies incoming to CARGO; stupidcursor"
     "2" "Viaduct"  "say_team Enemies incoming to VIADUCT; stupidcursor"
     "3" "Silo"   "say_team Enemies incoming to POWER SILO; stupidcursor"
     "4" "Red Room"  "say_team Enemies incoming to RED ROOM; stupidcursor"
     "5" "Foreboding" "say_team Enemies incoming to FOREBODING ANTECHAMBER; stupidcursor"
     "6" "Docking" "say_team Enemies incoming to DOCKING WING; stupidcursor"
     }
    MAP ns_eclipse "1" "eclipse"
     {
     "1" "Maintenence" "say_team Enemies incoming to MAINTENENCE; stupidcursor"
     "2" "Comp Core"  "say_team Enemies incoming to COMPUTER CORE; stupidcursor"
     "3" "Eclipse"  "say_team Enemies incoming to ECLIPSE COMMAND; stupidcursor"
     "4" "South Loop" "say_team Enemies incoming to SOUTH LOOP; stupidcursor"
     "5" "Horseshoe" "say_team Enemies incoming to HORSESHOE; stupidcursor"
     "6" "St. Access" "say_team Enemies incoming to STATION ACCESS; stupidcursor"
     "7" "Triad"  "say_team Enemies incoming to TRIAD; stupidcursor"
     }
    MAP ns_hera "1" "hera"
     {
     "1" "Ventilation" "say_team Enemies incmoming to VENTILATION; stupidcursor"
     "2" "Data Core"  "say_team Enemies incoming to DATA CORE; stupidcursor"
     "3" "Archiving"  "say_team Enemies incoming to ARCHIVING; stupidcursor"
     "4" "Holoroom"  "say_team Enemies incmoming to HOLOROOM; stupidcursor"
     "5" "Reception"  "say_team Enemies incoming to HERA RECEPTION; stupidcursor"
     "6" "Processing"  "say_team Enemies incoming to PROCESSING; stupidcursor"
     "7" "Maintenence" "say_team Enemies incoming to MAINTENENCE; stupidcursor"
     }
    MAP ns_caged "1" "caged"
     {
     "1" "Stab. Mon."   "say_team Enemies incoming to STABILITY MONITORING; stupidcursor"
     "2" "Generator"   "say_team Enemies incoming to GENERATOR; stupidcursor"
     "3" "Shipping Tunnel"  "say_team Enemies incoming to SHIPPING TUNNEL; stupidcursor"
     "4" "Ventilation"  "say_team Enemies incoming to VENTILATION; stupidcursor"
     "5" "Sewer"   "say_team Enemies incoming to SEWER; stupidcursor"
     "6" "Sewer Vest."  "say_team Enemies incoming to SEWER VESTIBULE; stupidcursor"
     }
    MAP ns_tanith "1" "tanith"
     {
     "1" "Waste"   "say_team Enemies incoming to WASTE HANDLING; stupidcursor"
     "2" "Fusion"   "say_team Enemies incoming to FUSION; stupidcursor"
     "3" "Satellite"   "say_team Enemies incoming to SATELLITE; stupidcursor"
     "4" "Reactor Room"  "say_team Enemies incoming to REACTOR ROOM; stupidcursor"
     }
    MAP ns_nancy "1" "nancy"
     {
     "1" "Unnamed"  "say_team Enemies incoming to NONAME; stupidcursor"
     "2" "Port"   "say_team Enemies incoming to PORT ENGINE; stupidcursor"
     "3" "Subspace"  "say_team Enemies incoming to SUBSPACE; stupidcursor"
     "4" "Messhall"  "say_team Enemies incoming to MESS HALL; stupidcursor"
     "5" "Mother Int." "say_team Enemies incoming to MOTHER INTERFACE; stupidcursor"
     }
    }<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    (The "stupidcursor" alias is something I have been tweaking to try to fix the toggleeditps problem after using the menu.) I haven't tried team specific commands yet but I would imagine they work...
Sign In or Register to comment.