Help - Search - Members - Calendar
Full Version: Cs Menu.. In Ns
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Scripting Discussion
samurai_jeff
i've just been wondering, is there any way to make this kind of menu for ns ?
Slavak
hey jeff

whats the purpose of it?
bmdavll
You can make a menu similar to that. Put something like this in commandmenu.txt:

CODE
//MARINE COMMS

TEAM1 "1" "Orders"  "impulse 80"
TEAM1 "2" "Roger"  "impulse 81"
TEAM1 "3" "Covering"  "impulse 8"
TEAM1 "4" "Hostiles"  "impulse 13"
TEAM1 "5" "All Clear"  "impulse 15"
TEAM1 "6" "Move Out"  "impulse 14"

//ALIEN VOICES

TEAM2 "1" "Growl"  "impulse 9"
TEAM2 "2" "Snarl"  "impulse 11"
TEAM2 "3" "Grumble"  "impulse 12"

//SERVER

"0" "Server"
{
"1" "Next Map"  "say nextmap"
"2" "Time Left"  "say timeleft"
"3" "Stuck"  "say /stuck"
}


And then bind a key to +commandmenu. Now when you press or hold down your commandmenu key you get a menu. The choices depend on which team you're on, or you could make universal commands (see format above). The thing that's executed can be commands, aliases, and binds too IIRC.
samurai_jeff
yea i know how to make commandmenus, but i was just wondering if it was possible to make an "old style" menu.

btw slavak, its just for comms etc

i was also searchin round the cs forums to see if anyone knew how to make it and i came across a way of doing it through echos tounge.gif

havent managed to fully get it workin yet, mp_bs 1 is a **** :<
Swiftspear
you DO know that F1 is default bound to join marines, F2 is bound to join aliens and F3 is bound to random right?
Depot
samurai jeff, your prayers have been answered. As a server op for one of the most popular mvm and cs/dod/tfc converted map servers in the world I use The Team Selector Plugin created by Zamma and refined by White Panther and myself (AMX Mod X required). It ROCKS for maps with no readyrooms. wink-fix.gif

user posted image
Zamma
WoW biggrin-fix.gif its my plugin biggrin-fix.gif w00t!

Also get more plugins like this from www.modns.org <- great site smile-fix.gif
Depot
Yes Zamma, it's your plugin but FINISHED now! mad-fix.gif tounge.gif
samurai_jeff
Thanks alot Deopt, thats EXACTLY what i was lookin for biggrin-fix.gif

one question thought.. say i wanted to use this kind of menu for a client side comm menu, even thought the server doesn't have amx, will this still work ?
Depot
Negative Jeff, AMX Mod X is required.
samurai_jeff
Ah well, thanks anyway
samurai_jeff
ok ok how about this..

i know that if you echo with con_notifytime 10 you get 10 lines of the same echo. any way to make them different ?

or maybe ever using the motd command ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.