Upvote Upvoted 1 Downvote Downvoted
viewmodels cfg
1
#1
0 Frags +

can somebody create a script or something to place in my autoexec that will toggle viewmodels on and off using only one key? (maybe one exists, im computer illiterate though so I dunno)

can somebody create a script or something to place in my autoexec that will toggle viewmodels on and off using only one key? (maybe one exists, im computer illiterate though so I dunno)
2
#2
1 Frags +

bind "x" "incrementvar r_drawviewmodel 0 1 1; incrementvar viewmodel_fov 0 90 90"

bind "x" "incrementvar r_drawviewmodel 0 1 1; incrementvar viewmodel_fov 0 90 90"
3
#3
11 Frags +

bindtoggle x r_drawviewmodel

bindtoggle x r_drawviewmodel
4
#4
0 Frags +

Just because I just had this open

alias toggle vm1
alias vm1 "r_drawviewmodel 0; alias toggle vm2"
alias vm2 "r_drawviewmodel 1; alias toggle vm1"
bind \ toggle
Just because I just had this open

[quote]alias toggle vm1
alias vm1 "r_drawviewmodel 0; alias toggle vm2"
alias vm2 "r_drawviewmodel 1; alias toggle vm1"
bind \ toggle
[/quote]
5
#5
0 Frags +

thanks much :D

thanks much :D
6
#6
0 Frags +

I used to do it like this but I found it's a lot easier to just figure out what classes you want viewmodels on/off for and just set up the configs. I would always end up trying to switch viewmodels on when I wanted to use them and it got fairly annoying.

I used to do it like this but I found it's a lot easier to just figure out what classes you want viewmodels on/off for and just set up the configs. I would always end up trying to switch viewmodels on when I wanted to use them and it got fairly annoying.
7
#7
28 Frags +

nah I just switch viewmodels on when I wanna pretend im in a frag movie

nah I just switch viewmodels on when I wanna pretend im in a frag movie
8
#8
0 Frags +

Dunno if I should ask here, but how can I make it so one weapon has a specific crosshair while another weapon has another crosshair?

For example, on sniper I would like to have crosshair #6, medium sized for the rifle but for SMG I'd like default.

Dunno if I should ask here, but how can I make it so one weapon has a specific crosshair while another weapon has another crosshair?

For example, on sniper I would like to have crosshair #6, medium sized for the rifle but for SMG I'd like default.
9
#9
3 Frags +

#8 Look in to Broesel's crosshair switcher

http://code.google.com/p/broesels-crosshair-switcher/

#8 Look in to Broesel's crosshair switcher

http://code.google.com/p/broesels-crosshair-switcher/
10
#10
0 Frags +
kirbyDunno if I should ask here, but how can I make it so one weapon has a specific crosshair while another weapon has another crosshair?

For example, on sniper I would like to have crosshair #6, medium sized for the rifle but for SMG I'd like default.

From my cfg that hooli did for me a long time ago:

//Crosshairs
alias wep1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep-3; alias lastwep wep1; keybind1"
alias wep2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep-1; alias lastwep wep2; keybind2"
alias wep3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep-2; alias lastwep wep3; keybind3"
alias wep-1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep2; alias lastwep wep-1; keybind-1"
alias wep-2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep3; alias lastwep wep-2; keybind-2"
alias wep-3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep1; alias lastwep wep-3; keybind-3"
alias keybind1 "alias key1 wep1; alias key2 mousedown; alias key3 mouseup"
alias keybind2 "alias key1 mouseup; alias key2 wep2; alias key3 mousedown"
alias keybind3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep3"
alias keybind-1 "alias key1 wep-1; alias key2 mousedown; alias key3 mouseup"
alias keybind-2 "alias key1 mouseup; alias key2 wep-2; alias key3 mousedown"
alias keybind-3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep-3"
alias mouseup "wep-3"
alias mousedown "wep2"
alias quickswap "lastwep"
alias lastwep "wep2"
alias key1 "wep1"
alias key2 "mousedown"
alias key3 "mouseup"
alias key4 "slot4; extrakey"
alias key5 "slot5; extrakey"
alias extrakey "alias mouseup wep-3; alias mousedown wep1; alias quickswap lastwep; alias lastwep wep3"
// DO NOT MESS WITH THE ABOVE STUFF
// EDIT THE FOLLOWING ALIASES, SEE DESCRIPTION BELOW
alias wep1com "cl_crosshair_red 000.000000;cl_crosshair_green 255.000000;cl_crosshair_blue 000.000000;cl_crosshair_file crosshair3;cl_crosshair_scale "20.0"""
alias wep2com "cl_crosshair_red 000.000000;cl_crosshair_green 255.000000;cl_crosshair_blue 000.000000;cl_crosshair_file crosshair5;cl_crosshair_scale "20.0"""
alias wep3com "cl_crosshair_red 000.000000;cl_crosshair_green 255.000000;cl_crosshair_blue 000.000000;cl_crosshair_scale "0.0"""
//BACKUP
bind MWHEELUP mouseup
bind MWHEELDOWN mousedown
bind Q quickswap
bind 1 key1
bind 2 key2
bind 3 key3
bind 4 key4
bind 5 key5

As it is, primary weapon is a green, hollow circle, secondary is a green dot, and melee is nothing.

[quote=kirby]Dunno if I should ask here, but how can I make it so one weapon has a specific crosshair while another weapon has another crosshair?

For example, on sniper I would like to have crosshair #6, medium sized for the rifle but for SMG I'd like default.[/quote]

From my cfg that hooli did for me a long time ago:

[code]//Crosshairs
alias wep1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep-3; alias lastwep wep1; keybind1"
alias wep2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep-1; alias lastwep wep2; keybind2"
alias wep3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep-2; alias lastwep wep3; keybind3"
alias wep-1 "slot1; wep1com; alias mouseup wep-3; alias mousedown wep2; alias quickswap wep2; alias lastwep wep-1; keybind-1"
alias wep-2 "slot2; wep2com; alias mouseup wep-1; alias mousedown wep3; alias quickswap wep3; alias lastwep wep-2; keybind-2"
alias wep-3 "slot3; wep3com; alias mouseup wep-2; alias mousedown wep1; alias quickswap wep1; alias lastwep wep-3; keybind-3"
alias keybind1 "alias key1 wep1; alias key2 mousedown; alias key3 mouseup"
alias keybind2 "alias key1 mouseup; alias key2 wep2; alias key3 mousedown"
alias keybind3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep3"
alias keybind-1 "alias key1 wep-1; alias key2 mousedown; alias key3 mouseup"
alias keybind-2 "alias key1 mouseup; alias key2 wep-2; alias key3 mousedown"
alias keybind-3 "alias key1 mousedown; alias key2 mouseup; alias key3 wep-3"
alias mouseup "wep-3"
alias mousedown "wep2"
alias quickswap "lastwep"
alias lastwep "wep2"
alias key1 "wep1"
alias key2 "mousedown"
alias key3 "mouseup"
alias key4 "slot4; extrakey"
alias key5 "slot5; extrakey"
alias extrakey "alias mouseup wep-3; alias mousedown wep1; alias quickswap lastwep; alias lastwep wep3"
// DO NOT MESS WITH THE ABOVE STUFF
// EDIT THE FOLLOWING ALIASES, SEE DESCRIPTION BELOW
alias wep1com "cl_crosshair_red 000.000000;cl_crosshair_green 255.000000;cl_crosshair_blue 000.000000;cl_crosshair_file crosshair3;cl_crosshair_scale "20.0"""
alias wep2com "cl_crosshair_red 000.000000;cl_crosshair_green 255.000000;cl_crosshair_blue 000.000000;cl_crosshair_file crosshair5;cl_crosshair_scale "20.0"""
alias wep3com "cl_crosshair_red 000.000000;cl_crosshair_green 255.000000;cl_crosshair_blue 000.000000;cl_crosshair_scale "0.0"""
//BACKUP
bind MWHEELUP mouseup
bind MWHEELDOWN mousedown
bind Q quickswap
bind 1 key1
bind 2 key2
bind 3 key3
bind 4 key4
bind 5 key5[/code]

As it is, primary weapon is a green, hollow circle, secondary is a green dot, and melee is nothing.
11
#11
0 Frags +
bscnah I just switch viewmodels on when I wanna pretend im in a frag movie

I do this (although more for the sake of being able to see my weapon reload instead of timing it) but every time I turn on viewmodels, I can't see shit on the screen and my awareness just plummets

[quote=bsc]nah I just switch viewmodels on when I wanna pretend im in a frag movie[/quote]
I do this (although more for the sake of being able to see my weapon reload instead of timing it) but every time I turn on viewmodels, I can't see shit on the screen and my awareness just plummets
12
#12
0 Frags +
tonmas#8 Look in to Broesel's crosshair switcher

http://code.google.com/p/broesels-crosshair-switcher/

Does this still go into the TF folder or will it work in the Custom folder?

[quote=tonmas]#8 Look in to Broesel's crosshair switcher

http://code.google.com/p/broesels-crosshair-switcher/[/quote]

Does this still go into the TF folder or will it work in the Custom folder?
13
#13
0 Frags +
kirbytonmas#8 Look in to Broesel's crosshair switcher

http://code.google.com/p/broesels-crosshair-switcher/

Does this still go into the TF folder or will it work in the Custom folder?

I've not used it with steam pipe but because it is just configs it'll go to the custom folder. It will be custom/randomfoldername/cfg

[quote=kirby][quote=tonmas]#8 Look in to Broesel's crosshair switcher

http://code.google.com/p/broesels-crosshair-switcher/[/quote]

Does this still go into the TF folder or will it work in the Custom folder?[/quote]

I've not used it with steam pipe but because it is just configs it'll go to the custom folder. It will be [i]custom/randomfoldername/cfg[/i]
14
#14
0 Frags +

] exec scout
'crosshairswitcher/switcher' not present; not executing.
Unknown command: scout

this is what it gives me

bind Q "slot1"
bind E "slot2"
bind F "slot3"

exec crosshairswitcher/switcher; scout

scout cfg

] exec scout
'crosshairswitcher/switcher' not present; not executing.
Unknown command: scout


this is what it gives me

[quote]bind Q "slot1"
bind E "slot2"
bind F "slot3"

exec crosshairswitcher/switcher; scout[/quote]

scout cfg
15
#15
0 Frags +

Check the "integration with other scripts" part from his page. If you can't get it to work (if it really is broken in steam pipe) you should contact Broesel directly.
In theory the switcher should work just fine in steam pipe.

Check the "integration with other scripts" part from his page. If you can't get it to work (if it really is broken in steam pipe) you should contact Broesel directly.
In theory the switcher should work just fine in steam pipe.
16
#16
0 Frags +

Well, before I had this, the "bind Q/E/F" also had "; viewmodel XXX" which I removed because they weren't necessary after using this. I have "bind Q/E/F" in my autoexec already, should I just remove that from my class configs?

The only thing that part of the readme is talking about is if I have other class specific scripts.

edit: I removed the "bind Q/E/F" lines and I get the same error.

Well, before I had this, the "bind Q/E/F" also had "; viewmodel XXX" which I removed because they weren't necessary after using this. I have "bind Q/E/F" in my autoexec already, should I just remove that from my class configs?

The only thing that part of the readme is talking about is if I have other class specific scripts.

edit: I removed the "bind Q/E/F" lines and I get the same error.
17
#17
0 Frags +

I just went ahead and installed the switcher, seems to work just fine for me. Are you absolutely positive there's not something conflicting with the switcher cfg and that you got the structure right?

Steam>steamapps>common>Team Fortress 2>tf>custom>mystuff>cfg

There you will have your class configs, autoexec and a folder named "crosshairswitcher"

I just went ahead and installed the switcher, seems to work just fine for me. Are you absolutely positive there's not something conflicting with the switcher cfg and that you got the structure right?

Steam>steamapps>common>Team Fortress 2>tf>custom>mystuff>cfg

There you will have your class configs, autoexec and a folder named "crosshairswitcher"
18
#18
0 Frags +

This is how mine looks - tf>custom>configshudetc> (this is where i have a "configs" folder and "resource" and "scripts" for hud). Inside of my Configs folder I have all of the class configs, my autoexec, etc. Was I supposed to paste all of the configs from Broesel's "cfg" into my Configs folder, or was the crosshairswitcher folder supposed to be within the Configs folder?

How I have it now is just tf>custom>configshudetc>allofmyconfigsandbroeselsconfigs

EDIT: I'm not getting an error anymore, the crosshairs just won't switch to what they're supposed to be when I type "exec demoman" for example, or switch classes to autoexec the class config(s)

This is how mine looks - tf>custom>configshudetc> (this is where i have a "configs" folder and "resource" and "scripts" for hud). Inside of my Configs folder I have all of the class configs, my autoexec, etc. Was I supposed to paste all of the configs from Broesel's "cfg" into my Configs folder, or was the crosshairswitcher folder supposed to be within the Configs folder?

How I have it now is just tf>custom>configshudetc>allofmyconfigsandbroeselsconfigs

EDIT: I'm not getting an error anymore, the crosshairs just won't switch to what they're supposed to be when I type "exec demoman" for example, or switch classes to autoexec the class config(s)
19
#19
0 Frags +

I think you need to have an actual "cfg" file under >configshudsetc for steam pipe to load shit properly.

http://i.imgur.com/J3I2eYr.jpg

That's a screenshot of how I have it set up, I hope it explains it. Ignore the moon runes :D
All you see there, save for the autoexec, is copied from broesels cfg.

Basically, in this "cfg" folder, you slap your autoexec, everything that is in the broesel's cfg file, and then edit it out later for any other class scripts you might have, such as the binds you mentioned.

I think you need to have an actual "cfg" file under >configshudsetc for steam pipe to load shit properly.

[img]http://i.imgur.com/J3I2eYr.jpg[/img]

That's a screenshot of how I have it set up, I hope it explains it. Ignore the moon runes :D
All you see there, save for the autoexec, is copied from broesels cfg.

Basically, in this "cfg" folder, you slap your autoexec, everything that is in the broesel's cfg file, and then edit it out later for any other class scripts you might have, such as the binds you mentioned.
20
#20
0 Frags +

http://i.imgur.com/MJhlIhx.png

I fixed it up and it still doesn't work :s

[img]http://i.imgur.com/MJhlIhx.png[/img]

I fixed it up and it still doesn't work :s
21
#21
2 Frags +
kirbyI fixed it up and it still doesn't work :s

rename your folders and try it again maybe

[quote=kirby]I fixed it up and it still doesn't work :s[/quote]

rename your folders and try it again maybe
22
#22
1 Frags +

What #21 said, rename your Configs file in to cfg. Exactly what I was trying to say in my post but I guess posts after an all-nighter don't come out quite right.

What #21 said, rename your Configs file in to cfg. Exactly what I was trying to say in my post but I guess posts after an all-nighter don't come out quite right.
23
#23
0 Frags +

Wow that fixed it. Thanks, buddies!

Wow that fixed it. Thanks, buddies!
24
#24
0 Frags +

Excellent, I can go to bed :D

Excellent, I can go to bed :D
Please sign in through STEAM to post a comment.