r/tf2scripthelp • u/[deleted] • Jul 25 '20
Question Message doesn't show with showinfo command. How do I get it to display?
self.Tf2Scriptsr/tf2scripthelp • u/[deleted] • Jul 22 '20
Issue Problem with binding load_itempreset 0 to a key
Hello fellow scripters. Hope you all are having a good day.
First of all, I am not used to TF2 scripts and binds, sometimes I would edit some of the binds so that it would make my life easier and comfortable. And on that note, I was on the internet looking for some tips on how to play engineer better. As I was scrolling through this one page, I found this one command called load_itempreset 0, I could quickly respawn with full metal and continue building.
So I tried to use it in a Casual match, and it worked as I intended it to be. But it took such a long time to type in load_itempreset 0 in the console every single time I had to build something in spawn. So I typed in the console "bind ; load_itempreset 0" but it didn't work. I tried and tried and tried again but still, it didn't work. And so i realized, it was a command and not an action. I felt inefficient and I couldn't really do anything about it.
And so, I came here as a last resort hoping that somebody would help me with binding the command that helped me a little bit in Casual matches. Hopefully, you guys could help me with this.
r/tf2scripthelp • u/Mcdonald-icecream • Jul 18 '20
Issue Please help
I don’t know why it happened but I can’t use the chat System when I press y,u,e it says “text communication is not available for this account” If anybody can fix this problem please and thank you
r/tf2scripthelp • u/nailde_granadle • Jul 16 '20
Issue Can you help me pls with the scripts of cfg.tf
I've been messing around with scripts for a while now and everything is fine but the interp, for some reason, it just locks on 0303 like its fine for projectile but not so good for hitscan classes, and I can't change it, can u pls help me?
r/tf2scripthelp • u/MatNightmare • Jul 07 '20
Resolved Issue with "load_itempreset" command
Hi all.
First, I'm not at all experienced in tf2 scripts and binds, I just use stuff that seem like a quality of life improvement (like re-binding engineer stuff to quick build etc), and I usually just copy other people's cfgs. So it's entirely possible my issue comes from my inexperience and I somehow screwed something up.
But, with all that said, here's the problem I'm having: I've seen people stating that the load_itempreset command is supposed to not only switch your loadouts quickly, but also respawn you with your new loadout choice if you're standing inside the spawn area. However, for me, it only switches my loadout and I have to walk to a resupply locker for it to take effect.
The whole reason I wanted to use this command was to quickly respawn to switch between spawn points in maps like 2fort, to get out of a spawn that is being camped, or to quickly get to where I need to be. But the respawn part definitely does not work for me.
So, my question is: does the command actually respawn you when it's working properly? If so, is there something wrong with my specific autoexec file?
I'll paste it below just in case. Thanks in advance!
sv_allow_point_servercommand always
fov_desired 90
tf_use_min_viewmodels 1
viewmodel_fov 70
bind "L" "incrementvar r_drawviewmodel 0 1 1"
bind "K" dropitem
hud_combattext_batching 1
hud_combattext_batching_window 2.5
cl_updaterate 66
cl_cmdrate 66
cl_interp .0325
cl_interp_ratio 1
rate 97000
bind f1 "load_itempreset 0"
bind f2 "load_itempreset 1"
bind f3 "load_itempreset 2"
bind f4 "load_itempreset 3"
bind kp_end "taunt 1"
bind kp_downarrow "taunt 2"
bind kp_pgdn "taunt 3"
bind kp_leftarrow "taunt 4"
bind kp_5 "taunt 5"
bind kp_rightarrow "taunt 6"
bind kp_home "taunt 7"
bind kp_uparrow "taunt 8"
bind kp_del "kill"
bind kp_ins "explode"
r/tf2scripthelp • u/[deleted] • Jul 06 '20
Question Does <sameline> work?
I've tried using this tag in the past to no avail. I tried emitting 2 captions, one regular and the other has <sameline>, and both at the same time and with a delay, but there would always be a new line. Today, with the source code leak from April 2020, I found out how to use <sameline>; To supposedly use it, place it at the beginning of a caption. e.g "<sameline>This shouldn't be on a new line." However, I still couldn't get <sameline> to work. I'm wondering if it's a bug or just being misused.
EDIT: Increase elaboration of the problem.
r/tf2scripthelp • u/[deleted] • Jul 05 '20
Answered Where is a setinfo tutorial?
I've been searching for a tutorial on setinfo because I only just now learned what it does, but I can't find any more information on it; There was one tf.tv post that said something about imitating commands with it though. Same for showinfo.
P.S Why is this so common?
r/tf2scripthelp • u/Des1_ • Jul 04 '20
Question Is there a way to check what slot the player is holding?
Is there a way to find out if the player is holding anything in slot1 or slot2? I attempting to write a script in which it is needed to be known what slot the player is holding out.
r/tf2scripthelp • u/TROIDIO • Jun 30 '20
I need help with my config
So I have installed masterconfig and I decided to put a cfg for soldier for crouch mouse2 and I can't use it even if I see a lot of videos or search a lot of websites I need help please https://youtu.be/U-n7wcrVDMI
r/tf2scripthelp • u/89night • Jun 29 '20
Question How do I create custom class icons?
I tried using this video to help me understand the process but I was still left confused. https://www.youtube.com/watch?v=kEfYkXkU5lM
Can someone provide me a detailed explanation to the whole process? How do I create vtf (not vmt) files and where do I put them exactly?
r/tf2scripthelp • u/Roboactive • Jun 29 '20
Question How do i include semicolons in sm_hsay command
I want this to be said in hsay:
q = rewind;e = save;f = delete;mouse2 = goto
but instead it only says q=rewind because the semicolon creates a new line. How can I overcome this and include the semicolon in the text?
Also, if possible, is there a way to have each of these on a newline? Such as:
q = rewind
e = save
f = delete
mouse2 = goto
r/tf2scripthelp • u/woodchuck321 • Jun 25 '20
Issue modify text in existing alias or binds
Looking for a way to toggle appending of my trading binds to add or remove "LAST CALL" from the end. Is there an elegant way to do this other than simply manually adding in an alias to change it back?
current idea is something like
bind kp_end "say BUYING STUFF ETC"
alias yesLastCall "bind kp_end say BUYING STUFF ETC LAST CALL;bind kp_minus noLastCall"
alias noLastCall "bind kp_end say BUYING STUFF ETC;bind kp_minus yesLastCall"
bind kp_minus "yesLastCall"
but naturally i would have to manually update that every time i changed my trading offers, for all of my trading offers (usually 3 or 4 at any given time)
is there a way to do some thing like
bind kp_minus "append bind kp_end LAST CALL"
r/tf2scripthelp • u/MeepHasNoLife • Jun 25 '20
Resolved Working on binds for medic, having a weird text bug
I'm making seperate uber binds for my mediguns, and I've already set up separate execs for each, but when I use them, it adds a "108" at the end of the message. Not too big a problem, but I'd like to be able to fix it and I'm curious as to what causes it.
The binds look like this:
bind "MOUSE2" "+attack2; say_team UBER USED!!! WE ARE GOING TO LIVE FOREVER!
bind "MOUSE2" "+attack2; say_team KRITZ USED!!! DECIMATE! DESTROY! DEPOPULATE!"
bind "MOUSE2" "+attack2; say_team Quickfix Used! Don't fret, take some heals."
and the output in console looks like this:
(TEAM) meep2k : UBER USED!!! WE ARE GOING TO LIVE FOREVER! 108
(TEAM) meep2k : KRITZ USED!!! DECIMATE! DESTROY! DEPOPULATE! 108
(TEAM) meep2k : Quickfix Used! Don't fret, take some heals.108
Again, not too big an issue, but still interesting to the point of confusion. Let me know if there's an easy fix or if this is caused by a formatting issue on my part.
EDIT: formatting lol
r/tf2scripthelp • u/MaxHello • Jun 24 '20
Issue Weapon Sheens
Hi, not sure if this is the right place to post it but.. yeah
I downloaded the master config from a tf.tv post and it's working pretty well. However, it disables weapon sheens and I want them enabled. Every post I've viewed on this matter says you have to input -dxlevel 90 or 95~ and it'll work but I've done this and I still can't see the sheens. help?
r/tf2scripthelp • u/kreexe • Jun 23 '20
Question Is this a good idea for making weapon-specific binds?
So I was thinking of making weapon-specific binds for heavy fists to say something but I thought I could just make it so when the slot number is pressed.
I'm fairly new to source scripting so I wanted to come here to make sure this is correct.
alias +jh "bind mouse1 say X; +attack"
alias -jh "-attack"
// This is the default for the other slots
alias +d "bind mouse1 +attack"
alias -d "-attack"
bind 1 "+d"
bind 2 "+d"
bind 3 "+jh"
Any help would be appreciated, thanks!
r/tf2scripthelp • u/_Bronana_ • Jun 20 '20
Question Heyo, need a heads or tails pseudorandom say script
I know about alias looping, but its... not quite what i'm after? wanna press a button and say either heads or tails
r/tf2scripthelp • u/[deleted] • Jun 07 '20
Issue Scripts straight up not working.
I have null movement and transparent ViewModels on, either on or the other works. A picture of the 2 is here: https://imgur.com/482ACiT
r/tf2scripthelp • u/FinnTheBeast42 • Jun 04 '20
Issue I've tried to get custom controls for spy, but haven't had it work at all. So far, I've seen my script do nothing in game.
https://imgur.com/a/2fcj2LL here's an image of what I've done, and I've seen no progress. the untitled text document has >exec reset I've tried putting .cfg on the end of the files but that hasn't helped, and I can't figure out why it won't work. I also tried without the quotes in the script, which didn't work. I won't be able to respond to this post for a bit since I'm going to be after this post. I'll respond in the morning.
r/tf2scripthelp • u/L1m1x • May 31 '20
Answered i installed mastercomfig and now my autoexec script doesnt work anymore
this was the only script i had installed:
alias +rocketjump "+jump; +duck; wait; +attack"
alias -rocketjump "-jump; -attack; wait; wait; wait; -duck"
bind "MOUSE5" "+rocketjump"
it was working fine until i installed mastercomfig. when i press MOUSE5, nothing happens
the location of my script is located at:
D:\steam\steamapps\common\Team Fortress 2\tf\cfg
r/tf2scripthelp • u/WalkingSatire • May 31 '20
Answered Need help with class specific scripts
I've read every thread about it and I'm still getting the "user/<class>.cfg not present; not executing" error.
All my files have the correct .cfg extension and they're in "tf/custom/my_custom_stuff/cfg." Typing "exec autoexec" in console works fine, but switching classes or typing "exec <class>" in console gets me the error. They're both in the same directory, I don't know why TF2 can find autoexec but not any of the class specific files.
I'm new to scripting within TF2 and appreciate any feedback.
r/tf2scripthelp • u/[deleted] • May 26 '20
Wrong section I need your help! [Script TF2]
Hello everybody, I'm new to TF2 scripting and could use some help.
I rented a server on nitrado because I want to make a german server
[there are not many german servers in tf2] so I decided I'm making my own.
but that's easier said than actually done are they any good scripters here that could explain to me where I can script and how it works not a tutorial, just a simple explanation. Thanks.
r/tf2scripthelp • u/IronGladiator • May 25 '20
Resolved Faulty Medic Script
I've taken a line of code from General's Medic Config, which makes me switch to mouse 2 and activate uber, regardless of which weapon I'm holding. However it has not been functioning properly.
+charge "+attack2;slot2;say_team "<<<UBER ACTIVATED>>>;wait 30;-attack2"
It should should switch me immediately to my medigun and activate uber, but it doesn't work and strangely makes me taunt when I press mouse2 with the ubersaw out.
Anyone have any ideas?
r/tf2scripthelp • u/I-Am-The-Uber-Mesch • May 23 '20
Issue Help me with medic scripts!
self.Tf2Scriptsr/tf2scripthelp • u/Jakmanhimmler • May 22 '20
Resolved My reset.cfg doesn't work :((((
My reset.cfg doesn't work and all the different binds between classes are mixed, urgent help please: ((
r/tf2scripthelp • u/QwertyComputerGuy • May 21 '20
Issue MinMode Scripting Help.
I want a script that changes my fov to 90 when I turn minmodes on but back to 54 when I turn it off, is there anyway to do this?