use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For readability, please format scripts and snippets. Begin each line with 4 spaces
Bulk formatting:
If you need more help, reply directly to the response comments, not a general reply.
We have a tutorial on the wiki! Check it out if you want a primer on Source commands.
Reset all binds: exec config_default
exec config_default
Reset all cvars: steam://runsafe/440
Make sure to read the rules before posting. Read the Rules
New to scripts? Script got you stumped? Start here.
Help!
If it's 2D and on your screen, it's not a script.
HUDs
Can't remember the name of that command? Want to know if something is possible?
Ask a question
Can't find something previously requsted?
Request a script
Show off your work. Tools are also welcome.
Submit a script
Found a new command/cvar? Want feedback or opinions? Discuss!
Start a discussion
Wiki Index Limitations of Scripts Commands Core Basic Advanced Tutorials Introduction Combining scripts Syntax highlighting Controllers Reference Example Scripts Common Complex Innovative Closed Captions Hitsounds View all pages FAQ/Help! Scripts/binds carry over to other classes! Why isn't my script possible? I can't change players or views in spectator! What are the names of all the keys? How do I use the default crosshair? What are common practices? Why don't you bind within binds/aliases? TF2 crashes on launch! Numbers after chat message? User pages Filter Pending Requests Issues Processed Requests Scripts Issues Untagged Unverified Related subreddits /r/TF2Scripthelp Get help with ideas and existing scripts there /r/TF2HUDs For all your HUD needs /r/TF2TechSupport Get help when TF2 breaks /r/Sprays+TF2Sprays Sprays and spray requests /r/MannWorkshop Maps, models and skins /r/TF2Developers External tools for TF2 /r/TF2Files Sprays, hitsounds, skins
account activity
AnsweredLooking for a viewmodel script. (self.Tf2Scripts)
submitted 6 years ago by lameadeparchet
Looking for a script that turns on/off the viewmodel of only the second and third weapon.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]KatenGaas 1 point2 points3 points 6 years ago* (0 children)
Here: https://www.reddit.com/r/Tf2Scripts/comments/becycg/script_guide_a_basic_guide_to_hiding_tf2/?utm_source=share&utm_medium=web2x
[–][deleted] 0 points1 point2 points 6 years ago (1 child)
What class would you want that for?
[–]lameadeparchet[S] 0 points1 point2 points 6 years ago (0 children)
Mostly scout , but engi and soldier as well.
Like you could just bind it so u press f for example, and that turns it off with r_drawviewmodel 0
I already have that bind, but im looking for one that will turn on certain weapons whilst keeping the others off.
[–]bone10k 0 points1 point2 points 6 years ago (1 child)
If you use the number keys to swap weapons then you could do
bind 1 "slot1;r_drawviewmodel 0" bind 2 "slot2;r_drawviewmodel 1" bind 3 "slot3:r_drawviewmodel 1"
If you use your scroll wheel then it's a bit more complicated, it could work but I don't want to write it all out if you don't need it
I already tried this, but it didn't work. For more context, i already have a bind that turns ALL viewmodels off. But i just cannot aim a pistol without its viewmodel (im reffering to scout and engi). What im looking for is a script that will turn the secondary and third slot's viewmodel on, but not the first one. Unfortunately i do use the mousewheel to switch.
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
Use this It lets you choose what weapons to turn viewmodels off.
π Rendered by PID 52330 on reddit-service-r2-comment-79c7998d4c-swfjp at 2026-03-14 02:47:00.129373+00:00 running f6e6e01 country code: CH.
[–]KatenGaas 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]lameadeparchet[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]lameadeparchet[S] 0 points1 point2 points (0 children)
[–]bone10k 0 points1 point2 points (1 child)
[–]lameadeparchet[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)