#viewmodel script

1 messages · Page 1 of 1 (latest)

civic pumice
#

hi, i have no clue how i had it before but i reinstalled tf2 and i cant seem to get it back. i thought it comes naturally with mastercomfig.
i had a viewmodel script that let me change my fov of everything by using the keys ins, pgdn, pgup, del etc
does anyone know how i can do that?

#

also why is my viewmodel resetting every time i switch classes

minor bladeBOT
#

*also why is my

viewmodel resetting every

time i switch classes*

timber yacht
#

You'll need to bind those keys to the commands that change fov. I could just link you to a webpage explaining all of scripting, but if you know exactly what you want the keys to do, I could whip something up.

timber yacht
civic pumice
# timber yacht You'll need to bind those keys to the commands that change fov. I could just lin...

if you could help that would be great, id want one of the keys to move my gun further away from the screen “increasing more each time you press it until it resets prty much”. one that just removes the viewmodel entirely. and if possible one that moves the viewmodel more upwards or down. if you’re able to cook that up would be swagger, but if not send me the script explaining thingy and ill try to do it steamhapp

civic pumice
timber yacht
#

bind <key> "incrementvar viewmodel_fov <min> <max> <increment>"
(min and max should be between 0 and 180, increment i'd pick something like 5 or 10)

bindToggle <key> r_drawviewmodel 0 1

I'm not sure it's possible to move it "more up or down" using scripting. But this'll swap between minimized and normal viewmodels:
bindToggle <key> tf_use_min_viewmodels 0 1

#

@civic pumice

civic pumice
#

thank youuu