r/Tf2Scripts • u/Telecomputer • Jul 20 '19
r/Tf2Scripts • u/champ_thunderdick • Jul 15 '19
Script Request: Script to bind assigning item to action slot
All,
I did some searching around here and came up with nothing. I'm trying to figure out a script that will consume a secret saxton (or any orther consumable action item), and automatically place another one of the same type in my action slot. This would prevent a lot of time in menus. Thanks in advance for your responses/time.
r/Tf2Scripts • u/dishsoapman • Jul 08 '19
reinhardt's earthshatter [svcheats, only affects bots]
hello, made a script thats like reinhardt's earthshatter , but it only affects bots
i might release something like mccree's high noon sometime later
(the +moveleft; +moveright; etc. stuff is null movement so you cant move)
alias "shatter" addcond 97; slot3; +moveleft; +moveright; +back; +forward; wait 1; +duck; +lookdown; +attack; wait 45; removecond 97; -attack; shake; bot_command all "addcond 71 2.5"; wait 3; -moveleft; -moveright; -back; -forward; -duck; -lookdown; wait 2; +lookup; wait 50; -lookup; lastinv
also it targets all bots because i dont think theres a way for it to just target bots in front of you ¯_(ツ)_/¯
r/Tf2Scripts • u/[deleted] • Mar 02 '19
Script A working Russian Roulette script! [Fun]
//Russian Roulette
Bind [YOUR KEY HERE] "say I'm going to play Russian Roulette!;taunt;wait 200;say *click*;russian_result"
alias russian_cycle "russian_diceroll_1"
alias russian_result "wait 200;say Oh, I forgot to load the bullets into the chambers."
alias russian_message_1 "wait 200;say Hmmm...I guess I get to live this time.
alias russian_message_2 "wait 200;say I live, for better or for worse.
alias russian_message_3 "wait 200;say I am not dead! Yet.
alias russian_message_4 "wait 200;say Despite all odds, I survived...
alias russian_message_5 "wait 200;say I've (arguably) came out victorious in this suicidal game.
alias russian_diceroll_1 "alias russian_result russian_message_1;alias russian_cycle russian_diceroll_2"
alias russian_diceroll_2 "alias russian_result russian_message_2;alias russian_cycle russian_diceroll_3"
alias russian_diceroll_3 "alias russian_result russian_message_3;alias russian_cycle russian_diceroll_4"
alias russian_diceroll_4 "alias russian_result russian_message_4;alias russian_cycle russian_diceroll_5"
alias russian_diceroll_5 "alias russian_result russian_message_5;alias russian_cycle russian_diceroll_6"
alias russian_diceroll_6 "alias russian_result explode;alias russian_cycle russian_diceroll_1"Once you have that in a cfg file that is automatically executed, you should choose some keys you'll press very frequently (I prefer WASD) and, in addition to whatever they normally do, add "russian_cycle" to them. This is what produces the pseudo-random results.
Use this:
bind w +forward;russian_cycle
bind s +back;russian_cycle
bind a +moveleft;russian_cycle
bind d +moveright;russian_cycleor use this if you want zero movement-cancellation:
alias +mfwd "-back; +forward;russian_cycle;alias checkfwd +forward"
alias +mback "-forward; +back;russian_cycle; alias checkback +back"
alias +mleft "-moveright;russian_cycle;alias checkleft +moveleft"
alias +mright "-moveleft;russian_cycle;alias checkright +moveright"
alias -mfwd "-forward;alias checkfwd none"
alias -mback "-back;checkfwd; alias checkback none"
alias -mleft "-moveleft;checkright; alias checkleft none"
alias -mright "-moveright;checkleft; alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mrightYou can customize the Russian_messages to your heart's content, or you can make them all the same to reduce confusion to those who aren't aware that it's a script.
(the "forgot to load the bullets" message only appears if you forgot to trigger "russian_cycle")
r/Tf2Scripts • u/[deleted] • Nov 23 '18
Tf2 hitmarker and bold dmg text
Hi, Is there anyway in getting hitmarkers and bolder dmg text on the defauly hud.
I know that toonhud can make that but i wsnt the default theme.
Thank you all
r/Tf2Scripts • u/[deleted] • Nov 06 '18
Question How to have two separate interp settings, one for hitscan and one for projectile?
Stupid question, but I am not able to find an answer.
r/Tf2Scripts • u/sAvenisghey • Oct 10 '18
Question Taunting script (button on/button off)
So I've been working on a script that would bind a key to rebind all the number keys to taunts and rebind them back to their original keys when the key was released. Additionally, releasing the taunting key is supposed to stop the taunt. Thing is, I also use a crouch jump script, and as I understand, stopping a taunt requires a command like +jump or +taunt to be bound independently, which the crouch jump script doesn't do. Normally I would press Space to end a taunt, but since +jump isn't alone in the script, I wanted to make releasing the taunting key end the taunt, but I've run into the same problem. I'm a novice scripter at best; anybody more advanced have ideas for me?
bind b +taunting
alias +taunting "bind 1 taunting1;bind 2 taunting2;bind 3 taunting3;bind 4 taunting4;bind 5 taunting5;bind 6 taunting6;bind 7 taunting7;bind 8 taunting8"
alias -taunting "[+jump?];bind 1 slot1;bind 2 slot2;bind 3 slot3;bind 4 slot4;bind 5 slot5;bind 6 slot6;bind 7 slot7;bind 8 slot8"
alias taunting1 "taunt 1"
alias taunting2 "taunt 2"
alias taunting3 "taunt 3"
alias taunting4 "taunt 4"
alias taunting5 "taunt 5"
alias taunting6 "taunt 6"
alias taunting7 "taunt 7"
alias taunting8 "taunt 8"
r/Tf2Scripts • u/MrSnortbeat • Sep 22 '18
Question Demo Charge-Yell Script
I wanna play Demoknight without yelling to everyone when i charge "I AM COMING FOR YOU PLS NOTICE MY PRESENCE"
I was thinking something like this:
alias "chargemask" "+attack2; voicecommand 1 7; -attack2"
bind "mouse2" "chargemask"
But that makes Demo be stucking trying to charge (code doesnt move after +attack2). Anyone can help?
r/Tf2Scripts • u/MrButtbon3 • Aug 28 '18
Satisfied HI!
Is there a script that can bind the vaccinator resistances to the arrow keys?
r/Tf2Scripts • u/_J-Dot • Aug 08 '18
Script Spycheck script by J-Dot
//Spycheck script by J-Dot
bind "KEY" "+spycheck"
alias "+spycheck" "-forward; cl_yawspeed 2000; +left; wait 15; -left; cl_yawspeed 210; +back"
alias "-spycheck" "cl_yawspeed 2000; +right; wait 15; -right; cl_yawspeed 210; -back; +forward"Here's a script I made, useful for those too lazy to turn around.
r/Tf2Scripts • u/_J-Dot • Aug 05 '18
Script One button Sentry Jump Script
//One key Sentry Jump Script by J-Dot
alias "+sentryjump" "+attack2; +jump; +duck; wait 10; lastinv; +attack2"
alias "-sentryjump" "-attack2; -jump; wait 30; -duck"
bind "ANY KEY" +sentryjumpWarning: Switching back to the wrangler causes the sentry to shoot for some reason
r/Tf2Scripts • u/bythepowerofscience • Jan 15 '17
Script Broesel's Crosshair Switcher Complete Retool
Recently, I finally caved and decided to use a crosshair switcher. After deciding on Broesel's as I couldn't find any that were "official" (hell if I know), I tried it and... it didn't work. I figured instead of complaining about it online and being a dick, I'd rewrite it and MAKE it work. So, here we are.
Credit goes to Broesel for making the actual switching program, everything else was done by me.
Major additions:
Rewrote scripts to no longer be 90% "illegible bullshit to prevent smartasses from editing"
Fixed some quite frankly rookie mistakes Broesel made (he had "alias <command> <encoding>" instead of the other way around which broke everything)
Removed commands he hadn't aliased at all
Renamed everything to be recognizable
Combined everything into the same script
Made everything a bit more efficient
Oh yeah and actually made it work
So here's the actual mod:
http://pastebin.com/cJJmTana
NOTE: To use the default crosshairs you need to create a file named "defaultcrosshair.cfg" and put it in your /tf/custom/<your folder>/cfg/, then put this code in it:
cl_crosshair_file ""Thanks, and tell me what you think in the comments below!
r/Tf2Scripts • u/Tvde1 • Aug 10 '16
Script Trash Talk Generator
So've made a python script that will read a .txt file and will create lovely binds for you.
Here's the script:
number = 0
tempnumber = 1
o = open("output.txt", "w")
f = open("lines.txt", "r")
person = ['scout', 'soldier', 'pyro', 'demoman', 'heavy', 'engineer', 'medic', 'sniper', 'spy', 'other']
def finish(numbers):
global number
global tempnumber
time = 1
for x in range(1, numbers):
time2 = time+1
if time2 == numbers:
time2 = 1
o.write("alias "+person[number]+"_diceroll_"+str(time)+" \"alias "+person[number]+"_result "+person[number]+"text"+str(time)+"; alias "+person[number]+"_diceroll "+person[number]+"_diceroll_"+str(time2)+"\"\n")
time+=1
o.write("alias "+person[number]+"_diceroll "+person[number]+"_diceroll_1\n")
number +=1
tempnumber = 1
o.write("\n")
def process(text):
global tempnumber
if text is '':
o.write("\n")
finish(tempnumber)
return
o.write("alias " + person[number] + "text" + str(tempnumber) + " \"say "+text+"; trashcan_cycle\"\n")
tempnumber +=1
for line in f:
if number < 10:
process(line.rstrip())
else:
o.write("alias trashcan_cycle \"")
for x in range(0, 9):
o.write(person[x]+"_diceroll; ")
o.write("other_diceroll\"\n\nalias trashmessage \"alias message echo Chat binds switched to: Trashtalk.\"\n")
o.write("alias switchtrash \"unbindnum; ")
for y in range(0, 9):
o.write("alias KP_"+str(y+1)+" "+person[y]+"_result;")
o.write("alias KP_PLUSBTN other_result; trashcan_cycle; trashmessage; showonscreen\"")
f.close()
o.close()(You can download a .py file here.)
It will read a lines.txt file line by line. It'll start with the scout lines, and after a blank line it'll go to the next class.
Here is what the lines.txt looks lile. With one whitespace between the classes (and an all class one at the end).
And this is what the output looks like.
Be sure to bind them to keys. I've made them integrate into my keybinds. But you'll have to edit the output a little. Well I hope this helped you. I don't think anyone will use it, but meh I spent some time on this and I figured I'd upload it.
r/Tf2Scripts • u/Cap_Ghoti • Oct 08 '15
Request PDA Scroll Remover
I'd like a script that makes it so I never pull up the disguise case, the building pda, or the destruction pda while scrolling. I'd like to only get them when I press their respective numbers. is this possible?
EDIT: Now it appears that none of my scripts work at all. spy.cfg, reset.cfg, and engineer.cfg won't execute even when I try to execute them in console. What's happening???
r/Tf2Scripts • u/StefanCrime • Sep 20 '15
Resolved Bind R = radar + Yes! + reload
As medic, I want my "R" key to use the medic radar, to voice command "voicemenu 0 6" = "Yes!" and to "+reload". The reason for this is that when people call for medic I press "R" key and respond "Yes!" and also finding them using "Radar" and the reload is for the vaccinator.
MEDIC RADAR I USE:
alias autocall_initial "hud_medicautocallersthreshold 50"
alias autocall_temp "hud_medicautocallersthreshold 150"
alias +autocall_temp_hit "autocall_temp"
alias -autocall_temp_hit "autocall_initial"
bind "r" "+autocall_temp_hit"I tried adding +reload and voicemenu 0 6 commands in that script but the reload only works once.
r/Tf2Scripts • u/8avia • Sep 06 '15
Satisfied [Request] Toggleable Tourette Syndrome for Medic
I've seen some competitive uber masking scripts where the medic binds WASD to various voice lines so that he constantly babbles about random dispensers and teleporters as he runs. However, is there a way to toggle this mode with a key, so that you're not yelling all the time, like when you're trying to sneak around?
Thanks for all of your help!
r/Tf2Scripts • u/23TICK • May 24 '15
Script Profile Changer for people who share computers or people who use 2 different configurations
EDIT: Not sure whats up with the script formatting since I added 4 spaces to each line
EDIT2: Fixed the problem with script formatting
Warning: REALLY long post
This load of scripts need to be in the right directories with correct names in order to work
Also, backup previous scripts inside your cfg before doing this
You will need to create the files listed below inside your cfg folder located at: C:\Program Files\Steam\SteamApps\Common\Team Fortress 2\tf\cfg with the exact names, copy everything below the names into the document listed.
Text document: autoexec.cfg
exec clear exec gfx alias profile1 "exec profile1/profile1" alias profile2 "exec profile2/profile2"Text document: clear.cfg
unbindall bind mouse1 "+attack" bind mouse2 "+attack2" bind mouse3 "+attack3" bind mouse4 "none" bind mouse5 "none" bind mwheelup "invprev" bind mwheeldown "nextinv" bind f1 "+showroundinfo" bind f2 "none" bind f3 "askconnect_accept" bind f4 "none" bind f5 "none" bind f6 "none" bind f7 "none" bind f8 "none" bind f9 "none" bind f10 "quit prompt" bind f11 "none" bind f12 "none" bind ` "toggleconsole" bind 1 "slot1" bind 2 "slot2" bind 3 "slot3" bind 4 "slot4" bind 5 "slot5" bind 6 "slot6" bind 7 "slot7" bind 8 "slot8" bind 9 "slot9" bind 0 "slot10" bind - "disguiseteam" bind = "none" bind backspace "none" bind tab "+scoreboard" bind q lastinv" bind w "+forward" bind e "voicemenu 0 0" bind r "+reload" bind t "impulse 201" bind y "say" bind u "say_team" bind i "open_charinfo_backpack" bind o "none" bind p "jointeam spectator" bind [ "togglemute" bind ] "exit" bind \ "none" bind capslock "none" bind a "+left" bind s "+back" bind d "+right" bind f "inspect" bind g "+taunt" bind h "+use_action_slot_item" bind j "cl_trigger_first_notification" bind k "cl_decline_first_notification" bind l "dropitem" bind ; "none" bind ' "none" bind enter "none" bind shift "+duck" bind z "voice_menu_1" bind x "voice_menu_2" bind c "voice_menu_3" bind v "+voicerecord" bind b lastdisguise" bind n "none" bind m "open_charinfo_direct" bind , "changeclass" bind . "changeteam" bind / "explode" bind rshift "none" bind ctrl "+duck" bind alt "none" bind space "+jump" bind ralt "none" bind rctrl "none" bind leftarrow "none" bind downarrow "none" bind uparrow "none" bind rightarrow "none" fov_desired 90 //Change to desired value viewmodel_fov 90 //Change to desired value r_drawviewmodel 1 //Change to 0 for no viewmodelsText document: gfx.cfg (Optional if you use a graphic config)
//Paste Graphic Config in here
Text document: scout.cfg
scoutText document: soldier.cfg
soldierText document: pyro.cfg
pyroText document: demoman.cfg
demomanText document: heavyweapons.cfg
heavyText document: engineer.cfg
engineerText document: medic.cfg
medicText document: sniper.cfg
sniperText document: spy
spyFolder: Profile1
Inside Folder:
Text document: Profile1.cfg
//profile1 alias scout "exec profile1/scout; alias r "exec profile1/scout"" alias soldier "exec profile1/soldier; alias r "exec profile1/soldier"" alias pyro "exec profile1/pyro; alias r "exec profile1/pyro"" alias demoman "exec profile1/demoman; alias r "exec profile1/demoman"" alias heavy "exec profile1/heavyweapons; alias r "exec profile1/heavy"" alias engineer "exec profile1/engineer; alias r "exec profile1/engineer"" alias medic "exec profile1/medic; alias r "exec profile1/medic"" alias sniper "exec profile1/sniper; alias r "exec profile1/sniper"" alias spy "exec profile1/spy; alias r "exec profile1/spy""alias r "echo "Please change class before reloading after config change!""
Text document: scout.cfg
//Scout Config for Profile1Text document: soldier.cfg
//Soldier Config for Profile1Text document: pyro.cfg
//Pyro Config for Profile1Text document: demoman.cfg
//Demoman Config for Profile1Text document: heavyweapons.cfg
//Heavy Config for Profile1Text document: engineer.cfg
//Engineer Config for Profile1Text document: medic.cfg
//Medic Config for Profile1Text document: sniper.cfg
//Sniper Config for Profile1Text document: spy
//Spy Config for Profile1Folder: Profile2
Inside Folder:
Text document: Profile2.cfg
//profile2 alias scout "exec profile2/scout; alias r "exec profile2/scout"" alias soldier "exec profile2/soldier; alias r "exec profile2/soldier"" alias pyro "exec profile2/pyro; alias r "exec profile2/pyro"" alias demoman "exec profile2/demoman; alias r "exec profile2/demoman"" alias heavy "exec profile2/heavyweapons; alias r "exec profile2/heavy"" alias engineer "exec profile2/engineer; alias r "exec profile2/engineer"" alias medic "exec profile2/medic; alias r "exec profile2/medic"" alias sniper "exec profile2/sniper; alias r "exec profile2/sniper"" alias spy "exec profile2/spy; alias r "exec profile2/spy""alias r "echo "Please change class before reloading after config change!""
Text document: scout.cfg
//Scout Config for profile2Text document: soldier.cfg
//Soldier Config for profile2Text document: pyro.cfg
//Pyro Config for profile2Text document: demoman.cfg
//Demoman Config for profile2Text document: heavyweapons.cfg
//Heavy Config for profile2Text document: engineer.cfg
//Engineer Config for profile2Text document: medic.cfg
//Medic Config for profile2Text document: sniper.cfg
//Sniper Config for profile2Text document: spy
//Spy Config for profile2
After finishing doing all this it should work
How to change profiles:
Type the name of the profile (profile1/profile2) into console
How to add commands specific to profiles:
Put the command in the script document of the profile
This will be either be profile1/profile1.cfg or profile2/profile2.cfg
How to re-name profiles:
Change every single 'profile1/profile2' (depending on what one you want to change ) inside all the documents as well as the file names of the old profile name to the new profile name.
For example I want to change the name of profile1 to 23, I'd first replace all the titles that say 'profile1' to '23'. Then I'd change every 'profile1' in all the documents to '23'
r/Tf2Scripts • u/SmielyFase • Nov 21 '14
Answered Is there a command to disable and enable HTML MOTD?
I am really just looking for the command assuming it exists but if someone feels so inlined my goal is to create a script to show stats for competitive servers. (Enable HTML and say ".ss" and/or "!logs")
Thanks in advance
r/Tf2Scripts • u/TimePath • Dec 03 '13
Meta Automatic post tagging
Submitters are now able to simply click the relevant submit button and their post will be tagged for them upon submission, provided they retain the small invisible marker tag that looks like this: [](#flair "request"). This also works for users of mobile clients without support for flair assignment.
r/Tf2Scripts • u/fokapi • Oct 31 '13
Satisfied Hello guys. Need some help: i want to make bind, which can switch my weapon's view. For example, I press "5" and view makes like on photo 2(130), hereafter i press "6" and view makes like on photo 1. Sorry for my grammar.
r/Tf2Scripts • u/[deleted] • Oct 05 '13
Resolved The announcer mutes the game volume.
EDIT: Fixed by changing cvar snd_ducktovolume to 1.
Not sure what I changed to make this happen, but whenever the announcer says something, all the sounds in the actual game get muted. How can I make this not happen?
r/Tf2Scripts • u/[deleted] • Aug 12 '13
Answered Need a Communication Script.
Hi, I'm Jack. I love playing Medic in TF2, and I am currently in a Highlander team. I've always been interested in the competitive scene of TF2.
However, I'm mute. So I can't use a microphone. Anyone know some good scripts that just give you good communication binds in team chat? Preferably one that covers a wide range of situations. I've tried thinking up my own, but theres always one situation I missed.
Thanks. :)
Also I made a Reddit account just for this.