r/Tf2Scripts • • Aug 20 '17

Script My Scout Script

Hello! This was my first script, I hope it is useful, it certainly has been for me, and I had a lot of fun coding it. Let me know if you'd like it tweaking or if you have any extra ideas or tweaks for it! Enjoy your scouting!

EDIT: Sorry, the orginal code had an issue with the crosshairs, I have fixed it now.

	////LOUDOUT: SCOUT////
	+reload
	
//WEAPONS
	cl_crosshair_file default
	cl_crosshair_red "255"; cl_crosshair_green "255"; cl_crosshair_blue "00"
	cl_crosshair_scale "35"
	//CROSSHAIRS and MODELS
		alias	xhairP	"cl_crosshair_red "255";	cl_crosshair_green "255";	cl_crosshair_blue "00";	cl_crosshair_file default"
		alias	xhairS	"cl_crosshair_red "0";	cl_crosshair_green "255";	cl_crosshair_blue "255";	cl_crosshair_file crosshair7"
		alias	xhairT	"cl_crosshair_red "255";	cl_crosshair_green "00";	cl_crosshair_blue "0";		cl_crosshair_file crosshair3"
		
		alias 	+primary	"slot1;tg_model_0;cl_crosshair_scale "35"		
		alias 	+secondary 	"slot2;tg_model_0;"		
		alias 	+tertiary 	"slot3;tg_model_1;cl_crosshair_scale "60"
		
		alias 	tg_model_1	"r_drawviewmodel 1;viewmodel_fov 65"
		alias 	tg_model_0	"r_drawviewmodel 0;viewmodel_fov 0"
	// PISTOL SWITCH
		alias	+pistol 	"+secondary;xhairS"
		alias	-pistol 	"+primary;xhairP"
	// pistol
		alias	+bat 		"+tertiary;xhairT"
		alias	-bat 		"+primary;xhairP"		
//OTHER
	//CROUCHJUMP
		alias 	+cj 		"+jump;+duck;spec_mode"
		alias 	-cj 		"-jump;-duck"
	//EXTRA ZOOM
		alias 	+zoom 		"fov_desired 60"
		alias 	-zoom 		"fov_desired 90"
			//BINDINGS
			bind 	mouse2 	"+pistol"
			bind 	SHIFT 	"+bat"
			bind	ALT		"+zoom"
			bind	SPACE	"+cj"
			bind	r 		"voicemenu 1 1" //pressing 'r' calls out 'spy'.
			bind	t 		"voicemenu 0 1" //pressing 't' says "thank you"
			bind	p 		"explode"		//pressing 'p' is mildly amusing
	
	//DESCRIPTION
		//This script I find really helpful for the fast paced gameplay of the scout. 
		//Hold down right click to draw your pistol(release to return to shotgun), hold down shift to get out your bat and get to thwacking.
		//NOTE: This cript automatically defaults to the scattergun. Left click is always attack.
		//Auto reloading and crouchjumping are on, which I cannot highly recommend enough, especially as the scout.
		//Holding down 'ALT' will give you a little bit of zoom to help you with your pistol sniping.
		//I also run this with a null-cancelling movement script, which if you're not already using you should definitely get one!
1 Upvotes

0 comments sorted by