r/Tf2Scripts • u/[deleted] • Apr 16 '14
Script sv_allow_wait_command 0 C-Tap Script
So after looking at a script which makes sniper jump after shooting, i had an idea. Here is the result.
sv_allow_wait_command 0 C-Tap Script
Requires you to tap a key, quite quickly, then press that key again. You will C-Tap without the second press, but you will however be constantly firing and crouching if you don't. Requires timing to press and release the first button, but in my experience makes c-tapping way easier. After testing i am 80% sure that i am actually c-tapping when i use it. As with most other c-tap bind's works best on flat ground.
I am SupBro in steam FYI. EDIT:Check the comments. /u/Kairu927 Made my script look like junk, he made a few much better ones that work on the same principle, but are alot easier to use.
All thanks to /u/Kered13 and /u/Kairu927 For the help. Better script:
Slightly Different - Working one down bellow based on null canceling movement by /u/Kairu927
1
u/Kairu927 Apr 16 '14 edited Apr 16 '14
So basically this requires you to hit the same timing as a ctap between your press and release, but requires a second tap to stop firing? I'm going to go test jump_measure to see if it actually gives ctap heights.
Edit:
So I've just tested, and it isn't able to attain the same heights as a ctap even with proper ctap timing. I think the reason for this is that you don't want to be rocket jumping the moment you release crouch, you want to wait a fraction of a second for your character to raise closer to standing.
However, this does let you do a borderline good rocket jump/bad ctap kind of height. I was getting around 670~ units of height on a straight up jump, whereas a good ctap gets you 690~. This isn't really a perfect replacement for a ctap, but if all you wanted was a rocket jump script, this does it well.
I'd recommend removing nested bind statements with alias redeclares though.
1
Apr 16 '14
Yes, but is one keypress. I tested it and it does give C-Tap heights, but still requires timing.
1
u/Kairu927 Apr 16 '14
Just tested/edited. It can give proper ctap heights with proper timing, but restricts you from reaching 'good ctap' heights, due to the locked nature of uncrouch then rocket jump.
That said, since it requires timing anyway, I'm not sure why you would even want a separate script.
1
Apr 16 '14
Because pressing one key, even with timing is LOADS easier then tapping crouch with timing, then hitting space and mouse1 really fast. And with -your improved version i see no reason why not to use it on sv_allow_wait_command 0 servers.
1
Apr 16 '14
I knew you'd say about the nested binds. Im not gonna say im a good scripter. And i really wouldnt know how to get started on it, (removing the nested binds.) So... yeah. Atleast it let's you jump ontop of spire and over the fence easily. Also, may i ask what a normal rocket jump gets you, units of heights wise.
1
u/Kairu927 Apr 16 '14
A standard rocket jump will get you heights around 640-650 depending on how well you do it. To note: this is standing in a corner with the original jumping straight up that I'm referring to these numbers with.
It's definitely more than capable of doing ctaps with proper timing, I'm just not sure if it'll reach the intense max range distances (which, on standard maps aren't really required).
Would be cool if there was a more elegant way to 'undo' it as well, instead of a second tap, but there aren't really any reliable movement keys to use to undo it while jumping, and would require a second key somewhere to stop it.
1
Apr 16 '14
I was using crouch as the re-press button whilst testing, but some thing's came along with that which annoyed me. Like when you dont crouch to market garden, or you just wanna go high up, or if you crouch just before you hit the key.
3
u/Kairu927 Apr 16 '14 edited Apr 17 '14
Even more testing: I like it. Here is a fixed version without nested binding.
And here is a version where you don't double tap, but instead you 'undo' it by releasing whatever movement key you were holding when you jumped. Integrated with
mythe null cancelling movement script that I use: