Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
- // 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" //green
- 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 dotxhaircolore"
- alias dotxhaircolore "cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolorf" //yellow
- alias dotxhaircolorf "cl_crosshair_blue 0; cl_crosshair_green 0; cl_crosshair_red 0; alias dotxhaircolor dotxhaircolorg" //black
- alias dotxhaircolorg "cl_crosshair_blue 112; cl_crosshair_green 25; cl_crosshair_red 25; alias dotxhaircolor dotxhaircolorh" //midnight blue
- alias dotxhaircolorh "cl_crosshair_blue 0; cl_crosshair_green 69; cl_crosshair_red 255; alias dotxhaircolor dotxhaircolori" //orange
- alias dotxhaircolori "cl_crosshair_blue 180; cl_crosshair_green 105; cl_crosshair_red 255; alias dotxhaircolor dotxhaircolorj" //hot pink
- alias dotxhaircolorj "cl_crosshair_blue 0; cl_crosshair_green 0; cl_crosshair_red 255; alias dotxhaircolor dotxhaircolork" //red
- alias dotxhaircolork "cl_crosshair_blue 137; cl_crosshair_green 137; cl_crosshair_red 139; alias dotxhaircolor dotxhaircolorl" //grey
- alias dotxhaircolorl "cl_crosshair_blue 173; cl_crosshair_green 222; cl_crosshair_red 255; alias dotxhaircolor dotxhaircolorm" //tan
- alias dotxhaircolorm "cl_crosshair_blue 255; cl_crosshair_green 255; cl_crosshair_red 0; alias dotxhaircolor dotxhaircolorn" //cyan
- alias dotxhaircolorn "cl_crosshair_blue 19; cl_crosshair_green 69; cl_crosshair_red 139; alias dotxhaircolor dotxhaircoloro" //brown
- alias dotxhaircoloro "cl_crosshair_blue 11; cl_crosshair_green 134; cl_crosshair_red 184; alias dotxhaircolor dotxhaircolorb" //gold
- //=========================================================
- // // // // // // // // // // // // // // // // //
- // movement color toggle/flashing xhair example //
- // // // // // // // // // // // // // // // // //
- bind "UPARROW" +fw
- alias +fw "+forward;dotxhaircolor"
- alias -fw "-forward;dotxhaircolor"
- bind "DOWNARROW" +bw
- alias +bw "+back;dotxhaircolor"
- alias -bw "-back;dotxhaircolor"
- bind "LEFTARROW" +mr
- alias +mr "+moveright;dotxhaircolor"
- alias -mr "-moveright;dotxhaircolor"
- bind "RIGHTARROW" +ml
- alias +ml "+moveleft;dotxhaircolor"
- alias -ml "-moveleft;dotxhaircolor"
- //=========================================================
- // // // // // // // // // // //
- // Other color cycle examples //
- // // // // // // // // // // //
- //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"
- //end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement