Upvote Upvoted 2 Downvote Downvoted
movement keys being unbound at every startup
posted in Q/A Help
1
#1
0 Frags +

So i changed my hud yesterday, and now every time I boot up my game my movement keys are unbound and when I rebind them, my null movement script does not work. Does anyone know what could be going on here?

So i changed my hud yesterday, and now every time I boot up my game my movement keys are unbound and when I rebind them, my null movement script does not work. Does anyone know what could be going on here?
2
#2
3 Frags +

bind them in your config.cfg and they will save. i had the same problem a while back

bind them in your config.cfg and they will save. i had the same problem a while back
3
#3
3 Frags +

Check if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.

Check if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.
4
#4
0 Frags +
HypnotizeCheck if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.

My null movement script is in the end of my autoexec, but I did notice something, when I went to save my autoexec it was saving as a text document, but it still shows it is a cfg, could that be what is causing my problem?
Also I do not have -autoconfig in my launch options, should I?

[quote=Hypnotize]Check if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.[/quote]
My null movement script is in the end of my autoexec, but I did notice something, when I went to save my autoexec it was saving as a text document, but it still shows it is a cfg, could that be what is causing my problem?
Also I do not have -autoconfig in my launch options, should I?
5
#5
0 Frags +

aliases don't save between sessions. null movement is all aliases.
Restart TF2, try walking around on a server, look at console. if it shows a bunch of "unknown command" errors this means whatever cfg file has the null movement script in it isn't getting exec'd

aliases don't save between sessions. null movement is all aliases.
Restart TF2, try walking around on a server, look at console. if it shows a bunch of "unknown command" errors this means whatever cfg file has the null movement script in it isn't getting exec'd
6
#6
0 Frags +
BazingaBarry82HypnotizeCheck if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.
My null movement script is in the end of my autoexec, but I did notice something, when I went to save my autoexec it was saving as a text document, but it still shows it is a cfg, could that be what is causing my problem?
Also I do not have -autoconfig in my launch options, should I?

yes make sure it's a .cfg file

[quote=BazingaBarry82][quote=Hypnotize]Check if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.[/quote]
My null movement script is in the end of my autoexec, but I did notice something, when I went to save my autoexec it was saving as a text document, but it still shows it is a cfg, could that be what is causing my problem?
Also I do not have -autoconfig in my launch options, should I?[/quote]

yes make sure it's a .cfg file
7
#7
0 Frags +
TobBazingaBarry82HypnotizeCheck if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.
My null movement script is in the end of my autoexec, but I did notice something, when I went to save my autoexec it was saving as a text document, but it still shows it is a cfg, could that be what is causing my problem?
Also I do not have -autoconfig in my launch options, should I?

yes make sure it's a .cfg file

I did, still not working and I did check my console, there were no errors

Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file

[quote=Tob][quote=BazingaBarry82][quote=Hypnotize]Check if you have -autoconfig in your lauch options.
You might want to check if they are binded correctly in your autoexec as well.[/quote]
My null movement script is in the end of my autoexec, but I did notice something, when I went to save my autoexec it was saving as a text document, but it still shows it is a cfg, could that be what is causing my problem?
Also I do not have -autoconfig in my launch options, should I?[/quote]

yes make sure it's a .cfg file[/quote]
I did, still not working and I did check my console, there were no errors

Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file
8
#8
0 Frags +
BazingaBarry82
Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file

Are you saving it as autoexec.cfg or just clicking all files and leaving it as autoexec?

[quote=BazingaBarry82]

Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file[/quote]

Are you saving it as autoexec.cfg or just clicking all files and leaving it as autoexec?
9
#9
0 Frags +

Save the script in your autoexec and make your config.cfg read-only.

Save the script in your autoexec and make your config.cfg read-only.
10
#10
0 Frags +
smittenBazingaBarry82
Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file

Are you saving it as autoexec.cfg or just clicking all files and leaving it as autoexec?

I am saving as autoexec.cfg, but I did some further testing and the autoexec is indeed execing, it's just the null movement script isn't working and it's unbinding my keys

[quote=smitten][quote=BazingaBarry82]

Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file[/quote]

Are you saving it as autoexec.cfg or just clicking all files and leaving it as autoexec?[/quote]

I am saving as autoexec.cfg, but I did some further testing and the autoexec is indeed execing, it's just the null movement script isn't working and it's unbinding my keys
11
#11
0 Frags +
BazingaBarry82Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file

If you're on windows, when using save as to save your autoexec, make sure the dropdown below the filename is "all files" and not "TXT document".

[quote=BazingaBarry82]Edit: Actually in addition, every time I save my autoexec as all files it says one exists and to overwrite it, but when I go back and attempt to save it again, it's listed as a txt file[/quote]
If you're on windows, when using save as to save your autoexec, make sure the dropdown below the filename is "all files" and not "TXT document".
12
#12
0 Frags +
BazingaBarry82I am saving as autoexec.cfg, but I did some further testing and the autoexec is indeed execing, it's just the null movement script isn't working and it's unbinding my keys

So you can confirm 100% autoexec is executing? (You can put a statement in your auto exec like "echo AUTOEXEC RUNNING" and see this output in console after startup.

If so, can you post the contents of your autoexec in a pastebin link?

If applicable, post any other configs that get run, such as a class config, or reset config if you've configured things this way.

[quote=BazingaBarry82]
I am saving as autoexec.cfg, but I did some further testing and the autoexec is indeed execing, it's just the null movement script isn't working and it's unbinding my keys[/quote]

So you can confirm 100% autoexec is executing? (You can put a statement in your auto exec like "echo AUTOEXEC RUNNING" and see this output in console after startup.

If so, can you post the contents of your autoexec in a pastebin link?

If applicable, post any other configs that get run, such as a class config, or reset config if you've configured things this way.
13
#13
0 Frags +
KairuBazingaBarry82I am saving as autoexec.cfg, but I did some further testing and the autoexec is indeed execing, it's just the null movement script isn't working and it's unbinding my keys
So you can confirm 100% autoexec is executing? (You can put a statement in your auto exec like "echo AUTOEXEC RUNNING" and see this output in console after startup.

If so, can you post the contents of your autoexec in a pastebin link?

If applicable, post any other configs that get run, such as a class config, or reset config if you've configured things this way.

Yeah, I'm running cowmanglia's so I'm getting the confirmation.
It's specifically the null movement script that's causing the issue

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 ""

this is the one I'm using, I don't know if it's outdated and that could be the problem

EDIT: I was able to find another null movement script and this one is working for some reason, I'm good to go now.

[quote=Kairu][quote=BazingaBarry82]
I am saving as autoexec.cfg, but I did some further testing and the autoexec is indeed execing, it's just the null movement script isn't working and it's unbinding my keys[/quote]

So you can confirm 100% autoexec is executing? (You can put a statement in your auto exec like "echo AUTOEXEC RUNNING" and see this output in console after startup.

If so, can you post the contents of your autoexec in a pastebin link?

If applicable, post any other configs that get run, such as a class config, or reset config if you've configured things this way.[/quote]
Yeah, I'm running cowmanglia's so I'm getting the confirmation.
It's specifically the null movement script that's causing the issue

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 ""

this is the one I'm using, I don't know if it's outdated and that could be the problem

EDIT: I was able to find another null movement script and this one is working for some reason, I'm good to go now.
Please sign in through STEAM to post a comment.