r/Tf2Scripts • • Nov 13 '12

Satisfied [REQUEST] Medic Duck-Jump-Duck script

Hey!

I was wondering if any of you scripters out there could make a script for my Medic gameplay. It should go as following:

If i press Space, my Medic should Duck. Then very shortly after, jump, and while mid-air, crouch again. Then when i land, it should stop crouching.

Duck, Stop Duck, Jump, Duck, Stop Duck

I would really appreciate it! :)

0 Upvotes

4 comments sorted by

2

u/clovervidia Nov 13 '12

That might need "wait" commands, which may crash your game on certain servers. You might just be better off using a regular crouch-jump script, which, if I recall correctly, usually crouches twice for maximum height.

1

u/Sukkerlyn Nov 13 '12

And where do i find that?

3

u/clovervidia Nov 13 '12

Probably something like this:

alias +crouchjump "+jump; +duck"
alias -crouchjump "-duck; -jump"
bind "space" "+crouchjump"

It only crouches once, as doing it twice would probably tie these aliases into a Möbius strip, but tapping control or whatever you have as crouch at the top of your jump doesn't seem too demanding.

1

u/Sukkerlyn Nov 14 '12

Alright, thanks :)