Popup Menus

AcolyteAcolyte Join Date: 2003-03-27 Member: 14946Members
<div class="IPBDescription">Post your best mod of this menu here!</div> Well, here's my communication popup menu I used before I got my micro back (again)

If you want to see how it works, copy the below text into newly created file called commandmenu.txt int your Half-Life/ns directory and when you are in game go to console and type
bind whatever_key_is_best_for_you +commandmenu
(Please note that you cant use both menus in same commandmenu.txt file since I couldn't figure out what statement I'd have to use (e.g TEAM Aliens or SIDE 1))

Well, here it goes!

// Command Menu definition
//********************************ALIENS MENU***************************************
//********************************ALIENS MENU***************************************
//********************************ALIENS MENU***************************************
// Basic Format:
// "<Bound Key>" "<Button Text>" "<Command sent to server>"
//
//
//
//
// Buttons can also open up submenus, as follows:
// {
// "Some More Options",
// {
// ...
// }
// }
//
//
// Buttons preceded with "CUSTOM" are handled in special ways. They can only be moved
// around or deleted.
//
//
// Limitations:
// Maximum of 40 menus.
// Maximum of 100 buttons per menu.

//--------------------------------------------------------
// Everything below here is editable


"1" "Orders"
{
"1" "'Affirmative'" "say_team Affirmative"
"2" "'Copy that'" "say_team Copy that"
"3" "'I'm on my way'" "say_team I'm on my way."
"4" "'Any orders?'" "say_team Any orders?"
"5" "'Negative'" "say_team That's a negative.."
"6" "'Defend'" "say_team Assume defensive positions, team!"
"7" "'Hold positions'" "say_team Hold your positions, team..."
"8" "'Attack'" "say_team Keep pushing enemy, everybody!"
}

"2" "Backup/Cover/Move"
{
"1" "'Backup here'" "say_team Hey, I need backup here!"
"2" "'Alone'" "say_team Hey, I'm all alone here!"
"3" "'Follow me'" "say_team Hey, follow me, please"
"4" "'Requesting backup'" "say_team Requesting immediate backup!"
"5" "'I'm covering you'" "say_team I'm covering you"
"6" "'Got your back'" "say_team Got ya back"
"7" "'Lets go'" "say_team Lets go!"
"7" "'Lets move'" "say_team Lets move!"
}

"3" "Enemy"
{
"1" "'Enemy nearby'" "say_team Enemy's nearby, watch out"
"2" "'Approaching'" "say_team Keep your eyes open, enemy's approaching"
"3" "'Incoming!'" "say_team We've got incoming!; impulse 13"
"4" "'Mass. Incoming!'" "say_team We've got multiple enemies incoming!!!"
"5" "'Threat eliminated'" "say_team Threat eliminated"
"6" "'Enemy destroyed'" "say_team Enemy's destroyed"
"7" "'All clear'" "say_team All clear"
}

"4" "Buildings"
{
"1" "'Hive'" "say_team Hive has commenced!; impulse 95"
"2" "'Offence'" "say_team Building Offence chamber; impulse 91"
"3" "'Defence'" "say_team Building Defence chamber; impulse 92"
"4" "'Movement'" "say_team Building Movement chamber; impulse 94"
"5" "'Sensory'" "say_team Building Sensory chamber; impulse 93"
"6" "'Resource'" "say_team Building Resource tower; impulse 90"
}

"5" "Updgrades"
{
"1" "'Carapace'" "say_team Upgrading armour level (Defence - Carapace); impulse 101"
"2" "'Regen'" "say_team Increasing health regeneration (Defence - Regeneration); impulse 102"
"3" "'Redemption'" "say_team Upgrading redemption (Defence - Redemption); impulse 103"
"4" "'Adrenaline'" "say_team Upgrading adrenaline level (Movement - Adrenaline); impulse 108"
"5" "'Celerity'" "say_team Increasing movement speed (Movement - Celerity); impulse 107"
"6" "'Silence'" "say_team Decreasing movement noise (Movement - Silence); impulse 109"
"7" "'Cloaking'" "say_team Decreasing visibility level (Sensory - Cloaking); impulse 110"
"8" "'Hivesight'" "say_team Upgrading with Adv. Hivesight (Sensory - Adv. Hivesight); impulse 111"
"9" "'Scent of Fear'" "say_team Upgrading damage sensory system (Sensory - Scen of Fear); impulse 112"
}

"6" "Evolution"
{
"1" "'Skulk'" "say_team Evolving to skulk; impulse 113"
"2" "'Gorge'" "say_team I'm evolving to builder (Gorge); impulse 114"
"3" "'Lurk'" "say_team Evolving to flyer (Lerk); impulse 115"
"4" "'Fade'" "say_team Evolving to Fade; impulse 116"
"5" "'Onos'" "say_team Evolving to tank! (Onos); impulse 117"
}

"7" "Requests"
{
"1" "'Health'" "say_team I'm Low on health, requesting healing procedure!; impulse 8"
"2" "'Offence'" "say_team Requesting Offence tower(s) built here!"
"3" "'Defence'" "say_team Requesting Defence chamber(s) built!"
"4" "'Movement'" "say_team Requesting Movement chamber(s) built!"
"5" "'Sensory'" "say_team Requesting Sensory chamber(s) built!"
"6" "'Hive'" "say_team Requesting Hive to be built!"
"7" "'Resource'" "say_team Free resource nossle located, requesting Resource Tower built!"
}

MAP ns_bast "8" "Map Locations"
{
"1" "'Engine'" "say_team I'm at Engine hive"
"2" "'Refinery'" "say_team I'm at Refinery hive"
"3" "'Feedwater'" "say_team I'm at Feedwater hive"
"4" "'Base'" "say_team I'm at base (Docking Bay 1)"
"5" "'Atmos'" "say_team I'm at the atmos(Atmospheric Processing)"
"6" "'Steam gen'" "say_team I'm at Steam Generator(near Atmos)"
"7" "'Tram tunnel'" "say_team I'm at Tram Tunnel"
"8" "'W. Treatment'" "say_team I'm at Water Treatment (near Refinery)"
"9" "'Main Aft'" "say_team I'm at the Main Aft Junction"
}

MAP ns_caged "8" "Map Locations"
{
"1" "'Sewer Hive'" "say_team I'm at Sewer hive"
"2" "'Ventilation Hive'" "say_team I'm at Ventilation hive"
"3" "'Generator Hive'" "say_team I'm at Generator hive"
"4" "'Base'" "say_team I'm at base (Main Hold)"
"5" "'Sewer Vestib.'" "say_team I'm at Sewer Vestibule"
"6" "'Pumping'" "say_team I'm at Pumping Station"
"7" "'Shipping tunnel'" "say_team I'm at Shipping Tunnel"
"8" "'Aux. Gen'" "say_team I'm at Auxiliary Generator"
"9" "'Stability'" "say_team I'm at stability (Stability Monitoring)"
"0" "'Freight'" "say_team I'm at Freight Elevator"
}

MAP ns_eclipse "8" "Map Locations"
{
"1" "'Eclipse Hive'" "say_team I'm at Eclipse hive"
"2" "'Maint. Hive'" "say_team I'm at Maintenance hive"
"3" "'CC Hive'" "say_team I'm at CC (Computer Core) hive"
"4" "'Base'" "say_team I'm at base (Cargo Transfer)"
"5" "'Triad Gen.'" "say_team I'm at Triad Generator"
"6" "'West Access'" "say_team I'm at West Core Access"
"7" "'South Loop'" "say_team I'm at the South loop"
"8" "'Keyhole'" "say_team I'm at the Heyhole"
"9" "'Horseshoe'" "say_team I'm at Horseshoe"
"0" "'Alpha'" "say_team I'm at the Station Alpha"
}

MAP ns_hera "8" "Map Locations"
{
"1" "'Datacore Hive'" "say_team I'm at Data Core hive"
"2" "'Archiving Hive'" "say_team I'm at the Archiving hive"
"3" "'Vent-3C Hive'" "say_team I'm at the Ventilation hive"
"4" "'Base'" "say_team I'm at the base (Loading Bay)"
"5" "'Hera'" "say_team I'm at Hera Entrance"
"6" "'Holo Room'" "say_team I'm at Holo Room"
"7" "'Processing'" "say_team I'm at the Processing"
"8" "'Data alpha'" "say_team I'm at Data Core Alpha"
"9" "'Entrance Walk'" "say_team I'm at Entrance Walking way"
"0" "'Maint. Corridor'" "say_team I'm at Maintenace Corridor"
}

MAP ns_nancy "8" "Map Locations"
{
"1" "'SS Hive'" "say_team I'm at the Subspace hive"
"2" "'Unnamed Hive'" "say_team I'm at the Unnamed hive"
"3" "'Engine Hive'" "say_team I'm at the Engine hive"
"4" "'Base'" "say_team I'm at the base (Bridge)"
"5" "'Mess hall'" "say_team I'm at the Mess hall"
"6" "'Cargo Hold'" "say_team I'm at Cargo Hold 2"
"7" "'Mother Int.'" "say_team I'm at Mother Interface (near Mess hall)"
"8" "'Aux.Gen'" "say_team I'm at the Aux. Generators"
"9" "'Crew Quaters'" "say_team I'm at Crew Quaters"
"0" "'Sub Tunnel'" "say_team I'm at Sub tunnel (near Aux. Generators)"
}

MAP ns_nothing "8" "Map Locations"
{
"1" "'Viaduct Hive'" "say_team I'm at Viaduct hive"
"2" "'Cargo Hive'" "say_team I'm at the Cargo Bay hive"
"3" "'Silo Hive'" "say_team I'm at Power Silo hive"
"4" "'Base'" "say_team I'm at the base (S77 Vestibule)"
"5" "'Docking Wing'" "say_team I'm at the Docking Wing 01"
"6" "'Miasma Walk'" "say_team I'm at the Miasma Walkway"
"7" "'Generator'" "say_team I'm at Generator"
"8" "'Omn. Kismet'" "say_team I'm at Omnivous Kismet"
"9" "'Red Room'" "say_team I'm at the Red Room"
"0" "'Quad Lift'" "say_team I'm at Quad Lift"
}

MAP ns_tanith "8" "Map Locations"
{
"1" "'Sat. Comm Hive'" "say_team I'm at the SatComm hive"
"2" "'Waste Hive'" "say_team I'm at Waste hive"
"3" "'Fusion Hive'" "say_team I'm at Fusion hive"
"4" "'Base'" "say_team I'm at base (Uplink Command)"
"5" "'Reactor'" "say_team I'm at the Reactor, standing by..."
"6" "'Chem. Room'" "say_team I'm at Chem. Transport Room"
"7" "'Acidic Sol-n'" "say_team I'm at Acidic Solution Processing."
"8" "'Cargo Storage'" "say_team I'm at the Cargo Storage (near Fusion hive)"
"9" "'East Tunnels'" "say_team I'm at by East Access Tunnels (near SatComm hive)"
"0" "'Sat. Relay'" "say_team I'm at Satellite Relay"
}

"9" "Ready room" "impulse 5"

Comments

  • ElectroKiwiMonkeyElectroKiwiMonkey Join Date: 2002-11-06 Member: 7384Members
    If you join ANY public server and use that script to get your upgrades, the team will be screaming at you to shut up. No one wants to know (or needs to know, most of the time) what upgrades you're getting.

    Other than that it looks quite good.
  • BergerBerger Join Date: 2002-11-16 Member: 8945Members, Constellation
    It seems like this is an awful lot of work/key presses for a limited extent of what one can do with a microphone. It looks very nice though, some folks will be glad to have it.
  • Error404Error404 Join Date: 2002-11-19 Member: 9353Members
    Wow, appreciate the effort you put into this. Like the author said, it's meant to be customisable, so you don't have to use <b>all</b> of it, just use the parts that you think you'll find useful.
  • cottonbulletscottonbullets Join Date: 2003-04-14 Member: 15498Members
    This is really awesome, I had no idea this kind of thing was possible. I can't use a mic because of other people in the house, so this kicks ****!

    Anyone know how to make it work for both teams in one?
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    maybe try team1 and team2?
  • ArcadiusArcadius Join Date: 2003-04-14 Member: 15491Members
    Ok, here's what I do to have specialized menus for each team. I created three new cfg files, one for aliens, marines, and for comm. Basically each one has keys bound to the specific impulses I'll need for the diff actions of each role. (ie the key for dropping health for comm.cfg is the same key as evolving carapace in the alien.cfg. Since I have a button bound to exec whicheverone.cfg, when I push that button my entire keyboard is rearranged to fit that new role. Works rather well. You could combine that with this new methord by having a cfg for each role and have the same key bound for calling u pthe menu in each cfg only have it call the appropriate menu, say commandmenualien.txt, or commandmenumarine.txt. This way it would be set up for each team along with all your other keys with the push of one button. If this is too confusing or too vague let me know I'll go into more detail.

    - Arcadius

    PS: I'd advice makign the commandmenu without the constant "I'm doing such and such" messages. That does get annoying. But that's just me.
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=1&t=16289' target='_blank'>enjoy</a>
  • PodPod Join Date: 2002-11-03 Member: 5745Members
    edited April 2003
    <!--QuoteBegin--Arcadius+Apr 15 2003, 07:26 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Arcadius @ Apr 15 2003, 07:26 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Ok, here's what I do to have specialized menus for each team. I created three new cfg files, one for aliens, marines, and for comm. Basically each one has keys bound to the specific impulses I'll need for the diff actions of each role. (ie the key for dropping health for comm.cfg is the same key as evolving carapace in the alien.cfg. Since I have a button bound to exec whicheverone.cfg, when I push that button my entire keyboard is rearranged to fit that new role. Works rather well. You could combine that with this new methord by having a cfg for each role and have the same key bound for calling u pthe menu in each cfg only have it call the appropriate menu, say commandmenualien.txt, or commandmenumarine.txt. This way it would be set up for each team along with all your other keys with the push of one button. If this is too confusing or too vague let me know I'll go into more detail.

    - Arcadius

    PS: I'd advice makign the commandmenu without the constant "I'm doing such and such" messages. That does get annoying. But that's just me. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    you can only call one command menu : commandmenu.txt

    also directred towards SoulSkorpion : while your script is very good , and im only assuming here, but yourse isnt a mod of the pop up in game cmmandmenu like his is.
  • TheHornetTheHornet Join Date: 2002-10-31 Member: 1776Members, Constellation
    excellent work, me likes!
  • SpeedKilledSpeedKilled Join Date: 2003-03-29 Member: 15012Members, Constellation
    You messed up in one part of your code.
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    "2" "Backup/Cover/Move"
    {
    "1" "'Backup here'" "say_team Hey, I need backup here!"
    "2" "'Alone'" "say_team Hey, I'm all alone here!"
    "3" "'Follow me'" "say_team Hey, follow me, please"
    "4" "'Requesting backup'" "say_team Requesting immediate backup!"
    "5" "'I'm covering you'" "say_team I'm covering you"
    "6" "'Got your back'" "say_team Got ya back"
    "7" "'Lets go'" "say_team Lets go!"
    "7" "'Lets move'" "say_team Lets move!"
    }
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Should be:
    "2" "Backup/Cover/Move"
    {
    "1" "'Backup here'" "say_team Hey, I need backup here!"
    "2" "'Alone'" "say_team Hey, I'm all alone here!"
    "3" "'Follow me'" "say_team Hey, follow me, please"
    "4" "'Requesting backup'" "say_team Requesting immediate backup!"
    "5" "'I'm covering you'" "say_team I'm covering you"
    "6" "'Got your back'" "say_team Got ya back"
    "7" "'Lets go'" "say_team Lets go!"
    "8" "'Lets move'" "say_team Lets move!"
    }
    You had put in two 7's but I'm sure others have noticed this.
Sign In or Register to comment.