r/Tf2Scripts • u/buunduun • Apr 02 '22
Resolved Struggling to bind mwheeldown to +jump, keeps getting rebinded to switching weapons
I have tried to bind mwheeldown to +jump, and no matter what I do mwheeldown keeps getting rebinded to weapon switching. I have tried deleting every line that says mwheeldown in my files and adding bind mwheeldown +jump in a couple files (binds.cfg, custom.cfg, and default.cfg). When inside tf2 I noticed that previous weapon and next weapon are both binded to nothing, despite my scroll wheel still switching weapons when used. Another thing is that when I bind mwheeldown to +jump through console it works, but if I die mwheeldown gets rebinded to switching weapons again. Just in case it matters, I used cfg.tf to make my config.
edit: If you are having this problem, try adding the bind at the end of every class's exec, it's what worked for me.
2
u/SaiMoen Apr 02 '22
Have you also looked in Steam/userdata/id/440/remote/cfg/config.cfg? (id is your steam id but I don't know that, usually there is only one folder)
2
u/mike_hawk_at_kfc Apr 12 '22
make a exec that gets executed at the end of all the other stuff, like when you switch to spy it will wait a few seconds and then bind it.
also ive noticed cfg.tf isnt the best website to set binds in, id only use it for fps configs and net settings i would make the binds myself
1
u/DeltaTroopa Apr 03 '22
cfg.tf sets up class configs for you and at the start of each one executes
binds.cfgSo I'm guessing you didn't try to set the bind through cfg.tf so the default binds from cfg.tf are overwriting any changes you make.