VIEW / CAMERA EVENTS

The event IDs listed here are all related to the different view and camera systems.

 

 

Axis

Event Name Parameters Description
AXIS_PAN_PITCH   Sets the pitch of the camera axis. Requires an angle.
AXIS_PAN_HEADING   Sets the heading of the axis. Requires an angle.
AXIS_PAN_TILT   Sets the tilt of the axis. Requires an angle.
VIEW_AXIS_INDICATOR_CYCLE   Step through the view axis.

 

 

Chase Camera

Event Name Parameters Description
CHASE_VIEW - Deprecated, do not use.
CHASE_VIEW_NEXT N/A Cycle view to next target
CHASE_VIEW_PREV N/A Cycle view to previous target
CHASE_VIEW_TOGGLE N/A Toggles chase view on/off
VIEW_CHASE_DISTANCE_ADD N/A Increments the distance of the view camera from the chase object (such as in Spot Plane view, or viewing an AI controlled aircraft).
VIEW_CHASE_DISTANCE_SUB N/A Decrements the distance of the view camera from the chase object.

 

 

Eyepoint

Event Name Parameters Description
EYEPOINT_BACK   Move eyepoint backward
EYEPOINT_DOWN   Move eyepoint down
EYEPOINT_FORWARD   Move eyepoint forward
EYEPOINT_LEFT   Move eyepoint left
EYEPOINT_RESET   Move eyepoint to default position
EYEPOINT_RIGHT   Move eyepoint right
EYEPOINT_UP   Move eyepoint up

 

 

Miscellaneous

Event Name Parameters Description
BOMB_VIEW   Deprecated, do not use.
HUD_COLOR    
HUD_UNITS    
LETTERBOX    
MAP_ORIENTATION_CYCLE   Step through the map orientations.
MAP_ORIENTATION_SET    
MAP_ZOOM_FINE_IN   Fine zoom in map view
MAP_ZOOM_FINE_OUT   Fine zoom out in map view
MAP_ZOOM_SET   Not currently used in the simulation.
NEW_MAP   Opens new map view
OTHER_AIRCRAFT_VIEW   Deprecated, do not use.
PANEL_HUD_NEXT    
PANEL_HUD_PREVIOUS    
SELECT_NEXT_TARGET    
SELECT_PREV_TARGET    
SKIP_ACTION    
SP_MULTIPLAYER_SCORE_DISPLAY    
TOGGLE_PADLOCK   Deprecated, do not use.
UNLOCK_TARGET    

 

 

Views

Event Name Parameters Description
CLOSE_VIEW   Close current view
NEXT_SUB_VIEW    
NEXT_VIEW   Select next view
NEW_VIEW   Open new view
PREV_VIEW   Select previous view
PREV_SUB_VIEW    
SNAP_VIEW    
VIEW   Select View Direction
VIEW_ALWAYS_PAN_DOWN    
VIEW_ALWAYS_PAN_UP    
VIEW_AUX_00    
VIEW_AUX_01
VIEW_AUX_02
VIEW_AUX_03
VIEW_AUX_04
VIEW_AUX_05
   
VIEW_CAMERA_SELECT_0
VIEW_CAMERA_SELECT_1
VIEW_CAMERA_SELECT_2
VIEW_CAMERA_SELECT_3
VIEW_CAMERA_SELECT_4
VIEW_CAMERA_SELECT_5
VIEW_CAMERA_SELECT_6
VIEW_CAMERA_SELECT_7
VIEW_CAMERA_SELECT_8
VIEW_CAMERA_SELECT_9
   
VIEW_CAMERA_SELECT_START    
VIEW_COCKPIT_FORWARD   Switch immediately to the forward view, in 2D mode.
VIEW_DIRECTION_SET
VIEW1_DIRECTION_SET
VIEW2_DIRECTION_SET
   
VIEW_DOWN   Sets view direction down
VIEW_FORWARD   Sets view direction forward
VIEW_FORWARD_LEFT   Sets view direction forward and left
VIEW_FORWARD_RIGHT   Sets view direction forward and right
VIEW_FORWARD_RIGHT_UP   Sets view forward, right, and up
VIEW_FORWARD_UP   Sets view forward and up
VIEW_FORWARD_LEFT_UP   Sets view forward left and up
VIEW_LEFT   Sets view direction to the left
VIEW_LEFT_UP   Sets view left and up
VIEW_LINKING_SET   Links all the views from one camera together, so that panning the view will change the view of all the linked cameras.
VIEW_LINKING_TOGGLE   Turns view linking on or off.
VIEW_MODE   Selects next view
VIEW_MODE_REV   Reverse view cycle
VIEW1_MODE_SET
VIEW2_MODE_SET
  Not currently used in the simulation.
VIEW_PANEL_ALPHA_DEC   Decrement alpha-blending for the panel.
VIEW_PANEL_ALPHA_INC   Increment alpha-blending for the panel.
VIEW_PANEL_ALPHA_SELECT   Sets the mode to change the alpha-blending, so the keys KEY_PLUS and KEY_MINUS increment and decrement the value.
VIEW_PANEL_ALPHA_SET   Sets the alpha-blending value for the panel. Takes a parameter in the range 0to 255. The alpha-blending can be changed from the keyboard using Ctrl-Shift-T,and the plus and minus keys.
VIEW_PREVIOUS_TOGGLE    
VIEW_REAR   Sets view direction to the rear
VIEW_REAR_LEFT   Sets view direction to the rear and left
VIEW_REAR_LEFT_UP   Sets view rear left and up
VIEW_REAR_RIGHT   Sets view direction to the rear and right
VIEW_REAR_RIGHT_UP   Sets view rear, right, and up
VIEW_REAR_UP   Sets view rear and up
VIEW_RESET   Resets the view to the default
VIEW_RIGHT   Sets view direction to the right
VIEW_RIGHT_UP   Sets view right and up
VIEW_SNAP_PANEL    
VIEW_SNAP_PANEL_RESET   Not currently used in the simulation.
VIEW_TRACK_PAN_TOGGLE    
VIEW_TYPE    
VIEW_TYPE_REV    
VIEW_UP   Sets view up
VIEW_VIRTUAL_COCKPIT_FORWARD   Switch immediately to the forward view, in virtual cockpit mode.
VIEW_WINDOW_TO_FRONT   Sets active window to front
VIEW1_ZOOM_SET    
VIEW2_ZOOM_SET    

 

 

Zoom and Pan

Event Name Parameters Description
PAN_DOWN   Pan view down
PAN_LEFT   Pans view left
PAN_LEFT_DOWN   Pan view left and down
PAN_LEFT_UP   Pan view left
PAN_RESET   Reset view to forward
PAN_RESET_COCKPIT   Reset panning to forward, if in cockpit view
PAN_RIGHT   Pans view right
PAN_RIGHT_DOWN   Pan view right and down
PAN_RIGHT_UP   Pan view right and up
PAN_TILT_LEFT   Tilt view left
PAN_TILT_RIGHT   Tilt view right
PAN_UP   Pan view up
PAN_VIEW    
ZOOM_IN   Zooms view in
ZOOM_IN_FINE  

Zoom in fine

Not currently used in the simulation.

ZOOM_MINUS   Decreases zoom
ZOOM_OUT   Zooms view out
ZOOM_OUT_FINE  

Zoom out fine

Not currently used in the simulation.

ZOOM_PLUS   Increase zoom