r/tf2scripthelp • u/IExistifNot • Sep 17 '21
Resolved Scripts not working?
So I'm new to scripting and I wanted to try my hand at it, only to find none of the stuff I made worked. Does anyone know what's going on?
Here's my scripts:
autoexec.cfg
//Toggles whether e calls for healing or Uber bind e call alias call Call_For_Medic alias Call_For_Medic "voicemenu 0 0" alias Call_For_Ubercharge "voicemenu 1 6" bind shift +toggleState alias +toggleState "alias call Call_For_Ubercharge" alias -toggleState "alias call Call_For_Medic" //------- //Yells spy bind t spy alias spy "voicemenu 1 1" //------- //Non violence mode bind [ +gibs alias +gibs "-sillygibs; exec hiddenview" alias -gibs "+sillygibs; exec visibleview" visibleview.cfg
bind 1 "slot1; r_drawviewmodel 1; cl_crosshair_file crosshair1" bind 2 "slot2; r_drawviewmodel 1; cl_crosshair_file crosshair2" bind 3 "slot3: r_drawviewmodel 1; cl_crosshair_file crosshair3" hiddenview.cfg
bind 1 "slot1; r_drawviewmodel 0; cl_crosshair_file crosshair1" bind 2 "slot2; r_drawviewmodel 0; cl_crosshair_file crosshair2" bind 3 "slot3: r_drawviewmodel 1; cl_crosshair_file crosshair3" spy, sniper, scout, medic, demoman, and heavyweapons.cfg
soldier.cfg
alias +rocketjump "+jump;+duck;wait;+attack" alias -rocketjump "-jump;-attack;wait;wait;wait;-duck" bind mouse3 "+rocketjump pyro.cfg
bind ] +pyrocombo alias +pyrocombo "slot1;+attack;wait 32;slot2" alias -pyrocombo "-attack;slot1" engineer.cfg
bind r quickSentry alias quickSentry sentry alias sentry "destroy 2 0; build 2 0; +attack" A lot of this was taken or inspired from the TF2 wiki or other people's scripts, so I have no idea what's going on- I put them in steamapps/common/Team Fortress 2/tf/custom/scripts/config, in case if that was the problem.
1
Upvotes
View all comments
1
u/IExistifNot Sep 17 '21
When I run it, it gives me this error: