Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- developer 1
- echo "Spy config succesfully loaded--http://forums.steampowered.com/forums/showthread.php?t=1591457 for updates and assistance"
- echo "Enter "default" to load default class config
- alias "default" "exec default"
- // 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"
- //=========================================================
- // // // // // // // // // // // // // // // // //
- // movement color toggle/flashing xhair example //
- // // // // // // // // // // // // // // // // //
- 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"
- //=========================================================
- // // // // // // // // // // //
- // Other color cycle examples //
- // // // // // // // // // // //
- // Crosshair Flashers
- // xhair color toggle
- //=========================================================
- alias dotxhaircolor "dotxhaircolorb"
- alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 0; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorr"
- alias dotxhaircolorr "cl_crosshair_blue 64; cl_crosshair_green 255; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolorb"
- //=========================================================
- // xhair type toggle
- //=========================================================
- alias dotxhairtype "dotxhairtypeb"
- alias dotxhairtypeb "cl_crosshair_file crosshair5;cl_crosshair_scale 14;alias dotxhairtype dotxhairtyper"
- alias dotxhairtyper "cl_crosshair_file crosshair2;cl_crosshair_scale 32;alias dotxhairtype dotxhairtypeb"
- //=========================================================
- //Black/White xhair color toggle
- //=========================================================
- alias dotxhaircolorbw "dotxhaircolorbwb"
- alias dotxhaircolorblack "cl_crosshair_blue 0; cl_crosshair_green 0; cl_crosshair_red 0;alias dotxhaircolorbw dotxhaircolorwhite"
- alias dotxhaircolorwhite "cl_crosshair_blue 255; cl_crosshair_green 255; cl_crosshair_red 255;alias dotxhaircolorbw dotxhaircolorblack"
- //=========================================================
- //xhair team color toggle
- //=========================================================
- alias dotxhairteamcolor "dotxhairteamcolorred"
- alias dotxhairteamcolorred "cl_crosshair_blue 0; cl_crosshair_green 0; cl_crosshair_red 255;alias dotxhairteamcolor dotxhairteamcolorblu"
- alias dotxhairteamcolorblu "cl_crosshair_blue 255; cl_crosshair_green 0; cl_crosshair_red 0;alias dotxhairteamcolor dotxhairteamcolorred"
- // Set "dotxhairteamcolor" to appropriate team
- bind [key1] dotxhairteamcolor dotxhaircolorblu
- bind [key2] dotxhairteamcolor dotxhaircolored
- // Make "lastdisguise" show your disguise's current team color
- bind [last disguise key] "lastdisguise;dotxhaircolor"
- // ========================================================================================================================================
- //=============================================================================================================================================
- // CROSSHAIR FLASHER + NULL MOVEMENT SCRIPT
- //=============================================================================================================================================
- // Same as the crosshair flasher script, but adds null movement--when you hit "a" while "d" is still pressed down, you will not stop moving, but immediately switch directions instead. Helpful for dodging and hard-to-hit movement.
- // Code:
- // color toggler
- 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"
- // NULL CANCELLING MOVEMENT SCRIPT
- // (prevents you from pressing two opposing directions, which causes you to stop moving)
- // Remove "//" below to enable null movement:
- bind w +mfwd
- bind s +mback
- bind a +mleft
- bind d +mright
- echo "type 'nullmovement' in console to enable nullmovement, type 'standardmovement' to revert to default"
- echo "enter 'nullmovementnoxhair' to use null movement without crosshair flashing"
- alias "nullmovementnoxhair" "alias dotxhair echo"
- alias "nullmovement" "bind w +mfwd;bind s +mback;bind a +mleft;bind d +mright"
- alias standardmovement "bind w +fw;bind s +bw;bind d +mr;bind a +ml"
- 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 ""
- //=============================================================================================================================================
- // VIEWMODEL SCRIPT *
- //=============================================================================================================================================
- // Hides viewmodels when firing the gun. Gets that darn reload animation out of your face--autoreload ftw! Viewmodels reappear when using the watch or knife.
- // Remove the "//" in front of which version you'd like to use to load it by default.
- //================
- //ORIGINAL VERSION
- //================
- exec stabbyviewmodelscript.cfg // my original Viewmodel Script.
- echo "stabby's viewmodel script loaded by default. Type 'quickswitchon' to switch to quickswitch version or '2C3C' to load 2C3C's adaptation"
- //================
- //QUICKSWITCH VERSION
- //================
- alias quickswitchon "exec stabbyviewmodelscriptQUICKSWITCHSUPPORT"
- // exec stabbyviewmodelscriptQUICKSWITCHSUPPORT.cfg // Remove first "//" to load Quickswitch Support Viewmodel Script by default
- //================
- //2C3C ADAPTATION
- //================
- // exec stabbyviewmodelscript2C3C-VERSION.cfg // Remove first "//" to load 2C3C viewmodel Script Adaptation by default
- alias 2C3C "exec stabbyviewmodelscript2C3C-VERSION.cfg"'
- //=============================================================================================================================================
- // WEAPON-SPECIFIC VIEWMODEL, SENSITIVITY, FOV, & CROSSHAIR SCRIPT*
- //=============================================================================================================================================
- // Pressing "1", will bring out the Revolver(/Amby/Enforcer), hide the gun, turn your FOV to 75, and set the sensitivity to 1. Press "3" for the Knife; sets the FOV back to 90, sensitivity to 3. Press "2" for the sapper; attacking with the sapper will say "Sapping" to your team in the chat. Attacking with any weapon flashes to a smaller crosshair type.
- // Tweak to your liking.
- // * THIS SCRIPT REPLACES THE VIEWMODEL SCRIPT ABOVE. DO NOT USE BOTH TOGETHER!
- alias combination "exec combinationscript.cfg"
- exec "combinationscript.cfg" // Remove "//" at start of this line to enable. Make sure to disable the defualt original version above by putting "//" in front of the "exec stabbyviewmodelscript.cfg" line.
- //=============================================================================================================================================
- // QUICK DISGUISE SCRIPT
- //=============================================================================================================================================
- //Binds the "F#" keys to corresponding class disguises to allow you to bypass the disguise kit entirely. The "t" key toggles disguise team (friendly/enemy). Plays class voice lines to confirm the selected class and color ("Yes" for enemy, "No" for friendly). Features weapon disguise binds, too, be sure to bind the keys though in "quickdisguise.cfg"
- exec "quickdisguise.cfg"
- developer 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement