Ej guys,
does anyone of you smart people know why this doesn't work?
Thanks
//Viewmodel show/hide
-----------------------------
alias slot_1 "slot1; r_drawviewmodel 0"
alias slot_2 "slot2; r_drawviewmodel 1”
alias slot_3 "slot3; r_drawviewmodel 1"
bind “1” slot_1
bind “2” slot_2
bind “3” slot_3
Ej guys,
does anyone of you smart people know why this doesn't work?
Thanks
//Viewmodel show/hide
-----------------------------
alias slot_1 "slot1; r_drawviewmodel 0"
alias slot_2 "slot2; r_drawviewmodel 1”
alias slot_3 "slot3; r_drawviewmodel 1"
bind “1” slot_1
bind “2” slot_2
bind “3” slot_3
I dunno but here's mine which does work
bind 1 slot1settings
bind 2 slot2settings
bind 3 slot3settings
alias "slot1settings" "slot1; r_drawviewmodel 0"
alias "slot2settings" "slot2; r_drawviewmodel 1"
alias "slot3settings" "slot3; r_drawviewmodel 1"
Try putting it in your class configs maybe
I dunno but here's mine which does work
[code]bind 1 slot1settings
bind 2 slot2settings
bind 3 slot3settings
alias "slot1settings" "slot1; r_drawviewmodel 0"
alias "slot2settings" "slot2; r_drawviewmodel 1"
alias "slot3settings" "slot3; r_drawviewmodel 1"[/code]
Try putting it in your class configs maybe
robbEbind “1” slot_1
bind “2” slot_2
bind “3” slot_3
should be bind 1 "slot_1" etc. I think
[quote=robbE]
bind “1” slot_1
bind “2” slot_2
bind “3” slot_3[/quote]
should be bind 1 "slot_1" etc. I think
check to make sure viewmodelfov is Not 0
check to make sure viewmodelfov is Not 0
Ah, already found another working viewmodel script thanks anyways.
Ah, already found another working viewmodel script thanks anyways.
” vs "
this might matter
idk
” vs "
this might matter
idk
where da fuck is ” on my keyboard
btw that is most definitely the problem
where da fuck is ” on my keyboard
btw that is most definitely the problem
omniI dunno but here's mine which does workbind 1 slot1settings
bind 2 slot2settings
bind 3 slot3settings
alias "slot1settings" "slot1; r_drawviewmodel 0"
alias "slot2settings" "slot2; r_drawviewmodel 1"
alias "slot3settings" "slot3; r_drawviewmodel 1"
Try putting it in your class configs maybe
*dat bump doe* tried this, aint workin
[quote=omni]I dunno but here's mine which does work
[code]bind 1 slot1settings
bind 2 slot2settings
bind 3 slot3settings
alias "slot1settings" "slot1; r_drawviewmodel 0"
alias "slot2settings" "slot2; r_drawviewmodel 1"
alias "slot3settings" "slot3; r_drawviewmodel 1"[/code]
Try putting it in your class configs maybe[/quote]
*dat bump doe* tried this, aint workin
bind "1" "slot1; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "2" "slot2; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "3" "slot3; viewmodel_fov 110; r_drawviewmodel 1"
Put this in your autoexec if you want it to be the same across all classes, or in individual class configs if you want variations. Modify the values to your personal preference.
bind "1" "slot1; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "2" "slot2; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "3" "slot3; viewmodel_fov 110; r_drawviewmodel 1"
Put this in your autoexec if you want it to be the same across all classes, or in individual class configs if you want variations. Modify the values to your personal preference.
[url=http://clugu.com/tf2mate/]TF2Mate[/url]
those " things don't matter at all. at least, not for singular.
you can just do: bind 1 slot1
and it will work just fine.
you will only need a " if you make a string of multiple vars
like: bind 1 "slot1; r_drawviewmodel 0
same goes for aliasing.
for example, i have:
bind mouse1 +att1
and it works flawlessly.
Zetsu*dat bump doe* tried this, aint workin
well, there's nothing wrong with that script.
you have something else that's blocking it from working properly.
those " things don't matter at all. at least, not for singular.
you can just do: bind 1 slot1
and it will work just fine.
you will only need a " if you make a string of multiple vars
like: bind 1 "slot1; r_drawviewmodel 0
same goes for aliasing.
for example, i have:
bind mouse1 +att1
and it works flawlessly.
[quote=Zetsu]
*dat bump doe* tried this, aint workin[/quote]
well, there's nothing wrong with that script.
you have something else that's blocking it from working properly.
There is really no need for using aliases at all unless you want to also use quickswitch ("lastinv") functionality.
There is really no need for using aliases at all unless you want to also use quickswitch ("lastinv") functionality.
nopebind "1" "slot1; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "2" "slot2; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "3" "slot3; viewmodel_fov 110; r_drawviewmodel 1"
Put this in your autoexec if you want it to be the same across all classes, or in individual class configs if you want variations. Modify the values to your personal preference.
Viewmodel_fov 0 doesn't work anymore.
[quote=nope]bind "1" "slot1; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "2" "slot2; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "3" "slot3; viewmodel_fov 110; r_drawviewmodel 1"
Put this in your autoexec if you want it to be the same across all classes, or in individual class configs if you want variations. Modify the values to your personal preference.[/quote]
Viewmodel_fov 0 doesn't work anymore.
http://code.google.com/p/broesels-crosshair-switcher/
Been using this for several years already and it is guaranteed to work.
http://code.google.com/p/broesels-crosshair-switcher/
Been using this for several years already and it is guaranteed to work.
http://pastebin.com/x1bUS1WY
viewmodel switcher featuring quickswitch support
not made by me but i forget who sorry :(
http://pastebin.com/x1bUS1WY
viewmodel switcher featuring quickswitch support
not made by me but i forget who sorry :(
BucakeZetsu*dat bump doe* tried this, aint workin
well, there's nothing wrong with that script.
you have something else that's blocking it from working properly.
any idea what it could be?
[quote=Bucake]
[quote=Zetsu]
*dat bump doe* tried this, aint workin[/quote]
well, there's nothing wrong with that script.
you have something else that's blocking it from working properly.[/quote]
any idea what it could be?
it could be that your binds are getting overwritten,
it could be that your viewmodel_fov is set to such a low value, that r_drawviewmodel 1 will still not show a model.
there's nothing else i can think of right now..
if you're sure that your binds aren't getting overwritten,
you could try a script like the one 'nope' posted.
it could be that your binds are getting overwritten,
it could be that your viewmodel_fov is set to such a low value, that r_drawviewmodel 1 will still not show a model.
there's nothing else i can think of right now..
if you're sure that your binds aren't getting overwritten,
you could try a script like the one 'nope' posted.
Bucakeit could be that your binds are getting overwritten,
yeah it was it, fixed it already thanks. On the other hand, i also use that crouchjump script on scout which sometimes works and sometimes doesnt.
[quote=Bucake]it could be that your binds are getting overwritten,
[/quote]
yeah it was it, fixed it already thanks. On the other hand, i also use that crouchjump script on scout which sometimes works and sometimes doesnt.
If you'd like a viewmodel script that works with Q as well as 1,2,3, put this into your autoexec.cfg...
// Aliases - setting up the script
alias vm1 "r_drawviewmodel 1" // Default Primary Viewmodels
alias vm2 "r_drawviewmodel 1" // Default Secondary Viewmodels
alias vm3 "r_drawviewmodel 1" // Default Melee Viewmodels
alias eq_1 "eq_1f3"
alias eq_2 "eq_2f1"
alias eq_3 "eq_3f1"
alias sw ""
alias eq_1f2 "slot1;vm1;alias sw eq_2f1;alias eq_2 eq_2f1;alias eq_3 eq_3f1"
alias eq_1f3 "slot1;vm1;alias sw eq_3f1;alias eq_2 eq_2f1;alias eq_3 eq_3f1"
alias eq_2f1 "slot2;vm2;alias sw eq_1f2;alias eq_1 eq_1f2;alias eq_3 eq_3f2"
alias eq_2f3 "slot2;vm2;alias sw eq_3f2;alias eq_1 eq_1f2;alias eq_3 eq_3f2"
alias eq_3f1 "slot3;vm3;alias sw eq_1f3;alias eq_1 eq_1f3;alias eq_2 eq_2f3"
alias eq_3f2 "slot3;vm3;alias sw eq_2f3;alias eq_1 eq_1f3;alias eq_2 eq_2f3"
// Binds - binds the commands to keys
bind "1" "eq_1"
bind "2" "eq_2"
bind "3" "eq_3"
bind "q" "sw"
...and this into your class config (e.g. soldier.cfg)
alias vm1 "r_drawviewmodel 0" // View Models: Primary
alias vm2 "r_drawviewmodel 0" // View Models: Secondary
alias vm3 "r_drawviewmodel 1" // View Models: Melee
Can be made into a crosshair switcher, too.
alias vm1 "r_drawviewmodel 0;cl_crosshair_file crosshair3;cl_crosshair_scale 100;cl_crosshair_blue 50;cl_crosshair_green 25;cl_crosshair_red 10" // View Models: Primary
alias vm2 "r_drawviewmodel 0;cl_crosshair_file crosshair5;cl_crosshair_scale 40;cl_crosshair_blue 25;cl_crosshair_green 100;cl_crosshair_red 100" // View Models: Secondary
alias vm3 "r_drawviewmodel 1;cl_crosshair_file crosshair2;cl_rosshair_scale 5000;cl_crosshair_blue 60;cl_crosshair_green 69;cl_crosshair_red 255" // View Models: Melee
If you'd like a viewmodel script that works with Q as well as 1,2,3, put this into your autoexec.cfg...
[code]// Aliases - setting up the script
alias vm1 "r_drawviewmodel 1" // Default Primary Viewmodels
alias vm2 "r_drawviewmodel 1" // Default Secondary Viewmodels
alias vm3 "r_drawviewmodel 1" // Default Melee Viewmodels
alias eq_1 "eq_1f3"
alias eq_2 "eq_2f1"
alias eq_3 "eq_3f1"
alias sw ""
alias eq_1f2 "slot1;vm1;alias sw eq_2f1;alias eq_2 eq_2f1;alias eq_3 eq_3f1"
alias eq_1f3 "slot1;vm1;alias sw eq_3f1;alias eq_2 eq_2f1;alias eq_3 eq_3f1"
alias eq_2f1 "slot2;vm2;alias sw eq_1f2;alias eq_1 eq_1f2;alias eq_3 eq_3f2"
alias eq_2f3 "slot2;vm2;alias sw eq_3f2;alias eq_1 eq_1f2;alias eq_3 eq_3f2"
alias eq_3f1 "slot3;vm3;alias sw eq_1f3;alias eq_1 eq_1f3;alias eq_2 eq_2f3"
alias eq_3f2 "slot3;vm3;alias sw eq_2f3;alias eq_1 eq_1f3;alias eq_2 eq_2f3"
// Binds - binds the commands to keys
bind "1" "eq_1"
bind "2" "eq_2"
bind "3" "eq_3"
bind "q" "sw"[/code]
...and this into your class config (e.g. soldier.cfg)
[code]alias vm1 "r_drawviewmodel 0" // View Models: Primary
alias vm2 "r_drawviewmodel 0" // View Models: Secondary
alias vm3 "r_drawviewmodel 1" // View Models: Melee[/code]
Can be made into a crosshair switcher, too.
[code]alias vm1 "r_drawviewmodel 0;cl_crosshair_file crosshair3;cl_crosshair_scale 100;cl_crosshair_blue 50;cl_crosshair_green 25;cl_crosshair_red 10" // View Models: Primary
alias vm2 "r_drawviewmodel 0;cl_crosshair_file crosshair5;cl_crosshair_scale 40;cl_crosshair_blue 25;cl_crosshair_green 100;cl_crosshair_red 100" // View Models: Secondary
alias vm3 "r_drawviewmodel 1;cl_crosshair_file crosshair2;cl_rosshair_scale 5000;cl_crosshair_blue 60;cl_crosshair_green 69;cl_crosshair_red 255" // View Models: Melee[/code]
Frost_Bitenopebind "1" "slot1; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "2" "slot2; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "3" "slot3; viewmodel_fov 110; r_drawviewmodel 1"
Put this in your autoexec if you want it to be the same across all classes, or in individual class configs if you want variations. Modify the values to your personal preference.
Viewmodel_fov 0 doesn't work anymore.
No but viewmodel_fov 0.1 still does.
[quote=Frost_Bite][quote=nope]bind "1" "slot1; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "2" "slot2; viewmodel_fov 0.1; r_drawviewmodel 0"
bind "3" "slot3; viewmodel_fov 110; r_drawviewmodel 1"
Put this in your autoexec if you want it to be the same across all classes, or in individual class configs if you want variations. Modify the values to your personal preference.[/quote]
Viewmodel_fov 0 doesn't work anymore.[/quote]
No but viewmodel_fov 0.1 still does.