r/Tf2Scripts • • Jul 07 '21

Request M2 for crouch for soldier only script

Hi guys,

I need a little help with scripting. I want to use M2 for crouch only for solider class but normal functions for other classes.

I would appreciate it so much if someone can help me out with this please.

6 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/Stack_Man Jul 08 '21

In reset.cfg, add

bind mouse2 +rightmouse
alias +rightmouse "+attack2; spec_prev"
alias -rightmouse "-attack2"

then, make a cfg for every class (all use their name except demo.cfg and heavyweapons.cfg) and add exec reset.cfg on the very first line of all of them, including soldier.cfg.

1

u/Xtremee Jul 08 '21

mmm okay, i did that but every other class is still crouching.