Upvote Upvoted 1 Downvote Downvoted
editing cfg
posted in Q/A Help
1
#1
0 Frags +

how do I edit my cfg so that specific slot viewmodels are on and off? i want to do this for all classes. i can't find any command for each slot, so how do i go about doing this? thanks

how do I edit my cfg so that specific slot viewmodels are on and off? i want to do this for all classes. i can't find any command for each slot, so how do i go about doing this? thanks
2
#2
1 Frags +

Assuming you are using the number keys to change weapon;

bind "1" "slot1; r_drawviewmodel 0"
bind "2" "slot2; r_drawviewmodel 1"
bind "3" "slot3; r_drawviewmodel 1"

This has the primary without a viewmodel, and the secondary and melee with a viewmodel.

You then put this is your class configs, editing each one as you wish

Assuming you are using the number keys to change weapon;

bind "1" "slot1; r_drawviewmodel 0"
bind "2" "slot2; r_drawviewmodel 1"
bind "3" "slot3; r_drawviewmodel 1"

This has the primary without a viewmodel, and the secondary and melee with a viewmodel.

You then put this is your class configs, editing each one as you wish
3
#3
-2 Frags +

This is my classes cfg I use different for each class

alias nadelauncher "slot1;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW1"
alias stickylauncher "slot2;sensitivity 2.5;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW2"
alias bottle "slot3;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;MW3"

alias Q1 "stickylauncher"
alias Q2 "nadelauncher"
alias MW1 "bind mwheelup bottle;bind mwheeldown stickylauncher;bind q Q1"
alias MW2 "bind mwheelup nadelauncher;bind mwheeldown bottle;bind q Q2"
alias MW3 "bind mwheelup stickylauncher;bind mwheeldown nadelauncher"

cl_autoreload 1

bind 1 nadelauncher
bind 2 stickylauncher
bind 3 bottle
bind 4 slot4
bind 5 slot5
This is my classes cfg I use different for each class
[quote]alias nadelauncher "slot1;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW1"
alias stickylauncher "slot2;sensitivity 2.5;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW2"
alias bottle "slot3;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;MW3"

alias Q1 "stickylauncher"
alias Q2 "nadelauncher"
alias MW1 "bind mwheelup bottle;bind mwheeldown stickylauncher;bind q Q1"
alias MW2 "bind mwheelup nadelauncher;bind mwheeldown bottle;bind q Q2"
alias MW3 "bind mwheelup stickylauncher;bind mwheeldown nadelauncher"

cl_autoreload 1

bind 1 nadelauncher
bind 2 stickylauncher
bind 3 bottle
bind 4 slot4
bind 5 slot5
[/quote]
4
#4
1 Frags +
Slayer6This is my classes cfg I use different for each classalias nadelauncher "slot1;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW1"
alias stickylauncher "slot2;sensitivity 2.5;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW2"
alias bottle "slot3;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;MW3"

alias Q1 "stickylauncher"
alias Q2 "nadelauncher"
alias MW1 "bind mwheelup bottle;bind mwheeldown stickylauncher;bind q Q1"
alias MW2 "bind mwheelup nadelauncher;bind mwheeldown bottle;bind q Q2"
alias MW3 "bind mwheelup stickylauncher;bind mwheeldown nadelauncher"

cl_autoreload 1

bind 1 nadelauncher
bind 2 stickylauncher
bind 3 bottle
bind 4 slot4
bind 5 slot5

Seems really messy, like you never change your viewmodel setting or what style of crosshair you use so why put that in for each alias? Also seems weird that you only put viewmodel_fov 82 on 2/3 ones.

[quote=Slayer6]This is my classes cfg I use different for each class
[quote]alias nadelauncher "slot1;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW1"
alias stickylauncher "slot2;sensitivity 2.5;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW2"
alias bottle "slot3;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;MW3"

alias Q1 "stickylauncher"
alias Q2 "nadelauncher"
alias MW1 "bind mwheelup bottle;bind mwheeldown stickylauncher;bind q Q1"
alias MW2 "bind mwheelup nadelauncher;bind mwheeldown bottle;bind q Q2"
alias MW3 "bind mwheelup stickylauncher;bind mwheeldown nadelauncher"

cl_autoreload 1

bind 1 nadelauncher
bind 2 stickylauncher
bind 3 bottle
bind 4 slot4
bind 5 slot5
[/quote][/quote]

Seems really messy, like you never change your viewmodel setting or what style of crosshair you use so why put that in for each alias? Also seems weird that you only put viewmodel_fov 82 on 2/3 ones.
5
#5
1 Frags +

broesel's crosshair switcher is p good for that

broesel's crosshair switcher is p good for that
6
#6
0 Frags +
BenroadsSlayer6This is my classes cfg I use different for each classalias nadelauncher "slot1;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW1"
alias stickylauncher "slot2;sensitivity 2.5;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW2"
alias bottle "slot3;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;MW3"

alias Q1 "stickylauncher"
alias Q2 "nadelauncher"
alias MW1 "bind mwheelup bottle;bind mwheeldown stickylauncher;bind q Q1"
alias MW2 "bind mwheelup nadelauncher;bind mwheeldown bottle;bind q Q2"
alias MW3 "bind mwheelup stickylauncher;bind mwheeldown nadelauncher"

cl_autoreload 1

bind 1 nadelauncher
bind 2 stickylauncher
bind 3 bottle
bind 4 slot4
bind 5 slot5

Seems really messy, like you never change your viewmodel setting or what style of crosshair you use so why put that in for each alias? Also seems weird that you only put viewmodel_fov 82 on 2/3 ones.

This is my demoman config! For each class i use different config. As if it's messy or not ingame works perfectly so no problem there!

[quote=Benroads][quote=Slayer6]This is my classes cfg I use different for each class
[quote]alias nadelauncher "slot1;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW1"
alias stickylauncher "slot2;sensitivity 2.5;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;viewmodel_fov 82;MW2"
alias bottle "slot3;sensitivity 2;cl_crosshair_file crosshair5;cl_crosshair_scale 15;cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;r_drawviewmodel 1;MW3"

alias Q1 "stickylauncher"
alias Q2 "nadelauncher"
alias MW1 "bind mwheelup bottle;bind mwheeldown stickylauncher;bind q Q1"
alias MW2 "bind mwheelup nadelauncher;bind mwheeldown bottle;bind q Q2"
alias MW3 "bind mwheelup stickylauncher;bind mwheeldown nadelauncher"

cl_autoreload 1

bind 1 nadelauncher
bind 2 stickylauncher
bind 3 bottle
bind 4 slot4
bind 5 slot5
[/quote][/quote]

Seems really messy, like you never change your viewmodel setting or what style of crosshair you use so why put that in for each alias? Also seems weird that you only put viewmodel_fov 82 on 2/3 ones.[/quote]
This is my demoman config! For each class i use different config. As if it's messy or not ingame works perfectly so no problem there!
7
#7
0 Frags +

bind q "slot1;viewmodel_fov 0"
bind e "slot2;viewmodel_fov 0"
bind f "slot3;viewmodel_fov 90"

Too much Quake Live

bind q "slot1;viewmodel_fov 0"
bind e "slot2;viewmodel_fov 0"
bind f "slot3;viewmodel_fov 90"

Too much Quake Live
8
#8
1 Frags +

BindToggle maybe?

BindToggle KEY "r_drawviewmodel"
BindToggle maybe?
[quote]BindToggle KEY "r_drawviewmodel"[/quote]
9
#9
0 Frags +
CommanderCallumAssuming you are using the number keys to change weapon;

bind "1" "slot1; r_drawviewmodel 0"
bind "2" "slot2; r_drawviewmodel 1"
bind "3" "slot3; r_drawviewmodel 1"

This has the primary without a viewmodel, and the secondary and melee with a viewmodel.

You then put this is your class configs, editing each one as you wish

thanks <3

[quote=CommanderCallum]Assuming you are using the number keys to change weapon;

bind "1" "slot1; r_drawviewmodel 0"
bind "2" "slot2; r_drawviewmodel 1"
bind "3" "slot3; r_drawviewmodel 1"

This has the primary without a viewmodel, and the secondary and melee with a viewmodel.

You then put this is your class configs, editing each one as you wish[/quote]

thanks <3
Please sign in through STEAM to post a comment.