起動設定

-useforcedmparms -noforcemaccel -noforcemspd -novid -fullscreen  -w 1980 -h 1024 -nojoy

a// 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 default;cl_crosshair_scale 24;alias dotxhairtype dotxhairtyper” // tweak crosshair_scale values to your liking

alias dotxhairtyper “cl_crosshair_file default;cl_crosshair_scale 24;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 //
// // // // // // // // // // //
 
//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”

テンキーでクラスチェンジするコマンド

bind “kp_end” “join_class scout”;
bind “kp_downarrow” “join_class soldier”;
bind “kp_pgdn” “join_class pyro”;

bind “kp_leftarrow” “join_class demoman”;
bind “kp_5” “join_class heavyweapons”;
bind “kp_rightarrow” “join_class engineer”;

bind “kp_home” “join_class medic”;
bind “kp_uparrow” “join_class sniper”;
bind “kp_pgup” “join_class spy”;

echo “…exec class.cfg”;

これをclass.cfgを作り、書き込む

移動時のストッピングをなくす


正直わかんない!

これをautoexecに記述

// Null-cancelling movement script
// (prevents you from pressing two opposing directions, which causes you to stop moving)
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 “”

bind “w” “+mfwd”
bind “a” “+mleft”
bind “s” “+mback”
bind “d” “+mright”
//

Tags: tf2