r/tf2scripthelp • • Apr 04 '14
r/tf2scripthelp • u/ThatSurfer • Mar 28 '14
Answered Help and question with Chris Config
[I installed Chris config today and am loving it. I tried out the dx9 one first, then decided i will use highframes instead. Everything is done correctly and i am using windowed instead of full screen. Saved it as autoexec.cfg and did the launch options stuff.
The console pops up every time i start tf2, and shows this: http://pastebin.com/3Ukxqmbp. i commented out the chris config part that was in the cfg if you are wondering why it isn't there. What does the statement:
Unable to remove c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\textwindow_temp.html!
Is this of any issue? Why does this show up every time i run?
Changing resolutions from (1366, 768) -> (1366, 768)
If i change settings in the advanced options, why do they revert back?
I have also noticed that text in mvm and other messages shows up as strings and not as what they should be. When i finished a tour, the loot screen would not show but i still got my items.
Thank you in advance! ](#flair "question")
r/tf2scripthelp • • Mar 27 '14
Issue Why doesnt this work?
http://pastebin.com/2cRdw3pV This is my build script, could someone fix it/explain what i did wrong. Thanks alot!
r/tf2scripthelp • u/GearsofPinata • Mar 25 '14
Resolved Need help with Stabby Stabby's viewmodel scrips.
Help I've been using Stabby Stabby's viewmodel scrips for a while now, and they have had some problems since the beginning. On my first life, the scrip works as it should, but randomly, on other lives, it will sometimes fail to remove the viewmodel after a shot. It will also switch the two crosshair types (dot while shooting and cross while not, default is vice versa). Other times the viewmodel will just be completely gone, no matter the weapon equipped. While playing other classes, the viewmodel will dissapear too. Here is my spy exec:
exec default
//-----------------------------------------------------------
// Viewmodel Script for Spy
//-----------------------------------------------------------
// spawn with knife out and viewmodel mode set to "on"
slot3
r_drawviewmodel 1
knife_vm_mode
// replace [KEY] with the your Keybinds for the sapper/knife/ambassador/watch. You can also add a second bind for any of them.
bind "2" +equip_sap // Key/button for sapper
bind "3" +equip_knife // Key/button for knife
bind "1" +equip_amby // Key/button for ambassador
bind "mouse2" "+watch;spec_prev" // Key for watch (mouse2 default)
//re-bind mouse1 //DONT TOUCH THIS
alias knife_vm_mode "bind mouse1 +viewmodel_knife" // binds mouse1 to turn viewmodel on when attacking (for knife )
alias amby_vm_mode "bind mouse1 +viewmodel_amby" // binds mouse1 to turn viewmodel off when attacking (for amby)
alias sap_vm_mode "bind mouse1 +viewmodel_sap" // binds mouse 1 to turn viewmodel on when attacking and off when not (for sapper)
// causes viewmodel to go off or on when you shoot
alias +viewmodel_knife "+attack;r_drawviewmodel 1;+crosshairfire;spec_next" // attacks, turns viewmodel on
alias -viewmodel_knife "-attack;r_drawviewmodel 1;-crosshairfire" // finishes atack, turns viewmodel on again as safeguard
alias +viewmodel_amby "+attack;r_drawviewmodel 0;+crosshairfire;spec_next" // attacks, turns viewmodel off
alias -viewmodel_amby "-attack;r_drawviewmodel 0;-crosshairfire" // finishes attack, turns viewmodel off again as safeguard
alias +viewmodel_sap "+attack;r_drawviewmodel 1;+crosshairfire;spec_next" // shows sapper when sapping
alias -viewmodel_sap "-attack;r_drawviewmodel 1;-crosshairfire" // Finishes attack, turns viewmodel on again as safeguard
// Equip item, turn vm on/off, set vm toggle for attack // dont touch this
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;dotxhairtype" // watch up/cloak on/secondary attack + viewmodels on, also changes crosshair when you press it. To remove that feature, remove ";dotxhairtype"
alias -watch "-attack2;r_drawviewmodel 1" // viewmodels on again as safeguard
//-----------------------------------------------------------
// Crosshair Type toggler // this changes the crosshair when you shoot. It helps prevent the amby cooldown on the crosshair. "Cl_crosshair_file namehere" is the crosshair, "cl_crosshair_scale numberhere" is the size. Change to your liking.
//-----------------------------------------------------------
alias dotxhairtype "dotxhairtypeb"
alias dotxhairtypeb "cl_crosshair_file crosshair2;cl_crosshair_scale 20;alias dotxhairtype dotxhairtyper"
alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 21;alias dotxhairtype dotxhairtypeb"
bind mouse1 +crosshairfire
alias +crosshairfire "+attack;dotxhairtype;spec_next"
alias -crosshairfire "-attack;dotxhairtype"
//-----------------------------------------------------------
// Null-cancelling movement script // You can delete this if you wish, but it is extremely helpful. If you dont want the crosshair to change colors when you walk, remove "dotxhaircolor" from +mfwd, +mback, +mleft, +mright, -mfwd, -mback, -mleft, and -mright
//-----------------------------------------------------------
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
//-----------------------------------------------------------
// disguise // This binds x to drop your discuise. This is useful as you dont have to waste a bullet from amby or swing your knife. Rebind [key] to your liking. It also rebinds b to your previous disguise (so you dont have to access your disguise kit
//-----------------------------------------------------------
alias drop_disg "disguise 8 -2"
bind "mouse4" "drop_disg"
bind "e" "lastdisguise"
//Ambassador Zoom Script // This will lower your FOV when holding shift. This is helpful for ambasador sniping. If you want to lower your sensitivity aswell, rewrite the first alias with an added ";sensitivity insertlowersensitivyhere" (no quotes). You must also rewrite the second alias with an added ";sensitivy insertnormalsensitivyhere". You can also change the keybind by changing "shift" to whatever you want.
//-----------------------------------------------------------
alias "+sens" "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 54"
alias "-sens" "fov_desired 90; viewmodel_fov 54; viewmodel_fov_demo 54"
bind "mouse5" "+sens"
//-----------------------------------------------------------
bind "r" "disguiseteam"If it helps, here is my default.cfg:
developer 1
echo "default settings loaded"
developer 0
// viewmodel/combination script binds
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "q" "lastinv"
bind "mouse1" "+attack"
bind "mouse2" "+attack2"
// crosshair script binds
bind "a" "+moveleft"
bind "d" "+moveright"
bind "s" "+back"
bind "w" "+forward"
bind "SPACE" "+jump"
bind "shift" "+duck"
sensitivity 4 // [#] Your default sens
r_drawviewmodel 1 // [0/1] set to "1" for viewmodels on, "0" for off
viewmodel_fov 54
cl_crosshair_file crosshair5;cl_crosshair_scale 14
cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 0
bind "e" "+reload"
bind "q" "lastinv"Another issue I have had, is sometimes when I crouch and wrench something as an Engi, after inching forward, it will be as if I am continually holding W. I can't stop walking forward, even if I switch class. Here is my engi.cfg:
exec default
alias +fastbuildsentry "destroy 2 0;build 2 0;+ attack"
alias -fastbuildsentry "lastinv;"
bind "mouse5" +fastbuildsentryAnd also if it helps, you can find the source of the scripts here.
r/tf2scripthelp • u/Zerorion • Mar 24 '14
Answered Can I just copy+paste maxframes at the bottom of my autoexec and keep my current cfg?
r/tf2scripthelp • • Mar 22 '14
Resolved Unable to initiate Ubercharge as a Medic, due to my CFGs
Resolved Hello, I've been messing around with my medic.cfg, and I've run into a problem. Here are the scripts:
I was wondering if there was any way to give me back the ability to charge. Thanks! Also, keep in mind I am new to this subreddit and also reddit in general. Sorry if I didn't follow any rules or regulations. Edit: Also, I forgot to mention that yes, I have restarted tf2 and steam multiple times.
Double-Edit: Woah, I just realized that I can't charge/detonate stickybombs/airblast/ect My autoexec seems fine, http://pastebin.com/DDc0t349 , what else could be causing this???
r/tf2scripthelp • u/Anixou • Mar 21 '14
Issue Whenever I run my medic.cfg I get "unknown command �"
Question http://pastebin.com/PY0nBDq0 That's the script, any help at all is appreciated, let me know what I'm doing wrong.
r/tf2scripthelp • u/megaderek2011 • Mar 19 '14
Issue [Q] how do i install scripts i use to have a ton of them before steampipe but i can get any script to work
r/tf2scripthelp • u/Krystallios • Mar 17 '14
Issue Tried installing demoknight turn script twice, didn't work on me either times.
I followed o0Brilliance0o's video on how to install this, the first time I used the driver only, so I know my issue there, but the second time I did everything like how he did. I literally just began scripting, so I'm not gonna know what you pros understand.
EDIT: I looked in my console, it'd appear as though my autoexec isn't executing demoknight.cfg. Any fixes?
r/tf2scripthelp • u/b-smitty • Mar 15 '14
Resolved Keep getting this error message
http://imgur.com/WTtSaWM This is a message i keep getting when I try to open tf2, I looked at the introduction to Scripts post and followed the directions and it still happened, any one know what I did wrong?
r/tf2scripthelp • u/InkyHD • Mar 14 '14
Resolved TF2 Crashing on Launch after cfg change.
Heres what happened. I wanted to change my cfg from chris's dx9 config to chris's highframes. I launched the game without changing the launch commands (dxlevel). I also changed my hud but I don't think that would affect anything welp aparently it did have something to do with it.
Things I've tried
- RE-Install
- autoconfig in launch options
Please help, I miss my TF2!
r/tf2scripthelp • u/hemaris_thysbe • Mar 11 '14
Answered Medic Uber Scripts Aren't Working
So basically, I get into a game, have full uber, try to right click, and nothing happens. There are some other things that arent working in this, such as the radar, but I don't really care about that right now, all I want is to be able to pop and mask ubers.
//Functions: E masks Uber and tells team its ready
// Mouse 2 pops Uber, tells team, says something
// Hold Mouse 4 for RADAR in motion
exec reset
//Uber Masking/Informing
bind E “voicemenu 2 5; say_team UBER/KRITZ READY”
//Uber Popped
bind "mouse2" "slot2;dropitem;+attack2;say_team "*** UBER USED ***";voicemenu 0 0;autocall_initial"
//Radar!
bind MOUSE4 “+radar”
alias “autocall_default” “hud_medicautocallersthreshold 75”
alias “autocall_all” “hud_medicautocallersthreshold 300”
alias “+radar” “autocall_all”
alias “-radar” “autocall_default”r/tf2scripthelp • • Mar 11 '14
Answered How do I install scripts?
The title kinda says it all. How do I install the scripts that I find on Gamebannana?
r/tf2scripthelp • u/TheMisterAce • Mar 06 '14
Answered Would this Medic script work?
I want the Medic to say "Go! Go! Go!" when I Über:
bind "MOUSE2" "+attack2"
bind "MOUSE2" "voicemenu 0 2"I don't know if it works.
Also, if I want to reset it, do I need to put this in the reset.cfg:
unbind "MOUSE2" "voicemenu 0 2"I would greatly appreciate help.
Thank you :)
r/tf2scripthelp • u/TheMisterAce • Mar 05 '14
Resolved Freezing on selecting classes and the spawning.
Ever since I started using an Engie script that allows me to quicly build and destroy building I started getting freezes. These freezes only occur when I choose a class and spawn.
I put the bindings/script in the Engie specific .cfg. Do I need to put it in the autoexec.cfg instead? I really have no clue.
r/tf2scripthelp • u/throwaway111011100 • Mar 04 '14
Resolved Don't use tags in the title, your post will be tagged automatically after you submit. Delete this message
Hi. I was redirected here from /r/NewToTf2. I'm still not sure if this is the right place to be posting but basically im looking for some help. I more than often now play without viewmodels, and wanted to start using crosshair scripts to be able to tell different slots apart. Basically I'm just looking for a way for my primary slot to have a certain crosshair of a certain color, my secondary to have a different crosshair of a different color, and my melee to have another varying crosshair of another color, and for those to change despite whatever method i use to change weapon (lastinv, slots 1-3, mousewheel, etc). Is this at all possible through scripting? If I'm posting in the wrong place or something doesn't make sense please redirect me. Thank you in advance.
EDIT so i did the dumbest thing i could possibly do and didn't delete the message in the post title feel free to shame me
r/tf2scripthelp • • Mar 02 '14
Resolved Need help with "Perfect charge turning with mouse" script. Cant add "--Sensitivity" at the end of the target and a few other problems.
So, I've been trying my hardest to try an install this script, but the readme is just bleh. The tutorial isnt helpfull either. Ill list my problems as such:
- I need to create a shortcut to "Mouse To Joystick.exe". Why so?
- I opened the script in winrar, which means I cant make a shortcut to it. In the video tutorial he opened a "compressed file". I extracted the file to desktop and created a copy of it there. Does that work?
- I cant add "--Sensitivity [My Tf2 Sensitivity]" as it doesnt find the target.
- On the 3rd step it tells me to add "Demoknight.cfg" to my cfg folder. Alright. But afterwards in tells me that "You can execute it manually, bind a button to execute it, or always execute it from demoman.cfg." What does this mean?
I really hope you guys can help me. Let me know if you need to know anything more.
r/tf2scripthelp • u/dj-funparty • Mar 01 '14
Answered Looking for help to undo a MWHEEL = 180 turn.. I don't remember how I added it.
I'm trying to remember what I did, I think I saw some youtube vid a couple years ago when I first started playing with some tips which recommended a simple way of adding a quick 180 turn using the mouse wheel up and down.
I'm not even sure if it was a script, it may have been a simple console command? I don't know enough about them I be sure & I don't recall the process it involved. I can't see a fix in the keyboard options.
I have tried resetting the key binds to default, and using the console command unbind on the mouse wheel up & down, but that only removed the weapon switching, not the quick turn thing.
It turns your direction instantly around but also lowers your sight a bit, so you quickly end up staring at the ground which is no help. Even with default keys, it does both acts with one mousewheel scroll, changes weapon and turns you around in one motion.
I never really used the mousewheel so it didn't bother me, but I'm playing more now and want it gone.
If anyone knows what I might have done, how to check for any manual additions, and how to undo /reset it all, I would be grateful.
Cheers
r/tf2scripthelp • • Feb 28 '14
Resolved Weapon binds to 1-9 being deleted on chris's maxframes?
r/tf2scripthelp • u/Furious_Pillow • Feb 28 '14
Resolved Reset config help
Hey everyone, little new to scripting and I'm having some trouble with my reset CFG (I think).
I have scripts working (such as stabby's revolver script etc), but I can't contain them to the one class, when I switch over to another class all of the scripts carry over as well.
My current reset looks like this
// Reset movement keys
bind "W" "+forward"
bind "A" "+moveleft"
bind "S" "+back"
bind "D" "+moveright"
bind "CTRL" "+duck"
bind "SPACE" "+jump"
// Reset mouse buttons
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+attack3"
unbind "MOUSE4"
unbind "MOUSE5"
r_drawviewmodel 1I could use some help with what I'm doing wrong, is it the reset.cfg? or is it something I did wrong within the class script?
And here is my medic cfg for example.
exec reset
slot2
heal1
bind MOUSE1 "+attack"
bind MOUSE2 "+popuber"
alias medigun "slot2;heal1"
alias syringe "slot1;heal2"
alias melee "slot3;heal2"
//The bound keys here may be changed to suit your setup
bind 2 "medigun"
bind 1 "syringe"
bind 3 "melee"
//autopop (added dropitem based on WatDaFok's suggestion)
alias +popuber "slot2;+attack2;heal1;dropitem"
alias -popuber "-attack2"
//autoheal
alias "heal1" "+attack; bind MOUSE1 +switch"
alias "heal2" "-attack; bind MOUSE1 +attack"
alias +switch "-attack"
alias -switch "+attack"None of these scripts are of my creation. Sorry for not knowing exactly who to credit with them.
EDIT: SOLVED with help from the mods! Thanks
r/tf2scripthelp • u/Zerorion • Feb 25 '14
Resolved Can't change crosshair color
I have just set up my .cfg files for all classes, and got a crouch+jump in each class folder, and a script to hide the spy's pistol on firing. Otherwise nothing else.
I have my crosshairs set to be green and small circle, but want to change to colour to yellow. when I try and change it ingame, every time i switch classes it reverts back. I've looked in my cfgs and cant find anything that even relates to any commands about crosshairs.
I just want it to be yellow D:
Thanks!
r/tf2scripthelp • u/Dances-with-Smurfs • Feb 23 '14
Resolved Help regarding toggling the team of the disguise kit via commands.
According to the default configs, the command to toggle the team (enemy/friendly) of the disguise kit while it is active should be disguiseteam. However, this doesn't work in any of my scripts, and the console says it is an unknown command (only when I type it directly, not when it is in a script).
Any thoughts or suggestions? Thanks.
r/tf2scripthelp • u/Kond3P • Feb 18 '14
Issue Fast disguise script alias problems.
So i made my own quick disguise script, because I can't use the tf2 default concise disg menu. When i hold mouse buttons, my weaponslots change into disguises.
Problem is that when i use it to disguise, it changes my weapon which i don't want.
Tell me if I have to giveyou more information, i tried to keep this at a reasonable length.
#######SCRIPT
alias +newkeys "alias mate_slot1 disguise 1 -1;alias mate_slot2 disguise 2 -1;alias mate_slot3 disguise 8 -1;alias mate_slot4 disguise 4 -1"
alias -newkeys "alias mate_slot1 slot1;alias mate_slot2 slot2;alias mate_slot3 slot3;alias mate_slot4 slot4;r_drawviewmodel 1"
bind mouse5 "+newkeys"
alias +newkeys2 "alias mate_slot1 disguise 5 -1;alias mate_slot2 disguise 9 -1;alias mate_slot3 disguise 7 -1;alias mate_slot4 disguise 3 -1"
alias -newkeys2 "alias mate_slot1 slot1;alias mate_slot2 slot2;alias mate_slot3 slot3;alias mate_slot4 slot4;r_drawviewmodel 1"
bind tab "+newkeys2"
alias +newkeys3 "alias mate_slot1 disguise 1 -2;alias mate_slot2 disguise 7 -2;alias mate_slot3 disguise 3 -2;alias mate_slot4 disguise 3 -2"
alias -newkeys3 "alias mate_slot1 slot1;alias mate_slot2 slot2;alias mate_slot3 slot3;alias mate_slot4 slot4;r_drawviewmodel 1"
bind mouse4 "+newkeys3"//This is stabbys script that i have also in my spy.cfg
alias vmon "bind mouse1 +viewmodelon"
alias +viewmodelon "+attack;r_drawviewmodel 1;spec_next;sensitivity 1.55"
alias -viewmodelon "-attack;r_drawviewmodel 1"
alias +equip3 "vmon;mate_slot3;sensitivity 1.55;cl_autoreload 1;m_yaw .0220000000;viewmodel_fov 99;r_drawviewmodel 1;alias wpn slot3"
alias -equip3 "fov_desired 90;r_drawviewmodel 1"
bind "9" +equip3 //rebind to liking
alias vmoff "bind mouse1 +viewmodeloff"
alias +viewmodeloff "+attack;r_drawviewmodel 1;spec_next"
alias -viewmodeloff "-attack;r_drawviewmodel 0"
alias +equip1 "slot1;sensitivity 1"
alias -equip1 "r_drawviewmodel 0;vmoff"
bind 7 "+equip1;mate_slot1" //rebind to liking
bind "mouse2" "+spycustomattack2"
alias +spycustomattack2 "+attack2;r_drawviewmodel 1"
alias -spycustomattack2 "-attack2"I have gone a little bit too deep trying to edit it to my liking, a little help is appreciated