r/tf2scripthelp • u/Upset_Sky_70 • Sep 10 '24
Question Need help, ds processing time exceeded
Can't join my own server, says "Processing time Exceeded" and doesn't let me join. How can I fix this? Is there a way to change net_chan_limit_msec?
r/tf2scripthelp • u/Upset_Sky_70 • Sep 10 '24
Can't join my own server, says "Processing time Exceeded" and doesn't let me join. How can I fix this? Is there a way to change net_chan_limit_msec?
r/tf2scripthelp • u/karimpai • Feb 19 '24
I like binding "X" to Building a tele entrance when im engineer but i kinda wanna bind spy disguising as sniper too. If so, How do i write the command?
r/tf2scripthelp • u/[deleted] • Jul 28 '23
So I downloaded this custom config: https://drive.google.com/drive/u/0/mobile/folders/1p7pb_4FojhdX4qRBhPbhqFE3CYRRH8ra?usp=sharing and it mostly works, but, when I try changing lerp values and join a game it does this weird thing where: Spy, Sniper, engineer, heavy and scout have normal 30 lerp and: Soldier, Pyro, demo and medic have 15 lerp for some reason, someone pls help me!
r/tf2scripthelp • u/Benjy520 • Jul 05 '23
If so, what is the bind? Numerous games have this feature, but I am not sure if TF2 has this.
Example: you press a key whilst you're looking at the floor, then you press a button to center your view so that you're looking straight ahead of you.
r/tf2scripthelp • u/8bit95 • Oct 31 '22
Good day to you all. I need help with binding the r key to everything that requires the R key, but with a bit of additions.
What I need is for the R key to:
Manual reload
Teleport with the Eureka Effect
Change Vaccinator Resistances
Activate Heatman's Heatmaker Focus
Activate Medic's Shield (MvM)
Activate Heavy's Rage (MvM)
Thanks in advance.
r/tf2scripthelp • u/MikeHawkTheSpyMain • Jan 17 '22
hello,
i have tried for many hours now but i couldnt find a script/mod that hides JUST the reload animation of a weapon and not the idle fireing or inspect animations so now please do not send me links to yttriums vm mod or the old stabbystabby script that hid the weapon entirely after fireing
thanks, cya
r/tf2scripthelp • u/IExistifNot • Sep 17 '21
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.
r/tf2scripthelp • u/_SAMUEL_GAMING_ • Sep 04 '21
Basically when I play spy, I noticed that I can't cloak when I have the intel on and that I cannot taunt when I am disguised, so I decided to make a script that allows me to cloak and taunt even with the intel or disguise preventing me to do so, because it annoys me to manually undisguise or to manually drop intel.
I currently have this, and it works about halfway, as in when I try to taunt I only undisguise and when I try to cloak I only drop intel. Does anyone know why the later commands do not happen?
here is my spy.cfg
exec reset
//cant taunt when disguised, so undisguise just before taunting
alias spytaunt "disguise 8 -2; +taunt"
bind G spytaunt
//having intel prevents cloaking, so drop it before cloaking
alias spycloak "dropitem; +attack2; -attack2" //this -attack2 command is here because when i cloaked in an empty server with +attack2 and then followed with a -attack2, i didnt uncloak
bind mouse2 spycloakthis is reset.cfg
bind G "+taunt"
bind mouse2 "+attack2"r/tf2scripthelp • u/KidtheKid567 • May 20 '21
I wanna do some script editing on some scripts I got a long time ago but I don't know where it could be located.
r/tf2scripthelp • u/youmeiknow • Aug 07 '20
I have an alias basically on .bashrc
alias newm="/opt/newm/bin/run"this is the last line on .bashrc . after adding if I login again, and try to run the command newm , it should consider the path mentioned - thats the expectation. This is working good on my Dev server, but on production server, the same isn't working.
I have tried below and seems working
on .bashrc I have added source ~/.bashrc and it is working as expected , but when I try to login its taking long time(I can say never loaded , but I loose patience and pressing ctrl+c) to get the prompt. This feels something wrong here.
Also I have validated the default shell on /etc/passwd fire for the user and is set as /bin/bash.
I tried with adding on .bash_profile , its same behaviour as like above.
can someone help me here?
Note - I do not have root access on this production server, our sys admin is such a a***ole, he isn't even consider looking into what the issue is.
r/tf2scripthelp • u/BigBoiPupper123 • May 16 '20
Hi, so I was trying to change my hitsounds to b4nny's hitsounds, but the document I have installed also included his while set up. Now all of my options have been changed, and there are things I can't figure out how to turn back.
Is there a way I can go back to the default settings without breaking anything? I'm worried if I take the folder out it might corrupt or something because I've changed some settings to try and get it back to normal (Eg. fov and controls).
Any ideas would help, Thank you
r/tf2scripthelp • u/inyrface • Mar 23 '20
Is there any way to create a custom menu like the voice command menus? Where I can press a button and some options will show up and I can select an options.
r/tf2scripthelp • u/arreyy • Jan 11 '20
Hello, is there possible to make a script switching between 2 different crosshairs with the press of one button?
I tried this:
bind "h" "+crosshairtoggle"
alias "+crosshairToggle" "cl_crosshair_file crosshair3"
alias "-crosshairToggle" "cl_crosshair_file crosshair5"but that only switched it while i was holding "h". Thx in advance
r/tf2scripthelp • u/[deleted] • Mar 28 '19
r/tf2scripthelp • u/youkomccants • Aug 30 '18
Hi Guys.
I'm messing around with a rainbow crosshair, but messed too much and nothing works anymore. (I'm too noob to script hard)
This is the original script
Script:
// Bind toggles and set starting speed (Speed 1-4: 1=fastest, 4=slowest).
alias cc_startingSpeed "cc_setSpeed3"
// WARNING: This script cannot be shut down in the middle of a color cycle. Once shut down, wait for the color cycle to complete before restarting.
bind "i" cc_toggleState
bind "o" cc_nextSpeed
// Loop which controls when to go to the next color
alias cc_controlLoop1 "cc_nextColor; wait 127; cc_controlLoopTest"
alias cc_controlLoop2 "cc_nextColor; wait 254; cc_controlLoopTest"
alias cc_controlLoop3 "cc_nextColor; wait 381; cc_controlLoopTest"
alias cc_controlLoop4 "cc_nextColor; wait 508; cc_controlLoopTest"
// States which represent the current color
alias cc_red "alias cc_colorChange cc_redOrange; alias cc_nextColor cc_orange"
alias cc_orange "alias cc_colorChange cc_orangeYellow; alias cc_nextColor cc_yellow"
alias cc_yellow "alias cc_colorChange cc_yellowGreen; alias cc_nextColor cc_green"
alias cc_green "alias cc_colorChange cc_greenBlue; alias cc_nextColor cc_blue"
alias cc_blue "alias cc_colorChange cc_bluePurple; alias cc_nextColor cc_purple"
alias cc_purple "alias cc_colorChange cc_purpleRed; alias cc_nextColor cc_red"
// Loop which cycles through from one color to the next
alias cc_changeLoop1 "cc_colorChange; wait 1; cc_changeLoop"
alias cc_changeLoop2 "cc_colorChange; wait 2; cc_changeLoop"
alias cc_changeLoop3 "cc_colorChange; wait 3; cc_changeLoop"
alias cc_changeLoop4 "cc_colorChange; wait 4; cc_changeLoop"
// Color R G B
// red 255 000 000
// orange 255 127 000
// yellow 255 255 000
// green 000 255 000
// blue 000 000 255
// purple 127 000 127
// Descriptors for how to get from one color to another (as defined in the table)
alias cc_redOrange "incrementvar cl_crosshair_green 0 127 1"
alias cc_orangeYellow "incrementvar cl_crosshair_green 127 254 1"
alias cc_yellowGreen "incrementvar cl_crosshair_red 0 254 -2"
alias cc_greenBlue "incrementvar cl_crosshair_green 0 254 -2; incrementvar cl_crosshair_blue 0 254 2"
alias cc_bluePurple "incrementvar cl_crosshair_red 0 127 1; incrementvar cl_crosshair_blue 127 254 -1"
alias cc_purpleRed "incrementvar cl_crosshair_red 127 254 1; incrementvar cl_crosshair_blue 0 127 -1"
// Wait test
alias cc_controlLoopTest cc_waitTest
alias cc_waitTest "alias cc_action cc_continue; cc_checkWait; cc_action" // script still running
alias cc_checkWait "wait; alias cc_action cc_shutdown"
// Overall script states
alias cc_toggleState cc_startup
alias cc_startup "alias cc_toggleState cc_shutdown; cl_crosshair_red 255; cl_crosshair_blue 0; cl_crosshair_green 0; alias cc_nextColor cc_red; cc_setSpeed1; cc_startingspeed; cc_controlLoop; cc_changeLoop; alias cc_controlLoopTest cc_waitTest"
alias cc_continue "cc_setSpeed; cc_controlLoop"
alias cc_shutdown "alias cc_changeLoop; alias cc_toggleState; cl_crosshair_red 255; cl_crosshair_blue 255; cl_crosshair_green 255; alias cc_controlLoopTest cc_ended"
alias cc_ended "alias cc_toggleState cc_startup" // script told to shutdown, has shut down, can now be restarted
// Speed manipulation which modifies which speed will be selected next
alias cc_nextSpeed cc_queueSpeed1
alias cc_queueSpeed1 "alias cc_setSpeed cc_setSpeed1; alias cc_nextSpeed cc_queueSpeed2; play weapons\vaccinator_toggle"
alias cc_queueSpeed2 "alias cc_setSpeed cc_setSpeed2; alias cc_nextSpeed cc_queueSpeed3; play weapons\vaccinator_toggle"
alias cc_queueSpeed3 "alias cc_setSpeed cc_setSpeed3; alias cc_nextSpeed cc_queueSpeed4; play weapons\vaccinator_toggle"
alias cc_queueSpeed4 "alias cc_setSpeed cc_setSpeed4; alias cc_nextSpeed cc_queueSpeed1; play weapons\vaccinator_toggle"
// Speed manipulation which contain the changes to be made when switching speeds
alias cc_setSpeed cc_setSpeed1
alias cc_setSpeed1 "alias cc_controlLoop cc_controlLoop1; alias cc_changeLoop cc_changeLoop1; alias cc_setSpeed; play weapons\vaccinator_charge_tier_04"
alias cc_setSpeed2 "alias cc_controlLoop cc_controlLoop2; alias cc_changeLoop cc_changeLoop2; alias cc_setSpeed; play weapons\vaccinator_charge_tier_03"
alias cc_setSpeed3 "alias cc_controlLoop cc_controlLoop3; alias cc_changeLoop cc_changeLoop3; alias cc_setSpeed; play weapons\vaccinator_charge_tier_02"
alias cc_setSpeed4 "alias cc_controlLoop cc_controlLoop4; alias cc_changeLoop cc_changeLoop4; alias cc_setSpeed; play weapons\vaccinator_charge_tier_01"I've intented to make a rotation of 3 colors: neon green(57,255,20), fuchsia(255,0,255) and white(255,255,255).
I have no results at all trying to insert my colors.
Can anyone help me at least understand all the references, so I can try by myself, or show me a script that auto-rotates the color of crosshair between my 3 chosen colors?I dont need 4 speeds, just one.
Thanks in advance and sorry for bad english
Edit: mistakenly marked as spoiler
r/tf2scripthelp • u/talkshitgetshot • Aug 28 '18
First of all, the following script is a somewhat mess of me copy and pasting stuff from other existing scripts and adding my own scripts into the mix and I think it's causing me problems.
I don't know what exactly causes this, but sometimes I noticed when playing spy with my script is my mouse sensitivity changes from 2 to 2 15... or something along those lines.
My script:
exec reset.cfg
tf_use_min_viewmodels 0
// Recommended network settings for Spy
cl_updaterate 66.66666666666
cl_cmdrate 66.66666666666
cl_interp_ratio 1
cl_interp .0152
sensitivity 2
//bind "MOUSE3" "slot1; r_drawviewmodel 1; sensitivity 2"
//bind "mwheelup" "slot3; r_drawviewmodel 1; sensitivity 2"
//bind "mwheeldown" "slot2; r_drawviewmodel 1; sensitivity 2"
//Amby zoom
bind "shift" "+zoomer"
alias "+zoomer" "zoomin"
alias "-zoomer" "zoomout"
alias "zoomin" "fov_desired 90; r_drawviewmodel 0; sensitivity 1"
alias "zoomout" "fov_desired 90; r_drawviewmodel 1; sensitivity 2"
//Sapper Script. (Hold "e" to start sapping automatically.)
alias "+sap" "slot2; +attack"
alias "-sap" "-attack; lastinv"
bind "e" "+sap; sensitivity 2"
bind 2 "slot2"
bind mwheeldown "slot3"
bind mouse2 "+attack2"
bind q "lastdisguise"
bind mouse4 "+duck"
alias +crouchjump "+jump; +duck"
alias -crouchjump "-duck; -jump"
bind "mouse5" "+crouchjump; spec_mode"
// Stabby's Viewmodel Script for Spy //
// // // // // // // // // // // // // // // // // // // // // // // //
//Viewmodels<< on when shooting amby, off when knife or watch out//
// // // // // // // // // // // // // // // // // // // // // // // //
// 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
bind "mouse3" +equip_sap // Key/button for sapper
bind "mwheeldown" +equip_knife // Key/button for knife
bind "mwheelup" +equip_amby // Key/button for ambassador
bind "mouse2" "+watch;spec_prev" // Key for watch (mouse2 default)
//re-bind mouse1
alias knife_vm_mode "bind mouse1 +viewmodel_knife" // binds mouse1 to turn viewmodel on when attacking (for knife 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;spec_next" // attacks, turns viewmodel on
alias -viewmodel_knife "-attack;r_drawviewmodel 1" // finishes atack, turns viewmodel on again as safeguard
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next" // attacks, turns viewmodel off
alias -viewmodel_amby "-attack;r_drawviewmodel 0; sensitivity 2" // finishes attack, turns viewmodel off again as a safeguard
alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next" // shows sapper when sapping
alias -viewmodel_sap "-attack;r_drawviewmodel 0" // hides sapper when mouse1 released
// Equip item, turn vm on/off, set vm toggle for attack
alias +equip_knife "slot3;r_drawviewmodel 1; sensitivity 2" // 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; sensitivity 2" // 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
----------------------------------
bind 1 dsco
bind 2 dsol
bind 3 dpyr
bind 4 ddem
bind 5 dhea
bind 6 deng
bind 7 dmed
bind 8 dsni
bind 9 dspy
bind t tdisg
alias esco "disguise 1 -1; play vo\scout_yes01"
alias esol "disguise 3 -1; play vo\soldier_yes02"
alias epyr "disguise 7 -1; play vo\pyro_yes01"
alias edem "disguise 4 -1; play vo\demoman_yes02"
alias ehea "disguise 6 -1; play vo\heavy_yes02"
alias eeng "disguise 9 -1; play vo\engineer_yes01"
alias emed "disguise 5 -1; play vo\medic_yes03"
alias esni "disguise 2 -1; play vo\sniper_yes01"
alias espy "disguise 8 -1; play vo\spy_yes01"
alias asco "disguise 1 -2; edisg; play vo\scout_no02"
alias asol "disguise 3 -2; edisg; play vo\soldier_no03"
alias apyr "disguise 7 -2; edisg; play vo\pyro_no01"
alias adem "disguise 4 -2; edisg; play vo\demoman_no01"
alias ahea "disguise 6 -2; edisg; play vo\heavy_no01"
alias aeng "disguise 9 -2; edisg; play vo\engineer_no01"
alias amed "disguise 5 -2; edisg; play vo\medic_no01"
alias asni "disguise 2 -2; edisg; play vo\sniper_no01"
alias aspy "disguise 8 -2; edisg; play vo\spy_no02"
bind 0 drop_disg
alias drop_disg "disguise 8 -2" // instantly removes disguise
alias adisg "alias dsco asco; alias dsol asol; alias dpyr apyr; alias ddem adem; alias dhea ahea; alias deng aeng; alias dmed amed; alias dsni asni; alias dspy aspy; alias tdisg edisg"
alias edisg "alias dsco esco; alias dsol esol; alias dpyr epyr; alias ddem edem; alias dhea ehea; alias deng eeng; alias dmed emed; alias dsni esni; alias dspy espy; alias tdisg adisg"
edisg
----------------------------------
// CROSSHAIR FLASHER
// Flashes the crosshair's color and/or type with any action you'd like; includes an example script for setting each movement key to flash between two colors upon press and release. Helpful for visibility if you use a small crosshair (which I recommend trying). The "type" toggler is very useful for keeping the Ambassador crosshair from expanding too much upon firing.
// Code:
// first you set up the colors and shapes/sizes you want the xhair to toggle through (cl_crosshair_file = type cl_crosshair_scale = size). Keep in mind that the base size of the crosshair varies depending on the weapon: //
// // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
//xhair TYPE toggle--switches crosshair type when shooting; good for preventing Amby xhair from expanding too large (uses my settings as an example). NOTE: Must be manually integrated with viewmodel scripts to work in conjunction.
//=========================================================
alias dotxhairtype "dotxhairtypeb"
alias dotxhairtypeb "cl_crosshair_file crosshair5;cl_crosshair_scale 14;alias dotxhairtype dotxhairtyper" // tweak crosshair_scale values to your liking
alias dotxhairtyper "cl_crosshair_file crosshair2;cl_crosshair_scale 22;alias dotxhairtype dotxhairtypeb"
bind mouse1 +crosshairfire
alias +crosshairfire "+attack;dotxhairtype;spec_next"
alias -crosshairfire "-attack;dotxhairtype"
//=========================================================
// xhair COLOR toggle
//=========================================================
alias dotxhaircolor "dotxhaircolorb"
alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorc"
alias dotxhaircolorc "cl_crosshair_blue 255; cl_crosshair_green 0; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolord"
alias dotxhaircolord "cl_crosshair_blue 240; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorb"
//=========================================================
alias +mfwd "-back; +forward; alias checkfwd +forward; dotxhaircolor"
alias +mback "-forward; +back; alias checkback +back; dotxhaircolor"
alias +mleft "-moveright; +moveleft; alias checkleft +moveleft; dotxhaircolor"
alias +mright "-moveleft; +moveright; alias checkright +moveright; dotxhaircolor"
alias -mfwd "-forward; checkback; alias checkfwd none; dotxhaircolor"
alias -mback "-back; checkfwd; alias checkback none; dotxhaircolor"
alias -mleft "-moveleft; checkright; alias checkleft none; dotxhaircolor"
alias -mright "-moveright; checkleft; alias checkright none; dotxhaircolor"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
bind "w" "+mfwd"
bind "s" "+mback"
bind "a" "+mleft"
bind "d" "+mright"
echo "Viewmodel script loaded" // confirms script loaded in the console
cl_first_person_uses_world_model 0
tf_taunt_first_person 0
slot3
r_drawviewmodel 1I know it's a lot of junk but if someone could point out why my mouse sensitivity changes from 2 to 2 15 you will become my savior! Thanks.
r/tf2scripthelp • u/f13isarealkey • Apr 08 '18
In said config, the taunts are bound to the numpad, and weapon taunt is bound to zero on the numpad, according to comments, however I see nothing binding either "kp_ins" or "kp_0" to anything. Is there something I need to fix here?
Code:
// press a numpad button to use the taunt in the corresponding slot (0 for weapon taunt)
bind kp_end "taunt 1"
bind kp_downarrow "taunt 2"
bind kp_pgdn "taunt 3"
bind kp_leftarrow "taunt 4"
bind kp_5 "taunt 5"
bind kp_rightarrow "taunt 6"
bind kp_home "taunt 7"
bind kp_uparrow "taunt 8"
bind kp_pgup "taunt"r/tf2scripthelp • u/Shaggy_Xx • Feb 14 '18
I want to bind R to show the build menu and the destroy menu alternating. I got it to bring up the menus and switch them but it won't let me build anything now. Any help would be great.
//PDA Toggle
bind "r" "PDAtoggle"
alias PDAtoggle Build
alias Build "slot4; alias PDAtoggle Destroy"
alias Destroy "slot5; alias PDAtoggle Build"r/tf2scripthelp • u/Datsniperisded • Jan 28 '18
like the title said i have to prepare the fps config for best fps in case i move to Belgium with bad laptop. so i have a friend call Blanc we are friend i saw his in game graphics and fps and i feel like it! so he just gave me his cfg yesterday after i download it (only gfx because its the main thing) i replace it with my old gfx and type exec gfx.cfg (i deleted the old gfx) i went into game but the config doesnt work so i came back and copy all commands to autoexec, and then it works! but what sad is only some are working, player hud model in game is disable for examples. I still dont see any differences between my old cfg and new one did i do anything wrong? why do only some commands are working well do i have to change anything? or bug/glitches? please help (also my english is bad dont mention it) >,<
r/tf2scripthelp • u/Qwertyg101 • Dec 03 '17
my current script has 1-9 on the numpad change through the classes, how do i make so ctrl+1-4 change load outs?
here is the script to quickly swap classes, if it helps
bind "KP_END" "join_class scout"
bind "KP_DOWNARROW" "join_class soldier"
bind "KP_LEFTARROW" "join_class demoman"
bind "KP_PGDN" "join_class pyro"
bind "KP_5" "join_class heavyweapons"
bind "KP_RIGHTARROW" "join_class engineer"
bind "KP_HOME" "join_class medic"
bind "KP_UPARROW" "join_class sniper"
bind "KP_PGUP" "join_class spy"i know that 1-4 are KP_END, KP_DOWNARROW, KP_LEFTARROW and KP_PGDN, so im halfway there right?
r/tf2scripthelp • u/blueiv_ • Oct 23 '17
So i know im in the wrong place (really for csgo but its still scripting with source engine) i assume its very similar
Ive been trying to bind sm_vote to my kp_end key. I have tried the straight forward
Bind kp_end "sm_vote "extend map" yes no"
And it didnt work. I have also tried making an alias but that didnt seem to work either. Am i doing something wrong or what?
r/tf2scripthelp • u/Qwertyg101 • Oct 07 '17
basically the title, i did do some research (I read the tf2 wiki page)
bind mouse3 +attack3; +reloadthat's what i came up with, and it sort of worked, i got into an mvm game and it let me change vaccinator resistance one time, and use my shield as much as possible. i didn't test heavy rage or the hitmans heatmaker
r/tf2scripthelp • u/TheSpaMiner • Jan 01 '17
So I'd like to bind Q to turning left and right really fast, so I have a wider Flamethrower range, but:
I don't want it to toggle, I want it to vibrate ONLY while I have Q held down.
I want it to stop when I let go, without crashing, or me having to push another button to stop it.
If possible, I'd like it to not vibrate when switching to other classes, even if I push the right button.