Upvote Upvoted 0 Downvote Downvoted
Need help with a Config
posted in Q/A Help
1
#1
0 Frags +

So i wanted to make a script like this one:

bind "e" "switcher"
bind "mouse2" "+watch;spec_prev"

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;spec_next"
alias -viewmodel_knife "-attack;r_drawviewmodel 1"
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0"
alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next"
alias -viewmodel_sap "-attack;r_drawviewmodel 1"

alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"

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"

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"

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"
alias -watch "-attack2;r_drawviewmodel 1"

equip_knife2amby


But the problem is that it only works for the Spy's Revolver but I wanted it to work for the Soldier's Secondary Weapon as well, and since im kind of a noob with scripts i seek help here :P
For those who dont know this scripts makes the Ambassator desapear as soon as I Press M1 and when i change weapon the viewmodels reapper

So i wanted to make a script like this one:

[size=11]bind "e" "switcher"
bind "mouse2" "+watch;spec_prev"


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;spec_next"
alias -viewmodel_knife "-attack;r_drawviewmodel 1"
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0"
alias +viewmodel_sap "+attack;r_drawviewmodel 1;spec_next"
alias -viewmodel_sap "-attack;r_drawviewmodel 1"

alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"

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"

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"

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"
alias -watch "-attack2;r_drawviewmodel 1"

equip_knife2amby

[/size]
But the problem is that it only works for the Spy's Revolver but I wanted it to work for the Soldier's Secondary Weapon as well, and since im kind of a noob with scripts i seek help here :P
For those who dont know this scripts makes the Ambassator desapear as soon as I Press M1 and when i change weapon the viewmodels reapper
2
#2
3 Frags +

bind "e" "switcher"
bind "mouse2" "+watch;spec_prev"

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;spec_next"
alias -viewmodel_knife "-attack;r_drawviewmodel 1"
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0"
alias +viewmodel_sap "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_sap "-attack;r_drawviewmodel 0"

alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"

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"

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"

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"
alias -watch "-attack2;r_drawviewmodel 1"

equip_knife2amby

done, that should work

bind "e" "switcher"
bind "mouse2" "+watch;spec_prev"

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;spec_next"
alias -viewmodel_knife "-attack;r_drawviewmodel 1"
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0"
alias +viewmodel_sap "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_sap "-attack;r_drawviewmodel 0"

alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"

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"

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"

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"
alias -watch "-attack2;r_drawviewmodel 1"

equip_knife2amby


done, that should work
3
#3
-6 Frags +
sevennnbind "e" "switcher"
bind "mouse2" "+watch;spec_prev"

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;spec_next"
alias -viewmodel_knife "-attack;r_drawviewmodel 1"
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0"
alias +viewmodel_sap "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_sap "-attack;r_drawviewmodel 0"

alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"

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"

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"

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"
alias -watch "-attack2;r_drawviewmodel 1"

equip_knife2amby

done, that should work

Doesnt but thanks for trying

[quote=sevennn]bind "e" "switcher"
bind "mouse2" "+watch;spec_prev"

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;spec_next"
alias -viewmodel_knife "-attack;r_drawviewmodel 1"
alias +viewmodel_amby "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_amby "-attack;r_drawviewmodel 0"
alias +viewmodel_sap "+attack;r_drawviewmodel 0;spec_next"
alias -viewmodel_sap "-attack;r_drawviewmodel 0"

alias equip_knife "slot3;r_drawviewmodel 1;knife_vm_mode"

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"

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"

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"
alias -watch "-attack2;r_drawviewmodel 1"

equip_knife2amby


done, that should work[/quote]

Doesnt but thanks for trying
4
#4
7 Frags +
AleX
Doesnt but thanks for trying

ya it does

[quote=AleX]

Doesnt but thanks for trying[/quote]
ya it does
5
#5
-5 Frags +
sevennnAleX
Doesnt but thanks for trying
ya it does

I dont see the shotgun when i use it , i want to to show the shotgun until i shoot before it desappears

[quote=sevennn][quote=AleX]

Doesnt but thanks for trying[/quote]
ya it does[/quote]

I dont see the shotgun when i use it , i want to to show the shotgun until i shoot before it desappears
6
#6
5 Frags +
AleXsevennnAleX
Doesnt but thanks for trying
ya it does

I dont see the shotgun when i use it , i want to to show the shotgun until i shoot before it desappears

that's kinda what it did for me

[quote=AleX][quote=sevennn][quote=AleX]

Doesnt but thanks for trying[/quote]
ya it does[/quote]

I dont see the shotgun when i use it , i want to to show the shotgun until i shoot before it desappears[/quote]
that's kinda what it did for me
7
#7
4 Frags +

Having binds within your aliases is never a good idea. Just add me and I'll have a look tomorrow. Still have a similar script lying around that I believe does exactly what youre trying to do

Having binds within your aliases is never a good idea. Just add me and I'll have a look tomorrow. Still have a similar script lying around that I believe does exactly what youre trying to do
8
#8
-5 Frags +
KhanTF2Having binds within your aliases is never a good idea. Just add me and I'll have a look tomorrow. Still have a similar script lying around that I believe does exactly what youre trying to do

Got it to work but thanks for your help :P But still copy it here in case anyone need something similiar to me and reads this

[quote=KhanTF2]Having binds within your aliases is never a good idea. Just add me and I'll have a look tomorrow. Still have a similar script lying around that I believe does exactly what youre trying to do[/quote]

Got it to work but thanks for your help :P But still copy it here in case anyone need something similiar to me and reads this
9
#9
-4 Frags +

This is Stibbity-Stabbity The Pro Spy Main's config?

This is Stibbity-Stabbity The Pro Spy Main's config?
Please sign in through STEAM to post a comment.