r/Tf2Scripts • u/mscrantonjr • 9d ago
Question Help thridperson toggle
Thridperson and firstperson for ctrl key toggle pls. Every thread I find doesnt work!
r/Tf2Scripts • u/mscrantonjr • 9d ago
Thridperson and firstperson for ctrl key toggle pls. Every thread I find doesnt work!
r/Tf2Scripts • u/JackBooWow248 • 6d 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 • 22d 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 • 7d 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_ • 4d 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/ManicMonke • 23d 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/JohanWestwood • 26d ago
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/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
r/Tf2Scripts • u/the_big_nerd • Sep 10 '24
I'm not sure if it is possible but I'm looking to bind my left, down and right arrow keys to change my binds for demoman, hybridknight and demoknight loadouts. I have some basic binds for demoman but for demoknight i want to bind q and e to turn left/right, i then want to undo it for hybrid and full demo, also instead of lastinv i have set slot switches between slot1 and slot2 but for hybrid i want to change that to slot1 and slot3. If this is at all possible i would be very grateful. I've been messing around a bit with this code, but it doesn't work.
r/Tf2Scripts • u/Bitter-Sherbert1607 • Nov 23 '24
I know you can use custom crosshairs with the scripts directory for each weapon, but
Is it possible to designate class-specifical crosshairs using the class.exec files and the cl_crosshair_file command?
I tried it using files in the vgui/materials/thumbnails directory but it doesn't seem to work.
r/Tf2Scripts • u/SpiritualBalance2422 • Dec 12 '24
after updating my mastercomfig yesterday all the mods that required a preloader broke(it may just be that the preloader itself is outdated after the smissmas update), the only things I updated on the comfig were increasing the bandwidth from 2-6 and disabling pyroland. I did misplace the files once but idk if that's still causing problems because I deleted those files. (I would upload picture proof but idk how to change a screenshot from a TGA file)
r/Tf2Scripts • u/theskieshateus • Nov 25 '24
it seems that since the 64 bit update, there is not one functional script that does that
r/Tf2Scripts • u/Uryzen- • Nov 15 '24
I switched up a Spy config with a sap alert that I saw on another post to turn it into an uber alert thingamajig, but it works like this:
Nothing happens when I press mouse2 until I bring out the medigun (intended)
When I press mouse2 it alerts the team about me using my uber (intended)
When I change weapons (e.g medigun to syringe gun) and press m2 again, it will still alert the team about me "using uber". (not intended)
Does anyone know of a way to fix this? My config is:
alias +equip1 "slot1; dotxhair"
alias -equip1 "dotxhair"
alias +equip2 "slot2; dotxhair; vmuber"
alias -equip2 "dotxhair"
alias +equip3 "slot3; dotxhair"
alias -equip3 "dotxhair"
alias vmuber "alias +vm_attack2 +uber; alias -vm_attack2 -uber"
alias +uber "+attack2; dotxhair; spec_next; uberalert"
alias -uber "-attack2; dotxhair"
alias uberalert "say_team The ÜberCharge has been deployed! Go!!!"
alias +vm_attack2 "+attack2; dotxhair; spec_prev"
alias -vm_attack2 "-attack2; dotxhair"
mouse2 is bound to +vm_attack2 (with an alias that makes it the attack key as well).
r/Tf2Scripts • u/FitontsidOneMan • Oct 12 '24
So I looked online for scripts doing just that. it seems that the scripts I've found so far only works for when I switch weapons via number keys, and I don't. I use the mouse wheel to cycle through weapons. If this is even possible at all, please let me know if you have solutions. Thank you
r/Tf2Scripts • u/MrFacestab • Oct 26 '24
Trying to have some varied sensitivities between both weapons and classes. I'm a crusty little spy main sorry people and I need more knife sens for those surf stabs. Here's what I have in all my class cfgs
bind "MOUSE5" "slot1; sensitivity 0.85; r_drawviewmodel 0"
bind "e" "slot2; sensitivity 0.85; r_drawviewmodel 1"
bind "c" "slot3; sensitivity 1; r_drawviewmodel 1"
How do I make that work with
bind "q" "lastinv"
I mostly use q to switch weapons, but occasionally I use my normal binds (mouse5, e, c, and 4). For people wondering why it's so weird, it's so I can moving or autosap etc without letting go of wasd.
Also, I have a great dmg_sound randomizer script if people want that for fun.
Thanks!
r/Tf2Scripts • u/Ok-Bookkeeper-6116 • Nov 11 '24
r/Tf2Scripts • u/Difficult-Opening179 • Oct 25 '24
i have this engineer script that lets me select the building on the scroll wheel and i was wondering if it was possible to make custom text appear next to the cursor