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
OK ... let's cover the basics first then.
Make sure Windows isn't set to hide file suffixes. Verify the file is named autoexec.cfg and NOT autoexec.cfg.txt or something like that.
Alter the file (probably using notepad) to include a statement in it that says "echo SOMETHING". What the "SOMETHING" is doesn't matter - what does matter is that it be something you can recognize later.
Make sure you have the console enabled in-game (I believe it's keyboard options)
Open the console and use a "map <some map name>" to get yourself into a map.
Choose a team, class, etc... and then, once you're in the map, open the console again and look for the SOMETHING in your console. If you don't see it anywhere there, then we know your script isn't being run properly.
Edit: Reddit's text handling sucks, via both fancypants and markedown. :P Editing to attempt to correct formatting crappola from it.