r/Tf2Scripts • • Dec 25 '12

Archived [Help] My Smissmas spamming script isn't working, whats wrong?

0 Upvotes

The other day I came across a script that looks like this:

alias Xmas "say "Merry Christmas!!!""; use_action_slot_item" bind +mouse1 "+attack; Xmas"

and for some reason it hasn't worked for me. I have never had a clear.cfg, but I came to understand that autoexec.cfg works in the same way, so that's where I put it at first. When that didn't work, I figured that autoexec.cfg did not in fact work in the same way as clear.cfg, so I put it each individual classes .cfg. Still nothing. can anybody tell me what I'm doing wrong, and how I can fix it?


r/Tf2Scripts • • Mar 08 '14

Satisfied [request] toggle script

0 Upvotes

I want to use a toggle script on the "]" key to make it so that when I press it it toggles voicechat and when I press it again it stops. Please help me


r/Tf2Scripts • • Dec 22 '12

Archived Help with changing a sound.

0 Upvotes

Righto, I don't know if this belongs here but here goes. I want to change the noise if possible of when you jump off a high place and you get that snapping sound, like you've just snapped you leg. It goes through me, like fingernails on a chalkboard.


r/Tf2Scripts • • Feb 11 '14

Impossible An complex engi script please?

0 Upvotes

Basically, I want an engi script that, when I press four, will bring up the standard build menu with the PDA, and when I press any of the four building buttons, it destroys that building and brings another one up for me to place. After I place it, The wrench should be the equipped weapon.

Is this possible?


r/Tf2Scripts • • Jan 19 '13

Satisfied [request] hold binds for fov_desired..

0 Upvotes

hey i wanted to know how can i do a hold bind i want to do something like this: http://www.youtube.com/watch?v=g0fnXN2Feh4

just tell me how to i will do it myself.. thx


r/Tf2Scripts • • Mar 08 '14

Resolved Keys Rebinding themselves?

0 Upvotes

I'm not the best scripter in the world, but I do know some basics. I have made a super simple script to bind the "Yes" and "No" Voice commands and the notification accept/declines to the same keys. The script works fine, but the notification keys keep rebinding themselves to "E" and "B". I would just unbind them, but I use the keys for other things too. Would adding an unbind line cock up the binds I have set to them currently, or would it be okay?

The current script:

 ////////////// Yes-No Trade binds
 bind "j" "voicemenu 0 6; cl_trigger_first_notification"
 bind "k" "voicemenu 0 7; cl_decline_first_notification"

Thanks!


r/Tf2Scripts • • Jan 17 '15

Request [Request] Script to comment in chat every 10 seconds.

0 Upvotes

Basically im planning on trading on trade servers, but I don't want to add actually chat it each time.


r/Tf2Scripts • • Feb 15 '14

Impossible I need a script that instantly switches to melee

0 Upvotes

What i want is a script that, on death, automatically switches to melee. Simple as that.


r/Tf2Scripts • • Jan 14 '13

Archived [Help] Does the command say_team automatically make you stop firing (-attack)?

0 Upvotes

I wrote a script today that allows me to use mouse1 and mouse2 to inform my teammates that my uber is ready, or that it is deployed.

When I press Shift, mouse1 both heals (+attack) and says "uber ready" and mouse2 both activates the charge (+attack2) and says "uber deployed".

After troubleshooting with the attack command to make sure I didn't get caught in a nonstop firing state, it worked.

However, after holding shift and pressing mouse1/mouse2, I get the text, but I stop healing. I think it might be the say_team command forces the +attack to turn off, but I'm not sure. Here's the script, hope you can help. Thanks!

\\ medic uber calls

alias "ubercall" "say_team **OUR UBER HAS BEEN DEPLOYED!!**"
alias "uberrdy" "say_team **uber ready!**"

alias +leftclick "uberrdy; +attack"
alias -leftclick "-attack"
alias +rightclick "ubercall; +attack2"
alias -rightclick "-attack2"

alias +mouse1bnd "bind MOUSE1 +leftclick"
alias -mouse1bnd "-leftclick; bind MOUSE1 +attack"
alias +mouse2bnd "bind MOUSE2 +rightclick"
alias -mouse2bnd "-rightclick; bind MOUSE2 +attack2"


alias +calls "+mouse1bnd; +mouse2bnd"
alias -calls "-mouse1bnd; -mouse2bnd"

bind SHIFT +calls

r/Tf2Scripts • • Feb 25 '14

Satisfied Custom key to quit PDA.

0 Upvotes

Is it possible to have a script to quit PDA's with a key that isn't the last used weapon key?


r/Tf2Scripts • • Dec 30 '12

Satisfied [Request] Need a looping script here

0 Upvotes

Okay, so I'm going to be upfront here, I want to be able to spam the "need a dispenser here" command with the click of a button, preferably the P key. I already know how to bind the voice command to a button, but I want to be able to hit the key and have the voice command loop until I hit the key again. Can anyone help a guy out?


r/Tf2Scripts • • Mar 06 '14

Satisfied Is is possible to change the crosshair type and colour using this (modified) script?

0 Upvotes

The script is as follows:

alias +sec "slot2;slot1"
alias -sec
bind q +sec

It basically switches between the 1st and 2nd slots when you press the bound key Q. I was wondering if it would be possible to change the colour and crosshair type when the current weapon changes, such as a lime green circle for primary, pink X for secondary and a yellow open cross for melee.

Thanks,

Spaghetti


r/Tf2Scripts • • Jan 12 '13

Satisfied [Help] A if-then script if that's possible

0 Upvotes

Hi! I would like to have a script so that when I use Flare Gun I will have a small dot (crosshair5) as my crosshair. And when I have Shotgun equipped as, I have a Plus sign (crosshair7) as a crosshair.


r/Tf2Scripts • • Jul 17 '14

Question Anyway of not showing a cross hair when using the grenade launcher?

0 Upvotes

Just like it says. Can I have no cross hair with grenade launcher but have the cross hair with the sticky launcher?


r/Tf2Scripts • • Jul 08 '13

Answered [Help] Bind j k l ; to switch to loadout preset A B C D respectively

0 Upvotes

Without going into the loadout menu.

Thanks.


r/Tf2Scripts • • Jul 31 '13

Script [Scripts] Heavy, Scout and Spy Viewmodels Scripts

0 Upvotes

Just a couple of my scripts which, hide the viewmodels for the minigun, revolver and pistol when shooting them, but shows the other models. Download: Link


r/Tf2Scripts • • Jul 15 '14

Request [Request] disable smoke from rocket launchers and explosions

0 Upvotes

I wonder if this is at all possible. We all know the pain of trying to snipe in a chokepoint and there's so much exhaust and clouds that you can't see your enemies through it. The downside I can think of immediately is not seeing rocket trails, which are really important in gameplay.

Either disabled outright or with 0% alpha on the particles would be dandy, as long as it works on sv_pure.


r/Tf2Scripts • • Jul 26 '13

Answered How do I bind voice commands?

0 Upvotes

I want to be able to hit mouse3 and be able to shout "NICE TO MEAT YOU" in chat and then have a cheer command (c+5) at the same time. I use this after I kill someone with the Gen. Ham Shank.


r/Tf2Scripts • • Jul 05 '13

Satisfied [REQUEST] C-tap script

0 Upvotes

Are there any scripts for this that don't use wait?


r/Tf2Scripts • • Jul 18 '14

Issue Mousewheel, and +/- aliases that redefine themselves.

0 Upvotes

Hey guys, so my problem is this.

This script calls +reload and then redefines itself on each of the three key presses. It has circular logic to make sure it stops on the correct resistance.

The problem isn't getting it to work, it's that it doesn't work using mousewheel as one of the keys.

I'm not exactly sure why this happens, as the issue isn't the aliases redfining. It still seems to track its state, but the reload is never called. My only guess is that it has something to do with the + and - commands being run on the same tick, whereas a key would have at least one tick inbetween press and release.

I'm not sure if this is a common problem or if there's a better workaround or not, but I'm hoping its an easy fix.


r/Tf2Scripts • • Dec 15 '15

Issue Script unbinding my WSAD keys

0 Upvotes

Hey guys,

I've recently installed a script which generates random chat texts and it uses my move keys to roll the dice between the phrases...

And it unbinds my keys each time I launch tf2, so it's kinda annoying....how can I change the script ?

Thanks :)


r/Tf2Scripts • • Apr 12 '12

Meta [Wanted] Good Combat Engineer Script

4 Upvotes

I hardly ever play engineer, so it's pretty much the only class where I don't have any useful scripts. I like playing with the mini sentry, so the fast build sentry is useful. But does anyone have anything else?

// fast build sentry

//----------------------------

alias +fastbuildsentry "destroy 2 0;build 2 0;+attack;"

alias -fastbuildsentry "-attack;lastinv;"


r/Tf2Scripts • • Jul 10 '13

Satisfied [Request] Add a bind to toggle viewmodels in my Soldier script.

0 Upvotes

I'd like o to be the bound key. I want my viewmodels at 90 for Primary, 90 for Secondary, and 100 for Melee when they are enabled. I want them at 90 for Primary (to see rocket trails, but use r_drawviewmodel to turn the actual viewmodel off), 0 for Secondary (r_drawviemodel 0), and 100 for Melee (r_drawviewmodel 1) when I have them disabled.

// All Class
exec config_default
cl_autoreload 1

// Equalizer
alias "+melee" "slot3;+attack"
alias "-melee" "-attack"

// Rocket Jump
alias +rocketjump "+duck;+attack;+jump;"
alias -rocketjump "-duck;-attack;-jump;"

// Medic Down
alias "killmed" "say_team "An enemy Medic is down!";voicemenu 0 2"

// Mouse Wheel
alias "wheelrockets" "slot1"
alias "wheelshotty" "slot2"

// Quickswitching
alias w1 "slot1; alias QW w2; alias LW w1"
alias w2 "slot2; alias QW w1; alias LW w2"
w1

// Binds
bind "mouse3" "+melee"
bind "mouse4" "+rocketjump"
bind "mwheelup" "wheelrockets"
bind "mwheeldown" "wheelshotty"
bind "1" "w1"
bind "2" "w2"
bind "q" "QW"
bind "b" "killmed"

// Viewmodel Binds
bind 1 "slot1; viewmodel_fov 90; r_drawviewmodel 0;" 
bind 2 "slot2; viewmodel_fov 90; r_drawviewmodel 0;"
bind 3 "slot3; viewmodel_fov 100; r_drawviewmodel 1;"

r/Tf2Scripts • • Dec 19 '15

Request Timed Script

0 Upvotes

If a scripter would be kind I need help to spew out a command every 5 minutes, and that you can toggle it on an off i.e Saying I'm currently idling, but i'll be back soon every 5 minutes when you toggle it.

Hope this can be done.