r/Tf2Scripts • • Dec 14 '12

Archived [HELP] Demoknight Script

Would like help making a demoknight script that changes sensitivity during charge controlled by another script that decides whether that script can turn on or not so it does not interfere with stickybombs.

7 Upvotes

11 comments sorted by

1

u/[deleted] Dec 14 '12

Does anyone know if it's possible to bind charge and detonate stickybombs on different keybinds? Although you can't use charge and use stickybombs, it's be nice to be able to switch between using a charge and stickybombs without having to put in a script if I want to change.

1

u/djnap Dec 14 '12

you could bind one key to just "right-click", and another to "right-click" and do something else. To make an example, you could set mouse 2 to be standard right click, and mouse 3 to right click (in this case charge) plus change sensitivity.

is that what you mean?

1

u/[deleted] Dec 14 '12

That is one possibility. I just couldn't find a command for charge so I assumed it used the attack2 command, same as detonate.

1

u/djnap Dec 14 '12

they both are the attack2 command I believe. Though it is okay to bind attack2 to 2 different keys.

1

u/[deleted] Dec 14 '12

I just don't want my sensitivity jumping up as I detonate my stickies.

1

u/sonicfreak360 Dec 14 '12

I dont think that is possible, unless you use a different button to charge or detonate stickies!

1

u/Kurbz Dec 14 '12
alias "+demoturn" "+attack2; sensitivity x;"
alias "-demoturn" "-attack2; sensitivity y;"
bind "mouse2" "+demoturn" 

x is turning sensitivity, y is original. Basically, this does everything you ask. mouse2 will still detonate stickies fine. The key is that when you want to turn-charge, you have to hold down mosue2 so that it keeps your sensitivity up. Otherwise, it will go down immediately.

I still think this kind of script is bullshit though, since it alters the intent of the charge. But whatevs. You have your script, go run around and kill things I guess.

1

u/[deleted] Dec 14 '12

Changing the sensitivity doesn't affect turn speed during charge

1

u/clovervidia Dec 14 '12

This looks like what OP is looking for. But I just don't see much use for it, because my demo knight script toggles charge turns and regular mode. I don't mess with sensitivity mainly because I don't need it.

1

u/Kurbz Dec 14 '12

I wanted to keep it simple. Mainly because I dislike this kind of script and didn't want to put any effort into it.

3

u/Okaiii Dec 14 '12

I think this is what you’re looking for.