Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Viewmodel 'Zoomer'

A Config Script for Team Fortress 2

Members see zero ads. Membership is 100% free
19 874 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// This is a Panface script, please give me some credit!

alias "T_vmz" "vmzON"
alias "vmzON" "alias T_vmz vmzOFF; alias vmzoom_l vmzoom; vmzoom_l"
alias "vmzOFF" "alias T_vmz vmzON; alias vmzoom_l; viewmodel_fov 90"
//
alias "vmzoom" "incrementvar viewmodel_fov 0 175 1; wait 1; vmzoom_l"
alias "vmzoom_l" "vmzoom"
//
bind "mouse3" "T_vmz"

//Below is a more complicated bind so you can keep the original functionality of m3 (+attack3). To use this, put 2 "/"s in front of the original bind command and uncomment (remove the 2 /'s) of the below commands. This will rebind the shift key to something that will make your m3 go from your 3rd attack to the view model zoomer

// alias "+cb_shift" "alias +m3 T_vmz"
// alias "-cb_shift" "alias +m3 +attack3"
// alias "+m3" "+attack3"
// alias "-m3" "-attack3"
// bind "mouse3" "+m3"
// bind "shift" "+cb_shift"

Making viewmodels spicier

Aye, today if you count 1:46am as "day" I've got a script for you. This is a simple one, and a silly one, but one I'm sharing with all of you

The best I can describe this as is a 'zoomer'. It's a toggle that starts a loop which will increment your weapon viewmodel fov once every frame. It's better to see for yourself instead of getting a vague description

Have fun!

Comments

Sign up to access this!
  • Ah_Roon avatar
    Ah_Roon Joined 10mo ago
    Offline
    access_time 1mo
    When I add these codes to cfg file, the game won't launch. Can you fix this?

    Note: I've tested it by removing these commands from my cfg file, the game launched successfully without any crash.
    Another Knight
    URL to post:
  • Delta Player avatar
    Delta Player Joined 3y ago
    Lurking around
    327 points Ranked 49720th
    12 medals 1 rare
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    • Returned 100 times Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • Reached 1,000 Points Medal icon
    access_time 1mo
    Although this is useful, I have had my own version for some time now and I think mine might help a bit in improving this.

    // developer 1								// Shows commands that are in the console to the top left of the screen.
    // incrementvar r_drawviewmodel 0 1 1 // Toggle Viewmodel
    // impulse 201 // Spray your spray on a surface
    // bind mwheelup vm_up // [See vm_up]
    // bind mwheeldown vm_down // [See vm_down]
    // play ui/hitsound.wav // Play your hitsound
    alias +alt_vm_slider "developer 1; incrementvar r_drawviewmodel 0 1 1; impulse 201; bind mwheelup vm_up; bind mwheeldown vm_down; play ui/hitsound.wav"

    // developer 0 // Hides commands from before
    // bind mwheelup invprev // The weapon/tool in the slot below
    // bind mwheeldown invnext // The weapon/tool in the slot above
    alias -alt_vm_slider "developer 0; bind mwheelup invprev; bind mwheeldown invnext"

    // Scroll the viewmodel's fov everytime you use the scroll wheel
    // Change the numbers to whatever you'd like to be the minimum and maximum numbers.
    alias vm_up "incrementvar viewmodel_fov 54 140 5; r_drawviewmodel 1"
    alias vm_down "incrementvar viewmodel_fov 54 140 -5; r_drawviewmodel 1"

    // Hold alt and use your scroll wheel to change the weapon's fov.

    bind alt "+alt_vm_slider"
    Delta
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Author
Mr.Panface
Mr.Panface Joined 1y ago
Offline
126 points Ranked 63209th
Everything here

Submitter

Mr.Panface avatar
Mr.Panface Joined 1y ago
Onlinen't
126 points Ranked 63209th
Mr.Panface
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

menu

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 2
  • remove_red_eye 487
  • mode_comment 4
  • access_time 1mo
  • access_time 1mo

More from Submitter

menu

More Other/Misc Scripts