Binding Exec Commands?

ariakas_rmariakas_rm Join Date: 2002-11-07 Member: 7560Members
<div class="IPBDescription">Is there a way?</div> I was wondering how I would bind exec commands. Say I created a cfg file to use as commander (all keys mapped out to buildings, weapons, etc) and a cfg file to use for marine (to change back to original key config). Where would I put the commands to bind, say, F1 to 'exec commander.cfg' and then F2 to 'exec marine.cfg'. I've tried putting it in an autoexec.cfg file but it didn't work. Any ideas?
<!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' valign='absmiddle' alt='tiny.gif'><!--endemo-->

Comments

  • othellothell Join Date: 2002-11-02 Member: 4183Members, NS1 Playtester, Contributor
    www.othell.com/data/switch.zip


    its an old version, but hopefully a new one will be coming out shortly. trying to work out a few kinks.
  • ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
    I'm working on this right now, and it's in the beta stages. Keep a sharp eye out for "Simple-Script for Natural Selection." <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • standard1standard1 Join Date: 2002-10-02 Member: 1408Members
    you need to exec the autoexec.cfg manually ingame once.
    the way HL's config.cfg gets executed, binds dont save by setting it in the autoexec. (config.cfg gets executed after autoexec.cfg) but somehow you an change variables. very weird.
  • ArkaineArkaine Join Date: 2002-07-12 Member: 914Members
    Okay, here it is!
    <a href='http://www.vadakill.com/cgi-bin/download.cgi?action=jump&URL=http://www.vadakill.com/files/Simple-Script-NS.zip' target='_blank'>Simple-Script for Natural Selection</a>
Sign In or Register to comment.