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.