Toggling Between Two Scripts

MrfourtysevenMrfourtyseven Join Date: 2004-11-20 Member: 32891Members
edited January 2005 in NS Customization

Comments

  • esunaesuna Rock Bottom Join Date: 2003-04-03 Member: 15175Members, Constellation
    edited November 2004
    Quite simple really.

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->//Quickswitch for aliens
    bind mouse2 "+qswi12"
    alias +qswi12 "slot2"
    alias -qswi12 "slot1"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    Put that in alien.cfg.

    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->//Quickswitch for marines
    bind mouse2 "qswi12"
    alias qswi12 "qswi1"
    alias qswi1 "slot2; alias qswi12 qswi2"
    alias qswi2 "slot1; alias qswi12 qswi1"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    Put that in marine.cfg.

    Now, add this to your userconfig.cfg. Change q to whatever key you want to use to toggle between scripts.
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind q "scripttoggle"
    alias scripttoggle "aliencfg"
    alias aliencfg "exec alien.cfg; alias scripttoggle marinecfg"
    alias marinecfg "exec marine.cfg; alias scripttoggle aliencfg"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    EDIT: To be honest though, rather than putting in a toggle, i'd recommend binding each config to a seperate key. Because you can't echo back any messages (For example "Alien.cfg loaded") you might find yourself selecting the wrong script at the wrong moment, but your choice really. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
  • MrfourtysevenMrfourtyseven Join Date: 2004-11-20 Member: 32891Members
    edited November 2004
    Thank you <i>very</i> much!

    It worked well. I think I thought too complicated <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->

    bye!
  • esunaesuna Rock Bottom Join Date: 2003-04-03 Member: 15175Members, Constellation
    <!--QuoteBegin-Mr.47+Nov 20 2004, 01:59 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mr.47 @ Nov 20 2004, 01:59 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Thank you <i>very</i> much!

    It worked well. I think I thought too complicated <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->

    bye! <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Yeah, you definately did. When using seperate configurations for aliens and marines (And seperate alien life forms) it's best to seperate them into different configs, for ease of switching and also as it's much easier to find what you need and such. Good organisation really. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
  • slayerkl2slayerkl2 RUFCKINGKETAMINE?????? Join Date: 2004-10-17 Member: 32324Members
    this looks interesting. I just may use this meh self......
Sign In or Register to comment.