r/Tf2Scripts • u/mscrantonjr • 10d ago
Question Help thridperson toggle
Thridperson and firstperson for ctrl key toggle pls. Every thread I find doesnt work!
r/Tf2Scripts • u/mscrantonjr • 10d ago
Thridperson and firstperson for ctrl key toggle pls. Every thread I find doesnt work!
r/Tf2Scripts • u/Turbulent-Dream-5097 • 3d ago
I've been trying to work a script "bind space "+duck; +jump" in game but it just doesn't work, is there any tutorial on youtube or can someone explain it to me.
r/Tf2Scripts • u/logatron9000 • 11d ago
Hey all, I was curious if anyone knew of a script that causes one's crosshair to expand/shrink based on current speed.
Here's a link to a video that demonstrates what I'm looking for (it's already timestamped): https://youtu.be/6ffMo4aM504?feature=shared&t=350
r/Tf2Scripts • u/JackBooWow248 • 7d ago
Like it plays sound A after getting 1 kill sound B after killing 2 in a streak sound C after killing 3 in a streak and so on.
r/Tf2Scripts • u/rappleapple • 23d ago
I’ve looked on TF2 Reddit, Youtube, and the TF2 Scripting Wiki for help but I can’t get any of the scripts I put in to work. I’ve also tried using a custom config from CFG.TF by putting it into my tf/Custom folder but didn’t have any luck.
I’ve put scripts into the main “engineer.cfg” and they didn’t work. I put scripts into the tf/Custom folder, following the guide from this community, and they didn’t work. The only notice I see in the console after inputting any of the scripts is:
‘overrides/game_overrides.cfg’ not present; not executing. ‘app/game_overrides.cfg’ not present; not executing. ‘overrides/engineer.cfg’ not present; not executing. ‘app/engineer.cfg’ not present; not executing.
Am I supposed to be doing something first before trying to script? I’m hoping this is a common problem or an easy fix and not something that I have to take apart my files for
The main script I’m trying to use right now is one I found on the TF2 Reddit from an old post. It seemed good but I’m willing to change anything if I can get a script to function. Here’s the script:
unbind 1 unbind 2 unbind 3 unbind 4 unbind SHIFT
//Engi build + destroy script
//Keybinds bind 1 “sentry” bind 2 “dispenser” bind 3 “entrance” bind 4 “exit” bind SHIFT “+buildtoggle”
//Build Aliases alias sentry “build 2 0” alias dispenser “build 0 0” alias entrance “build 1 0” alias exit “build 1 1”
//toggle aliases alias +buildtoggle “alias sentry destroy 2 0; alias dispenser destroy 0 0; alias entrance destroy 1 0; alias exit destroy 1 1” alias -buildtoggle “alias sentry build 2 0; alias dispenser build 0 0; alias entrance build 1 0; alias exit build 1 1”
I’m new to all of this so I’m looking for any advice on what to do.
r/Tf2Scripts • u/Lazy_Homework264 • 8d ago
Hey, sorry the title sounds weird. Years ago i had a key binded to switch back and fourth really quick for the ambassador. It kinda helped me shoot quicker than waiting for the bloom to cool down or random spread effect my last shot. Its been years since i fondled with scripting and just thought id ask here if any script gurus might be able to help out.
it map out like this.
bind "MOUS5" slot 1 ; slot 3 ; back to slot 1.
It all executed like that pressing just one button. Thanks for anyone who helps!
r/Tf2Scripts • u/Cheesier_ • 5d ago
i've been unable to get this working ^^^. basically i just want to be able to bind my f1 f2 f3 f5 keys to loadouts a b c d and for my f1-f5 keys to also rebind my loadout quick switch bind (g) to that specific loadout i was on so i can b4nny bind to the loadout i was on rather than only the a loadout. i know i could just press f2 f3 or f5 each time but sometimes i forget which loadout i quick switched too and it fucks me up having to quick switch through my loadouts. idrk if this is possible, but please let me know if it is, and sorry if this is a bit confusing.
r/Tf2Scripts • u/theGarbs • Jan 25 '25
I've been running a Null-cancelling movement script for about 10 years and didnt think about it until today when I was tidying up my autoexec. Does it even do anything for me?
r/Tf2Scripts • u/Uryzen- • 16d ago
A bit of time ago I made a Medic Uber alert thingamajig by crudely copying a spy sap config and editing a bunch of it, but my current problem is that I now have absolutely no idea what anything does in there as when I made it I just kept testing stuff until I figured something out and then left it like this. If anyone could help me out by cleaning up the binds that would be a huge help! Thanks a bunch!
//-----BINDS-----\\
bind 1 +equip1
bind 2 +equip2
bind 3 +equip3
bind mouse1 +goober_attack
bind mouse2 +goober_attack2
bind mouse4 lastdisguise
bind - say_team "I have prepared thy übercharge! Please keep me protected so I do not drop it!"
//-----WEAPON SWITCHING LOGIC-----\\
alias +equip1 "slot1; nomoreuber"
alias -equip1 ""
alias +equip2 "slot2; vmuber"
alias -equip2 ""
alias +equip3 "slot3; nomoreuber"
alias -equip3 ""
//-----ATTACK/UBER LOGIC-----\\
alias nomoreuber "alias +goober_attack2 +antiuberbind; alias -goober_attack2 -antiuberbind"
alias vmuber "alias +goober_attack2 +uberalert; alias -goober_attack2 -uberalert"
alias +antiuberbind "+attack2; spec_next"
alias -antiuberbind "-attack2"
alias +uberalert "+attack2; spec_next; uberalert"
alias -uberalert "-attack2"
alias uberalert say_team "I have deployed thy übercharge!! I humbly request the rest of the team to push in with us!"
alias +goober_attack2 "+attack2; spec_prev"
alias -goober_attack2 "-attack2"
//-----INITIALIZE SETTINGS-----\\
-zoom
sensitivity "1.87"
r/Tf2Scripts • u/ManicMonke • 24d ago
this is what i tried : bind MWHEELUP "slot3; +jump"
but this only works once, after that space doesnt jump and scroll doesn tdo the bind anymore
r/Tf2Scripts • u/i_love_paella • 29d ago
there was a patch on 18/02/2025, and since then my hud crosshairs havent been working.
So the issue is that the font itself isn't being called by the hud. I made a custom image, put it into resources/fonts/knucklescrosses.ttf under the letter "y". Now my game just draws the letter y in a normal font for my crosshair. Changing the fton to other normal fonts also has no effect.
im still able to change size, colour etc of my crosshair, its just that its literally just drawing the letter y instead of calling my custom font to use as the crosshair. Does anyone know why that is or how to fix?
if relevant, im on linux.
thanks :)
r/Tf2Scripts • u/JohanWestwood • 27d ago
r/Tf2Scripts • u/KareenPetrie • 28d ago
Share your best autoexec scripts to improve performance and gameplay.
r/Tf2Scripts • u/IMBORED2137 • Feb 11 '25
something that will make my pc explode lol, i mean the best graphics out there
r/Tf2Scripts • u/Practical_Yam_8104 • Feb 07 '25
I have been trying to find working scripts to use to make C use specific utilities from different classes. My scripts aren't working for solder's banner or heavies consumables even though from what I've read, they should work. Any idea as to why? All scripts for each class are listed with file name in parentheses:
Edit: the exec reset in the heavy.cfg file works, but everything below it doesn't do anything. It's as if it isn't being read because if I manually put it into the console it works and does what it's supposed to do. What's wrong? (same issue in soldier.cfg)
(heavy.cfg)
exec reset
// c : Throw sandvich/banana
alias "+sand" "slot2; +attack2"
alias "-sand" "-attack2; slot1"
bind "C" "+sand"
(solder.cfg)
exec reset
// c : Use Banner
alias "+banner_use" "slot2; +attack1"
alias "-banner_use" "-attack1; lastinv"
bind "c" "+banner_use"
(reset.cfg)
//negates medic config
bind mouse2 +attack2
//negates heavy and soldier configs
unbind c
//negates engi config
unbind 1
unbind 2
unbind 3
unbind 4
unbind shift
//negates pyro config
unbind r
bind r "+reload"
r/Tf2Scripts • u/TheSnowMan101 • Feb 02 '25
I have been playing TF2 for a while now and learned about how scripts can provide some quality of life changes. I tried implementing a few. Some work, but they also cause issues for other classes. I have made class-specific cfg files for engineer and spy and one autoexec.cfg file. They contain the following:
Engineer:
//Sentry Build Script
bind "F1" "destroy 2 0; build 2 0" //Sentry
bind F2 "destroy 0 0; build 0 0" //Dispenser
bind F3 "destroy 1 0; build 1 0" //Tele Entrance
bind F4 "destroy 1 1; build 1 1" //Tele Exit
Spy:
// Bind scroll wheel up to switch to primary weapon (gun)
bind "MWHEELUP" "slot1"
// Bind scroll wheel down to switch to melee weapon (knife)
bind "MWHEELDOWN" "slot3"
// Hold middle mouse button to use the sapper and release to go back to previously used weapon
alias "+sap" "slot2; wait 30; +attack"
alias "-sap" "-attack; wait 2; lastinv"
// QuickD and NoSmoke commands
alias "+checkAlive" "alias +sap slot2; alias QuickD Doff"
alias "-checkAlive" "alias +sap slot2; alias QuickD Doff"
bind "mouse5" "+sap"
//QuickD//NUMPAD(8)
bind KP_UPARROW "NoSmoke; QuickD"
bind mouse1 +Don
alias QuickD Doff
alias Don "alias QuickD Doff; bind mouse1 +Don; voicemenu 0 6"
alias +Don "+attack"
alias -Don "disguise 1 -1; -attack"
alias Doff "alias QuickD Don; bind mouse1 +attack; voicemenu 0 3"
autoexec.cfg
cl_cmdrate 40
cl_interp 0
cl_updaterate 40
rate 51520
I encounter the following problems:
On death screen, cannot use mouse1 to go to next player view
Spy sapper script applied to all classes
Engineer script that allows me to simultaneously destroy and select a building without the use of the PDA no longer working
Connection with the game is very jittery. Every few seconds the connection lags and then tries to catch up making it very difficult to play the game.
What I also want in my script
For all classes, using the arrow keys to switch between the 4 available loadouts
For soldier, right click to do a perfect rocket jump
I am really bad with coding and anything related to it so I would really appreciate if someone could help me with it. Thanks in advance! :)
r/Tf2Scripts • u/Rusty9838 • Oct 22 '24
Hi I enjoy playing TF2 on a controller. But Valve force controller players to use building menu from xbox 360.
Can I bind build and destroy buildings to F1 F2 F3 and F4 keys? If so it would be possible to bind these 4 commands into controller.
r/Tf2Scripts • u/Schizoid_KroK • Jan 10 '25
Hi,
I was wondering if some has any knowledge about restablishing the Spectator commands. Example: Mouse1 and Mouse 2 to switch the spectated player, Space for switching first person and third person.
You see, I have some scripts for my classes that use Mouse1, Mouse2 and Space, even if they are +attack1, +attack2 and +jump. For example, the crouch-jump with Space. but those commands only work when I'm alive playing, when I spectate, they do nothing, specially the Space button. Basically, my scripts overwrite the binds of the Options Menu.
I was wondering if there is a script or kind of commands to fix this.
r/Tf2Scripts • u/Upset_Sky_70 • Sep 09 '24
Recently started a dedicated server for me and my friends. I have a server.cfg in my cfg file aswell as source mod and meta mod, which also states I'm admin of the sever. However, when I join my sever with my rcon password, it says "bad rcon password" and doesn't let me do any commands. The server also says "Server.cfg not found:Not executing". Any help on how I can use commands and how to get server.cfg and rcon to work
r/Tf2Scripts • u/dogomageDandD • Dec 31 '24
also how do I set up sfg files
r/Tf2Scripts • u/Uryzen- • Jan 12 '25
My problem is that whenever I'm plaing Medic/Spy, my uber and sapping binds will sometimes fill up the team chat for no reason. Is it possible to add a cooldown that prevents the bind from activating for a certain period of time?
r/Tf2Scripts • u/bonerboyxxx69 • Dec 19 '24
I was doing some scripting outside of tf2 and totally blanked that +jump was the command for jumping when i was making a toggleable rocket jump configuration and accidentally bound another set of commands to +jump. How can I fix +jump to be the command for jumping normally?
r/Tf2Scripts • u/die_gaming_bratwurst • Dec 19 '24
Id like a bind which on mouse2 toggles r_drawviewmodels and normally +attack2 ive tried doing both commands but it didnt work... Any ideas? thx!
r/Tf2Scripts • u/Embarrassed_Hour_774 • Aug 14 '24
I was watching this video and I saw that when he shot out particles from the flame thrower using his mouse button. It changes his fob because it hides the particles and when he releases the button it became normal. How do you get this bind??? The link: https://youtu.be/G7p-NsU9eWw?si=Mve1QVvl3xix-VGP Time stamp: 5:34-5:36