Jump to content
Sign in to follow this  

Assigning zoom to an axis

Recommended Posts


Can anyone comment on whether this is possible in MSFS?


I want to bind the slider axis of the TM Warthog Throttle to zoom the view in the sim. I dont see any default variables to set the zoom, only ones to INC or DEC, which isn't what I need (I dont think?).

Any guidance is appreciated!

Share this post

Link to post
Share on other sites

There are the following simulator variables that control zoom for these three cameras, and that can be read from and set too:


There are various ways to assign them to an axis, but in the current retail version you need a script if you want to control it with a MIDI axis. 
Since you will probably want to control the zoom for all three cameras with a single slider, I would do this:
Script Group: Cameras
Script Name: Zoom
Script Code: (L:Cameras-Zoom) s0 l0 (>A:COCKPIT CAMERA ZOOM, Percent) l0 (>A:CHASE CAMERA ZOOM, Percent) l0 (>A:DRONE CAMERA FOV, Percent)

This script you assign to your axis using the "Select Event" box. Then you set Axis min to 0 and Axis max to 100

Edited by Lorby_SI


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online

  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Create New...