x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

Diffirent viewmodels?

Created 28th April 2009 @ 19:39

Add A Reply Pages: 1

Hi all

I tried to search several places but I haven’t come up with an answer so far.

I want my sticky launcher to have the viewmodel_fov to 80 and I want the grenade launcher to be at 60. Does anyone know how to do this?

Thanks

Memento Mori

something like

bind 1 “slot1;viewmodel_fov 80”
bind 2 “slot2;viewmodel_fov 60”

or whatever your fov’s were

edit – ye the numbers are other way round obviously

and you’ll have to put the regular bind in every other class cfg bind 1 “slot1” etc

BERSERKER

broder
PRO

Make a new .cfg file called “staticmodel.cfg”, for instance.
Then in the staticmodel.cfg type:

bind 1 “slot1; viewmodel_fov X″
bind 2 “slot2; viewmodel_fov X″
bind 3 “slot3; viewmodel_fov X”

Remember to replace X with the desired FOV for every other class. Then in the class config you want dynamic weapon fov’s for, just add the same lines, just with the desired FOVs for each weapon, and in every other class config type “exec staticmodel”.

Berserker, your method is working very well. However it still is a bit messed up because it does not work with the Q button which I use all the time. It only works if I press 2. Any idea how to fix that?

M0re

alias _switcheroo “_switcheroo1”
alias _switcheroo1 “slot1;viewmodel_fov x;alias _switcheroo _switcheroo2”
alias _switcheroo2 “slot2;viewmodel_fov x;alias _switcheroo _switcheroo1”

bind q _switcheroo

Puppets

to add to more: this will only switch between first and second weapon (not to meele)

M0re, I have no idea why but it doesn’t seem to work. First I copied it to demoman.cfg (didnt work), then I copied it to staticmodel.cfg and in demoman.cfg I typed “exec staticmodel”. It didn’t work either :S

Isai

flowerpower/

Try to change the “, because they are different when you copy in your cfg instead of writing them.

BERSERKER

broder
PRO

alias standardfov “viewmodel_fov 50”
alias altfov “viewmodel_fov 90”
alias sQcomm “lastinv; standardfov; altq”
alias altQcomm “lastinv; altfov; standardq”
alias standardQ “bind Q sQcomm”
alias altQ “bind Q altQcomm”

bind 1 “slot1; altQ; standardfov”
bind 2 “slot2; standardQ; altfov”
bind 3 “slot3; altQ; standardfov”

The FOV will be bugged when changing from slot3 to slot1, though, since the Q just alternates between fov 50 and 90 now. In addition, you’ll have to add the following line in the staticmodel.cfg as well:

bind Q “lastinv”

It doesn’t really matter about the melee weapon tbh. But I’m definitely gonna try this out later. Thanks a lot!

A little update. I’ve tested your methord Berserker and it works excactly as I wanted :D Thanks a lot, I really appreciate it.

Add A Reply Pages: 1