|
|
#811 |
![]() Join Date: Sep 2011
Reputation: 0
Posts: 25
|
i dont know if this is the right place to be asking, but i thought i might aswell ask anyway. on stabby's hud ( the one featured in his " a happy life " video, i have everything ok, the circle is centred ect.. but the one problem im having is that when im playing a class other than spy which has 2+ loading bars for items, for example scout, bonk atomic punch + sandman, for some reason the two loading bars merge together and overlap eachother and it really is quite bad :3 if anyone knows a way to fix this it would be highly aprecitated.
|
|
|
|
|
|
#812 |
![]() Join Date: Sep 2011
Reputation: 0
Posts: 26
|
Whenever I use the weapon disguise script, it always changes my CURRENT weapons while changing the disguise's weapon. I put it on number pad 1, 2, 3 if that matters.
Last edited by HarnkyDarnky: 04-30-2012 at 05:28 PM. |
|
|
|
|
|
#813 |
![]() Join Date: May 2011
Reputation: 501
Posts: 2,231
|
|
|
|
|
|
|
#814 |
![]() Join Date: Sep 2011
Reputation: 0
Posts: 26
|
|
|
|
|
|
|
#815 |
|
Join Date: Mar 2012
Reputation: 0
Posts: 3
|
I know stabby is using Garmen Hud to get the circle around his crosshair. I've heard the same can be done with PV Hud. Can anyone show me how to do that on PV Hud? Thanks!
|
|
|
|
|
|
#816 |
![]() Join Date: Sep 2011
Reputation: 0
Posts: 25
|
stabby will you ever give out your full cfg folder & hitsound? i reckon it would make some things a lot more easier for people to use your scripts if you just gave them that :P
|
|
|
|
|
|
#817 |
|
Join Date: Apr 2012
Reputation: 0
Posts: 2
|
does anyone know what number the default tf2 crosshair is? the cross hair that changes for certain weapons (e.g. a circle for rocket launcher, an elongated t for the spy) I want to know so i can use it in the scripts
|
|
|
|
|
|
#818 |
![]() Join Date: Jul 2010
Reputation: 18
Posts: 677
|
|
|
|
|
|
|
#819 | |
![]() Join Date: Feb 2012
Reputation: 12
Posts: 132
|
Quote:
![]() Code:
bind "q" "switcher" bind "mouse2" +watch bind w +fw bind s +bw bind d +mr bind a +ml //========================================================= alias dotxhairtype "dotxhairtypeb" alias dotxhairtypeb "cl_crosshair_file crosshair1;cl_crosshair_scale 30;alias dotxhairtype dotxhairtyper" alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 10;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 +switch_xhair "switcher;dotxhaircolor;dotxhairtype" alias -switch_xhair "dotxhaircolor;dotxhairtype alias +fw "+forward;dotxhaircolor" alias -fw "-forward;dotxhaircolor" alias +bw "+back;dotxhaircolor" alias -bw "-back;dotxhaircolor" alias +mr "+moveright;dotxhaircolor" alias -mr "-moveright;dotxhaircolor" alias +ml "+moveleft;dotxhaircolor" alias -ml "-moveleft;dotxhaircolor" alias knife_vm_mode "bind mouse1 +viewmodel_knife" alias amby_vm_mode "bind mouse1 +viewmodel_amby" alias sap_vm_mode "bind mouse1 +viewmodel_sap" alias +viewmodel_knife "+attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias -viewmodel_knife "-attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias +viewmodel_amby "+attack;r_drawviewmodel 0;dotxhaircolor;dotxhairtype" alias -viewmodel_amby "-attack;r_drawviewmodel 0;dotxhaircolor;dotxhairtype" alias +viewmodel_sap "+attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias -viewmodel_sap "-attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode;dotxhaircolor" alias equip_knife2amby "equip_knife;alias switcher equip_amby2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife" alias equip_knife2sap "equip_knife;alias switcher equip_sap2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife" alias equip_amby "slot1;r_drawviewmodel 1;amby_vm_mode;dotxhaircolor" alias equip_amby2sap "equip_amby;alias switcher equip_sap2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby" alias equip_amby2knife "equip_amby;alias switcher equip_knife2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby" alias equip_sap "slot2;r_drawviewmodel 1;sap_vm_mode;dotxhaircolor" alias equip_sap2knife "equip_sap;alias switcher equip_knife2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap" alias equip_sap2amby "equip_sap;alias switcher equip_amby2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap" alias +watch "+attack2;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias -watch "-attack2;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" equip_knife2amby alias e_scout "disguise 1 -1; play vo\scout_yes01;dotxhaircolor" alias e_sniper "disguise 2 -1; play vo\sniper_yes03;dotxhaircolor" alias e_soldier "disguise 3 -1; play vo\soldier_yes04;dotxhaircolor" alias e_demoman "disguise 4 -1; play vo\demoman_yes01;dotxhaircolor" alias e_medic "disguise 5 -1; play vo\medic_yes03;dotxhaircolor" alias e_hwguy "disguise 6 -1; play vo\heavy_yes03;dotxhaircolor" alias e_pyro "disguise 7 -1; play vo\pyro_moveup01;dotxhaircolor" alias e_spy "disguise 8 -1; play vo\spy_yes02;dotxhaircolor" alias e_engineer "disguise 9 -1; play vo\engineer_yes03;dotxhaircolor" alias a_scout "disguise 1 -2; play vo\scout_no02;dotxhaircolor" alias a_sniper "disguise 2 -2; play vo\sniper_no01;dotxhaircolor" alias a_soldier "disguise 3 -2; play vo\soldier_no02;dotxhaircolor" alias a_demoman "disguise 4 -2; play vo\demoman_no03;dotxhaircolor" alias a_medic "disguise 5 -2; play vo\medic_no01;dotxhaircolor" alias a_hwguy "disguise 6 -2; play vo\heavy_no03;dotxhaircolor" alias a_pyro "disguise 7 -2; play vo\pyro_no01;dotxhaircolor" alias a_spy "disguise 8 -2; play vo\spy_no03;dotxhaircolor" alias a_engineer "disguise 9 -2; play vo\engineer_no01;dotxhaircolor" bind f1 e_scout bind f2 e_sniper bind f3 e_pyro bind f4 e_engineer bind f5 e_demoman bind f6 e_spy bind f7 e_medic bind f8 e_soldier bind f9 e_hwguy alias +f_disg "bind f1 a_scout; bind f2 a_sniper; bind f3 a_pyro; bind f4 a_engineer; bind f5 a_demoman; bind f6 a_spy; bind f7 a_medic; bind f8 a_soldier; bind f9 a_hwguy;dotxhaircolor;dotxhairtype" alias -f_disg "bind f1 e_scout; bind f2 e_sniper; bind f3 e_pyro; bind f4 e_engineer; bind f5 e_demoman; bind f6 e_spy; bind f7 e_medic; bind f8 e_soldier; bind f9 e_hwguy;dotxhaircolor;dotxhairtype" bind MOUSE4 +f_disg //disguise slot1 bind "b" +slot1_disguiser alias +slot1_disguiser "slot1;lastdisguise" alias -slot1_disguiser "lastinv;dotxhaircolor" //disguise slot2 bind "n" +slot2_disguiser alias +slot2_disguiser "slot2;lastdisguise" alias -slot2_disguiser "lastinv;dotxhaircolor" //disguise slot3 bind "m" +slot3_disguiser alias +slot3_disguiser "slot3;lastdisguise" alias -slot3_disguiser "lastinv;dotxhaircolor"
|
|
|
|
|
|
|
#820 |
![]() Join Date: Aug 2011
Reputation: 53
Posts: 459
|
Thanks! Works perfectly, +rep.
EDIT: Actually, this might be a nice script to put in the OP since it combines the disguise script, Virus' viewmodel script for quickswitch, disguise weapon switchers, and now the crosshair script (thanks again!). Here's a version with the class disguises on F1-F9 in their original positions, and a couple of keys rebound to more common choices: Code:
bind "q" "switcher" bind "mouse2" +watch bind w +fw bind s +bw bind d +mr bind a +ml //========================================================= alias dotxhairtype "dotxhairtypeb" alias dotxhairtypeb "cl_crosshair_file crosshair1;cl_crosshair_scale 30;alias dotxhairtype dotxhairtyper" alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 10;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 +switch_xhair "switcher;dotxhaircolor;dotxhairtype" alias -switch_xhair "dotxhaircolor;dotxhairtype alias +fw "+forward;dotxhaircolor" alias -fw "-forward;dotxhaircolor" alias +bw "+back;dotxhaircolor" alias -bw "-back;dotxhaircolor" alias +mr "+moveright;dotxhaircolor" alias -mr "-moveright;dotxhaircolor" alias +ml "+moveleft;dotxhaircolor" alias -ml "-moveleft;dotxhaircolor" alias knife_vm_mode "bind mouse1 +viewmodel_knife" alias amby_vm_mode "bind mouse1 +viewmodel_amby" alias sap_vm_mode "bind mouse1 +viewmodel_sap" alias +viewmodel_knife "+attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias -viewmodel_knife "-attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias +viewmodel_amby "+attack;r_drawviewmodel 0;dotxhaircolor;dotxhairtype" alias -viewmodel_amby "-attack;r_drawviewmodel 0;dotxhaircolor;dotxhairtype" alias +viewmodel_sap "+attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias -viewmodel_sap "-attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode;dotxhaircolor" alias equip_knife2amby "equip_knife;alias switcher equip_amby2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife" alias equip_knife2sap "equip_knife;alias switcher equip_sap2knife;bind 2 equip_sap2knife;bind 3 equip_knife;bind 1 equip_amby2knife" alias equip_amby "slot1;r_drawviewmodel 1;amby_vm_mode;dotxhaircolor" alias equip_amby2sap "equip_amby;alias switcher equip_sap2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby" alias equip_amby2knife "equip_amby;alias switcher equip_knife2amby;bind 2 equip_sap2amby;bind 3 equip_knife2amby;bind 1 equip_amby" alias equip_sap "slot2;r_drawviewmodel 1;sap_vm_mode;dotxhaircolor" alias equip_sap2knife "equip_sap;alias switcher equip_knife2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap" alias equip_sap2amby "equip_sap;alias switcher equip_amby2sap;bind 2 equip_sap;bind 3 equip_knife2sap;bind 1 equip_amby2sap" alias +watch "+attack2;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" alias -watch "-attack2;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" equip_knife2amby alias e_scout "disguise 1 -1; play vo\scout_yes01;dotxhaircolor" alias e_sniper "disguise 2 -1; play vo\sniper_yes03;dotxhaircolor" alias e_soldier "disguise 3 -1; play vo\soldier_yes04;dotxhaircolor" alias e_demoman "disguise 4 -1; play vo\demoman_yes01;dotxhaircolor" alias e_medic "disguise 5 -1; play vo\medic_yes03;dotxhaircolor" alias e_hwguy "disguise 6 -1; play vo\heavy_yes03;dotxhaircolor" alias e_pyro "disguise 7 -1; play vo\pyro_moveup01;dotxhaircolor" alias e_spy "disguise 8 -1; play vo\spy_yes02;dotxhaircolor" alias e_engineer "disguise 9 -1; play vo\engineer_yes03;dotxhaircolor" alias a_scout "disguise 1 -2; play vo\scout_no02;dotxhaircolor" alias a_sniper "disguise 2 -2; play vo\sniper_no01;dotxhaircolor" alias a_soldier "disguise 3 -2; play vo\soldier_no02;dotxhaircolor" alias a_demoman "disguise 4 -2; play vo\demoman_no03;dotxhaircolor" alias a_medic "disguise 5 -2; play vo\medic_no01;dotxhaircolor" alias a_hwguy "disguise 6 -2; play vo\heavy_no03;dotxhaircolor" alias a_pyro "disguise 7 -2; play vo\pyro_no01;dotxhaircolor" alias a_spy "disguise 8 -2; play vo\spy_no03;dotxhaircolor" alias a_engineer "disguise 9 -2; play vo\engineer_no01;dotxhaircolor" bind f1 e_scout bind f2 e_soldier bind f3 e_pyro bind f4 e_demoman bind f5 e_hwguy bind f6 e_engineer bind f7 e_medic bind f8 e_sniper bind f9 e_spy alias +f_disg "bind f1 a_scout; bind f2 a_soldier; bind f3 a_pyro; bind f4 a_demoman; bind f5 a_demoman; bind f6 a_engineer; bind f7 a_medic; bind f8 a_sniper; bind f9 a_spy;dotxhaircolor;dotxhairtype" alias -f_disg "bind f1 e_scout; bind f2 e_soldier; bind f3 e_pyro; bind f4 e_demoman; bind f5 e_hwguy; bind f6 e_engineer; bind f7 e_medic; bind f8 e_sniper; bind f9 e_spy;dotxhaircolor;dotxhairtype" bind t +f_disg //disguise slot1 bind "b" +slot1_disguiser alias +slot1_disguiser "slot1;lastdisguise" alias -slot1_disguiser "lastinv;dotxhaircolor" //disguise slot2 bind "n" +slot2_disguiser alias +slot2_disguiser "slot2;lastdisguise" alias -slot2_disguiser "lastinv;dotxhaircolor" //disguise slot3 bind "m" +slot3_disguiser alias +slot3_disguiser "slot3;lastdisguise" alias -slot3_disguiser "lastinv;dotxhaircolor" Last edited by AlanStatham: 05-01-2012 at 06:51 PM. |
|
|
|
|
|
#821 |
|
Join Date: Aug 2011
Reputation: 0
Posts: 5
|
Hey guys, can anyone fix this for me im not so good at scripting :3
well i want: The color crosshair, view model hider for the revolver/amby, And a button to toggle zoom (fov changer) (the button wanted it "ALT") My default sens is 4, my default fov is 90 Thx for help. Btw: iff you could add, can you add the auto disguise with toggle example "H" to toggle it so when it is on iff i shoot or knife it will use last disguise thingy, thx ![]() Btw add my steam: Pepsimaxl to tell me iff you could do this for me Btw: iff you could i want it so the colour only flashes like green when the amby will headshot and red when it wont headshot
Last edited by Pepsimaxl: 05-02-2012 at 12:13 PM. |
|
|
|
|
|
#822 |
|
Join Date: Aug 2011
Reputation: 0
Posts: 5
|
could anyone fix this? when i go in game i dont see any crosshair
![]() btw: i want also my crosshair to be scale 26, and when i shoot it should be 26 iff you know what i mean? so the aim dont get big Code:
cl_crosshair_file = crosshair5
cl_crosshair_scale = 26
// 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 16;alias dotxhairtype dotxhairtyper" // tweak crosshair_scale values to your liking
alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 26;alias dotxhairtype dotxhairtypeb"
bind mouse1 +crosshairfire
alias +crosshairfire "+attack;dotxhairtype;spec_next"
alias -crosshairfire "-attack;dotxhairtype"
//=========================================================
//Ambassador Zoom Script
alias "+ambyzoom" "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 70; sensitivity 2.0"
alias "-ambyzoom" "fov_desired 90; viewmodel_fov 85; viewmodel_fov_demo 70; sensitivity 4.0"
bind "ALT" "+ambyzoom"
//Ambassador Cooldown Color Change
//Changes the color of the crosshair for a brief period of time, the exact time it takes for the Ambassador to cool off
alias +AmbyHot "+attack; cl_crosshair_blue 0; cl_crosshair_green 100; cl_crosshair_red 255;"
alias -AmbyHot "-attack; wait 165; cl_crosshair_blue 200; cl_crosshair_green 175; cl_crosshair_red 0"
bind mouse1 +ambyhot
// 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 "2" +equip_sap // Key/button for sapper
bind "3" +equip_knife // Key/button for knife
bind "1" +equip_amby // Key/button for ambassador
bind "mouse2" "+watch;spec_prev" // Key for watch (mouse2 default)
//re-bind mouse1
alias knife_vm_mode "bind mouse1 +viewmodel_knife" // binds mouse1 to turn viewmodel on when attacking (for knife knife)
alias amby_vm_mode "bind mouse1 +viewmodel_amby" // binds mouse1 to turn viewmodel off when attacking (for amby)
alias sap_vm_mode "bind mouse1 +viewmodel_sap" // binds mouse 1 to turn viewmodel on when attacking and off when not (for sapper)
// causes viewmodel to go off or on when you shoot
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 +watch "+attack2;r_drawviewmodel 1" // watch up/cloak on/secondary attack + viewmodels on
alias -watch "-attack2;r_drawviewmodel 1" // viewmodels on again as safeguard
// // // // // // // // // // // //
echo "Viewmodel script loaded" // confirms script loaded in the console
|
|
|
|
|
|
#823 | |
![]() Join Date: Feb 2012
Reputation: 12
Posts: 132
|
Quote:
would you still like me to make it for you? |
|
|
|
|
|
|
#824 | |
![]() Join Date: Feb 2012
Reputation: 12
Posts: 132
|
Quote:
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 26;alias dotxhairtype dotxhairtyper" // tweak crosshair_scale values to your liking
alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 16;alias dotxhairtype dotxhairtypeb"
bind mouse1 +crosshairfire
alias +crosshairfire "+attack;dotxhairtype;spec_next"
alias -crosshairfire "-attack;dotxhairtype"
//=========================================================
//Ambassador Zoom Script
alias "+ambyzoom" "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 70; sensitivity 2.0"
alias "-ambyzoom" "fov_desired 90; viewmodel_fov 85; viewmodel_fov_demo 70; sensitivity 4.0"
bind "ALT" "+ambyzoom"
// 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 "2" +equip_sap // Key/button for sapper
bind "3" +equip_knife // Key/button for knife
bind "1" +equip_amby // Key/button for ambassador
bind "mouse2" "+watch;spec_prev" // Key for watch (mouse2 default)
//re-bind mouse1
alias knife_vm_mode "bind mouse1 +viewmodel_knife" // binds mouse1 to turn viewmodel on when attacking (for knife knife)
alias amby_vm_mode "bind mouse1 +viewmodel_amby" // binds mouse1 to turn viewmodel off when attacking (for amby)
alias sap_vm_mode "bind mouse1 +viewmodel_sap" // binds mouse 1 to turn viewmodel on when attacking and off when not (for sapper)
// causes viewmodel to go off or on when you shoot
alias +viewmodel_knife "+attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype;spec_next" // attacks, turns viewmodel on
alias -viewmodel_knife "-attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype" // finishes atack, turns viewmodel on again as safeguard
alias +viewmodel_amby "+attack;r_drawviewmodel 0;dotxhaircolor;dotxhairtype;cl_crosshair_blue 0; cl_crosshair_green 100; cl_crosshair_red 255;spec_next" // attacks, turns viewmodel off
alias -viewmodel_amby "-attack;r_drawviewmodel 0;dotxhaircolor;dotxhairtype;wait 165; cl_crosshair_blue 200; cl_crosshair_green 175; cl_crosshair_red 0" // finishes attack, turns viewmodel off again as a safeguard
alias +viewmodel_sap "+attack;r_drawviewmodel 1;dotxhaircolor;dotxhairtype;spec_next" // shows sapper when sapping
alias -viewmodel_sap "-attack;r_drawviewmodel 0;dotxhaircolor;dotxhairtype" // 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 +watch "+attack2;r_drawviewmodel 1" // watch up/cloak on/secondary attack + viewmodels on
alias -watch "-attack2;r_drawviewmodel 1" // viewmodels on again as safeguard
// // // // // // // // // // // //
echo "Viewmodel script loaded" // confirms script loaded in the console
|
|
|
|
|
|
|
#825 | |
|
Join Date: Aug 2011
Reputation: 0
Posts: 5
|
Quote:
i dident mean hack but a timer that shows when you will headshot Example this ( Code:
//Ambassador Zoom Script alias "+ambyzoom" "fov_desired 75; viewmodel_fov 54; viewmodel_fov_demo 70; sensitivity 2.0" alias "-ambyzoom" "fov_desired 90; viewmodel_fov 85; viewmodel_fov_demo 70; sensitivity 4.0" bind "ALT" "+ambyzoom" |
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|