ypaul123 Posted September 20, 2023 Report Posted September 20, 2023 Hi everyone, in X-Plane 12 I have a software called x-camera which allows me in a single button press (HOTAS Warthog joystick) to move from one camera view to another, and another button to switch between categories (cockpit, external, cabin etc.) Is this thing also possible using FSUIPC7, because I couldn't find such option in the default FS2020 key assigments. Thanks in advance for your reply, Paul
John Dowson Posted September 21, 2023 Report Posted September 21, 2023 You can try assigning to the standard view controls: Next View, Prev View, View Mode, Next Sub View, Prev Sub View. There are also now quite a view presets available for setting specific views.:
John Dowson Posted September 21, 2023 Report Posted September 21, 2023 On 9/21/2023 at 10:17 AM, John Dowson said: You can try assigning to the standard view controls: Next View, Prev View, View Mode, Next Sub View, Prev Sub View. These controls don't work! To change the view, you have to update the CAMERA STATE and CAMERA SUBSTATE variables. The only way to do this in the current release is via using presets. However, in the next version I will make the CAMERA STATE offset 0x026D writeable, and I will also add CAMARE SUBSTATE to offset 0x026E as 1 (unsigned) byte CAMERA VIEW TYPE AND INDEX:0 to offset 0x026F as 1 (unsigned) byte CAMERA VIEW TYPE AND INDEX:1 to offset 0x0270 as 1 (unsigned) byte GAMEPLAY CAMERA FOCUS to offset 0x0271 as 1 (unsigned) byte all as writeable. I have attached a beta version, 7.3.24a, which contains this update. Using this version, you can assign a button to the control Offset Byte Set using offset 026D with a parameter of 3 (external/chase). You can then overload this button assignment (via editing the FSUIPC7.ini file) to also send a parameter of 2 (cockpit), and add an offset condition so that the correct parameter is send depending on the current value of offset 0x026D. The resulting assignments should look like the following (the index number. joystick letter and button number may be different): 9=B026D=2 PS,2,Cx0100026D,x03 -{offset byte set, offset 026D}- 10=B026D!2 PS,2,Cx0100026D,x02 -{offset byte set, offset 026D}- The button will then toggle between external and cockpit view. You can add more assignments if you want to cycle between more views, e,g, to also cycle between showcase mode (9): 9=B026D=2 PS,2,Cx0100026D,x03 -{offset byte set, offset 026D}- 10=B026D=3 PS,2,Cx0100026D,x09 -{offset byte set, offset 026D}- 11=B026D=9 PS,2,Cx0100026D,x02 -{offset byte set, offset 026D}- You can also change views/cameras using offsets 0x026E (CAMARE SUBSTATE) and 0x026F/0x0270 (CAMERA VIEW TYPE AND INDEX) - please see the SDK documentation on these variables: https://docs.flightsimulator.com/html/Programming_Tools/SimVars/Camera_Variables.htm Otherwise, check out the available MF presets, which use the CAMERA STATE and CAMARE SUBSTATE variables: CAMERA_ACTION_COCKPIT_VIEW_RESET CAMERA_ACTION_COCKPIT_VIEW_SAVE External_Quick_View_-_Quick_View_1 External_Quick_View_-_Quick_View_2 External_Quick_View_-_Quick_View_3 External_Quick_View_-_Quick_View_4 External_Quick_View_-_Quick_View_5 External_Quick_View_-_Quick_View_6 External_Quick_View_-_Quick_View_7 External_Quick_View_-_Quick_View_8 External_View_-_Default Fixed_Camera_ShowCase_-_Fin_View Fixed_Camera_ShowCase_-_Front_Cabin_Crew_Seat Fixed_Camera_ShowCase_-_Front_Left_Door_Enter Fixed_Camera_ShowCase_-_Front_Right_Middle_Seat Fixed_Camera_ShowCase_-_Left_Engine Fixed_Camera_ShowCase_-_Left_Wing_Window_ Fixed_Camera_ShowCase_-_Left_front_Window Fixed_Camera_ShowCase_-_Nose_gear Fixed_Camera_ShowCase_-_Passanger_Look_Aft Fixed_Camera_ShowCase_-_Passanger_look_Forward Fixed_Camera_ShowCase_-_Rear_Left_Middle_Seat Fixed_Camera_ShowCase_-_Rear_Top_View Fixed_Camera_ShowCase_-_Right_Engine Fixed_Camera_ShowCase_-_Right_Wing_Window Fixed_Camera_ShowCase_-_Right_front_Window Fixed_Camera_ShowCase_-_Underbelly_Close Fixed_Camera_ShowCase_-_Underbelly_Far Free_Camera_-_Camera_Drone Instrument_View_-_CB_WALL Instrument_View_-_Dual_MCDU_Cap___FO Instrument_View_-_EFB_CAPTAIN Instrument_View_-_EFB_FO Instrument_View_-_FCU_and_ECAM__Angled_ Instrument_View_-_MCDU_Captain Instrument_View_-_OVERHEAD__Angled_ Instrument_View_-_PEDESTAL__Angled_ Instrument_View_-_PFD_ND Instrument_View_-_UPPER_OVERHEAD Pilot_View_-_Close Pilot_View_-_Copilot Pilot_View_-_Landing Pilot_View_-_Normal Quick_View_-_Front__Zoom_in_ Quick_View_-_Left_120_Degree Quick_View_-_Left_45_Degree Quick_View_-_Left_90_Degree Quick_View_-_Rear_180_Degree Quick_View_-_Right_120_Degree Quick_View_-_Right_45_Degree Quick_View_-_Right_90_Degree John FSUIPC7.exe
John Dowson Posted November 1, 2023 Report Posted November 1, 2023 There is also a lua script available that allows you to use a button to cycle between different cockpit custom views in this post:
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now