Commandmenu
Brett_Erilane
Join Date: 2003-01-01 Member: 11708Members
<div class="IPBDescription">Team-Specific Commands?</div> I'm creating a command menu for myself to use.
I know I can cutomize it with statments like:
<!--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-->MAP ns_eclipse<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
But what is the statement for Alien team? and Marine team?
I know I can cutomize it with statments like:
<!--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-->MAP ns_eclipse<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
But what is the statement for Alien team? and Marine team?
Comments
jointeamone
jointeamtwo
autoassign
spectate
I'm making a commandmenu. If you have CS, try this:
-Bind a key to "+commandmenu"
-Hit that key
-Notice that there are map-specific options
Now, I'm trying to make race-specific options for NS
<!--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-->
// Or you can check for a specific team:
// TEAM1 "<BoundKey>" "<Button Text>" "<Command sent to server>"
// TEAM2 "<BoundKey>" "<Button Text>" "<Command sent to server>"
// TEAM3, TEAM4 work as well
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
<!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
Looks that way. the /ns commandmenu.txt is empty by default, though, which explains why it's not there usually
and possibly easy rcon controlling <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
and the idea is very cool
<!--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-->
// Or you can check for a specific team:
// TEAM1 "<BoundKey>" "<Button Text>" "<Command sent to server>"
// TEAM2 "<BoundKey>" "<Button Text>" "<Command sent to server>"
// TEAM3, TEAM4 work as well
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
<!--emo&:p--><img src='http://www.natural-selection.org/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
LOL Missed that.
/me slaps self
Thanks
Just have HLamp installed put this in your NS folder and then bind to commandmenu. (Please note this commandmenu is JUST HLamp Nothing else. You press the commandmenu button and then the HLamp commands come up. Thats all it does.
"1" "AdminMod"
{
"1" "password" "messagemode admin_password"
"2" "slap" "messagemode admin_slap"
"3" "map" "messagemode admin_changelevel"
}
All of the above are probably wrong fyi.
NOTE THAT I AM NOT FAMILIAR WITH COMMANDMENU AND THAT THE ABOVE MIGHT BE WRONG AND WILL CRASH YOUR HALF-LIFE.
ok, don't freak out, if it's wrong it'll only be the { } things and the order of everything <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> but be careful and someone proffread plz :o