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 • • Apr 07 '14

Resolved How to make a .txt file to .cfg

2 Upvotes

Question

None of my scripts have been able to work, and I think, after reading up, that the problem is with my Ctf files themselves. They might be .txt files. How would I go about changing them to .cfg?


r/tf2scripthelp • • Mar 27 '14

Issue Why doesnt this work?

2 Upvotes

http://pastebin.com/2cRdw3pV This is my build script, could someone fix it/explain what i did wrong. Thanks alot!


r/tf2scripthelp • • Mar 25 '14

Resolved Need help with Stabby Stabby's viewmodel scrips.

2 Upvotes

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" +fastbuildsentry

And also if it helps, you can find the source of the scripts here.


r/tf2scripthelp • • Mar 22 '14

Resolved Unable to initiate Ubercharge as a Medic, due to my CFGs

2 Upvotes

Resolved Hello, I've been messing around with my medic.cfg, and I've run into a problem. Here are the scripts:

http://pastebin.com/qxY8Yivu

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 • • Mar 21 '14

Issue Whenever I run my medic.cfg I get "unknown command �"

2 Upvotes

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 • • 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

2 Upvotes


r/tf2scripthelp • • Mar 15 '14

Resolved Keep getting this error message

2 Upvotes

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 • • Mar 11 '14

Answered Medic Uber Scripts Aren't Working

2 Upvotes

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 06 '14

Answered Would this Medic script work?

2 Upvotes

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 • • Mar 05 '14

Resolved Freezing on selecting classes and the spawning.

2 Upvotes

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 • • 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.

2 Upvotes

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 • • Mar 01 '14

Answered Looking for help to undo a MWHEEL = 180 turn.. I don't remember how I added it.

2 Upvotes

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?

2 Upvotes

r/tf2scripthelp • • Feb 28 '14

Resolved Reset config help

2 Upvotes

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 1

I 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 • • Feb 25 '14

Resolved Can't change crosshair color

2 Upvotes

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 • • Feb 18 '14

Issue Fast disguise script alias problems.

2 Upvotes

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


r/tf2scripthelp • • Feb 08 '14

Issue Need help with a spy sapper script

2 Upvotes

So I made a script for spy, with a few ideas from stabby's but it doesn't want to work! (off topic: what does reddit mean "flair my post")

bind "2" sapper_mode

//====Aliases====

alias viewmodel_on r_drawviewmodel 1
alias viewmodel_off r_drawviewmodel 0
alias sensitivity_fast sensitivity 5
alias sensitivity_slow sensitivity 1

//====Sapper====

alias sapper_alert say_team ***SAPPPING***                                                      
alias sapper_binds1 bind "mouse1" "+attack;sapper_alert"                                
alias +sapper_binds2 xhair_type_a
alias -sapper_binds2 xhair_type_b                                     				 
alias sapper_mode "slot2;viewmodel_on;sensitivity_fast;sapper_binds1;+sapper_binds2"       

//====Crosshair switcher====

alias xhair_type_a cl_crosshair_file 
alias xhair_type_b cl_crosshair_file

I cannot understand at all what is wrong!


r/tf2scripthelp • • Feb 03 '14

Answered How would I use that script on the wiki here, that uses python?

2 Upvotes

Assuming I know nothing about python whatsoever, and very little about scripting, how do I get that script to work?


r/tf2scripthelp • • Feb 03 '14

Resolved How to +taunt and say something in chat?

2 Upvotes

I am trying to have one of my buttons bound to taunt and say something in the text chat. Here is what I am currently trying:

bind h "+taunt; say "Example Saying."

what am I doing wrong?


r/tf2scripthelp • • Feb 02 '14

Resolved How to use the stock crosshairs in a script?

2 Upvotes

I've made a script that give me different crosshairs for the weapon I have out. I just want one that sets it to stock for secondary, so I have that plus sign using the medigun, and the eating ones for scout and heavy, but it also uses the pistol ones....

I've tried puting in crosshair_default, crosshair0, and crosshair8. None of these work.

Any help?


r/tf2scripthelp • • Jan 31 '14

Resolved Need help mergin two scripts

2 Upvotes

Hello everyone. I need help merging these two scripts: 1st Script

alias rocketlauncher "slot1;cl_crosshair_file crosshair7;cl_crosshair_scale 50;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 0;viewmodel_fov 90;MW1"
alias shotgun "slot2;cl_crosshair_file crosshair3;cl_crosshair_scale 50;cl_crosshair_red 0;cl_crosshair_green 64;cl_crosshair_blue 128;r_drawviewmodel 0;viewmodel_fov 90;MW2"
alias shovel "slot3;cl_crosshair_file crosshair4;cl_crosshair_scale 32;cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 90;MW3"

alias Q1 "shotgun"
alias Q2 "rocketlauncher"
alias MW1 "bind mwheelup shovel;bind mwheeldown shotgun;bind q Q1"
alias MW2 "bind mwheelup rocketlauncher;bind mwheeldown shovel;bind q Q2"
alias MW3 "bind mwheelup shotgun;bind mwheeldown rocketlauncher"

bind 1 rocketlauncher
bind 2 shotgun
bind 3 shovel
bind 4 slot4
bind 5 slot5

rocketlauncher

2nd Script // SCRIPT BEGINS HERE!

// Rocket Launcher
alias "+rockets" "slot1;+attack;"
alias "-rockets" "-attack;+reload;+"
 
 
// Shotgun
alias "+shotty" "slot2;+attack;"
alias "-shotty" "-attack;+reload;"
 
 
// Equalizer
alias "+pick" "slot3;+attac;"
alias "-pick" "-attack;"
 
 
// Rocket Jump
alias +rocketjump "+duck;+attack;+jump"
alias -rocketjump "-duck;-attack;-jump"
 
 
// Medic Down
alias "killmed" "say_team "***ENEMY MEDIC DOWN!***";voicemenu 0 2"
 
// Mouse wheel switch
alias "wheelrockets" "slot1"
alias "wheelshotty" "slot2"
 
 
// The Binds - Yes this is the bit you can edit
bind "f" "killmed"
bind "mouse1" "+rockets"
bind "mouse2" "+shotty"
bind "mouse3" "+pick"
bind "mouse4" "+rocketjump"
bind "mwheelup" "wheelrockets"
bind "mwheeldown" "wheelshotty"
 
// Notification in console
echo "*** SOLDIER CFG LOADED***
 
 
// SCRIPT ENDS HERE 

Basically I want my croshair change as I change weapons using 2nd script


r/tf2scripthelp • • Jan 30 '14

Answered Does anyone happen to know the command to ready your team up in tournament mode?

2 Upvotes

I've got this in my soldier.cfg and I don't really want to change the binding of the script, I'd rather change the binding of the team ready up in tournament mode, which is F4 by default. If there is just a command that readies/un-readies the team up that would do too.

The script I have is:

bind F1 "load_itempreset 0; say_team ** BUFF BANNER **"
bind F2 "load_itempreset 1; say_team ** CONCH **"
bind F3 "load_itempreset 2; say_team ** GUNBOATS **"
bind F4 "load_itempreset 3; say_team ** SHOTGUN **"    

So you can see that it binds F4 to my pre-set loadout, so I'd like to re-bind the team ready up to another key.

Thanks!


r/tf2scripthelp • • Jan 26 '14

Resolved Scripts unbounded my keys for cycling through players while respawning or spectating

2 Upvotes

While I'm spectating or dead, I cannot cycle through players. I could not find this control in the options and I think one of my scripts is causing it. Here are all of my scripts:

alias +sap "lastdisguise; slot2; wait 5; +attack"
alias -sap "wait 10; -attack; use tf_weapon_revolver; use       tf_weapon_knife"
bind "mouse7" "+sap"
alias dotxhairtype "dotxhairtypeb"
alias dotxhairtypeb "cl_crosshair_file crosshair1;cl_crosshair_scale    30;alias dotxhairtype dotxhairtyper"
alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale    15;alias dotxhairtype dotxhairtypeb"
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"
bind "w" +fw
alias +fw "+forward;dotxhaircolor"
alias -fw "-forward;dotxhaircolor"

bind "s" +bw
alias +bw "+back;dotxhaircolor"
alias -bw "-back;dotxhaircolor"
bind "d" +mr
alias +mr "+moveright;dotxhaircolor"
alias -mr "-moveright;dotxhaircolor"

bind "a" +ml
alias +ml "+moveleft;dotxhaircolor"
alias -ml "-moveleft;dotxhaircolor"
bind "q" "switcher"
bind "mouse2" +watch 


alias knife_vm_mode "bind mouse1 +viewmodel_knife"
alias amby_vm_mode "bind mouse1 +viewmodel_amby"
alias sap_vm_mode "bind mouse1 +viewmodel_sap"

alias +viewmodel_knife "+attack;r_drawviewmodel 1"
alias -viewmodel_knife "-attack;r_drawviewmodel 1" 
alias +viewmodel_amby "+attack;r_drawviewmodel 0"
alias -viewmodel_amby "-attack;r_drawviewmodel 0" 
alias +viewmodel_sap "+attack;r_drawviewmodel 1"
alias -viewmodel_sap "-attack;r_drawviewmodel 1"


alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"

alias equip_knife2amby "equip_knife;alias switcher   equip_amby2knife;bind 2 equip_sap2knife;bind 3   equip_knife;bind 1   equip_amby2knife"
alias equip_knife2sap "equip_knife;alias switcher   equip_sap2knife;bind 2 equip_sap2knife;bind 3   equip_knife;bind 1   equip_amby2knife"

alias equip_amby "slot1;r_drawviewmodel 1;amby_vm_mode"

alias equip_amby2sap "equip_amby;alias switcher equip_sap2amby;bind 2 equip_sap2amby;bind 3   equip_knife2amby;bind 1 equip_amby"
alias equip_amby2knife "equip_amby;alias switcher equip_knife2amby;bind 2 equip_sap2amby;bind 3    equip_knife2amby;bind 1 equip_amby"

alias equip_sap "slot2;r_drawviewmodel 1;sap_vm_mode"

alias equip_sap2knife "equip_sap;alias switcher equip_knife2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1       equip_amby2sap"
alias equip_sap2amby "equip_sap;alias switcher equip_amby2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap"

alias +watch "+attack2;r_drawviewmodel 1" 
alias -watch "-attack2;r_drawviewmodel 1" 

equip_knife2amby

alias +sap "lastdisguise; slot2; wait 5; +attack"
alias -sap "wait 10; -attack; use tf_weapon_revolver; use tf_weapon_knife"
bind "MOUSE3" "+sap"

alias bodytoggle "toggle cl_first_person_uses_world_model 0 1"
bind "del" "bodytoggle"