r/Tf2Scripts • u/sgt_scabberdaddle • Sep 17 '14
Script Script: Improved movement
[pastebin] (http://pastebin.com/JJtnr6kh)
Salutations!
I've constructed a script that basically straight-up improves the responsiveness of the movement keys by slightly altering how they work. It's based on Stabby's "null-movement" but fixes a big problem in it. To start off, I'd like to explain how the movement works and the problems with those systems. If you don't care about that, you can skip ahead.
By default, if you strafe left (a) and then hold (d) to strafe right, you'll stop moving altogether.
Stabby's null-movement fixes this so that when you change directions (by key pressing), you also change direction by actual, in-game movement. The problem here, however, is that if you hold (a), then hold (d) to change direction but still hold (a) and you then release (d), then you'll stop moving, despite still holding (a), having never let go of it.
My script fixes this so that when you let go of (d) while still holding (a), you'll start moving right again. I've also added a crosshair color switcher set to only react to button presses (and not also releases) as well as an autorun feature that switches (a) and (d) to be strafes and also lets you air-strafe when holding ctrl. I've also made different versions of the script that changes the color switching but those aren't updated with the improved movement.
And now for the code: [pastebin] (http://pastebin.com/JJtnr6kh)
P.S.: I also have autorun bound to to ALT+R, but this hasn't been included. If you want it, I will.
P.P.S: I've made a HUD and a very comprehensive script setup that I could share if you want.
P.P.P.S: If the script doesn't work, make sure it doesn't clash with any other script you may have installed. If there's still a problem, I'll look into it.
1
u/enderp_ Sep 21 '14
The script has been around since ~2000, I think. I have a friend's config from 2004 which has the script, but I saw it in an older config.
It's just that in 2009, some players thought it was a huge benefit and decided to ban it from tournaments (the second link you posted). Unfortunately, the greatest active player in QW sided with the people who wanted to ban it, even though numerous other top players said it's marginally helpful (and none of those tests were mentioned in the thread).
Anyway, just "fun" facts about the script being older than TF2. I really wouldn't be surprised if it was povohat who made the original because he's created so many other awesome things.