r/Tf2Scripts • • Apr 10 '14

Request Remove hat models from the ground?

10 Upvotes

Hey. I keep mistaking these models for metal, and it really is getting bothersome. Is there a way to keep hats from appearing on the ground without turning off hats completely? Thanks in advance.


r/Tf2Scripts • • Mar 08 '14

Meta PSA - Follow-up Questions

10 Upvotes

Hey all,

Lately we've noticed a few issues that prevent your questions from being answered. Here's what you can do to help your posts get answered fully:

  • When you make a post, try to give as much relevant information as you can and please be available to respond to requests for information.
    Many requests and questions can't be answered without specific information, and it's not uncommon for posts to never be answered due to lack of info even with responders actively requesting that info.

  • If you have additional questions/clarifications on an existing post that has responses, you should make a direct reply to the response comments so those folks get a notification that you need further help/have more info.
    Just making a new top-level comment in the thread or editing your already answered post is unlikely to be noticed when your original post has already been answered.

Thanks!


r/Tf2Scripts • • Jul 31 '13

Script [Scripts] My very big config

10 Upvotes

Use at your own risk, you have been warned :)


Download


This config is very big, but I've tried to make it extremely easy to understand and customize.

  • All things that should be changed are in the "settings" folder.

  • All things that shouldn't be changed are in the "core" folder.

  • All things that aren't required by the config are in the "extra" folder.


Some features:

  • Class stuff:

  • Per-class customizable settings for: dingalings, function keys, jump binds, voice masking, mouse binds, network settings, numpad binds, sensitivities, quickswitch binds, voicerecord mode, wasd mode, and weapon key binds.

  • Per-class and per-weapon crosshair switching script

  • Game stuff:

  • Every version of chris's and m0re's graphics config, and a simple way to enable/disable them.

  • Settings for enabling/disabling violence.

  • A plugin system for quickly enabling/disabling scripts.

  • Casual's pinion/adblock script.

  • Other cool stuff:

  • A "path" system for organizing exec's (check out core/meta/paths)

  • settings for entirely disabling parts of the config itself.

  • A single file for enabling/disabling echo's in (nearly) every file of the config.

  • A cvarlist updating python script.

  • AND SO MUCH MORE


I've got some pretty wierd structuring, ask me about anything if it doesn't make sense.

And finally, more links:


r/Tf2Scripts • • May 16 '13

Meta [PSA] Scripting resources and a few other things

10 Upvotes

Hey there, /r/tf2scripts! Sneaky Piglet here, and I've got a few things to talk about: other scripting resources, titling things, and finding common scripts.


Titles of posts

Recently, I've been noticing several posts like this:

[Help] Toggling viewmodels on scattergun?

I'd like a script that turns viewmodels off for my Scattergun as Scout, but turns them on for Pistol and Bat. If someone could make that, I'd love it. Thanks in advance!

Or,

Assistance with viewmodels?

[see above body text]

The thing is, most of the posts like this aren't [Help] things - they're [Request]s. If you need help, then what with? What are you stuck on? I know that [Request] isn't denoted in the sidebar, but it's been used quite a bit in the past on this sub.

In addition, tagging your post at the beginning rather than, say,

Assistance with viewmodels?

Is very helpful for people looking to help - people looking to help some people out can just search for "[Help]" rather than looking through the list of new submissions.

TL;DR: Please tag your posts, and tag them well.


Searching

A decent chunk of submissions on here are about a few things:

  • Viewmodels and crosshairs per-weapon

  • Stabby Stabby's scripts

  • Randomizing things (voice lines, disguises)

Between these three things, I've seen a lot of requests saying, essentially, the same thing. Before you post, please search - either Google or DuckDuckGo or Bing or whatever - heck, even the Reddit search - but please search. The more common (with good reason) requests are often already answered.


Scripting Resources

First of all: the best way to get scripts fixed is to learn to do it. I've learned over the course of a few months (or maybe a bit longer, I dunno) - it's really not that bad once you just dive in.

A good resource is /r/tf2scripthelp - specifically, its wiki. Seriously, try it out. I had to learn with some other resources, but this is far better than anything else I've found.

While we're on the topic, use /r/tf2scripthelp. I've used it a few times in the past, and while it seems like it wouldn't be that good, with its limited subscriber base, it's actually got some really strong scripters on there. It's my go-to place for troubleshooting scripts now - that's why I don't post [Help] stuff here... It's got a better place to be.

Anyways, thanks for hearing me out. Here's to searching, tagging, and educating ourselves!


r/Tf2Scripts • • Apr 12 '13

Answered How will scripting be affected with SteamPipe

10 Upvotes

SteamPipe FAQ

Anyone have any idea if scripting will be affected at all with the upcoming update to SteamPipe? Will we still be able to edit the /cfg folder? Or will we have to save configs as a .vpk from now on?

It seems the update is coming April 23/24 btw.


r/Tf2Scripts • • Jan 06 '13

Satisfied [Request] Instant Reload Command/Script?

10 Upvotes

I practice scout aiming by playing bots with buddha mode on.

I'd like to make it so I don't have to wait on reloading, much like on tr_walkway where the whole map functions like you're constantly standing in front of a resupply locker.

I tried making a script that bound mouse1 to attack and impulse 101, but impulse 101 only refills your ammo, but not the clip.

Thanks for reading.


r/Tf2Scripts • • Aug 01 '12

Script [Script] TF2 Soundtrack in game (On class select)

10 Upvotes

This was posted on /r/TF2 but I think it fits well here:

http://forums.steampowered.com/forums/showthread.php?t=2849039

Note: I didn't make this awesome script.

However, I would like some help modifying it to loop through songs. Several classes have multiple songs.

Here's a quick attempt at modifying the soldier's music script:

//Play "Intruder Alert" on spawn

alias song1 "play ui/gamestartup8.mp3;alias music song2";
alias song2 "play ui/gamestartup4.mp3;alias music song3";
alias song3 "play ui/gamestartup3.mp3;alias music song1";
alias music song1
music;
bind [ music;
alias stopmusic "play ui/anything.wav";
bind ] stopmusic;

I don't know if that will work or not. Any suggestions or improvements?


r/Tf2Scripts • • Mar 02 '12

Script [MEDIC][Script] To any medic that uses Chris' cfg.

10 Upvotes

Lately, I've seen a lot of medic who uses chris' medic cfg. There's one thing that is bad with that cfg; it's the forwardspawn script, that allows you to change from a spawn to an other.

This is the one in his cfg:

alias forwardspawn_random "join_class "random";alias "forwardspawn_toggle" "forwardspawn_medic""
alias forwardspawn_medic "join_class "medic";alias "forwardspawn_toggle" "forwardspawn_random";say_team "*** MOVED SPAWN ***""
alias forwardspawn_toggle "forwardspawn_random"

I find it bad because you will loose your über.

This is the one I made:

alias "wmedigun" "say_team Medigun equiped;load_itempreset 0"

alias "wkritz" "say_team Kritz equiped;load_itempreset 1"

alias "umedigun" "say_team Medigun equiped;load_itempreset 2"

alias "ukritz" "say_team Kritz equiped;load_itempreset 3"

So basically, wmedigun is Hat1 + Medigun and umedigun is Hat2 + medigun (in terms of loadout preset, here, wmedigun = A and umedigun = C)

With that one, you won't loose your ubercharge.

Hope this helps, and sorry for my english.


r/Tf2Scripts • • May 02 '23

Question Get value from setinfo?

9 Upvotes

I just started learning tf2 scripting and I already have a lot of experience with coding but I’m baffled by how tf2 script variables work if they even exist.

I’m just making a test script where your viewmodel gets disabled if you have your melee out and I need to keep track of the current weapon since using invlast for example makes it so just binding 3 to disable the viewmodel wont work.

I just found out about setinfo but I can’t find anything along the lines of “getinfo.”

How do variables work if at all?


r/Tf2Scripts • • May 08 '22

Script Sapper remover bind

9 Upvotes

Hello everyone,

Earlier today, I made a post on r/TF2 about making a bind to load a pyro loadout with the homewrecker to remove a sapper immediately when you're going out of spawn.

I decided to make it better and to make a bind for all the other classes to immediately change to pyro with the homewrecker.

Example : you're a soldier, you're going out of spawn and see that the teleporter is being sapped. You can click the bind, switch to pyro and remove it very fast.

Here is the bind : bind "mouse5" "join_class pyro; load_itempreset 1; use slot3"

I'd like to make it better.

I'd like to have the melee weapon (home wrecker) out right after respawning as pyro. The problem is that the "use slot3" part doesn't work.

When I switch to pyro, it just the load the primary weapon instead of the melee.

Do you know a way to change the last part of the bind to respawn with the melee in the hand ?

Thanks a lot.


r/Tf2Scripts • • Nov 01 '21

Resolved Whats a working script for "hold to ads"

9 Upvotes

Im used to holding down mouse 2 for aiming instead of toggle and it would help me alot if i could find a script that would do so and maybe be helped on how to install it properly


r/Tf2Scripts • • Sep 25 '21

Question How To Fix Original FOV Hand Glitch?

9 Upvotes

Hey there. I was wondering if anyone could think of a way to go about fixing this weird hand glitch with the Original? I'm not sure if there is a mod or particular script I could run which changes FOV or something but thought I would ask. (I am currently running viewmodel_fov 80 with minimized viewmodels. The hand dissapears @ viewmodel_fov 70)

Any help is appreciated!


r/Tf2Scripts • • Aug 13 '21

Question is it possible to create a diet version of the old charge turning scripts?

9 Upvotes

Would it be possible to create a script that combines joystick movement, +left and +right, and mouse movement to get basically a diet version of the old charge turning scripts way back in 2012?


r/Tf2Scripts • • Jul 29 '21

Meta Moderator Applications Are Open

9 Upvotes

Hey all,

Moderator applications are open once again for r/TF2Scripts, r/TF2ScriptHelp, and r/TF2HUDS!

We're looking for kind, courteous users with some technical experience to help keep the subreddits open and welcoming to newcomers. If you're interested, even if you've applied before, submit your application here!

Applications close on September 15th, and all applicants will receive a notice of if they've been accepted by September 31st.

Cheers!


r/Tf2Scripts • • May 03 '21

Question How do I make console commands permanent

9 Upvotes

Let’s say I want to type mat_phong 0 into console (this removes reflections & makes the game look 10x better) so I type it in & it does the thing. But if I where to leave the game & go back in, mat_phong 0 isn’t activating because it isn’t permanent. I heard that you can change the config in the files to do that but I don’t know how. How do you do it?


r/Tf2Scripts • • Mar 26 '21

Question Medic scripts

9 Upvotes

I’m completely new to anything about scripting and was wondering what a good medic script is?


r/Tf2Scripts • • Mar 01 '21

Discussion auto Export of STEAMID3 for mass reporting of bots

9 Upvotes

Hey Everyone!

If you've played TF2 on a valve server within the last year or so you've probably noticed the epidemic of bots. It appears as if the TF2 team doesn't really want to fix these issues, or has yet to come up with a solution. I am getting increasingly frustrated with this problem and want to contribute to a solution.

As you are aware, the "status" command in game brings up all the player connected to the server and lists their STEAMID3, as well as their name at that time. I was hoping to come up with some sort of script to auto export the list into a text file, and filter out all names except the common bot names.

I am also trying to figure out a script that would convert the STEAMID3 in the text file to a community profile URL which I would then export out into another text file. I would then try and automate the report feature on the steam community page.

Please let me know if this sounds like a crazy idea.

50 votes, Mar 04 '21
5 this is a stupid idea
22 sounds interesting but not feasible
23 is worth doing

r/Tf2Scripts • • Feb 09 '21

Resolved [Q] Chat that only I can see?

9 Upvotes

Is there a way to say something in the chat (via console) that ONLY you can see. (Not party or team)


r/Tf2Scripts • • Dec 14 '20

Question How do I make an auto exec file and what commands that is the most useful for the 9 classes

9 Upvotes

r/Tf2Scripts • • Nov 11 '20

Question Is it possible to output or pipe console output to another program or file?

9 Upvotes

I got REALLY pissed after dealing with bots all day in TF2 with players that have no idea how to kick, so I have VS Code open in another window to plan out a program that runs upon opening TF2 and does the necessary checks for bots. I know that according to this post that it's not possible to build something like that with scripting alone, so a dedicated program might be necessary. That said, it all hinges on one thing: is it possible to pipe output from the TF2 console to another program or file?


r/Tf2Scripts • • Nov 08 '20

Question How to exec different configs for the same class?

9 Upvotes

I have a comp config for soldier but I want to be able to trolldier and the config is hindering it If it's possible please help me.

Thank you in advance!


r/Tf2Scripts • • Nov 03 '20

Answered I want to make my spy revolver invisible but I want to keep my invisible watch not invisible

9 Upvotes

r/Tf2Scripts • • Sep 21 '20

Wrong Section Not really a script question

9 Upvotes

Sorry guise... but this is the "support" section for TF2 amirite?

I'm not new to the game but have run upon an issue and I can't figure out what's going on. For the last 24-36 hours, all my weapons have been reverted to stock. At first I thought it was just an items server connection issue, but I have full access to all my cosmetics. I have nearly every strange weapon in the game and the only non-stock item I have that I can access is the Enthusiast's Timepiece for Spy. Everything else is gone.

Before I start freaking out, somebody please talk me down and tell me this is just a glitch?


r/Tf2Scripts • • Sep 01 '20

Resolved Eureka Effect Fast Teleport Script

9 Upvotes

I need help with I think very simple bind but idk how to do stuff I always just copy paste and maybe change a key but that's it.

I use SolarLight's Eureka Effect Fast Teleport Script

bind r +teleport alias +teleport slot3 alias -teleport Teleport_To_Spawn alias Teleport_To_Spawn "eureka_teleport" alias Teleport_To_Exit "eureka_teleport 1"

for teleporting to spawn room but

bind shift +toggleTeleport alias +toggleTeleport "alias -teleport Teleport_To_Exit" alias -toggleTeleport "alias -teleport Teleport_To_Spawn"

doesn't work for some reason. I normally bind and everything is fine until I click key for a bind then is the message:

Unknown command: eureka_teleport

Cannot update control point 0 for effect 'player_sparkles_blue'.

I tried several times and it is the same message

idk nothing about binds or scripts so can someone make this for teleport exit so I don't fuck it up?