Mintman's, I Want A Script That... Thread

167891012»

Comments

  • stallioNstallioN Join Date: 2005-06-21 Member: 54363Members
    edited July 2005
    <!--QuoteBegin-paco+Feb 4 2005, 01:04 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (paco @ Feb 4 2005, 01:04 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> i dont like to script... but there is one that i've always wanted.  ok, let's say you are reloading your gun and then a  skulk.gif comes rushing at you!  is there a script where u can hit your mouse1 and it will cancel the reload and +attack ?

    in a jist... when reload, hit mouse1, cancel reload, +attack <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    <!--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 "r" "lol"
    alias "lol" "+reload; wait; -reload; rofl"
    alias "rofl" "bind mouse1 +lmao"
    alias "+lmao" "lastinv; wait;"
    alias "-lmao" "lastinv; roflmao"
    alias "roflmao" "bind mouse1 +attack"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • CommunistWithAGunCommunistWithAGun Local Propaganda Guy Join Date: 2003-04-30 Member: 15953Members
    A script that will substitute lastinv, in other words


    When I press mouse2 it switches to slot2, then when I press it again then it switches back to slot1.
  • AnbuAnbu Join Date: 2005-01-06 Member: 33008Members
    commie, look at MrRadicalEd's Sig, and double click the form 2.0 link, BEST SCRIPT EVER
  • xxxacexxxxxxacexxx Join Date: 2004-11-13 Member: 32765Members, Constellation
    yes it gives a speed boost.
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    edited August 2005
    <!--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-->
    // p script
    alias +pistol "+attack; wait; -attack"
    alias -pistol "+attack; wait; -attack"

    alias normalfire "bind mouse1 +attack"
    alias pistolfire "bind mouse1 +pistol"

    bind "1" "slot1; normalfire"
    bind "2" "slot2; pistolfire"
    bind "3" "slot3; normalfire"
    bind "4" "slot4; normalfire"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    With this pistol script, if I switch to my pistol, then use last inv to switch to my lmg,iIt fires like 3 shots per click, and I can't hold it down for continous fire. This happenes because it doesn't switch back to normal fire when I use last inv. How do I fix this?
  • stallioNstallioN Join Date: 2005-06-21 Member: 54363Members
    edited August 2005
    <!--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 [key] "lastinv; normalfire"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    The only problem with this is that you can't use lastinv to switch to the pistol.
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    <!--QuoteBegin-stallioN+Aug 1 2005, 04:31 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (stallioN @ Aug 1 2005, 04:31 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--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 [key] "lastinv; normalfire"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    The only problem with this is that you can't use lastinv to switch to the pistol. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    anyone have a better idea? If not, I'll just take out the slot 1, 2, 3, and 4 crap.
  • ReKReK Join Date: 2004-08-30 Member: 31058Members, Constellation, Reinforced - Shadow, WC 2013 - Silver
    <!--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-->//ReK_'s Marine Lastinv
    //Modelled after Romano's Lastinv
    //Flood-guard code for binding
    //Non-flood code for calling in configs
    //Intergrated pistol script
    //Remebers last used slot 4 weapon
    //Press 4 while using a slot 4 weapon to cycle through them
    //Weapon 4 defaults to welder, will cycle in order of: Welder, Mines, Hand Grenade
    //Press F3 to ignore slot 4 functionality (use for voting menus, or to select the weapon yourself)

    alias slot.l "slot1"

    alias +slot1.1 "slot1.s"
    alias +slot1.2 "slot1.s; bind q +slot2.1"
    alias +slot1.3 "slot1.s; bind q +slot3.1"
    alias +slot1.4 "slot1.s; bind q +slot4.1"
    alias -slot1.1 ""
    alias -slot1.2 ""
    alias -slot1.3 ""
    alias -slot1.4 ""
    alias slot1.1 "slot1.s"
    alias slot1.2 "slot1.s; bind q +slot2.1"
    alias slot1.3 "slot1.s; bind q +slot3.1"
    alias slot1.4 "slot1.s; bind q +slot4.1"
    alias slot1.s "slot1; bind 1 +slot1.1; bind 2 +slot2.1; bind 3 +slot3.1; bind 4 +slot4.1; alias slot.l slot1; bind mouse1 +attack"

    alias +slot2.1 "slot2.s; bind q +slot1.2"
    alias +slot2.2 "slot2.s"
    alias +slot2.3 "slot2.s; bind q +slot3.2"
    alias +slot2.4 "slot2.s; bind q +slot4.2"
    alias -slot2.1 ""
    alias -slot2.2 ""
    alias -slot2.3 ""
    alias -slot2.4 ""
    alias slot2.1 "slot2.s; bind q +slot1.2"
    alias slot2.2 "slot2.s"
    alias slot2.3 "slot2.s; bind q +slot3.2"
    alias slot2.4 "slot2.s; bind q +slot4.2"
    alias slot2.s "slot2; bind 1 +slot1.2; bind 2 +slot2.2; bind 3 +slot3.2; bind 4 +slot4.2; alias slot.l slot2; bind mouse1 +pscript"

    alias +slot3.1 "slot3.s; bind q +slot1.3"
    alias +slot3.2 "slot3.s; bind q +slot2.3"
    alias +slot3.3 "slot3.s"
    alias +slot3.4 "slot3.s; bind q +slot4.3"
    alias -slot3.1 ""
    alias -slot3.2 ""
    alias -slot3.3 ""
    alias -slot3.4 ""
    alias slot3.1 "slot3.s; bind q +slot1.3"
    alias slot3.2 "slot3.s; bind q +slot2.3"
    alias slot3.3 "slot3.s"
    alias slot3.4 "slot3.s; bind q +slot4.3"
    alias slot3.s "slot3; bind 1 +slot1.3; bind 2 +slot2.3; bind 3 +slot3.3; bind 4 +slot4.3; alias slot.l slot3; bind mouse1 +attack"

    alias +slot4.1 "slot4.q; bind q +slot1.4"
    alias +slot4.2 "slot4.q; bind q +slot2.4"
    alias +slot4.3 "slot4.q; bind q +slot3.4"
    alias +slot4.4 "slot4.s"
    alias -slot4.1 ""
    alias -slot4.2 ""
    alias -slot4.3 ""
    alias -slot4.4 ""
    alias slot4.1 "slot4.q; bind q +slot1.4"
    alias slot4.2 "slot4.q; bind q +slot2.4"
    alias slot4.3 "slot4.q; bind q +slot3.4"
    alias slot4.4 "slot4.s"
    alias slot4.s "slot4.n; bind 1 +slot1.4; bind 2 +slot2.4; bind 3 +slot3.4; bind 4 +slot4.4; alias slot.l slot4.c; bind mouse1 +attack"
    alias slot4.q "slot4.c; bind 1 +slot1.4; bind 2 +slot2.4; bind 3 +slot3.4; bind 4 +slot4.4; alias slot.l slot4.c; bind mouse1 +attack"

    alias slot4.n "slot4.w"
    alias slot4.c "slot4.w"

    alias slot4.w "weapon_welder; alias slot4.n slot4.m; alias slot4.c slot4.w"
    alias slot4.m "weapon_mine; alias slot4.n slot4.g; alias slot4.c slot4.m"
    alias slot4.g "weapon_grenade; alias slot4.n slot4.w; alias slot4.c slot4.g"

    alias slot4.t0 "alias slot4.n slot4; alias slot4.c slot4; alias slot4.t slot4.t1; speak zero"
    alias slot4.t1 "alias slot4.n slot4.ws; alias slot4.c slot4.ws; alias slot4.t slot4.t0; speak one"
    alias slot4.t "slot4.t0"
    bind "F3" "slot4.t"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Use that. It will activate the pistol fire on lastinv and on the number keys.

    You may have to change the bind on slot2.s to whatever you pistol script is aliased as. Mine is +pscript, many are +pshot.
  • stallioNstallioN Join Date: 2005-06-21 Member: 54363Members
    <!--QuoteBegin-CommunistWithAGun+Jul 26 2005, 03:06 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (CommunistWithAGun @ Jul 26 2005, 03:06 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> When I press mouse2 it switches to slot2, then when I press it again then it switches back to slot1. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    <!--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 "lol" "rofl"
    alias "rofl" "slot2; alias lol lmao"
    alias "lmao" "slot1; alias lol rofl"
    bind "mouse2" "lol"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
  • xtcmenxtcmen Join Date: 2004-04-20 Member: 28040Members, Squad Five Blue
    edited August 2005
    Thanks Rek!!!! but it doesn't work..... Did I do anything wrong? What doesn't work is that the pistol only fires 1 shot. Everyother gun works fine <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->

    <!--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-->//pistol script
    alias +pscript "+attack; wait; -attack"
    alias -pscript "+attack; wait; -attack"


    //ReK_'s Marine Lastinv
    //Modelled after Romano's Lastinv
    //Flood-guard code for binding
    //Non-flood code for calling in configs
    //Intergrated pistol script
    //Remebers last used slot 4 weapon
    //Press 4 while using a slot 4 weapon to cycle through them
    //Weapon 4 defaults to welder, will cycle in order of: Welder, Mines, Hand Grenade
    //Press F3 to ignore slot 4 functionality (use for voting menus, or to select the weapon yourself)

    alias slot.l "slot1"

    alias +slot1.1 "slot1.s"
    alias +slot1.2 "slot1.s; bind q +slot2.1"
    alias +slot1.3 "slot1.s; bind q +slot3.1"
    alias +slot1.4 "slot1.s; bind q +slot4.1"
    alias -slot1.1 ""
    alias -slot1.2 ""
    alias -slot1.3 ""
    alias -slot1.4 ""
    alias slot1.1 "slot1.s"
    alias slot1.2 "slot1.s; bind q +slot2.1"
    alias slot1.3 "slot1.s; bind q +slot3.1"
    alias slot1.4 "slot1.s; bind q +slot4.1"
    alias slot1.s "slot1; bind 1 +slot1.1; bind 2 +slot2.1; bind 3 +slot3.1; bind 4 +slot4.1; alias slot.l slot1; bind mouse1 +attack"

    alias +slot2.1 "slot2.s; bind q +slot1.2"
    alias +slot2.2 "slot2.s"
    alias +slot2.3 "slot2.s; bind q +slot3.2"
    alias +slot2.4 "slot2.s; bind q +slot4.2"
    alias -slot2.1 ""
    alias -slot2.2 ""
    alias -slot2.3 ""
    alias -slot2.4 ""
    alias slot2.1 "slot2.s; bind q +slot1.2"
    alias slot2.2 "slot2.s"
    alias slot2.3 "slot2.s; bind q +slot3.2"
    alias slot2.4 "slot2.s; bind q +slot4.2"
    alias slot2.s "slot2; bind 1 +slot1.2; bind 2 +slot2.2; bind 3 +slot3.2; bind 4 +slot4.2; alias slot.l slot2; bind mouse1 +pscript"

    alias +slot3.1 "slot3.s; bind q +slot1.3"
    alias +slot3.2 "slot3.s; bind q +slot2.3"
    alias +slot3.3 "slot3.s"
    alias +slot3.4 "slot3.s; bind q +slot4.3"
    alias -slot3.1 ""
    alias -slot3.2 ""
    alias -slot3.3 ""
    alias -slot3.4 ""
    alias slot3.1 "slot3.s; bind q +slot1.3"
    alias slot3.2 "slot3.s; bind q +slot2.3"
    alias slot3.3 "slot3.s"
    alias slot3.4 "slot3.s; bind q +slot4.3"
    alias slot3.s "slot3; bind 1 +slot1.3; bind 2 +slot2.3; bind 3 +slot3.3; bind 4 +slot4.3; alias slot.l slot3; bind mouse1 +attack"

    alias +slot4.1 "slot4.q; bind q +slot1.4"
    alias +slot4.2 "slot4.q; bind q +slot2.4"
    alias +slot4.3 "slot4.q; bind q +slot3.4"
    alias +slot4.4 "slot4.s"
    alias -slot4.1 ""
    alias -slot4.2 ""
    alias -slot4.3 ""
    alias -slot4.4 ""
    alias slot4.1 "slot4.q; bind q +slot1.4"
    alias slot4.2 "slot4.q; bind q +slot2.4"
    alias slot4.3 "slot4.q; bind q +slot3.4"
    alias slot4.4 "slot4.s"
    alias slot4.s "slot4.n; bind 1 +slot1.4; bind 2 +slot2.4; bind 3 +slot3.4; bind 4 +slot4.4; alias slot.l slot4.c; bind mouse1 +attack"
    alias slot4.q "slot4.c; bind 1 +slot1.4; bind 2 +slot2.4; bind 3 +slot3.4; bind 4 +slot4.4; alias slot.l slot4.c; bind mouse1 +attack"

    alias slot4.n "slot4.w"
    alias slot4.c "slot4.w"

    alias slot4.w "weapon_welder; alias slot4.n slot4.m; alias slot4.c slot4.w"
    alias slot4.m "weapon_mine; alias slot4.n slot4.g; alias slot4.c slot4.m"
    alias slot4.g "weapon_grenade; alias slot4.n slot4.w; alias slot4.c slot4.g"

    alias slot4.t0 "alias slot4.n slot4; alias slot4.c slot4; alias slot4.t slot4.t1; speak zero"
    alias slot4.t1 "alias slot4.n slot4.ws; alias slot4.c slot4.ws; alias slot4.t slot4.t0; speak one"
    alias slot4.t "slot4.t0"
    bind "F3" "slot4.t"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    and a couple things....

    Do I need to put anything in the alien.cfg to cancel this script out?

    What should I do when the Mines, and grenades become different slots in 3.1? Any changes?
Sign In or Register to comment.