Off Topic > Games
TF2 Script Ideas?
Dapizzanator:
While my friend was using my computer the other day, I wanted to play TF2 on the XBox.
In a nutshell, it sucked.
But, I did find out that I was amazing with the sniper, because almost every time I shot, it was a headshot. It was because of the low sensitivity I had on.
So, I was wondering, anyone who knows about TF2 scripts, can you make me a script that changes my sensitivity when I have the Sniper Rifle out, and changes back when it's any other weapon (Including Kukri, SMG, etc)? That would be great, thanks.
Look at the double-post.
yuki:
Google it.
http://tf2wiki.net/wiki/Sniper_scripts
--- Quote ---Change sensitivity while scoped
This script will change the mouse sensitivity only when you are scoped. There are obvious benefits to this... you can have a high sensitivity when with secondary weapons, and a slower more accurate rifle while scoped.
Change 1.4 and 4.5 in the sensitivity area to whatever you want. 1.4 is the sensitivity I like when scoped, and 4.5 is the sensitivity the rest of the time.
--- End quote ---
--- Code: ----aim // This resets the sensitivity.
alias "aim" "+aim"
alias "+aim" "sensitivity 1.4; alias aim -aim" // Sensitivity when scoped.
alias "-aim" "sensitivity 4.5; alias aim +aim" // Sensitivity when non-scoped.
bind "space" "+jump; -aim" // If the sensitivity messes up, hit SPACE.
bind "mouse2" "aim; +attack2; wait 40; -attack2" // You can change mouse2 to whatever you use for scoping.
--- End code ---
--- Quote ---Alternately, use the cvar: zoom_sensitivity_ratio "#" where # is the multiple of your regular sensitivity you want.
For example: 4.5 normal and 1.4 zoomed = 0.311 (1.4/4.5) so: zoom_sensitivity_ratio "0.311"
--- End quote ---
Took me 10 seconds. Holy christ.
Dapizzanator:
Wow, thanks. I was looking around on FPSBanana, and their search is stuff since you can't search for a certain game. Sorry.
Dapizzanator:
Yeah, I did just bump this.
After looking at some codes, I saw that this was actually pretty easy. Anyone wanna give me some ideas on a simple script to attempt, either class-specific or generic (Like an auto-crouch-jump script I already have)? Thanks, I just wanted to try my hand at it, but didn't know what to do.
Harm94:
You rely on scripts for every thing. In my day you did everything manually.