Church
Apr 14 2004, 04:19 PM
I'm trying to write a script that would switch my weapon to blink, and use blink as long as I hold down the mouse2 button, and then switch back to swipe when I let go. I'm new to scripting but am I at least on the right track?
alias +blink "slot2; +attack"
alias -blink "-attack; slot1"
bind mouse2 +blink
I'm not sure if I have to add in some 'waits' or anything.
Licho
Apr 15 2004, 11:25 AM
alias +blink "slot2;wait;+attack"
alias -blink "-attack;"
Works good if you have <100 ping. I dont recomend auto-switching to slot1 in script, because it has very negative effects (like blocking you if you want to blink-bhop).
Meta works good with skript too:
alias +meta "slot3;wait;+attack"
alias -meta "-attack;wait;slot1;"
(hold to metabolize)
Church
Apr 16 2004, 03:01 AM
I don't bhop, and I want to to be able to swipe immediately without having to press my lastinv key. I've been doing some testing, and it works fine for hte most part. However, there is a slight lag between holding down mouse2 and the blink starting. Not that big of a deal. I'll just need ot get used to it.
Trevelyan
Apr 16 2004, 02:27 PM
Scripting will never get you as good as the other players... just try rebinding last inv in a more convinient location perhaps?
Shesek
Apr 16 2004, 03:46 PM
using hud_fastswitch 1 and the regular slot bound keys, 1,2,3,4 is incredibly comftable, for me at least
i easily toggle blink-swipe-blink-meta (etc)
no scripts are needed, the more scripting you do the bigger the chance a bug will occure and you won't be able to react in time
restrict the aliases to the minimum imo, no reason why you won't get used to it
Act_Chill
Apr 16 2004, 05:14 PM
Fastswitch is the way to go. If you hav to hold down the blink button for your script you will use up to much stamina. Good players tap the blink button and glide through the air costing about 1/3 the stamina for the same speed(just a little less control but well worth it)
Forlorn
Apr 16 2004, 08:40 PM
| QUOTE (|ds|meatshield @ Apr 15 2004, 10:01 PM) |
| I don't bhop, and I want to to be able to swipe immediately without having to press my lastinv key. I've been doing some testing, and it works fine for hte most part. However, there is a slight lag between holding down mouse2 and the blink starting. Not that big of a deal. I'll just need ot get used to it. |
You will get the weapon switch and lag no matter what.
However, if you have +attack done immediately after you do slot2, your guy executes it before it's possible to use it, and wastes energy.
Therefore to tweak your script:
| CODE |
alias +blink "slot2; +attack" alias -blink "-attack; slot1" bind mouse2 +blink |
to this:
| CODE |
alias +blink "slot2; wait; +attack" alias -blink "-attack; slot1" bind mouse2 +blink |
Church
Apr 17 2004, 01:37 AM
Thanks for the info. You confirm my independant testing results.
Act Chill: I can tap it with the script as well. My timing is just now a bit different from otehr peoples'.
Buggy
Apr 17 2004, 02:24 AM
all the good luck with it, im not by any means against scripts apart pistols', but this seems damn inconvenient to me....
Warrior
Apr 17 2004, 03:05 AM
alias +cool "slot2"
alias -cool "slot1"
bind mouse2 +cool
Hold right click, it goes to blink, let go, it goes back to swipe. Just change the binds to your liking. I used this for about a week but I like manual better. Well I think that this is how it works heh. Cant remember. Also it goes in ur autoexec.cfg
Licho
Apr 17 2004, 06:57 PM
I like "one click" weapon switch + attack skripts only for leap and blink. ITs much more convenient than switching.. Im only manually switiching back to slot1, but at the moment i need to blink/leap, just mouse2 and im away.. There are no side effects nothing if you dont try to switch back to old weapon..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.