dbkthese are actually super sick, but does anyone know how to use these if you use q to switch weapons? because whenever i try to use one of these it immediately gets out of sync
what do you mean out of sync? VTF crosshairs can't be out of sync.
Are the viewmodels out of sync?
If this is the case you'll have to do something like this
alias weapon1 "slot1;r_drawviewmodel 0;bind q weapon2"
alias weapon2 "slot2;r_drawviewmodel 0;bind q weapon3"
alias weapon3 "slot3;r_drawviewmodel 1;bind q weapon1"
bind q weapon1
It can still get out of sync so you'll want this to be in every class config so it doesn't desync when you switch classes
slot1
bind q weapon1
r_drawviewmodel 0
then there's still exceptions if you die holding a weapon but respawn with another (but there's a command for keeping last weapon equipped on respawn. not hard to find but I don't remember off the top of my head)
And if you use q on engineer/spy with this you'll also have to make sure to bind build/disguise menus to other buttons to still have access to them.
I used to have this all scripted (worked for q and mousewheel) but sadly that's a cfg from 4 years ago that I lost when my laptop decided to become a time bomb. There might be mistakes in what i wrote but some experimentation should make it easy to fix if there are any.
EDIT: also you can cut out the need for a viewmodel command by using Yttrium's viewmodel script. No desync with viewmodels ever if you use that
EDIT2: fixed mistake. weapon2 and weapon3 aliases now correspond to slot2 and slot3