welding/firing script?

MaverickkMaverickk Join Date: 2006-12-03 Member: 58857Members
If you're like me and your primary role is to weld or build things, you really get tired of holding down a button for constant periods of time.

I know welding using whatever button you have bound to firing, but is there a way to make a script that once the welder is selected you can just tap that button and have it continue to weld until you tap that button again?

Comments

  • noizenoize Join Date: 2007-01-21 Member: 59707Members
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//noize weld toggle script
    //Place this script in your autoexec.cfg or userconfig.cfg please.
    alias weldOn "slot5; +attack; alias weldTog weldOff"
    alias weldOff "-attack; invprev; alias weldTog weldOn"
    alias weldTog "weldOn"

    bind "key" "weldTog"  //replace "key" with your prefered Button for welding/toggling welder on/off.
    <!--c2--></div><!--ec2-->
    Don't know what slot5 is, but I'm assuming its the welder ^^. Please replace this command to whatever the welder slot is set to.

    Please post any bugs thanks.
  • MaverickkMaverickk Join Date: 2006-12-03 Member: 58857Members
    That, does not work for mp_bs enabled servers.

    I was thinking it is possible since, couldn't you just take an old reverse pistol script (the ones that fire when you <i>released</i> the button) and make it do that with a welder instead of a weapon? like the person switches to welder, taps their reverse fire button, let's go of their +attack button, and it welds for them until they say stop?
  • Joe2Joe2 Join Date: 2004-09-03 Member: 31268Members
    Bind +attack to a keyboard button, and put something heavy on the button (or use something to block the button).
  • noizenoize Join Date: 2007-01-21 Member: 59707Members
    edited January 2007
    what is mp_bs exactly? The script i made just uses commands you would have to use to play normally.. there aint anything special or forbideen that should be blocked :S
  • MaverickkMaverickk Join Date: 2006-12-03 Member: 58857Members
    <!--quoteo(post=1600682:date=Jan 21 2007, 03:09 PM:name=noize)--><div class='quotetop'>QUOTE(noize @ Jan 21 2007, 03:09 PM) [snapback]1600682[/snapback]</div><div class='quotemain'><!--quotec-->
    what is mp_bs exactly? The script i made just uses commands you would have to use to play normally.. there aint anything special or forbideen that should be blocked :S
    <!--QuoteEnd--></div><!--QuoteEEnd-->


    It's a server pluggin / setting that basically blocks most potent scripts. Back in the day you had scripts that would auto fly lerks, auto attack, blink, meta, attack fade scripts etc

    You <i>can</i> use some simple scripts with mp_bs but not a ton. I figured since I had seen a few release-toggle pistol scripts there had to be a way to rework that for welding since it also uses firing (+attack) to achieve that function.
  • GreyFlcnGreyFlcn Join Date: 2006-12-19 Member: 59134Members, Constellation
    edited January 2007
    Well, the real issue is that mp_blockscripts blocks anything with +attack in it.

    So I believe you are out of luck.
  • MaverickkMaverickk Join Date: 2006-12-03 Member: 58857Members
    <!--quoteo(post=1600713:date=Jan 21 2007, 05:27 PM:name=GreyFlcn)--><div class='quotetop'>QUOTE(GreyFlcn @ Jan 21 2007, 05:27 PM) [snapback]1600713[/snapback]</div><div class='quotemain'><!--quotec-->
    Well, the real issue is that mp_blockscripts blocks anything with +attack in it.

    So I believe you are out of luck.
    <!--QuoteEnd--></div><!--QuoteEEnd-->


    Two questions;

    1) if it blocks +attack, it obviously let's your typical bound key for fire through, couldn't you just bypass using an alias and use a standard bind to do a bunch of +attack;wait;+attack's in one bind?

    2) is there a link or place where I can find the people that made mp_bs?
  • GreyFlcnGreyFlcn Join Date: 2006-12-19 Member: 59134Members, Constellation
    <!--quoteo(post=1600723:date=Jan 21 2007, 11:28 PM:name=Maverickk)--><div class='quotetop'>QUOTE(Maverickk @ Jan 21 2007, 11:28 PM) [snapback]1600723[/snapback]</div><div class='quotemain'><!--quotec-->
    Two questions;

    1) if it blocks +attack, it obviously let's your typical bound key for fire through, couldn't you just bypass using an alias and use a standard bind to do a bunch of +attack;wait;+attack's in one bind?

    2) is there a link or place where I can find the people that made mp_bs?
    <!--QuoteEnd--></div><!--QuoteEEnd-->
    1) Nah, thats what I meant.
    You can't make any alias that contains +attack in it.
    The only way to use +attack is by the default way.

    2) Dunno, but there were threads on it:
    <a href="http://www.unknownworlds.com/forums/index.php?s=2632968422671563776&showtopic=95355&hl=mp_blockscripts" target="_blank">http://www.unknownworlds.com/forums/index....mp_blockscripts</a>
    <a href="http://www.unknownworlds.com/forums/index.php?s=2632968422671563776&showtopic=99579&hl=blockscripts" target="_blank">http://www.unknownworlds.com/forums/index....hl=blockscripts</a>
    <a href="http://www.unknownworlds.com/forums/index.php?s=2632968422671563776&showtopic=82248&hl=blockscripts" target="_blank">http://www.unknownworlds.com/forums/index....hl=blockscripts</a>
    <a href="http://www.unknownworlds.com/forums/index.php?s=2632968422671563776&showtopic=75822&hl=blockscripts" target="_blank">http://www.unknownworlds.com/forums/index....hl=blockscripts</a>

    3) It would be possible to use a macro program to do it.
    For instance <a href="http://www.autohotkey.com/" target="_blank">http://www.autohotkey.com/</a>
Sign In or Register to comment.