r/Tf2Scripts • • Jun 13 '21

Question Having rockets from other rocket launchers come from the centre

5 Upvotes

I soundsmith's 500k Q&A he mentions that there's a way to get rockets from the rocket jumper come from the centre. My question is how and can you do it on other rocket launchers.


r/Tf2Scripts • • Jun 10 '21

Question Why can't I "delete" the keybinds for past scripts?

5 Upvotes

For some strange reasons, when I change what key a script binds to, the game continues to use the old one, while also binding the new key at the same time.

For example, I have a bind to call out when I have uber. The bind ends with "bind "f3" "voicemenu 2 7; say_team ~Uber Ready!~"" Now, before it used to be bound to f1, but I was sick of it playing whenever I kicked a bot, so I moved it to f3. However, for some weird ass reason, it still plays the message whenever I hit f1.

To investigate, I went to config.cfg. There, it says

bind "F1" "voicemenu 2 7; say_team ~Uber Ready!~"

bind "F2" "voicemenu 0 1"

bind "F3" "voicemenu 2 7; say_team ~Uber Ready!~"

Even when I delete the bind for f1 in config.cfg, it doesn't do anything.

This isn't exclusive to this bind either, it also happened with 1 or 2 more. What do I do?! Thank you in advance.


r/Tf2Scripts • • May 05 '21

Question I want to make a viewmodel bind

5 Upvotes

How do I make a bind that scrolls from viewmosel_fov 54 to viewmodel_fov 100 by using arrow key the up and down one specifically


r/Tf2Scripts • • Apr 18 '21

Question Keep invis watch arm on screen.

5 Upvotes

Whether scripting or modding related is there currently a way to make it so spy's invis watch arm stays om screen matter what?

It's very dumb cosmetic preference, and I would do it myself through modding, but my ability to do so is limited by my current pc's inability to use sfm.


r/Tf2Scripts • • Apr 03 '21

Issue Looking for Help In Scripting an Auto Hat Combiner #TF2

5 Upvotes

I have recently used a glitch to combine two hats and make combos, for example https://steamcommunity.com/sharedfiles/filedetails/?id=2444425545. I have been using method three on this video, but the process can be tedious especially because it can easily become undone by touching something as simple as the resupply locker. https://www.youtube.com/watch?v=ID94ogMdlqs. I know bots can automate the process of wearing two hats, so I know someone could point me in the right direction.


r/Tf2Scripts • • Feb 20 '21

Resolved Weird lighting issue after installing an fps config

5 Upvotes

I downloaded an fps config recently and theres been this weird lighting/shading sometimes down hallways and on the walls and ground. I dont know if this is normal but its really bugging me for some reason. Anyone know what it is and how to change it? Pic for example. Sorry if hard to see.


r/Tf2Scripts • • Jan 30 '21

Question Color settings

5 Upvotes

Hi, I recently viewed a clip of shadowburn playing against mike in mge. This is the clip. My question would be what color settings does he use, i mean how does his game look so blue-ish tented. I think it's made with a config but it could be also made with monitor color settings, what do you think?


r/Tf2Scripts • • Jan 15 '21

Satisfied How can I go about optimising the following, if possible?

5 Upvotes
// Uber masking with mouse wheel down
alias confuse_speech1 "voicemenu 2 4; bind mwheeldown confuse_speech2"
alias confuse_speech2 "voicemenu 2 5; bind mwheeldown confuse_speech3"
alias confuse_speech3 "voicemenu 2 4; bind mwheeldown confuse_speech4"
alias confuse_speech4 "voicemenu 2 5; bind mwheeldown confuse_speech1"
bind mwheeldown confuse_speech1

I've heard that these are called 'nested' binds and are needlessly complex. How can I approach optimising it and in turn similar scripts I've nicked/written/adapted?


r/Tf2Scripts • • Jan 09 '21

Answered How do you set a point entity's position?

Thumbnail self.tf2scripthelp
5 Upvotes

r/Tf2Scripts • • Jan 02 '21

Answered I accidentally unbound my Eureka Effect.

5 Upvotes

How do I get the stock settings back? All I can find are fast teleport scripts.


r/Tf2Scripts • • Dec 30 '20

Answered Need Help Changing Viewmodels for Different loadouts .( abcd)

5 Upvotes

quick example : as a soldier i like to have viewmodels on when i use the original (loadout A/0), but viewmodels off when i change to beggar's (loadout D/3)

I would like a command that whenever i press my quick loadout switch (like this : bind "DOWNARROW" "load_itempreset 3") it would also change my viewmodel settings.

Basically change viewmodel options between loadout presets.

I have different fov's between Primary Slot weapons and Melee.

(bind 1 "slot1; r_drawviewmodel 0; viewmodel_fov 80; tf_use_min_viewmodels 1"

bind 2 "slot2; r_drawviewmodel 0; viewmodel_fov 105"

bind 3 "slot3; r_drawviewmodel 1; viewmodel_fov 125; tf_use_min_viewmodels 1")

Like so.

Thanks hope i can get an answer to this :)


r/Tf2Scripts • • Dec 23 '20

Answered How do change the chat positions in game?

5 Upvotes

I am using toon hud


r/Tf2Scripts • • Dec 13 '20

Satisfied Quick melee

5 Upvotes

Is there a way for me to bind mouse3 to let me quickly swap to my melee and while holding it down, Attack?


r/Tf2Scripts • • Oct 26 '20

Resolved My tab graph and crouch jump script don't work.

5 Upvotes

do i put the tabgraph and crouch jump script in like scout.cfg, soldier.cfg etc?

i use mastercomfig and put my scripts in user folder


r/Tf2Scripts • • Oct 19 '20

Answered Do i put exec scout exec soldier exec pyro ect. in autoexec?

5 Upvotes

r/Tf2Scripts • • Oct 03 '20

Satisfied When switching viewmodels on/off with weapons the lighting changes. glow_outline_effect_enable 0 fixes it but there arent any glow effects at all. EXAMPLE IN POST, HELP ME PLEASE

5 Upvotes

https://drive.google.com/file/d/1U-35FngBfhsQrjhGVMfzd3pLV_sKeX5l/view?usp=drivesdk - what I mean. As you can see, with them off the outlines arent shaded in. I would really really like some help here.

Thanks in advance.


r/Tf2Scripts • • Oct 02 '20

Resolved Help with a part of my script

5 Upvotes

I'm working on completely rewriting my GameBanana engineer script and fixing it for the switch to last weapon works. But I don't know how this part (Arrow Pointed)still doesn't work. Can you guys help me? I can credit you.

slot3

alias "buildactivate" "bind mouse1 buildsentry; bind mouse2 builddispenser; bind mwheelup buildentrance; bind mwheeldown buildexit; bind q buildactivateq"
alias "buildsentry" "destroy 2; build 2; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "builddispenser" "destroy 0; build 0; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "buildentrance" "destroy 1; build 1; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "buildexit" "destroy 3; build 3; bind mouse1 +buildattack; bind mouse2 +attack2; bind mouse3 buildactivate; unbind mwheelup; unbind mwheeldown; bind q gobacktoengieslot3withlastinv"
alias "+buildattack" "+attack"
alias "-buildattack" "-attack; engieslot3; bind mouse1 +attack"

alias "destroyactivate" "bind mouse1 destroyversentry; bind mouse2 destroyverdispenser; bind mwheelup destroyverentrance; bind mwheeldown destroyverexit; bind q destroycancel"
alias "destroyversentry" "bind mouse3 destroysentry"
alias "destroysentry" "destroy 2; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3"
alias "destroyverdispenser" "bind mouse3 destroydispenser"
alias "destroydispenser" "destroy 0; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3"
alias "destroyverentrance" "bind mouse3 destroyentrance"
alias "destroyentrance" "destroy 1; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3
alias "destroyverexit" "bind mouse3 destroyexit"
alias "destroyexit" "destroy 3; bind mouse1 +attack; bind mouse2 +attack2; bind mouse3 buildactivate; engieslot3"

alias "engineerslot1" "slot1; bind mwheelup engineerslot3; bind mwheeldown engineerslot2; alias checkweaponslotfordestroy engieslot1; alias whatweaponslotdestroycancel engineerslot1; bind q engiescriptlastinv1"
alias "engieslot1" "bind mwheelup engineerslot3; bind mwheeldown engineerslot2"
alias "engineerslot2" "slot2; bind mwheelup engineerslot1; bind mwheeldown engineerslot3; alias checkweaponslotfordestroy engieslot2; alias whatweaponslotdestroycancel engineerslot2; bind q engiescriptlastinv2"
alias "engieslot2" "bind mwheelup engineerslot1; bind mwheeldown engineerslot3"
alias "engineerslot3" "slot3; bind mwheelup engineerslot2; bind mwheeldown engineerslot1; alias checkweaponslotfordestroy engieslot3; alias whatweaponslotdestroycancel engineerslot3; bind q engiescriptlastinv3"
alias "engieslot3" "bind mwheelup engineerslot2; bind mwheeldown engineerslot1"
alias "gobacktoengieslot3withlastinv" "lastinv; engineerslot3; firstslot3switchcmds"
alias "destroycancel" "bind mouse1 +attack; bind mouse2 +attack2; whatweaponslotdestroycancel"
alias "buildactivateq" "bind mouse1 +attack; bind mouse2 +attack2; engineerslot3; firstslot3switchcmds"

 |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
alias "switch31" "engineerslot1; setswitch13; setswitch21"
alias "setswitch31" "alias engiescriptlastinv3 switch31"
alias "switch32" "engineerslot2; setswitch23; setswitch12"
alias "setswitch32" "alias engiescriptlastinv3 switch32"
alias "switch21" "engineerslot1; setswitch12; setswitch31"
alias "setswitch21" "alias engiescriptlastinv2 switch21"
alias "switch23" "engineerslot3; setswitch32; setswitch13"
alias "setswitch23" "alias engiescriptlastinv2 switch23"
alias "switch12" "engineerslot2; setswitch21; setswitch32"
alias "setswitch12" "alias engiescriptlastinv1 switch12"
alias "switch13" "engineerslot3; setswitch31; setswitch23"
alias "setswitch13" "alias engiescriptlastinv1 switch13"
/-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\ /-\
 |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |

alias "firstslot3switchcmds" "switch23; bind q engiescriptlastinv3; alias firstslot3switchcmds null"

firstslot3switchcmds

alias null ""

bind "1" "engineerslot1"
bind "2" "engineerslot2"
bind "3" "engineerslot3"
bind "4" "destroyactivate"

r/Tf2Scripts • • Sep 20 '20

Discussion Hey, I was wondering if there are any configs that only get rid of the unoptimized stuff, and leave the main settings alone, any ideas?

5 Upvotes

r/Tf2Scripts • • Sep 05 '20

Question Taunt by name for weapon taunts?

5 Upvotes

The command taunt_by_name [Name of taunt] can be used to taunt a specific taunt directly. Can this be used for weapon taunts?


r/Tf2Scripts • • Sep 04 '20

Question So I need help config the master config

5 Upvotes

First yes I have read the models thing in the master config page where you can change models quality particles etc but here is thing:

-which one is for the hud messages like a enemy got the Intel, defence, etc

  • I want to know why I can hear music in the main menu it is because of a update or masterconfig and if it is MC how do I activate it? That's all thx for reading/responding


r/Tf2Scripts • • Aug 22 '20

Satisfied So I trying to search a cfg

5 Upvotes

I'm trying to find a cfg similar to masterconfig low but with quality model medium, quality sound high and HUD massages on like the someone grab the Intel


r/Tf2Scripts • • Aug 14 '20

Question Command to restart my tf2 server?

5 Upvotes

It is hosted on a Linux VPS. I have been following Aar's recent Guide to make my server, and I have access to the sm_rcon command in-game, and also the VPS via ssh.

Now I could just reboot the whole Linux server, but that's not a good way, as it may take way too long to startup, and cause other problems.


r/Tf2Scripts • • Aug 13 '20

Question anyway to set shooting a detonator and exploding it to the same button?

5 Upvotes

you might be asking why would I need that? it's because i use have secondaries for pyro set to mouse4, and the detonate button to mouse3, (mouse2 swaps me instantly to the flamethrower to airblast) pressing m3 doesnt feel right but I have literally no other buttons I can bind it to. is there anyway i can shoot flares and detonate them with the same button?


r/Tf2Scripts • • Aug 11 '20

Resolved Something about this is broken?

5 Upvotes

Hey! so the intention of my script is: when I hit F I call spy, when I hold ctrl then hit F I call out for sentries, when I press E I call for medic, when I hold ctrl and hit E I ask to activate charge, and finally whenever I hit R I mask when I get ubercharge (using a form of randomization) and when I hold ctrl and then hit R I let my team know in chat that I plan on a push soon.

However I noticed that the last one doesn't work, when I hit R my randomized mask works, but when I hold ctrl and hit R nothing happens. I noticed that It calls in chat that I intend to push when I switch to medic, which is when the script executes. I don't notice anything wrong, but I may be overlooking it :/

I'm only putting the portion of the script I'm worried about below

VVV Script VVV

//toggler

bind ctrl "+togglestate"

alias +togglestate "alias call_foe call_gun; alias call_healthy poponmedoc; alias chargecall

planonpop"

alias -togglestate "alias call_foe call_spy; alias call_healthy call_med; alias chargecall smartuber"

//uber calls

alias planonpop "say_team ==>I Pwan to pop! GET WEADY FOR A PUSH<=="

//Smart Uber Mask

alias chargecall "smartuber"

alias smartuber "say_team ==> Ubew Masked to Enemy CHAWGE WEADY!!! <==; maskcycle"

alias maskcycle "shout1"

alias shout1 "voicemenu 0 2; alias maskcycle shout2"

alias shout2 "voicemenu 0 6; alias maskcycle shout3"

alias shout3 "voicemenu 2 7; alias maskcycle shout4"

alias shout4 "voicemenu 2 6; alias maskcycle shout5"

alias shout5 "voicemenu 0 1; alias maskcycle shout1"

alias maskcycler "maskc1"

alias maskc1 "alias maskcycle shout2; alias maskcycler maskc2"

alias maskc2 "alias maskcycle shout3; alias maskcycler maskc3"

alias maskc3 "alias maskcycle shout4; alias maskcycler maskc4"

alias maskc4 "alias maskcycle shout5; alias maskcycler maskc5"

alias maskc5 "alias maskcycle shout1; alias maskcycler maskc1"

bind "r" chargecall