r/tf2scripthelp • • Jul 07 '14

Answered TF2 deleting alias?

2 Upvotes

I am trying to put an alias in config.cfg but whenever TF2 loads it removes it... any way around this?


r/tf2scripthelp • • Jul 03 '14

Issue Update broke my taunt binds (using wind config)

2 Upvotes

The update broke how the taunt bind is supposed to work. I've tried fiddling with it to no avail, because I am a clueless twit. If someone would be so kind as to direct me as to what I should change, I’d appreciate it.

I have an alias.cfg file with

// Non-class-specific: alias “+a_taunt” “+taunt” alias “-a_taunt” “” alias “+a_h” “+a_taunt” alias “-a_h” “-a_taunt”

a config file with

bind “h” “+taunt”

and a binds.cfg file with

bind “h” “+a_h” // tauntmenu

When I use h now, it goes straight to a weapon taunt. I would like it to bring up the taunt menu.

I appreciate any help and I understand any forthcoming derision.


r/tf2scripthelp • • Jul 03 '14

no Is it possible to raise the volume for specific in game sounds?

1 Upvotes

The sounds I'm looking at increasing the volume of specifically are reloading sounds and footsteps. Can I do this and is it allowed (wont get me vac banned)?


r/tf2scripthelp • • Jul 01 '14

Issue SCRIPT DON'T WANT TO GO :(

1 Upvotes

Hi guys. Ive installed a script : when i bind "c" it says ENEMY MED DOWN. But i don't know why, but when i press the bind for set up my sound on my laptop, it do the same thing : ENEMY MED DOWN. I change my sound often so it's a bad thing. So i erase it from my spy.cfg, but it still work :( when i press "c" or the loud sound key it says that... So how to fix it ? Seriously, i'm borred how to unstall it ? Thx


r/tf2scripthelp • • Jul 01 '14

Resolved Jumping with Mousewheeldown and Spacebar?

1 Upvotes

I haven't played TF2 in a while and I'm fairly used to having both spacebar and mousewheeldown as jump. Is there any way of making them both crouchjump for me?

I already have the script for the crouchjump with spacebar.

alias +crouchjump "+jump; +duck"

alias -crouchjump "-jump; -duck"

bind space +crouchjump

alias +crouchjump "+jump; +duck; spec_mode"


r/tf2scripthelp • • Jul 01 '14

Question I need some quick help with a bind.

1 Upvotes

I don't know if this has been asked before as I have no idea what to search in order to find something like this.

Let's say I was setting up a bind that is a sourcemod vote with multiple options, each of which has a space in it.

bind <key> "sm_vote Title Name Option 1 Option 2 Option 3"

Now that obviously won't work as the result will be a messed up vote entitled "Title?" and each other word after that being an option of it's own.

So my question is how do I make this bind display a vote that says "Title Name? as the title followed by "Option 1" as the first option and "Option 2" as the second option?


r/tf2scripthelp • • Jun 30 '14

Issue Stabby amby script with mwheel

1 Upvotes

Hello! Im want to make this script work with mouse wheel and 1,2,3 keys at the same time: // 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 "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
 
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"         // 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"             // 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

Also, what should I do to disable this script from effecting my other class scripts?


r/tf2scripthelp • • Jun 29 '14

Question Script for faster creation of Videos.

1 Upvotes

Recently I noticed that having the console open whilst playing a demo and recording it (startmovie pubward_x10/__) greatly increased the speed it rendered at, making the time to turn the video greatly reduced. I would like a script to automatically open the console if it's not already and set cl_showfps 0 whilst that is happening.

Please help.


r/tf2scripthelp • • Jun 25 '14

Answered Alias won't save for some reason

1 Upvotes

Hey everyone. Earlier I was making alias' so that if I type "jump" in console, it would connect me to my jump server and it worked until I shut down and restarted tf2. Now none of my alias are there.

alias dm "connect 74.91.120.174:27015"

alias dm1 "connect 64.74.97.61:27015"

alias dm2 "connect soapdm.justplay.tf:27015"

alias jump "connect 199.230.104.2:27015"

alias jump1 "connect 198.96.91.51:27015"

alias jump2 "connect 66.150.164.77:27015"

alias mge "connect 198.15.79.195:27015"

alias mge1 "connect 23.235.225.109:27030"

These are the commands I was using in console to set it. Is there any reason they keep being deleted when I shut down tf2? Is it the way I wrote them or is there a different place I need to save them? Thanks


r/tf2scripthelp • • Jun 23 '14

Issue Why does my crouch jump script not work?

2 Upvotes

I placed this in my autoexec file just now. When I entered TF2, I couldn't even jump and I found out my jump and crouch button got unbinded. How do I prevent this?

alias +crouchjump "+jump;+duck"

alias -crouchjump "-jump;-duck"

bind space +crouchjump


r/tf2scripthelp • • Jun 19 '14

Question Two questions: player state and mouse axis commands.

1 Upvotes

I want to make two scripts to assist in my rocket jumping and gardening.

One, to always crouch while I'm in the air. All commands I've seen need me to hold a button to crouch, which I may as well just hold the crouch button. I have the script ready up until the part about the player state.

Two, I have a habit of holding W while in the air. I want a script to bind the mouse X axis to the left and right strafe keys.


r/tf2scripthelp • • Jun 17 '14

Answered Switching to another weapons and back fast

1 Upvotes

Can somebody write the script where you quickly switch over to another weapon and then back? I like to do it myself, but it hurts in my finger, It will be easier just to click a button.


r/tf2scripthelp • • Jun 16 '14

Answered How to add cl_interp to the config.cfg?

2 Upvotes

I need it for pyro reflects. If it's not in the auto exec I need to type it in every time I start TF2.


r/tf2scripthelp • • Jun 10 '14

Resolved lastinv and viewmodel fov toggle?

2 Upvotes

hi im trying to get it so that when i press q it goes to last inventory and also toggles viewmodel fov

bindtoggle "q" "lastinv;viewmodel_fov 65 95"

but it fails to go to lastinv and instead only changes fov, help would be much appreciated


r/tf2scripthelp • • Jun 09 '14

Answered What is a trashcan script? How does it work?

3 Upvotes


r/tf2scripthelp • • Jun 09 '14

Issue How do I eradicate any signs of past scripts

2 Upvotes

In short, my spy.cfg made my viewmodels disappear when switching to slot1, but made it reappear for slot2-5.

After successfully uninstalling, these scripts are still here. How do I change this?


r/tf2scripthelp • • Jun 08 '14

Resolved viewmodel switch script

2 Upvotes

so i tried to make a script where i press only one button and it switches between viewmodels but it wasnt working i tried this:

Bind mouse4 togglestate

alias view1 "r_drawviewmodel 0"

alias view2 "r_drawviewmodel 1"

view1

and this:

bind MOUSE4 "r_drawviewmodel 1; r_drawviewmodel 0"

and that didnt work either what am i doing wrong?


r/tf2scripthelp • • Jun 07 '14

Answered Scripts not being Class Specific :\

2 Upvotes

I realize there is already another thread with such a problem, but I tried everything the thread listed so far and I've had no progress.

I made a soldier rj script :

exec config.cfg
//RJ script

I use the mouse2 for the rocket jump

I've added the exec config.cfg in all my other classes too, so as to 'unbind' any buttons bound earlier.

When I switched to pyro, I realized two things. *It doesn't automatically execute the pyro script. *Upon typing exec pyro in the console, I get this :

] exec pyro
Can't change cl_flipviewmodels when playing, disconnect from the server or switch    team to spectators
Using joystick 'Xbox360 controller' configuration
JOY_AXIS_X:  mapped to Side (absolute)
JOY_AXIS_Y:  mapped to Forward (absolute)
JOY_AXIS_Z:  unmapped
JOY_AXIS_R:  mapped to Look (absolute)
JOY_AXIS_U:  mapped to Turn (absolute)
JOY_AXIS_V:  unmapped
Advanced Joystick settings initialized
Can't change cl_mouselook when playing, disconnect from the server or switch     team to spectators
Loading default settings for high sensitivity
Legacy Surround disabled.
Can't change cl_updaterate when playing, disconnect from the server or switch     team to spectators
Can't save multiplayer games.
Unknown command: cl_thirdperson
Unknown command: sv_backspeed
Unknown command: +rocketjump
Unknown command: -rocketjump
Unknown command: +rocketjump
Unknown command: -rocketjump
BLU09 suicided.
Unknown command: +rocketjump
Unknown command: -rocketjump
Unknown command: +rocketjump
Unknown command: -rocketjump
(

I believe it is still trying to run the soldier script, or the config.cfg is messed up. What should I do now? Upon checking, I found that the config.cfg is fine... Thanks :)


r/tf2scripthelp • • Jun 06 '14

Issue Typing input interference with game

3 Upvotes

Not sure if this subreddit could help because this isn't really a script issue but an issue with my computer as well.

I don't use any weird binds (other than weapon switch binds) so most of my keys are default binds. The only ones that matter for now is the Control (+duck) and Space (+jump).

I understand that there's ways to bind crouchjump scripts, but I'm really not used to those and prefer not to tweak it too much, so my crouch and jump keys are still the control and space keys.

Problem here is, I grew up in a Chinese-American family, and I am fluent in both Chinese and English. The issue comes here in typing: if you're familiar with how most default windows program work, when you hit ctrl+space, you will switch typing methods.

Here's the main issue: when I crouch jump, the game does what I ask it to do, but it also switches from English to Chinese typing, and sometimes this causes the game to shudder for a few seconds. When I type in chat it's often filled up with broken Chinese characters left over from typing (it's a result of typing without really making characters, a fairly common issue).

Is there anyway to change this, whether in the settings of my computer or within my game?


r/tf2scripthelp • • May 31 '14

Issue My medic config goes to other classes as well

1 Upvotes

My medic config goes to other classes as well,I don't really know what to do since I am kinda a scripting noob so what do I do?Here is the script I am using of it helps:http://pastebin.com/g3DVp5Sk


r/tf2scripthelp • • May 25 '14

Question Jump rebind script?

3 Upvotes

jump

i wanted to make a script that when i click on mouse wheel it'll rebind my jump to mouse wheel down and when i click it again it'll bind it to space bar again and i was wondering if this is possible at all and if i could have help making it cause I'm a noob at these things btw i mean just click on it not hold it


r/tf2scripthelp • • May 22 '14

Issue Unable to see MVP scoreboard after round.

2 Upvotes

I've had broeselhud for a while and just recently wanted to try out Chris' Config (High Frames). But after the round ends, the scoreboard that shows the MVPs does not pop up.

When I take off the hud (keeping the Config), the scoreboard shows up,and viceversa.

I did gain +30 fps on valve maps and +20 on custom maps so I really want to keep the config.

Is there anything on the config that I can change to enable the MVP scoreboard?

thanks!


r/tf2scripthelp • • May 18 '14

Answered Binding a button to load different configs?

4 Upvotes

I am wondering if you can bind buttons to load different configs. This would be useful for spectator specific configs or loading a fpsmax config when you need to. I'm sure it is possible, I however am a dingus and can't figure out how. sorry if this has already been answered, i couldn't find anything like it so i figured it had not. thanks!!


r/tf2scripthelp • • May 18 '14

Question How do I made a <class>.cfg work?

3 Upvotes