Binds, Aliases, And Other Crazy Things...
Creepin_Jeezus
Join Date: 2002-11-15 Member: 8801Members, Constellation
in Tech Support
<div class="IPBDescription">how do you do them?</div> OK, i've got a good idea of what i want to do. what i want, is to bind my F1 key so i can switch between Marine and alien binds to say/do stuff (eg radio commands/ or say_team %l etc..). i just down know how to do it, or where any sites are or at least there isn't much NS specific stuff.
all i need to know is how to make a key set a bind by pressing it, and how to do multiple commands. any other pieces of info would be <i>really</i> appreciated.
maybe someone could make a nice guide to get stickied on here. since im sure alot of people would want to know how to make decent binds and such. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
<u>lots</u> of thanks in advance <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
all i need to know is how to make a key set a bind by pressing it, and how to do multiple commands. any other pieces of info would be <i>really</i> appreciated.
maybe someone could make a nice guide to get stickied on here. since im sure alot of people would want to know how to make decent binds and such. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
<u>lots</u> of thanks in advance <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Comments
1) alien.cfg
2) marine.cfg
next, in both cfg files:
bind f1 exec alien/marine.cfg
(u could make a comm.cfg file too)
also set developer to 1 then u can use the echo command like,
in alien.cfg:
developer 1
bind f1 "exec marine.cfg; echo you are now a marine"
thats also how u do multiple commands
then to bind a key to bind a key:
bind q "bind w say_team hi; bind e say_team bye"
alias alien "exec alien.cfg; bind x marine"
alias marine "exec marine.cfg; bind x alien"
bind x alien
and at the top of every cfg you make put in
developer 1
echo "cfg name loaded properly"
developer 0
there <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->