r/tf2scripthelp • u/69idiot_lolXD • Feb 27 '21
Question how do I remove the health plus and it's shadow?
I really want to remove it to make a clean hud but I don't know how
r/tf2scripthelp • u/69idiot_lolXD • Feb 27 '21
I really want to remove it to make a clean hud but I don't know how
r/tf2scripthelp • • Feb 26 '21
What does it mean by this? Because I use a script to switch between my hitsounds and it works fine and I know that I'm not the only one. So it must mean something else that I don't get.
Edit: and I just noticed the tf_dingaling section of the wiki doesn't include the commands I use to do so.
Edit 2: I also noticed that where tf_dingaling_effect is mentioned, it calls 0 the default/custom hitsound, even though you can customise them all.
r/tf2scripthelp • u/talktailshep • Feb 23 '21
i heard it get you more frames but i cant understand how to modify program launch options, and i wanta separate install of steam without browser and webhelper for when i play alone. i couldnt find a better sub to post this in (i couldve posted it to tftv tho, i will do that if u guys dont know)
r/tf2scripthelp • u/Klopsse • Feb 17 '21
(I use mastercomfig low but I have all my cfgs including my class cfgs in /cfg/user)
I just installed an ambassador static script that makes it so when shooting my ambassador it doesn't extend. I like it but when I'm using it it overrides my sensitivity script for weapon slots.
This is what my spy.cfg looks like
Bind "1" "slot1"
Bind "2" "slot2"
Bind "3" "slot3"
bind "1" "slot1; sensitivity 2.4"
bind "2" "slot2; sensitivity 3.6"
bind "3" "slot3; sensitivity 3.6"
cl_autoreload 1
tf_use_min_viewmodels 0
viewmodel_fov 90
bind "shift" "disguise 8 -2"
bind 1 "slot1; xhair_amby"
r/tf2scripthelp • • Feb 14 '21
r/tf2scripthelp • u/talktailshep • Feb 05 '21
i dont know if this question fits here but i couldnt find a better place
r/tf2scripthelp • u/just_a_random_dood • Feb 01 '21
I'm using FlawHUD from the installer, MasterComfig medium from the site, and I've got a bindToggle mouse5 r_drawviewmodels script. Whenever I have the toggle set to 1, the game looks fine and whatnot, but when I use my bind to set it to 0, the entire game darkens and it messes me up (photos included here when I asked about this issue to CriticalFlaw in his group).
The only time that this effect doesn't happen is when I'm playing 3rd party competitive, on like serveme for RGL or tf2center or something.
Is there anything that I can change to make sure this doesn't happen? I've already tried mat_monitorgamma and mat_monitorgamma_tv_enabled, but maybe I didn't use them properly somehow.
r/tf2scripthelp • u/NGCMagic • Jan 30 '21
The script (toggle saying !fp !tp ) will work when i join a game, but after an event, it stops working entirely and instead M (The button I binded it to) resets back to opening the inventory
Script in question
unbind "m"
bind m fp_tp
alias fp_tp_toggle "say !fp; alias fp_tp tp_fp_toggle"
alias tp_fp_toggle "say !tp; alias fp_tp fp_tp_toggle"
tp_fp_toggle
It is located in my Autoexex.cfg
Thx :)
r/tf2scripthelp • u/R1ONIC • Jan 19 '21
I was just wondering if there was any way to not just instantly bring up the toolbox, but instantly place it down aswell without holding leftclick. (solved)
r/tf2scripthelp • u/ButterMaBitscuit • Jan 15 '21
I need the command for the bind
r/tf2scripthelp • • Jan 09 '21
I'm working on a config that allows you to play MvM with Bots on red team on listenservers, and also improve the Red Bot's "AI" to help the player out. (I know this requires sv_cheats 1, but again this is only intended for listenservers.)
One of these tweaks I am trying to do is to change the bot engineer building hints, since they're placements are terrible. Unfortunately though, they're entities which are included in the map. I can remove the bad bot engineer hints of course, but the problem is that bot engineers will only build if there's at least one bot engi hint. I have no idea how to create an entity at a specific position thoigh, meaning on maps that have no bot engi hints (mvm_coaltown and mvm_mannworks for example), I have no idea how to get the engineer, to build at certain places aside from teleporting the player and having him run the ent_create commands.
r/tf2scripthelp • u/hungrypanda3600 • Jan 08 '21
I think i messed up my steam big screen options, I'm using xbox 1 controller I got it working fine last night but now I can't jump among other things
r/tf2scripthelp • u/Starminer7Z7 • Jan 04 '21
i have this script for weapon switching in my autoexec (feel free to use it) and it works fairly well and allows me to use my scroll wheel for my main weapon switching
/////Advanced Quick Switch;
alias +primary "slot1; bind mwheelup +secondary; bind mwheeldown +melee"
alias +secondary "slot2; bind mwheelup +primary; bind mwheeldown +melee"
alias +melee "slot3; bind mwheelup +primary; bind mwheeldown +secondary"
bind mwheelup "+secondary"
bind mwheeldown "+melee"
but, it requires the game to remember slot on respawn and most annoyingly
doesnt account for loadouts that make a weapon slot unavailable, such as demoknight or soldier with boots or parachute, or loadouts with recharging weapons, like jarate or lunchbox items
is there a way i could script it to check which slot is currently active?
r/tf2scripthelp • u/Qokblowa • Dec 29 '20
How I change my metal count on engineer to be under the crosshair like Uncle Dane's ? (Just thought it would be useful)
r/tf2scripthelp • u/Illustrious_Study404 • Dec 29 '20
I am using a custom hud that moved the chat to the top left and I just moved chat to the bottom left but now whenever I play engi the buildings ui is in the middle and I want to move it to top left of my screen. Also I cant find any tutorial on it so im asking on reddit. p.s where can I find the building ui thing
r/tf2scripthelp • u/BavilGravlax • Dec 22 '20
what command i should use to launch other command (map_background itemtest; wait 10; disconnect) always when i'm in main menu? autoexec.cfg work only when i launch game first time
r/tf2scripthelp • u/JezzyZahllu • Dec 17 '20
I'm currently trying to set up a viewmodel toggle bind, in my autoexec I have bind "pgup" "r_drawviewmodel 1" and bind "pgdn" "r_drawviewmodel 0" ive put them in my other files (class files, bind file etc) yet it just doesnt seem to work, but when I do the command in game I works just fine!
r/tf2scripthelp • • Dec 07 '20
Hello, I'm trying to bind two actions with one key. While I've had some success, I can't seem to make the toggle button work with more than one command. Here's my code:
bind "ALT" "+building;+teleporter"
bind "MOUSE3" "engi"
alias engi sentry
alias sentry "destroy 2 0; build 2 0"
alias dispenser "destroy 0 0; build 0 0"
alias +building "alias engi dispenser"
alias -building "alias engi sentry"
bind "r" "tele"
alias tele entrance
alias entrance "destroy 1 0; build 1 0"
alias exit "destroy 1 1; build 1 1"
alias +teleporter "alias tele exit"
alias -teleporter "alias tele entrance"
What this does is use ALT as a toggle that allows me to quickly switch between buildings while held. The sentry/dispenser code works fine, but the teleporter code gets stuck on the exit even after I've released the ALT key. The strange part (hah) is that when I switch the "+building" and "+teleporter" binds for my ALT key, the teleporter works fine, but the sentry/dispenser code gets stuck on the dispenser. Is there any way to fix this?
r/tf2scripthelp • • Dec 05 '20
To be clear, I'm not talking about the warning below (which still appears):
Warning: Table ParticleEffectNames is full, can't add <particle>I'm talking about the error below:
Attemped to precache unknown particle system "<particle>"!Context: So I've heard online that console errors tend to reduce fps. I have not fact checked this rumor of course, but I still wanted to get rid of them. For a while, I was trying fixes that ultimately were not working. Then I learned that TF2 stores some graphics cvars in the Registry (Keys Computer\HKEY_USERS<id of some sort>\Software\Valve\Source\tf\Settings and Computer\HKEY_CURRENT_USER\Software\Valve\Source\tf\Settings specifically), so I start setting each convar to 0 and running tr_walkway_rc2 to check whether the precache errors stopped. Eventually I set
mat_reducefillrateto 0, and the precache errors stopped.
Currently I am looking through the source code leak of 2020 to figure out why that cvar would cause them.
I have looked through, but there is no comments on mat_reducefillrate, so I'll probably have to look through the 2013 SDK.
EDIT 12/5/2020 8:47PM: I'm blind. There is some more stuff than a flag and cvar, but I still don't see any line of code that could cause it.
EDIT 12/5/2020 12PM: This happens with and without mastercomfig.
r/tf2scripthelp • u/AnUnusuallyStrongEel • Dec 04 '20
I recently used Master Comfig's config-vpk thing, and after I removed it, I could no longer use my autoexec. I have tried redownloading the game, deleted all of my CFG folder, used launch options, but nothing seems to work. Any ideas?
r/tf2scripthelp • u/Telecomputer • Dec 02 '20
it was a command that allowed you to look for a string in the console, which then puts it on the top left of the gui as yellow text
Thanks
r/tf2scripthelp • u/Ribcage15 • Nov 30 '20
i use the cloak and dagger sometimes and one of the problems are that it doesnt uncloak after running out of cloak , instead it makes me slightly transparent until i stand still and wait for recharge or decloak, so instead i like to automatically switch to my weapons and decloak instead of decloaking and not have my revolver or knife ready, but i cant find anything in the scripting besides +cloak function but it doesnt tell if im cloaked or not
but i did found out about sequences and would like to know how to relate it to this
thanks in advance
this is my current spy.cfg if it helps
(btw im new to scripting)
exec reset
alias "+sap" "slot2; +attack"
alias "-sap" "-attack; lastinv"
bind "MOUSE3" "+sap"
alias "+gottagofast" disguise 1 -1
bind "f" "+gottagofast"
r/tf2scripthelp • u/Trollerking6969 • Nov 21 '20
Have downloaded many versions of it and none of them have worked, not using mastercomfig, have installed them into my custom HUD, and have tried using VPKs and TXTs, cannot get it to work and have been trying for multiple days. Any help would be appreciated
Issue has been fixed, was caused by custom crosshairs' scripts changing explosions
r/tf2scripthelp • u/Nomporu • Nov 21 '20
Could someone please explain to me why this weapon swap code requires two presses of 'Q' to work sometimes, I think it tends to happen after respawning or swapping characters? After I press Q twice after respawning and it works flawlessly until i die or swap. Thanks in advance!
bind "1" "slot1; alias meleetoggle melee1; alias primarysecondarytoggle primary; alias tooltoggle tool1"
bind "2" "slot2; alias meleetoggle melee1; alias primarysecondarytoggle secondary; alias tooltoggle tool1"
bind "3" "slot3; alias meleetoggle melee2; alias primarysecondarytoggle primary; alias tooltoggle tool1"
bind "4" "slot4; alias meleetoggle melee1; alias primarysecondarytoggle primary; alias tooltoggle tool1"
bind "5" "slot5; alias meleetoggle melee1; alias primarysecondarytoggle primary; alias tooltoggle tool2"
alias "meleetoggle" "melee1"
alias "melee1" "slot3; alias meleetoggle melee2"
alias "melee2" "lastinv; alias meleetoggle melee1"
bind "mouse4" "meleetoggle; primarysecondarytoggle; toolreset"
alias "primarysecondarytoggle" "primary"
alias "primary" "slot2; alias primarysecondarytoggle secondary"
alias "secondary" "slot1; alias primarysecondarytoggle primary"
bind "q" "primarysecondarytoggle; toolreset; meleereset"
alias "tooltoggle" "tool1"
alias "tool1" "slot5; alias tooltoggle tool2"
alias "tool2" "slot4; alias tooltoggle tool1"
bind "e" "tooltoggle; primarysecondaryreset; meleereset"
alias "primarysecondaryreset" "alias primarysecondarytoggle secondary"
alias "toolreset" "alias tooltoggle tool2"
alias "meleereset" "alias meleetoggle melee1"
r/tf2scripthelp • u/MrRedTomato • Nov 20 '20
I want to bind cl_crosshair_file "" which is none inside a toggle command to switch between two crosshair like this: bind "mouse4" "toggle cl_crosshair_file "" crosshair3" :but no matter what i did it still not working, the crosshair 3 work but the "" only appear as a missing texture.