Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exec class.cfg
- //disguise 3 -1 //opposite team, pyro (for TF2)
- //disguise 5 -2 //same team, medic (for VSH)
- // Pistol loses its viewmodel while attacking + Spy's Mousewheel Fastswitch + Knife Crouching Crosshair Color Changer
- // By: amelie_poulain_ & Chdata
- // Spy Revolver viewmodels disappear when attacking - Toggles depending on weapon switch.
- alias +vm_attack "+attack; r_drawviewmodel 0; spec_next"; // Remove viewmodel when shooting pistol
- alias -vm_attack "-attack"; // We don't remove it here to avoid cloak + letting go of attack = no vm
- //alias +no_vm_atk "+attack; r_drawviewmodel 1; spec_next"; // Always redraw viewmodels
- //alias -no_vm_atk "-attack; r_drawviewmodel 1"; // Not needed because the only time we lose viewmodels is attacking with pistol and all weapon switches bring it back anyway
- //alias +vm_sapper "+attack; r_drawviewmodel 1; spec_next"; // Shows sapper when sapping
- //alias -vm_sapper "-attack; r_drawviewmodel 0" // Hides sapper when not
- // Spy Watch - Always redraws viewmodel
- alias +cloak "+attack2; r_drawviewmodel 1; spec_prev";
- alias -cloak "-attack2; r_drawviewmodel 1";
- bind mouse2 +cloak;
- // Spy's Mousewheel Fastswitch - Relies on mice with 4 mouse buttons to work for disguises, else use 4 on the 1-0 line
- bind mouse4 "slot4; r_drawviewmodel 1"; //use tf_weapon_pda_spy
- bind 4 "slot4; r_drawviewmodel 1";
- // Now featuring a working quick switch
- // Note: After death it may need to be re-calibrated by simply switching weapons once again. Spinning your mousewheel is good enough.
- bind q lastwep;
- alias lastwep pts; // TF2 defaults your Q bind to switch to slot2 (pistol to sapper)
- bind mwheelup stp;
- bind mouse3 pts;
- bind mwheeldown ptk;
- bind 1 stp;
- bind 2 pts;
- bind 3 ptk;
- alias pts "to_sapper; bind mwheelup stp; bind mwheeldown stk; alias lastwep stp";
- alias ptk "to_knifey; bind mwheelup ktp; bind mouse3 kts; alias lastwep ktp";
- alias stp "to_pistol; bind mouse3 pts; bind mwheeldown ptk; alias lastwep pts";
- alias stk "to_knifey; bind mwheelup ktp; bind mouse3 kts; alias lastwep kts";
- alias ktp "to_pistol; bind mouse3 pts; bind mwheeldown ptk; alias lastwep ptk";
- alias kts "to_sapper; bind mwheelup stp; bind mwheeldown stk; alias lastwep stk";
- alias to_pistol "slot1; bind mouse1 +vm_attack; r_drawviewmodel 1; normal_xhare; ccc_off"; to_pistol;
- alias to_sapper "slot2; bind mouse1 +attack; r_drawviewmodel 1; normal_xhare; ccc_off";
- alias to_knifey "slot3; bind mouse1 +attack; r_drawviewmodel 1; stabby_xhare; ccc_on";
- // Crouching changes crosshair color while using knife + Improved Crouch Jump
- // By: Chdata
- alias +rj "-downed;+cr;alias checkrj +cr;spec_mode";
- alias -rj "-cr;checkduck;alias checkrj none";
- alias +crouch "-cr;+downed;alias checkduck +downed";
- alias -crouch "-downed;checkrj;alias checkduck none";
- alias checkduck none;
- alias checkrj none;
- alias +cr "+jump;+downed";
- alias -cr "-downed;-jump";
- bind space +rj;
- bind ctrl +crouch;
- alias normal_xhare "cl_crosshair_file crosshair5; cl_crosshair_blue 255; cl_crosshair_green 255; cl_crosshair_red 0";
- alias stabby_xhare standing;
- alias cc_on1 "alias on_crouchcolor crouchin";
- alias cc_on2 "alias off_crouchcolor standing";
- alias ccc_on "cc_on1; cc_on2";
- alias cc_off1 "alias on_crouchcolor none";
- alias cc_off2 "alias off_crouchcolor none";
- alias ccc_off "cc_off1; cc_off2"; ccc_off;
- alias standing "cl_crosshair_blue 0; cl_crosshair_green 0; cl_crosshair_red 0; cl_crosshair_file crosshair3" //Changes to black with a open dot crosshair
- alias crouchin "cl_crosshair_blue 255; cl_crosshair_green 255; cl_crosshair_red 255; cl_crosshair_file crosshair5" //Changes to white with a full dot crosshair
- alias +downed "+duck; alias stabby_xhare crouchin; on_crouchcolor"; // Duck, change our crosshair to full dot
- alias -downed "-duck; alias stabby_xhare standing; off_crouchcolor";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement