welding/firing script?

MaverickkMaverickk Join Date: 2006-12-03 Member: 58857Members Posts: 119
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?
IPB Image

Comments

  • noizenoize Join Date: 2007-01-21 Member: 59707Members Posts: 7
    CODE
    //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.

    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 Posts: 119
    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 released 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?
    IPB Image
  • Joe2Joe2 Join Date: 2004-09-03 Member: 31268Members Posts: 188
    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 Posts: 7
    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 Posts: 119
    QUOTE(noize @ Jan 21 2007, 03:09 PM) »

    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



    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 can 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.
    IPB Image
  • GreyFlcnGreyFlcn Join Date: 2006-12-19 Member: 59134Members, Constellation Posts: 648
    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.

    IPB Image
  • MaverickkMaverickk Join Date: 2006-12-03 Member: 58857Members Posts: 119
    QUOTE(GreyFlcn @ Jan 21 2007, 05:27 PM) »

    Well, the real issue is that mp_blockscripts blocks anything with +attack in it.

    So I believe you are out of luck.



    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?
    IPB Image
  • GreyFlcnGreyFlcn Join Date: 2006-12-19 Member: 59134Members, Constellation Posts: 648
    QUOTE(Maverickk @ Jan 21 2007, 11:28 PM) »

    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?

    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:
    http://www.unknownworlds.com/forums/index....mp_blockscripts
    http://www.unknownworlds.com/forums/index....hl=blockscripts
    http://www.unknownworlds.com/forums/index....hl=blockscripts
    http://www.unknownworlds.com/forums/index....hl=blockscripts

    3) It would be possible to use a macro program to do it.
    For instance http://www.autohotkey.com/
    IPB Image
Sign In or Register to comment.