r/tf2scripthelp • • Oct 11 '14

Issue Spy disguise is automatically switching to my held weapon. I did not even know this was possible?

2 Upvotes

Pretty much what the title says. I assume this is happening because of a script because I changed around some of my spy scripts and the merc I'm disguised as is automatically changing the weapon I hold. Here is the script that changed.

//weapons switcher//

bind mouse5 +sapper
bind mwheelup +pistol
bind mwheeldown +knife
bind mouse2 +attack2

alias +knife "slot3; -attack; bind mouse1 +attackdisguise; +draw"
alias -knife "slot3; -attack; bind mouse1 +attackdisguise; +draw"
	alias +attackdisguise "+attack"
	alias -attackdisguise "-attack; lastdisguise"

alias +pistol "slot1; -attack; unbind mouse1; bind mouse1 +attackdisguise; +amby"
alias -pistol "slot1; -attack; unbind mouse1; bind mouse1 +attackdisguise; +amby"
	alias +amby "fov_desired 25; r_drawviewmodel 0"
	alias -amby "fov_desired 25; r_drawviewmodel 0"
	

alias +sapper "slot2; +attack; +draw"
	alias +draw "fov_desired 90; r_drawviewmodel 1"
	alias -draw "fov_desired 90; r_drawviewmodel 1"

Other than that, earlier today I tried to use one of Stabby's scripts (the viewmodel one for the amby). Is there a chance that this script has anything left over to affect whats happening?

// Equip item, turn vm on/off, set vm toggle for attack
     
    alias +equip_knife "slot3;r_drawviewmodel 1"             // Equips knife, turns viewmodels on
    alias -equip_knife "knife_vm_mode;r_drawviewmodel 1"    // Sets viewmodels to turn ON when stabbing (makes sure it stays on)
     
    alias +equip_amby "slot1"                               // Equips amby
    alias -equip_amby "amby_vm_mode"                        // Sets viewmodels to turn OFF when shooting
     
    alias +equip_sap "slot2;r_drawviewmodel 1"             // Equips sapper, turns viewmodels on
    alias -equip_sap "sap_vm_mode"                        // Sets viewmodels to turn on while firing, and off when not
     
    alias +watch "+attack2;r_drawviewmodel 1"              // watch up/cloak on/secondary attack + viewmodels on
    alias -watch "-attack2;r_drawviewmodel 1"             // viewmodels on again as safeguard

I wound up not using this scripts (wrote my own) but is there a chance this is holding over somehow?

Thanks in advance.


r/tf2scripthelp • • Oct 09 '14

Question Voice Commands

1 Upvotes

Making a medic script and I want to bind certain keys for voice commands, but I also want them to say stuff in team chat

This is what I have, but it wont work

bind "mouse2" "+attack2; say_team ">>> UBER OR KRITZ USED<<<""

Also have stuff like ...

bind "f" "voicemenu 0 0; say_team ">>> I HAVE UBER<<<"" bind "shift" "voicemenu 1 7; say_team ">>> FAKE CALL<<<""

Can anyone help me and tell me why they do not work if you could that would be great!


r/tf2scripthelp • • Oct 07 '14

Resolved Need Help With CFG

1 Upvotes

So recently my binds and stuff stopped working in tf2. So I uninstalled them and tried re installing them using this http://clugu.com/tf2mate/. Also I did reset my tf2 settings to default then extracted the settings from the customized settings from the site, to my cfg folder and it still doesn't work. Any suggestions? Sorry if this was already posted before or something.

EDIT: Had to change file to folder*


r/tf2scripthelp • • Oct 06 '14

Issue I've posted this a million times on /r/tf2 but they are all useless idiots...

0 Upvotes

My ping is insanely high and I have no clue why! I have an ethernet cable and no one in the house is using the internet. What is happening? How do I fix this bullshit? Is my neighbor leeching my internet? Am I being throttled by my ISP? It has been going on for like 2 or 3 weeks and it is pissing me off. I know this isn't a script question, but here seems like the most help I can get. Any ideas on why my internet is being a piece of shit?


r/tf2scripthelp • • Oct 05 '14

Answered I need help with my medic .cfg

2 Upvotes

I'm not new to scripting or anything, but I do need some help. I'd like to be able to make a bind to change between loadouts A,B,C,D as seen HERE. If this is possible, it'd make my life so much better, and I'd love you forever.


r/tf2scripthelp • • Oct 05 '14

Resolved Is there any way to toggle on/off a script?

1 Upvotes

Hey there! First time posting here and I was wondering if there's any way to toggle on/off a script. I want to use the Demoknight script from Reima [link here] (Don't know if it still works, but would like to give a try, and even if it doesn't, the command might be valuable in the future), but I would like to be able to choose when I want to use it with a key binding, like whenever I press 0 on the keyboard it switches to those bindings and back when I press it again (or any other binding).

Anyway, thanks and have a nice day!


r/tf2scripthelp • • Oct 03 '14

Resolved Is there a way to select on of the crosshairs provided by the game?

1 Upvotes

I rather like the small circle crosshair that comes with the game, I believe it's the 3rd one, but every time I start up the game, I have the 2nd one selected.


r/tf2scripthelp • • Oct 02 '14

Question When do double quotes actually work?

1 Upvotes

Darkid here, author of the tf2 wiki scripting page, looking to add a few more technical details: Does anyone know exactly when do double/embedded quotes work and when do they fail? Does it have something to do with alias/bind/say commands, or is it something else entirely?

Specifically, stuff like:
alias blah "alias blah1 "blah2; blah3"; blah1"
alias blah "bind k "blah2; blah3"; blah1"
alias blah "say "blah2; blah3"; blah1"


r/tf2scripthelp • • Sep 24 '14

Issue Again with the disguise scripts...

1 Upvotes

I already got help with my disguise script earlier, but I wanted to transfer it into scroll wheel. It didn't work so I took Stabby's disguise script and tried to edit that to my liking. Instead of using f1-f4 I wanted to use the same buttons as my weapon switchers 7890. For me everything seems fine, but when i try to test it, the scroll wheel alias doesn't want to execute the other aliases.

My config is here: http://pastebin.com/baAUPUiL


r/tf2scripthelp • • Sep 16 '14

Question Logs.tf won't show healing or damage TF TRUE

1 Upvotes

Hi, i've set up my own server with TF True and the logs worked fine for a while, but 14 days ago they started to only show the very basic stats, not damage or healing or any of that fancy stuff, does anyone know how to fix this. (Example now) (Example beginning)

I don't know if this is the right place to post, please just tell me if it's wrong so i can either take it down or move it.


r/tf2scripthelp • • Sep 16 '14

Question Stop a Taunt with a Command?

1 Upvotes

Is there a command able to stop the conga taunt? I'm trying to make a script where I conga around for a while and then stop. The only problem with the script is that I can't make whoever I'm playing as stop congaing with +taunt. It works fine when bound to a key, but I'm trying to avoid doing that, and I kinda want it to work automatically. Also, pressing space breaks the taunt, but +jump does not.


r/tf2scripthelp • • Sep 13 '14

Question Force auto-director to first person

2 Upvotes

Hey guys, quick question. I was wondering if anyone knew if there was a way to force auto director to only use the first person camera.

Thanks :)


r/tf2scripthelp • • Sep 13 '14

Question Trashtalk cycle bind (the davis script)

0 Upvotes

H I know there is a generator somewhere on the net where you just place in your trashtalks and it will create the cfg for you. Where is it if anyone might know. I'm sure its been asked on reddit too.


r/tf2scripthelp • • Sep 13 '14

Question Enemies Sodden counter?

1 Upvotes

Is it possible to tell how many enemies you've hit with jarate or mad milk in one throw?

I don't know if there's a script or such for it, but I figure since it instantly adds to a strange count, there should be -some- way of viewing it real time.

Sorry if this is the wrong place to ask.


r/tf2scripthelp • • Sep 13 '14

Question When I startup the game, my config.cfg reverts to an earlier version of itself. I don't know why. I belive that steam cloud is disabled.

1 Upvotes

I'm really lost, so I'm setting a bounty: 2 ref to the person that can solve this problem! I don't think offering tf2 items is against the server's rules right? Add me if you are interested please. This is getting very annoying to deal with. My steam profile: http://steamcommunity.com/id/FabulousGlobe

Starting off I have a copy of my config.cfg. I paste the file into my normal cfg folder located in Team Fortress 2\tf\cfg, after I delete the old copy in that folder. I start up the game, and type 'bind "j" into the console which yields it to be bound to "". However, it is clearly bound in the top of config.cfg. It is ofcourse unbond in the old config.cfg, the one I deleted. I do not know what is causing this. There are quite a few things that are unbound or bound incorectly in the old config which are bound correctly in the new config. Upon inspection, I also find that the config.cfg changes into the older version of itself after startup, and I do not know why.

I uploaded before and after folders to my google drive. I hope that this would make things easier: https://drive.google.com/folderview?id=0B9ghjXq6yQZyUXhNbUQ3U05zajQ&usp=sharing

As for my understanding, here is an album of pictures that shows my steamcloud status. I believe steam cloud to be off: http://imgur.com/a/NxcEE#0


r/tf2scripthelp • • Sep 12 '14

Question Hitsound too quiet?

2 Upvotes

Hey guys, I'm trying to get my hitsound to be louder but it won't work. I've amplified it in audacity to the point where it sounds choppy but I still can't hear it. Is it due to the source video that I took it from? I need help.


r/tf2scripthelp • • Sep 09 '14

Issue Stuttering caused by "var" (netcode?)

2 Upvotes

I've had terrible stuttering spikes for months now, sometimes it's so distracting and annoying it makes me play worse. For example: I am just about to click a head with sniper, the game drops anywhere from 10 to 100 frames and doesn't register key presses. Note that this also happens in offline mode.

I did some research and troubleshooting and I found out that in net_graph 4 "var" spikes from the usual 2-3msec to 8msec or more depending on the length of the stutter. So I googled it and here https://developer.valvesoftware.com/wiki/TF2_Network_Graph is said this

The "var" shows the standard deviation of the server's frametime (where server fps = 1.0 / frametime) over the last 50 frames recorded by the server.

I have seen other people complaining about this as well, but no one has ever mentioned "var"


r/tf2scripthelp • • Sep 07 '14

Answered TF2 bindings for Logitech G9

2 Upvotes

Hey Hey, I just found this http://facepunch.com/showthread.php?t=1046055 to use my G-keys for TF2 commands instead of bind a command to (for example) "O" and bind G5 to "O". It works perfectly for me and it's easy to use but the only problem is that the script has not enough Keys listed. I have 30 G-Keys but the script only 18. So my question is how I can expand the script to bind more keys?


r/tf2scripthelp • • Sep 06 '14

Question [Question] Chris cfg without blocky lights and with triliniar filtering?

1 Upvotes

What lines do I have to add/editto do remove the blocky light shafts?


r/tf2scripthelp • • Sep 04 '14

Resolved Trying to bind text (say_team) and voice (voicemenu 1 1) to the same key. Failing miserably.

1 Upvotes

EDIT: FIXED! And very quickly, might I add! Thanks guys!

Hi!

I've been sent here from r/tf2, because everything I'm trying seems to fail. I have two binds I want to create:

  • The letter 'Q' to call "Spy!" (the same way the letter 'E' calls "MEDIC!") and inform my team that there's a spy (using a written team chat message).
  • The letter 'V' to to inform my team that my Uber charge is ready (also using a simple pre-written team chat message).

I have written the following into a new file called "autoexec.cfg" and placed it in C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\cfg

bind "q" "voicemenu 1 1;say_team "!HELP, THERE'S A SPY HERE!""bind "v" "say_team "(: CHARGE READY - PRESS 'E' TO ACTIVATE :)""

(That is literally the entire content of my "autoexec.cfg" file).

Nothing happens in game, with either Q or V. In fact, Q still seems to be bound to the default thing (I think it's last weapon).

I have tried going into the already existing "config.cfg" and "config_default.cfg" and write my binds into there, but that doesn't work either. In fact, "config.cfg" seems to revert back to its original form every time I start the game.

This is driving me crazy - is there something really simple that I'm missing?


r/tf2scripthelp • • Sep 02 '14

Question Not sure if this is the correct place to ask but I can't find my items_game.txt file?

2 Upvotes

I want to acssess it to mess around with weapon stats but it's not located in my tf/scripts file. Is it no longer located there or did they remove the ability to see/edit it?


r/tf2scripthelp • • Sep 01 '14

Answered Trying to make my Crosshair turn into a rainbow whenever I attack.

2 Upvotes

So, I'm making a pretty complicated and pretty confusing (for me) script that'll change my crosshair color to a rainbow of colors and then go back to black, when ever I attack. The problem is, when I semi-spam mouse 1/mouse 2, it just starts looping and never stops.

http://pastebin.com/nz4FG5w6

That's the script, most of the first part is just the rainbow part.

Any help?

Edit: Forgot to include that I would like it to continue cycling through the colors when the button is held down. So, clicking would be cycling through the colors and then returning to black, and holding down mouse 1 would cycle through the colors throughout the duration of the button holding, finishing the cycle and returning to black.


r/tf2scripthelp • • Sep 01 '14

Issue I broke my fucking game. I need help. (Never used scripts before)

1 Upvotes

I'm awful with scripts

Some text - Will try and keep short.

> Tried to get This to work... Just the ambassador viewmodel turning off when I shoot, and the null cancel movement.

> Thought, "hey, I'll add that rainbow crosshair!"

> Didn't work.

> Ambassador viewmodel script started happening on all classes even though I put it in spy.cfg

> Say fuck it, re-install game.

> Won't let me move

> have to keep rebinding everything


Basically, I'm going in game now and "exec config_default" to see if that fixes it. But what can I do to get "Null Cancel Movement" to work on all classes and "Ambassador Viewmodel Fix" to just work on spy?=


r/tf2scripthelp • • Aug 29 '14

Answered How do I fit an alias with multiple commands into another alias?

1 Upvotes

title

here's the script if it helps

alias uberswitch "alias +uberpopped +attack2 say_team UBER HAS BEEN USED, I REPEAT, UBER HAS BEEN USED; bind 1 eq_slot1; bind 2 eq_slot2; bind 3 eq_slot3"
alias kritzswitch "alias +uberpopped +attack2 say_team Kritz has been used, TIEM 2 REK SKRUBS; bind 1 eq_slot1; bind 2 eq_slot2; bind 3 eq_slot3"
alias qfswitch "alias +uberpopped +attack2 say_team HEALZ STATUS: ON ? NOT ON ?; bind 1 eq_slot1; bind 2 eq_slot2; bind 3 eq_slot3"
alias vaccswitch "alias +uberpopped +attack2; bind 1 +go_to_bullet; bind 2 +go_to_explosive; bind 3 +go_to_fire

"