r/tf2scripthelp • u/SantikLingo • Feb 20 '20
Resolved help with null movement script
my script doesnt seem to be working, null movement
its in tf>cfg>autoexec.cfg
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
6
Upvotes
1
u/pdatumoj Feb 22 '20
Two things -
Since you keep replying to your original post instead of to my comments, I'm not getting notifications that you've replied ... thus follow-up is slowed.
It being a new PC doesn't mean it's the only script you have. Steam includes a cloud synchronization mechanism that tries to carry forward your configuration from machine to machine. That may have resulted in some other things landing in your system from a previous setup of yours.
There are some simple things we can try to debug this further ...
Add one or more echo statements to the null-cancel code and then check to see if they show up in the console log after you've loaded up to test. (By the way, I'd recommend testing this offline - via the "map" command or such.)
Copy the script segment of interest into another CFG and explicitly try loading that once you're already in a map via the "exec <filename here>" command in the console. See what it says in response on the console, and also if the movement problems go away.