Go Back   Steam Users' Forums > Steam Game Discussions > T - Z > Team Fortress 2 > Classes and Balance Discussion > Spy

Reply
 
Thread Tools Display Modes
Old 04-24-2012, 12:54 PM   #751
Archmage MC
 
 
 
Join Date: Mar 2011
Reputation: 102
Posts: 846
Alrighty. Now...

Could you make the crosshair a dot, turning into the + when the gun is shot?
No indicator when the DR is up (Viewmodels or otherwise) If this is intentional, then thats fine.
Archmage MC is offline   Reply With Quote
Old 04-24-2012, 01:13 PM   #752
2C3C
 
 
 
Join Date: May 2011
Reputation: 501
Posts: 2,231
Code:
bind 1 pri
bind 2 sec
bind 3 mel
bind 4 dis
bind 5 eng
bind q switcher
bind mwheelup s_u
bind mwheeldown s_d
bind mouse1 +s_attack
bind mouse2 +attack2 //remove this line if you use the version below

//bind mouse2 +watch
//alias +watch "+attack2; r_drawviewmodel 1; spec_prev"
//alias -watch "-attack2; r_drawviewmodel 1"
 
alias pri_mode "r_drawviewmodel 0; sensitivity 2; alias current_sens "sensitivity 2";"
alias sec_mode "r_drawviewmodel 0; sensitivity 2.2; alias current_sens "sensitivity 2.2";"
alias mel_mode "r_drawviewmodel 0; sensitivity 3; alias current_sens "sensitivity 3";"
 
alias +pri_attack "+attack;r_drawviewmodel 0; dotxhairtype; spec_next"
alias -pri_attack "-attack;r_drawviewmodel 0; dotxhairtype"
alias +sec_attack "+attack;r_drawviewmodel 0; spec_next"
alias -sec_attack "-attack;r_drawviewmodel 0"
alias +mel_attack "+attack;r_drawviewmodel 0; spec_next"
alias -mel_attack "-attack;r_drawviewmodel 0"
 
alias prima "slot1; pri_mode; alias +s_attack +pri_attack; alias -s_attack -pri_attack"
 
alias pri_sec "prima; alias switcher sec_pri; alias pri prima; alias sec sec_pri; alias mel mel_pri; alias dis pda_pri_sec; alias eng pda2_pri_sec; alias s_u mel_pri; alias s_d sec_pri"
alias pri_mel "prima; alias switcher mel_pri; alias pri prima; alias sec sec_pri; alias mel mel_pri; alias dis pda_pri_mel; alias eng pda2_pri_mel; alias s_u mel_pri; alias s_d sec_pri"
 
alias secon "slot2; sec_mode; alias +s_attack +sec_attack; alias -s_attack -sec_attack"
 
alias sec_pri "secon; alias switcher pri_sec; alias pri pri_sec; alias sec secon; alias mel mel_sec; alias dis pda_sec_pri; alias eng pda2_sec_pri; alias s_u pri_sec; alias s_d mel_sec"
alias sec_mel "secon; alias switcher mel_sec; alias pri pri_sec; alias sec secon; alias mel mel_sec; alias dis pda_sec_mel; alias eng pda2_sec_mel; alias s_u pri_sec; alias s_d mel_sec"
 
alias melee "slot3; mel_mode; alias +s_attack +mel_attack; alias -s_attack -mel_attack"
 
alias mel_pri "melee; alias switcher pri_mel; alias pri pri_mel; alias sec sec_mel; alias mel melee; alias dis pda_mel_pri; alias eng pda2_mel_pri; alias s_u sec_mel; alias s_d pri_mel"
alias mel_sec "melee; alias switcher sec_mel; alias pri pri_mel; alias sec sec_mel; alias mel melee; alias dis pda_mel_sec; alias eng pda2_mel_sec; alias s_u sec_mel; alias s_d pri_mel"
 
alias pda   "slot4"
 
alias pda_pri_sec "pda; alias switcher pri_sec"
alias pda_pri_mel "pda; alias switcher pri_mel"
alias pda_sec_pri "pda; alias switcher sec_pri"
alias pda_sec_mel "pda; alias switcher sec_mel"
alias pda_mel_pri "pda; alias switcher mel_pri"
alias pda_mel_sec "pda; alias switcher mel_sec"
 
alias pda2  "slot5"
 
alias pda2_pri_sec "pda2; alias switcher pri_sec"
alias pda2_pri_mel "pda2; alias switcher pri_mel"
alias pda2_sec_pri "pda2; alias switcher sec_pri"
alias pda2_sec_mel "pda2; alias switcher sec_mel"
alias pda2_mel_pri "pda2; alias switcher mel_pri"
alias pda2_mel_sec "pda2; alias switcher mel_sec"
 
pri_sec


alias dotxhairtype "dotxhairtypeb"
alias dotxhairtypeb "cl_crosshair_file crosshair7;cl_crosshair_scale 14;alias dotxhairtype dotxhairtyper"
alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 14;alias dotxhairtype dotxhairtypeb"

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"

alias +mf "+forward; dotxhaircolor"
alias -mf "-forward; dotxhaircolor"
alias +mb "+back; dotxhaircolor"
alias -mb "-back; dotxhaircolor"
alias +mr "+moveright; dotxhaircolor"
alias -mr "-moveright; dotxhaircolor"
alias +ml "+moveleft; dotxhaircolor"
alias -ml "-moveleft; dotxhaircolor"

bind w +mf
bind a +ml
bind s +mb
bind d +mr


alias e1 "disguise 1 -1"
alias e2 "disguise 3 -1"
alias e3 "disguise 7 -1"
alias e4 "disguise 4 -1"
alias e5 "disguise 6 -1"
alias e6 "disguise 9 -1"
alias e7 "disguise 5 -1"
alias e8 "disguise 2 -1"
alias e9 "disguise 8 -1"

alias a1 "disguise 1 -2"
alias a2 "disguise 3 -2"
alias a3 "disguise 7 -2"
alias a4 "disguise 4 -2"
alias a5 "disguise 6 -2"
alias a6 "disguise 9 -2"
alias a7 "disguise 5 -2"
alias a8 "disguise 2 -2"
alias a9 "disguise 8 -2"

alias +disg_toggle "alias d1 a1; alias d2 a2; alias d3 a3; alias d4 a4; alias d5 a5; alias d6 a6; alias d7 a7; alias d8 a8; alias d9 a9"
alias -disg_toggle "alias d1 e1; alias d2 e2; alias d3 e3; alias d4 e4; alias d5 e5; alias d6 e6; alias d7 e7; alias d8 e8; alias d9 e9"

bind ` +disg_toggle
bind f1 d1
bind f2 d2
bind f3 d3
bind f4 d4
bind f5 d5
bind f6 d6
bind f7 d7
bind f8 d8
bind f9 d9


alias +zoom "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 54; sensitivity 1.3"
alias -zoom "fov_desired 90; viewmodel_fov 70; viewmodel_fov_demo 70; current_sens"

bind shift +zoom
No viewmodel on DR isn't included, though I commented a section out that you can use at the beginning of the script.
2C3C is offline   Reply With Quote
Old 04-24-2012, 02:25 PM   #753
Archmage MC
 
 
 
Join Date: Mar 2011
Reputation: 102
Posts: 846
Alrighty, that works just like I'd like it thanks. How much metal do you want for your work?
Archmage MC is offline   Reply With Quote
Old 04-24-2012, 02:29 PM   #754
2C3C
 
 
 
Join Date: May 2011
Reputation: 501
Posts: 2,231
No worries.
2C3C is offline   Reply With Quote
Old 04-24-2012, 09:22 PM   #755
SpyMac
 
Join Date: Apr 2012
Reputation: 0
Posts: 4
Question Im Confused

It says i need to "Manually Integrated" With the viewmodel scripts. How do i do that?
SpyMac is offline   Reply With Quote
Old 04-24-2012, 09:24 PM   #756
2C3C
 
 
 
Join Date: May 2011
Reputation: 501
Posts: 2,231
Quote:
Originally Posted by SpyMac View Post
It says i need to "Manually Integrated" With the viewmodel scripts. How do i do that?
Give us some details. Which scripts do you want?
2C3C is offline   Reply With Quote
Old 04-24-2012, 09:26 PM   #757
SpyMac
 
Join Date: Apr 2012
Reputation: 0
Posts: 4
Im Confused. It says i need to integrate the viewmodel scripts with the crosshair/switcher script. How do i do that?
SpyMac is offline   Reply With Quote
Old 04-24-2012, 09:28 PM   #758
SpyMac
 
Join Date: Apr 2012
Reputation: 0
Posts: 4
Quote:
Originally Posted by 2C3C View Post
Give us some details. Which scripts do you want?
Well I Have The Crosshair/switcher and the viewmodel. the veiwmodel scripts works. the crosshair scripts doesnt.
SpyMac is offline   Reply With Quote
Old 04-24-2012, 09:30 PM   #759
2C3C
 
 
 
Join Date: May 2011
Reputation: 501
Posts: 2,231
Quote:
Originally Posted by SpyMac View Post
Well I Have The Crosshair/switcher and the viewmodel. the veiwmodel scripts works. the crosshair scripts doesnt.
Color changing or type changing?
2C3C is offline   Reply With Quote
Old 04-24-2012, 09:31 PM   #760
SpyMac
 
Join Date: Apr 2012
Reputation: 0
Posts: 4
Quote:
Originally Posted by 2C3C View Post
Color changing or type changing?
Type Changing.
SpyMac is offline   Reply With Quote
Old 04-24-2012, 10:12 PM   #761
2C3C
 
 
 
Join Date: May 2011
Reputation: 501
Posts: 2,231
Quote:
Originally Posted by SpyMac View Post
Type Changing.
Replace this:

Code:
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0"
With this:

Code:
alias +viewmodel_amby "+attack;r_drawviewmodel 0;dotxhairtype;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0;dotxhairtype"
2C3C is offline   Reply With Quote
Old 04-25-2012, 02:51 AM   #762
DoM!NaToR
 
 
 
Join Date: Feb 2012
Reputation: 6
Posts: 208
Nice Scripts
DoM!NaToR is offline   Reply With Quote
Old 04-25-2012, 03:23 PM   #763
ijamzo
 
Join Date: Sep 2011
Reputation: 0
Posts: 25
Quote:
Originally Posted by HallaSurvivor View Post
1. :,(
2. i think i fixed it, tell me if not
Code:
 // Stabby's Viewmodel Script for Spy //
     
    // // // // // // // // // // //  // // // // // // // // // // // //  //
    //Viewmodels<< on when shooting amby, off when knife or watch out//
    // // // // // // // // // // //  // // // // // // // // // // // //  //
     
     
    // spawn with knife out and viewmodel mode set to "on"
     
    slot3
    r_drawviewmodel 1
    knife_vm_mode
     
     
    // replace [KEY] with the your Keybinds for the sapper/knife/ambassador/watch
     
    bind "q" +equip_sap         // Key/button for sapper
    bind "mwheelup" +equip_knife      // Key/button for knife
    bind "mwheeldown" +equip_amby      // Key/button for ambassador
    bind "mouse2" "+watch;spec_prev"          // Key for watch (mouse2 default)
	bind f toggle_autodisguise			//turns autodisguise on and off, on by default
     
     
    //re-bind mouse1
     
    alias knife_vm_mode_disguise "bind mouse1 +viewmodel_knife_disguise" // binds mouse1 to turn viewmodel on when attacking (for knife knife)
    alias amby_vm_mode_disguise "bind mouse1 +viewmodel_amby_disguise"  // binds mouse1 to turn viewmodel off when attacking (for amby)
    alias sap_vm_mode_disguise "bind mouse1 +viewmodel_sap_disguise"   // binds mouse 1 to turn viewmodel on when attacking and off when not (for sapper)
	
	alias knife_vm_mode "bind mouse1 +viewmodel_knife"
	alias amby_vm_mode "bind mouse1 +viewmodel_amby"
	alias sap_vm_mode "bind mouse1 +viewmodel_sap"
     
     
    // causes viewmodel to go off or on when you shoot
     
    alias +viewmodel_knife_disguise "+attack;r_drawviewmodel 1;spec_next"          // attacks, turns viewmodel on
    alias -viewmodel_knife_disguise "-attack;r_drawviewmodel 1;disguise_random"         // finishes atack, turns viewmodel on again as safeguard
     
    alias +viewmodel_amby_disguise "+attack;r_drawviewmodel 0;spec_next"          // attacks, turns viewmodel off
    alias -viewmodel_amby_disguise "-attack;r_drawviewmodel 0;disguise_random"         // finishes attack, turns viewmodel off again as a safeguard
     
    alias +viewmodel_sap_disguise "+attack;r_drawviewmodel 1;spec_next"          // shows sapper when sapping
    alias -viewmodel_sap_disguise "-attack;r_drawviewmodel 0;disguise_random"         // hides sapper when mouse1 released
	
	alias +viewmodel_knife "+attack;r_drawviewmodel 1;spec_next"          // attacks, turns viewmodel on
    alias -viewmodel_knife "-attack;r_drawviewmodel 1"         // finishes atack, turns viewmodel on again as safeguard
     
    alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"          // attacks, turns viewmodel off
    alias -viewmodel_amby "-attack;r_drawviewmodel 0"         // finishes attack, turns viewmodel off again as a safeguard
     
    alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next"          // shows sapper when sapping
    alias -viewmodel_sap "-attack;r_drawviewmodel 0"         // hides sapper when mouse1 released
     
     
    // Equip item, turn vm on/off, set vm toggle for attack
     
    alias +equip_knife "slot3;r_drawviewmodel 1"             // Equips knife, turns viewmodels on
    alias -equip_knife "knife_vm_mode;r_drawviewmodel 1"    // Sets viewmodels to turn ON when stabbing (makes sure it stays on)
     
    alias +equip_amby "slot1"                               // Equips amby
    alias -equip_amby "amby_vm_mode"                        // Sets viewmodels to turn OFF when shooting
     
    alias +equip_sap "slot2;r_drawviewmodel 1"             // Equips sapper, turns viewmodels on
    alias -equip_sap "sap_vm_mode"       	// Sets viewmodels to turn on while firing, and off when not
     
	 alias +equip_knife_disguise "slot3;r_drawviewmodel 1"          
    alias -equip_knife_disguise "knife_vm_mode;r_drawviewmodel 1"   
     
    alias +equip_amby_disguise "slot1"                              
    alias -equip_amby_disguise "amby_vm_mode"                       
     
    alias +equip_sap_disguise "slot2;r_drawviewmodel 1"     
    alias -equip_sap_disguise "sap_vm_mode"
	 
    alias +watch "+attack2;r_drawviewmodel 1"              // watch up/cloak on/secondary attack + viewmodels on
    alias -watch "-attack2;r_drawviewmodel 1"             // viewmodels on again as safeguard
	
	alias disguise_random "disguise1"
	alias disguise1 	"disguise 7 -1; alias disguise_random disguise2" // Disguise as Pyro
	alias disguise2 	"disguise 4 -1; alias disguise_random disguise3" // Disguise as Demo
	alias disguise3 	"disguise 2 -1; alias disguise_random disguise4" // Disguise as Sniper
	alias disguise4 	"disguise 9 -1; alias disguise_random disguise5" // Disguise as Engie
	alias disguise5		"disguise 8 -1; alias disguise_random disguise1" // Disguise as Spy
     
    alias toggle_autodisguise "toggle_autodisguise_on"
	alias toggle_autodisguise_on "bind mwheelup +equip_knife_disguise;bind mwheeldown +equip_amby_disguise;bind q equip_sap_disguise;alias toggle_autodisguise toggle_autodisguise_off"
	alias toggle_autodisguise_off "bind mwheelup +equip_knife;bind mwheeldown +equip_amby;bind q equip_sap;alias toggle_autodisguise toggle_autodisguise_on"

    // // // // // // // // // // //  //
     
     
    echo "Viewmodel script loaded" // confirms script loaded in the console
tell me if this works/doesn't/blows up your computer
it still doesn;t work for me, and also when i use this i cant press Q for sapper :/
ijamzo is offline   Reply With Quote
Old 04-25-2012, 03:31 PM   #764
HallaSurvivor
 
 
 
Join Date: Feb 2012
Reputation: 12
Posts: 132
Quote:
it still doesn;t work for me, and also when i use this i cant press Q for sapper :/
fixed the typo that caused that, sorry for the trouble
Code:
 // Stabby's Viewmodel Script for Spy //
     
    // // // // // // // // // // //  // // // // // // // // // // // //  //
    //Viewmodels<< on when shooting amby, off when knife or watch out//
    // // // // // // // // // // //  // // // // // // // // // // // //  //
     
     
    // spawn with knife out and viewmodel mode set to "on"
     
    slot3
    r_drawviewmodel 1
    knife_vm_mode
     
     
    // replace [KEY] with the your Keybinds for the sapper/knife/ambassador/watch
     
    bind "q" +equip_sap         // Key/button for sapper
    bind "mwheelup" +equip_knife      // Key/button for knife
    bind "mwheeldown" +equip_amby      // Key/button for ambassador
    bind "mouse2" "+watch;spec_prev"          // Key for watch (mouse2 default)
	bind f toggle_autodisguise			//turns autodisguise on and off, on by default
     
     
    //re-bind mouse1
     
    alias knife_vm_mode_disguise "bind mouse1 +viewmodel_knife_disguise" // binds mouse1 to turn viewmodel on when attacking (for knife knife)
    alias amby_vm_mode_disguise "bind mouse1 +viewmodel_amby_disguise"  // binds mouse1 to turn viewmodel off when attacking (for amby)
    	
	alias knife_vm_mode "bind mouse1 +viewmodel_knife"
	alias amby_vm_mode "bind mouse1 +viewmodel_amby"
	alias sap_vm_mode "bind mouse1 +viewmodel_sap"
     
     
    // causes viewmodel to go off or on when you shoot
     
    alias +viewmodel_knife_disguise "+attack;r_drawviewmodel 1;spec_next"          // attacks, turns viewmodel on
    alias -viewmodel_knife_disguise "-attack;r_drawviewmodel 1;disguise_random"         // finishes atack, turns viewmodel on again as safeguard
     
    alias +viewmodel_amby_disguise "+attack;r_drawviewmodel 0;spec_next"          // attacks, turns viewmodel off
    alias -viewmodel_amby_disguise "-attack;r_drawviewmodel 0;disguise_random"         // finishes attack, turns viewmodel off again as a safeguard
	
	alias +viewmodel_knife "+attack;r_drawviewmodel 1;spec_next"          // attacks, turns viewmodel on
    alias -viewmodel_knife "-attack;r_drawviewmodel 1"         // finishes atack, turns viewmodel on again as safeguard
     
    alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"          // attacks, turns viewmodel off
    alias -viewmodel_amby "-attack;r_drawviewmodel 0"         // finishes attack, turns viewmodel off again as a safeguard
     
    alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next"          // shows sapper when sapping
    alias -viewmodel_sap "-attack;r_drawviewmodel 0"         // hides sapper when mouse1 released
     
     
    // Equip item, turn vm on/off, set vm toggle for attack
     
    alias +equip_knife "slot3;r_drawviewmodel 1"             // Equips knife, turns viewmodels on
    alias -equip_knife "knife_vm_mode;r_drawviewmodel 1"    // Sets viewmodels to turn ON when stabbing (makes sure it stays on)
     
    alias +equip_amby "slot1"                               // Equips amby
    alias -equip_amby "amby_vm_mode"                        // Sets viewmodels to turn OFF when shooting
     
    alias +equip_sap "slot2;r_drawviewmodel 1"             // Equips sapper, turns viewmodels on
    alias -equip_sap "sap_vm_mode"       	// Sets viewmodels to turn on while firing, and off when not
     
	 alias +equip_knife_disguise "slot3;r_drawviewmodel 1"          
    alias -equip_knife_disguise "knife_vm_mode_disguise;r_drawviewmodel 1"   
     
    alias +equip_amby_disguise "slot1"                              
    alias -equip_amby_disguise "amby_vm_mode_disguise"                       
	 
    alias +watch "+attack2;r_drawviewmodel 1"              // watch up/cloak on/secondary attack + viewmodels on
    alias -watch "-attack2;r_drawviewmodel 1"             // viewmodels on again as safeguard
	
	alias disguise_random "disguise1"
	alias disguise1 	"disguise 7 -1; alias disguise_random disguise2" // Disguise as Pyro
	alias disguise2 	"disguise 4 -1; alias disguise_random disguise3" // Disguise as Demo
	alias disguise3 	"disguise 2 -1; alias disguise_random disguise4" // Disguise as Sniper
	alias disguise4 	"disguise 9 -1; alias disguise_random disguise5" // Disguise as Engie
	alias disguise5		"disguise 8 -1; alias disguise_random disguise1" // Disguise as Spy
     
    alias toggle_autodisguise "toggle_autodisguise_on"
	alias toggle_autodisguise_on "bind mwheelup +equip_knife_disguise;bind mwheeldown +equip_amby_disguise;bind q +equip_sap;alias toggle_autodisguise toggle_autodisguise_off"
	alias toggle_autodisguise_off "bind mwheelup +equip_knife;bind mwheeldown +equip_amby;bind q +equip_sap;alias toggle_autodisguise toggle_autodisguise_on"

    // // // // // // // // // // //  //
     
     
    echo "Viewmodel script loaded" // confirms script loaded in the console
this SHOULD work, i'll test it right now
HallaSurvivor is offline   Reply With Quote
Old 04-25-2012, 06:48 PM   #765
Kevin132
 
 
 
Join Date: Apr 2012
Reputation: 0
Posts: 7
Stabby, Do you know why I can't use the color Black for my xhair pulsing when having full health? Everytime I get damaged, I go back to the supply closet it resets the color to Green!
Anyone have a clue on how to fix this? =O
Kevin132 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > T - Z > Team Fortress 2 > Classes and Balance Discussion > Spy


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 02:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.