Upvote Upvoted 1 Downvote Downvoted
Where do i paste this
posted in Q/A Help
1
#1
0 Frags +

I'm new to this scripting thing or whatever so i dont know how this works exactly.

Anyway, i want to use this script but i dont know where to paste it, and the "author" didn't mention where to put it.

// Null-cancelling movement script
// (prevents you from pressing two opposing directions, which causes you to stop moving)

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

Basically what this does is that it prevents u from standing still while holding "a" and "d" at the same time, which can be useful for scouts an what not.
more information: http://ozfortress.com/showthread.php?t=39627

any help is appreciated as always, thanks :D

I'm new to this scripting thing or whatever so i dont know how this works exactly.

Anyway, i want to use this script but i dont know where to paste it, and the "author" didn't mention where to put it.

// Null-cancelling movement script
// (prevents you from pressing two opposing directions, which causes you to stop moving)

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

Basically what this does is that it prevents u from standing still while holding "a" and "d" at the same time, which can be useful for scouts an what not.
more information: http://ozfortress.com/showthread.php?t=39627

any help is appreciated as always, thanks :D
2
#2
1 Frags +

Pasting it in your autoexec is fine.

Navigate to your cfg folder (for me, it's in C: --> Program Files (x86) --> Steam --> SteamApps --> common --> Team Fortress 2 --> tf) and paste it into the file called "autoexec" there using Notepad, Notepad++, or any other alternative. If you don't have a file called autoexec there, just create one using, again, NP, NP++, or whatever and title it "autoexec.cfg" (quotes included so your file system can recognize it as a CFG File).

Your autoexec should do as its file name suggests, but if it doesn't, you can always just put +exec autoexec.cfg in your launch options.

Pasting it in your autoexec is fine.

Navigate to your cfg folder (for me, it's in C: --> Program Files (x86) --> Steam --> SteamApps --> common --> Team Fortress 2 --> tf) and paste it into the file called "autoexec" there using Notepad, Notepad++, or any other alternative. If you don't have a file called autoexec there, just create one using, again, NP, NP++, or whatever and title it "autoexec.cfg" (quotes included so your file system can recognize it as a CFG File).

Your autoexec should do as its file name suggests, but if it doesn't, you can always just put +exec autoexec.cfg in your launch options.
3
#3
1 Frags +
VandPasting it in your autoexec is fine.

Navigate to your cfg folder (for me, it's in C: --> Program Files (x86) --> Steam --> SteamApps --> common --> Team Fortress 2 --> tf) and paste it into the file called "autoexec" there using Notepad, Notepad++, or any other alternative. If you don't have a file called autoexec there, just create one using, again, NP, NP++, or whatever and title it "autoexec.cfg" (quotes included so your file system can recognize it as a CFG File).

Your autoexec should do as its file name suggests, but if it doesn't, you can always just put +exec autoexec.cfg in your launch options.

thank you very much

[quote=Vand]Pasting it in your autoexec is fine.

Navigate to your cfg folder (for me, it's in C: --> Program Files (x86) --> Steam --> SteamApps --> common --> Team Fortress 2 --> tf) and paste it into the file called "autoexec" there using Notepad, Notepad++, or any other alternative. If you don't have a file called autoexec there, just create one using, again, NP, NP++, or whatever and title it "autoexec.cfg" (quotes included so your file system can recognize it as a CFG File).

Your autoexec should do as its file name suggests, but if it doesn't, you can always just put +exec autoexec.cfg in your launch options.[/quote] thank you very much
Please sign in through STEAM to post a comment.