Meta Script For Logitech Mx510 Mouse

ShadowHunterShadowHunter Join Date: 2004-09-12 Member: 31644Members
edited March 2005 in Scripting Discussion
heya

was wondering how easy it would be to have one of the side buttons on the mouse ste to meta BUT not change the looping of the weapons

so what i mean is
have blink and swipe selected as your cycle of weps (press Q to go back n forth yada yada)

but wondering if possible to get a script to set the mouse button to use Meta BUT not disrupt that cycle <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->

if you can understand my gibberish i hope somebody can help me out <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->

Comments

  • MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members
    edited March 2005
    Might I suggest using my script, <a href='http://members.cox.net/flaming.june/form/' target='_blank'>Form</a>?

    using Form:

    <!--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-->
    // slot keys
    bind 1 "slot1#"
    bind 2 "slot2#"
    bind 3 "slot3#"
    bind 4 "slot4#"

    // This toggles between swipe and blink
    bind mouse4 "alt.slot.a"

    // Select+Attack metabolize from either slot1 or slot2
    bind mouse5 "+alt.attack.b"
    // ...or... use this to select metabolize only
    bind mouse5 "alt.slot.b"


    // defining alternate slots
    alias ?alt.slot1.a "slot2#"
    alias ?alt.slot1.b "slot3"
    alias ?alt.slot2.a "slot1#"
    alias ?alt.slot2.b "slot3"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    That's just one way of doing it. Form has a more elegent last used slot function if you want to use that instead.. it's very flexable.
  • bmdavllbmdavll Join Date: 2004-09-13 Member: 31682Members
    I know what you're saying because it's exactly what I have. Basically I use Romano's clientside lastinv to change weapons and declare the lastinv with a single alias.

    <!--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-->
    //clientside lastinv
    alias k1 "k1a"
    alias k2 "k2a"
    alias k3 "k3a"
    alias k4 "k4a"
    alias klastinv "k1a"
    alias k1a "kslot1"
    alias k1b "kslot1; alias klastinv k2a"
    alias k1c "kslot1; alias klastinv k3a"
    alias k1d "kslot1; alias klastinv k4a"
    alias kslot1 "slot1; alias k1 k1a; alias k2 k2a; alias k3 k3a; alias k4 k4a"
    alias k2a "kslot2; alias klastinv k1b"
    alias k2b "kslot2"
    alias k2c "kslot2; alias klastinv k3b"
    alias k2d "kslot2; alias klastinv k4b"
    alias kslot2 "slot2; alias k1 k1b; alias k2 k2b; alias k3 k3b; alias k4 k4b"
    alias k3a "kslot3; alias klastinv k1c"
    alias k3b "kslot3; alias klastinv k2c"
    alias k3c "kslot3"
    alias k3d "kslot3; alias klastinv k4c"
    alias kslot3 "slot3; alias k1 k1c; alias k2 k2c; alias k3 k3c; alias k4 k4c"
    alias k4a "kslot4; alias klastinv k1d"
    alias k4b "kslot4; alias klastinv k2d"
    alias k4c "kslot4; alias klastinv k3d"
    alias k4d "kslot4"
    alias kslot4 "slot4; alias k1 k1d; alias k2 k2d; alias k3 k3d; alias k4 k4d"
    bind 1 "k1"
    bind 2 "k2"
    bind 3 "k3"
    bind 4 "k4"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    This is your basic lastinv. Copy it to a file named userconfig.cfg in your NS folder.

    <!--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-->
    alias +metabolize "k3; wait; +attack"
    alias -metabolize "-attack; k2a"
    bind MOUSE4/5 +metabolize<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    This binds metabolize to mouse4 or 5. When you press the button down, you switch to slot3 and you hold down the button to metabolize. Then when you let go you switch to slot2 (blink) but the lastinv is automatically set to slot1 (swipe). Put this in a file called metabolize.cfg, and put something like the following in your userconfig.cfg:

    bind x "exec metabolize.cfg"

    This just binds your mouse to use metabolize. For blockscripts servers, you want to use this script:

    <!--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-->alias +metabolize "k3"
    alias -metabolize "k2a"
    bind MOUSE4/5 +metabolize<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    This is the same except you have to hold down both mouse4/5 and the attack button now to metabolize.
  • ShadowHunterShadowHunter Join Date: 2004-09-12 Member: 31644Members
    So all of that into userconfig.cfg???

    Thanks very much for the help guys

    and yeh i play on the Aussie servers with blockscripts so hopefully this can help me out with meta and all <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->

    i Suspect a few guys i play with regularly have something like this <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo--> but who knows.

    Very much appreciated though and lets hope my noobishness with scripts doesnt have me script retarded again <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->
  • MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members
    edited March 2005
    If you use form put this in your userconfig.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-->
    exec form.cfg
    // slot keys
    bind 1 "slot1#"
    bind 2 "slot2#"
    bind 3 "slot3#"
    bind 4 "slot4#"

    // This toggles between swipe and blink
    bind mouse4 "alt.slot.a"

    // Select+Attack metabolize from either slot1 or slot2
    bind mouse5 "+alt.attack.b"
    // ...or... use this to select metabolize only
    // bind mouse5 "alt.slot.b"


    // defining alternate slots
    alias ?alt.slot1.a "slot2#"
    alias ?alt.slot1.b "slot3"
    alias ?alt.slot2.a "slot1#"
    alias ?alt.slot2.b "slot3"
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Your mouse4 button will toggle between selecting swipe and blink while mouse5 will auto select metabolize and use it as long as you hold down on the key. Binding a key to "lastslot" will select any previously selected weapon slot.(There is a link to download Form in my signature)
Sign In or Register to comment.