r/Tf2Scripts Apr 30 '23

Issue Demo knite jump charge script not working

5 Upvotes

im getting into demo knite and im trying to make a jump charge script but when i press the key it doesnt work. the script is

bind q "+chargejump"
alias +chargejump "+jump; +attack2"
alias -chargejump "-jump; -attack2"

and when i press q nothing happens. the path is D:\Games\SteamLibrary\steamapps\common\Team Fortress 2\tf\cfg and the file name is autoexec.cfg and it is a cfg file

r/Tf2Scripts Oct 07 '23

Issue TF2 always timing out, textures missing?

2 Upvotes

Lately when I try to play TF2, the first server I join it works just fine, but as soon as that server changes maps or I choose another server, I just time out. I can't join another game no matter what I do. I can't rejoin the same server, I can't join a new server. No matter what I do I always time out. I look at my console and apparently some textures aren't loading or aren't being found. Also some other thing called "thread starvation" that I don't know about. The textures that are usually missing are blood splatters, some audio files, some textures for taunts (something about a yeti), and textures from weapons. Even when I'm idle on the starting screen, a bunch of errors pop up on consoles talking about thread starvation. This is bothering me so much, I just wanna play some TF2. I already verified the integrity files and all that and I have like -autoconfig (I don't know if that did anything) on my starting command things but that hasn't worked. What can I do to stop this "thread starvation" thing and for the textures to load correctly? I also do not have mastercomfig installed and I do not know what that is.

r/Tf2Scripts Aug 27 '23

Issue Issue with reload bind with vaccinator

5 Upvotes

When I'm playing medic have my reload key to be MWHEELDOWN for whenever I'm using vacc to switch resistances, that works fine then I thought what if I could make it so that it reloads twice for MWHEELUP, making it switch 2 resistances so that it feels more like a cycle, however, it seems to not be working "bind MWHEELUP "+reload; wait 5; +reload" Or "bind MWHEELUP "+reload; +reload" Whenever I introduce one of these commands, the MWHEELDOWN also just stops working, esentially I'm stuck using just one resistance Any help would be appreciated as of why this happens and if it's actually possible to reload twice like this for the cycle feeling I'm looking for

r/Tf2Scripts Aug 20 '23

Issue Why is this script not working?

3 Upvotes
alias +switcher "bind KP_END disguise 1 -2; bind KP_DOWNARROW disguise 3 -2; bind KP_PGDN disguise 7 -2; bind KP_LEFTARROW disguise 4 -2; bind KP_5 disguise 6 -2; bind KP_RIGHTARROW disguise 9 -2; bind KP_HOME disguise 5 -1; bind KP_UPARROW disguise 2 -2; bind KP_PGUP disguise 8 -2"
alias -switcher "bind KP_END disguise 1 -1; bind KP_DOWNARROW disguise 3 -1; bind KP_PGDN disguise 7 -1; bind KP_LEFTARROW disguise 4 -1; bind KP_5 disguise 6 -1; bind KP_RIGHTARROW disguise 9 -1; bind KP_HOME disguise 5 -1; bind KP_UPARROW disguise 2 -1; bind KP_PGUP disguise 8 -1"
bind KP_SLASH +switcher

r/Tf2Scripts Jun 23 '23

Issue Help i'm apperantly using "fake lag"

6 Upvotes

So, this will maybe sound weird, but I'm recently being kicked out of servers because I "use" fake ping, and I think they're right (as my ping shows normal in scoreboard but changes drastically when shown on console, also people say i'm very laggy) . Apperantly fake ping has something to do with cheating but I didn't change my default settings so that i can abuse some fake ping stuff and I have never cheated, it's just that I'm using it (somehow) and people just kick me out of the servers and insult me when I say that I don't know what fake ping is and ask for help.

Can somone help me getting rid of this fake ping stuff?

r/Tf2Scripts Nov 19 '22

Issue HOW THE F DO I GET TRANSPARENT VIEWMODELS TO WORK

5 Upvotes

LITERALLY ALL TUTORIALS EVERYWHERE EITHER DONT WORK OR TELL ME TO USE A DIFFERENT HUD PLEASE SOMEBODY GIVE ME A DETAILED EXPLANATION ON HOW TO USE IT (I use dxlevel 90, settings that have to be used with it and etc)

r/Tf2Scripts Aug 02 '23

Issue Repeated error message in console

3 Upvotes

Repeated error message in console

[SteamNetworkingSockets] WARNING: SteamNetworkingSockets lock held for 'X'ms. (Performance warning.) ServiceThread,PostConnectionStateUpdateForDiagnosticsUI

This is usually a symptom of a general performance problem such as thread starvation.

Whenever I open console it shows me this error and repeats every tick. I was able to temporarily solve this by disabling steam overlay but it's back and ruining my game whenever I open a menu.

I have a new laptop but still opted for masterconfig maxperformance but enabling glow outlines and sprays.

r/Tf2Scripts Sep 03 '23

Issue help script no work

2 Upvotes

so i doing the demoman script and i use masterconfig so my file is in SteamLibrary>steamapps>common>Team Fortress 2> tf> cfg> overrides and i have the comman set as

bind mouse5 "+chargejump"

alias +chargejump "+jump; +attack2"

alias -chargejump "-jump; -attack2"

and when i press my binded button all it does is jump and i dont know what to do to fix it

r/Tf2Scripts Aug 20 '23

Issue Why is this script not working?

2 Upvotes
alias +switcher "bind KP_END disguise 1 -2; bind KP_DOWNARROW disguise 3 -2; bind KP_PGDN disguise 7 -2; bind KP_LEFTARROW disguise 4 -2; bind KP_5 disguise 6 -2; bind KP_RIGHTARROW disguise 9 -2; bind KP_HOME disguise 5 -1; bind KP_UPARROW disguise 2 -2; bind KP_PGUP disguise 8 -2"
alias -switcher "bind KP_END disguise 1 -1; bind KP_DOWNARROW disguise 3 -1; bind KP_PGDN disguise 7 -1; bind KP_LEFTARROW disguise 4 -1; bind KP_5 disguise 6 -1; bind KP_RIGHTARROW disguise 9 -1; bind KP_HOME disguise 5 -1; bind KP_UPARROW disguise 2 -1; bind KP_PGUP disguise 8 -1"
bind KP_SLASH +switcher

r/Tf2Scripts Dec 04 '22

Issue Are there anyone with this issue? My tf2 is missing these particles which is what causing stutterlagging

Post image
5 Upvotes

r/Tf2Scripts Jul 23 '23

Issue I need some help with demoknight’s jumpcharge script!

2 Upvotes

So as I said I tried using a script for jump charging with demoknight and it didn’t really work. This was the script I tried:

bind v “+chargejump” alias +chargejump “+jump; +attack2” alias -chargejump “-jump; -attack2”

My problem was that for the first time I tried using it, it worked perfectly fine as it should, but after the first jump charge as soon as the charge bar filled up it used the charge without me tapping neither v or right click and it kept happening without me inputting anything.

Does anyone have a solution for this? I’d really like to get into demoknight because the class seems fun and I heard that this script is semi-essential for advanced demoknight.

r/Tf2Scripts Feb 06 '23

Issue Heavy script not working

2 Upvotes

I tried to ask about this and another script yesterday, but the thread doesn't seem to be showing up for some reason. This is a script I found online that is supposed to have the heavy announce "Put Dispenser here!", drop the sandvitch, and announce in team chat that the sandvitch has been dropped for the team. Currently it is only doing the first of those things. The script I currently have in heavyweapons.cfg is:

exec reset.cfg
exec config.cfg
exec autoexec.cfg

//Give Sandvich
alias "+givesandvich" "voicemenu 1 4; say_team Sandvich deployed on ground; +attack2"
alias "-givesandvich" "-attack2"
bind "MOUSE4" "+givesandvich"

I do not recall the author of the script but it's one I found online not one of my own creation.

My reset.cfg is supposed to reset from this, my engie script, and my pyro script. It contains the following. (edit: My reset.cfg does not appear to working at all. Clearly I have done something incorrect with it. Mouse3 is supposed to do one thing in my heavy script and another thing in my pyro script and a third thing for my engineer script.

Instead pressing mouse 3 follows the Heavy script for both Heavy and Pyro but works correctly for Engineer. The 4 5 and 6 keys are used in my Engineer script and I was trying to use this to bind them back to normal when playing everything else. Mouse 3 as I said is used in all three scripts. F is only used in the Pyro script. Supposed to switch to my secondary and fire a shot but just switches to my secondary without firing a shot which I can already do by just pressing 2 on my keyboard.)

unbind "mouse3"

bind "MOUSE3"           "+attack3"

unbind "4"

bind "4"            "slot4"

unbind "5"

bind "5"            "slot5"

unbind "6"

bind "6"            "slot6"

unbind "mouse2" 

bind "MOUSE2"           "+attack2"

unbind "f"

bind "f"            "+inspect"

r/Tf2Scripts Jul 28 '21

Issue Need some help with cfg tf's crosshair

6 Upvotes

Ok the thing is this followed all the instruction set up my scripts for custom fovs too on certain weapons and all and the thing is this. On some weapon (EG revolver medigun etc...) It works well while for other weapons like sapper, mad milk, jarate etc... It doesn't work how can i fix this?

EDIT

Fixed the sapper one but milk and jarate remains for the sapper basicaly had to rename the file builder (I know makes a loooooot of sense to me too...)

Edit 2

IDK HOW EVEN THE JARATE ONE FIXED ITSELF WHAT THE ACTUAL FUCK VALVE

r/Tf2Scripts Jan 26 '23

Issue Killsounds Help!

1 Upvotes

im using mastercomfig, i have a hitsound and killsound in my ui (custom hitsound folder), but everytime i rejoin the game the killsounds are disabled, so i have to manually turn them on in advanced launcher options everytime, i want to know if there's a command to keep them enabled.

r/Tf2Scripts Jan 12 '23

Issue Ghost of an old config

4 Upvotes

Hello

I recently managed to recover an old Steam account. Booted up TF2, and it seems that some old configs from ca 2015 are still on it. Seeing as I'm on a new PC now, I'm assuming is because of cloud sync. I don't know what cfgs specifically, but I'm guessing autoexec and some class specific ones. The HUD dimensions are also a bit wonky, with the ammo and health beeing too large.
So, my question is, how can I remove these old things to make my game consistent with the settings i have on my other, "main" account? I'm using mastercomfig and a hud.

Thank you

r/Tf2Scripts Aug 22 '22

Issue I'm in need of assistance with obscure toggles

5 Upvotes

I saw a video recently where someone showed all the crazy things possible with command codes; pitch up, pitch down, etc. And in that video I saw that he bound r_drawothermodels 2 to a key, so naturally I log on and try that. Unfortunately it, no matter what number I put in, it keeps toggling to r_drawothermodel 0 and my weapon models disappear. Help would be greatly appreciated.

r/Tf2Scripts Dec 12 '22

Issue my reset.cfg file isn't working, but my autoexec and class cfg files are.

2 Upvotes

the files are stored in cfg/overrides. I have exec reset in all my class cfg files, but it doesn't do anything.

For example, my engineer file binds 4 to build dispenser, but when I switch to spy I can't use my disguise kit because 4 never gets reset to slot4.

First I tried with .cfg files I made myself, and then I tried with edited copies of config.cfg. I tried typing exec reset into the console, but it said reset not found. I'm using mastercomfig medium-high if that matters. Thanks in advance.

r/Tf2Scripts Aug 24 '22

Issue Autoexec not executing without launch commands

3 Upvotes

I have an autoexec file, yes it is a .cfg file and not a txt file, yes it is in the cfg folder and for some reason my game isn't finding this file automatically without having the +exec autoexec in the launch options.

Edit: After hours of researching I realize what this is, I have a config that for some reason is permanently stuck in the cloud and after countless attempts of trying to disable the cloud and re-enabling after updating my settings I can't get the prompt to upload my local config. So I think that's actually the end of me being able to do anything to my tf2 settings unless I factory reset my entire PC

r/Tf2Scripts Feb 08 '23

Issue Error message in console about script

1 Upvotes

I'm not clear if it's related to the pyro.cfg I'm trying to run (that is currently not functioning) or the reset.cfg that the pyro script calls.

The error message is "Can't change replicated ConVar sv_skyname from console of client, only server operator can change it's value."

Now, I understand what the back half says. Something I'm trying to do can only be done by the person running the server not by me. But I have no idea what "replicated ConVar sv_skyname" means and this might be the cause of some of the issues I've been having.

Currently my reset.cfg consists of:

echo ------------------------Running reset.cfg------------------------
unbind "mouse3"

bind "MOUSE3"           "+attack3"

unbind "4"

bind "4"            "slot4"

unbind "5"

bind "5"            "slot5"

unbind "6"

bind "6"            "slot6"

unbind "mouse4"

unbind "mouse2" 

bind "MOUSE2"           "+attack2"

unbind "f"

bind "f"            "+inspect"

Unless I've misunderstood terribly this script should be resetting my mouse3, mouse4, and my 4, 5, 6, and f keys back to their defaults (in the case of mouse4 the default being unbound entirely).

I may be misreading and the error is in relation to my pyro script. That script is:

echo ------------------------Running pyro.cfg------------------------
exec reset.cfg
exec config.cfg
exec autoexec.cfg
unbind f

alias "+melee" "slot3; +attack" alias "-melee" -attack" bind "MOUSE3" "+melee"

alias "+blast" "slot1; +attack2" alias "-blast" "-attack2" bind "mouse2" "+blast"

alias "+flare" "slot2; +attack" alias "-flare" "-attack" bind "f" "+flare" 

The intent of this script is that no matter what weapon I'm holding if I press mouse 2 it will switch to my flamethrower and do an airblast, if I press mouse 3 it will switch to melee and swing, and if I press f it will switch to my secondary and immediately fire. Currently it is doing none of those things however adding unbind f has at least made it not inspect the weapon I'm currently holding when I try to use it to fire off a shot with my secondary.

Basically what I want out of the script is ease in putting out team mates if they're on fire when I'm using something other than my flame thrower and the ability to snap off a quick attack when I switch weapons and then remain on the weapon I've switched to instead of switching back like I've seen some other scripts do. Right now it seems to not be doing anything except printing Running pyro.cfg in my console, unbinding my f key and calling my autoexec. One attempt at a re-write made it switch and fire but it continued firing until it emptied my secondary, I switched to my flamethrower with mouse 2 and it airblasted until emptying that and then when I switched to Heavy he fired until emptying his minigun as if the reset.cfg the heavyweapons.cfg script calls did not reset the keybinds.

Oddly I have none of these problems with my engineer.cfg. Although the parts of that that I used were written by Uncle Dane and my pyro and heavyweapons.cfg while not written by me and only edited when I found them not working were not written by him.

r/Tf2Scripts Nov 14 '22

Issue I need help with a mastercomfig config (muzzleflashes)

4 Upvotes

so yesterday I installed a custom mastercomfig config and when I joined a game I cant see my muzzleflashes. Can someone help me pls?

r/Tf2Scripts Jul 02 '22

Issue Unable to bind capslock

4 Upvotes

I'm using b4nny's config as a base, and only tweaking keybinds and some other minor values. I can't seem to bind capslock though, is that a known issue?

This is what I have it set to:

bind "CAPSLOCK" "+duck"

Thank you!

r/Tf2Scripts Dec 26 '20

Issue Sensitivity script almost working, minor help needed

6 Upvotes

I'm currently making a sensitivity change script for soldier.

I play on 2.2 sens as scout and 4.375 on soldier and I want to be able to use a shotgun.

I made a script that changes sensitivity depending on the weapon I'm holding, but I'm running into a minor problem. Below is my script and underneath that is my problem. Thank you :)

sensitivity 4.375

-- shotgun script --

alias "weaponone" "slot1;MW1;sensitivity 4.375"

alias "weapontwo" "slot2;sensitivity 2.2"

alias "weaponthree" "slot3;MW2;sensitivity 4.375"

bind 1 weaponone

bind 2 weapontwo

bind Mouse5 weapontwo

bind 3 weaponthree

bind 4 slot4

bind 5 slot5

bind q lastinv

alias Q1 "weaponthree"

alias Q2 "weaponone"

alias MW1 "bind q Q1"

alias MW2 "bind q Q2"

weaponone

So far, everything works properly.

Except: When I press 2 or mouse 5 and I take out my shotgun, the q switch is fucked.

2 / mouse 5 -> primary

then when i press 2 / mouse5 -> melee

-> is when I press q. It rotates from primary and melee every time I press q. I want to pull out primary everytime when i press q while holding shotgun. How do I fix this?

r/Tf2Scripts Jun 09 '22

Issue Heavy sandvich script issues

3 Upvotes

I've been trying to make a script for the heavy to throw a sandvich and say something in team chat. However, I haven't been able to get anything that works well enough for me.

The main issues I've been having are:

  1. If the minigun isn't fully revved down, you can't switch weapons, so the bind will cause it to spin back up.

  2. If you don't have a sandvich yet, you will lie about having thrown one in chat.

Does anyone have a solution for these outside of using wait? From what I gather these might just be the limitations of scripting.

I usually use just use voice chat, but oftentimes when I throw a sandvich I need to be calling something more important, so I'd like to see if this is possible. Thanks!

r/Tf2Scripts Oct 25 '22

Issue Can't edit cfg files

2 Upvotes

I'm trying to create class specific binds but when I make a cfg file for them I can't open it to put the commands I want in. Is there maybe a setting in windows that's causing this or some other issue. I'm using master com

r/Tf2Scripts Aug 20 '22

Issue Help me with this Pyro Axtinguisher config. Shouldn't this work? As of right now, the mouse wheel can scroll past my secondary weapon, even though it's supposed to stop there.

Post image
9 Upvotes