welding/firing script?
Maverickk
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?
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
//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.
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?
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.
So I believe you are out of luck.
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?
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>