Jump to content

Save Cockpit Angles not functioning


SharpeXB
Go to solution Solved by Hiob,

Recommended Posts

I assume that save cockpit angles RAlt+Num0 is supposed to save your normal zoom level in the cockpit. This seems to work but after exiting the game the “normal” zoom level returns to this crazy zoomed-in view. 
I see the snapview.lua file that’s created in my Saved Games files and the zoom value I’ve set there. I think the game just overwrites this when it’s restarted. 


Edited by SharpeXB

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

  • ED Team

Hi 

this is unusual, snap views are working for me. 

Please check your axis zoom view is it on maybe?

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, HP Reverb G2

Link to comment
Share on other sites

Hey @SharpeXB,

in the same directory in savegames is a second file named server.lua.

Check the limits in the following line:

CameraViewAngleLimits

this line contains the min and max FOV levels. If they are way off, it could lead to such problems.
Your desired default FOV should be somewhere in the middle of those values.

 

Another point is. In the main istallation folder for the game within each module there is a "views.lua" which contains basically the same that the snapview in savegames does. I think those are default values for when there is no snapview entry yet.
I had the impression once, that for some reason (can't replicate) the default view resets to those values.

Edit:

I recommend this topic regarding anything views-related:

 


Edited by Hiob

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

52 minutes ago, BIGNEWY said:

Hi 

this is unusual, snap views are working for me. 

Please check your axis zoom view is it on maybe?

Actually I’m assuming now that the game isn’t supposed to save your zoom angle since I figure people would want it different for every aircraft. I notice when you press RAlt+Num0 to save this, the game creates a SnapView.lua in your Saved Games folder. But I don’t see this angle value saved anywhere in it. Maybe this is functioning correctly after all? I have no axis assigned to zoom view. 

38 minutes ago, Hiob said:

Check the limits in the following line:

CameraViewAngleLimits

this line contains the min and max FOV levels. If they are way off, it could lead to such problems.
Your desired default FOV should be somewhere in the middle of those values.

I’ve tried editing a copy of this file in my Saved Games/View folder. But it has no effect on my zoom levels. 


Edited by SharpeXB

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

17 minutes ago, SharpeXB said:

Actually I’m assuming now that the game isn’t supposed to save your zoom angle since I figure people would want it different for every aircraft.


wrong assumption, dcs saves the view within Snapviews.lua but on a separate section for each aircraft, it even has a separate section for each crew member (on multicrew aircrafts ofc).

I use it all the time to customize my views on every new aircraft that I fly, and it does work for me.

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

41 minutes ago, Rudel_chw said:


wrong assumption, dcs saves the view within Snapviews.lua but on a separate section for each aircraft, it even has a separate section for each crew member (on multicrew aircrafts ofc).

I use it all the time to customize my views on every new aircraft that I fly, and it does work for me.

Ok I guess it’s not functioning for me then. @MadKreator it sounds like you were having the same problem. 


Edited by SharpeXB

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

31 minutes ago, SharpeXB said:

Ok I guess it’s not functioning for me then. 

It will work for you, once we figure out where the problem is.

What Rudel was trying to ell you is, that the FOV (aka zoom) IS indeed saved with the custom view in the snapview.lua and there is an individual section for each aircraft (and each seat for that matter).

It would be very unusual if it wouldn't work for you - unless there is something wrong that we haven't figured out yet.

What you could do to find the culprit is: Check the numeric value for the "crazy zoomed in view" (ctrl+pause 2x) and search for the aircraft and that value in the snapview.lua or view.lua.

Make sure that trackIR is off when trying to save a custom view (and make sure that custom views is enabled in the settings!)

@SharpeXB Can you post your server.lua and snapview.lua from your savegames folder here and let me know for which aircraft we're looking here. I can take look tonight, when I'm home.

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

2 minutes ago, Hiob said:

What you could do to find the culprit is: Check the numeric value for the "crazy zoomed in view" (ctrl+pause 2x) and search for the aircraft and that value in the snapview.lua or view.lua.

I don’t see any values in the Snapview.lua that correspond to my saved setting. 

3 minutes ago, Hiob said:

Make sure that trackIR is off

TrackIR is off when setting this. 

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

1 minute ago, SharpeXB said:

I don’t see any values in the Snapview.lua that correspond to my saved setting. 

TrackIR is off when setting this. 

For which aircraft are you trying it right now?
Can you figure out the numeric value for the zoom (ctrl+pause)?
Can you check the view.lua in the mods/aircraft folder of the main game please?

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

23 minutes ago, Hiob said:

For which aircraft are you trying it right now?
Can you figure out the numeric value for the zoom (ctrl+pause)?
Can you check the view.lua in the mods/aircraft folder of the main game please?

I’ll try the A-10CII although they all behave the same way. If I go with the default, no modified files. Num0 produces a view angle of 73.0

if I adjust this to say 111.4 and press RAlt+Num0, and change the zoom, pressing Num0 returns me to 111.4. So far so good. 
Quit DCS and go look at my files. 

C:\Users\Myname\Saved Games\DCS\Config\View

there is now saved a file SnapViews.lua

Opening this reveals

SnapViews["A-10C_2"] = {
[1] = {-- player slot 1
    [1] = {--LWin + Num0 : Snap View 0
        viewAngle        = 65.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -26.000000,
        x_trans            = -0.050000,
        y_trans            = 0.000000,
        z_trans            = 0.000000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [2] = {--LWin + Num1 : Snap View 1
        viewAngle        = 50.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -90.000000,
        x_trans            = 0.282000,
        y_trans            = -0.100000,
        z_trans            = -0.250000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [3] = {--LWin + Num2 : Snap View 2
        viewAngle        = 31.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -90.000000,
        x_trans            = 0.494000,
        y_trans            = -0.055000,
        z_trans            = 0.250000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [4] = {--LWin + Num3 : Snap View 3
        viewAngle        = 55.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -90.000000,
        x_trans            = 0.261000,
        y_trans            = -0.065000,
        z_trans            = 0.250000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [5] = {--LWin + Num4 : Snap View 4
        viewAngle        = 35.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -10.000000,
        x_trans            = 0.238000,
        y_trans            = -0.281000,
        z_trans            = -0.231000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [6] = {--LWin + Num5 : Snap View 5
        viewAngle        = 52.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -9.500000,
        x_trans            = 0.323000,
        y_trans            = -0.053000,
        z_trans            = 0.000000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [7] = {--LWin + Num6 : Snap View 6
        viewAngle        = 35.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -10.000000,
        x_trans            = 0.238000,
        y_trans            = -0.281000,
        z_trans            = 0.231000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [8] = {--LWin + Num7 : Snap View 7
        viewAngle        = 68.628296,--FOV
        hAngle            = 68.292320,
        vAngle            = -11.477349,
        x_trans            = 0.000000,
        y_trans            = 0.000000,
        z_trans            = 0.000000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [9] = {--LWin + Num8 : Snap View 8
        viewAngle        = 68.628296,--FOV
        hAngle            = 0.000000,
        vAngle            = 30.227919,
        x_trans            = 0.000000,
        y_trans            = 0.000000,
        z_trans            = 0.000000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [10] = {--LWin + Num9 : Snap View 9
        viewAngle        = 68.628296,--FOV
        hAngle            = -67.172974,
        vAngle            = -11.477349,
        x_trans            = 0.000000,
        y_trans            = 0.000000,
        z_trans            = 0.000000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [11] = {--look at left  mirror
        viewAngle        = 73.000000,--FOV
        hAngle            = 5.888000,
        vAngle            = -2.468000,
        x_trans            = 0.238000,
        y_trans            = 0.100000,
        z_trans            = -0.114000,
        rollAngle        = -22.000000,
        cockpit_version    = 1,
    },
    [12] = {--look at right mirror
        viewAngle        = 73.000000,--FOV
        hAngle            = -5.888000,
        vAngle            = -2.468000,
        x_trans            = 0.238000,
        y_trans            = 0.100000,
        z_trans            = 0.114000,
        rollAngle        = 22.000000,
        cockpit_version    = 1,
    },
    [13] = {--default view
        viewAngle        = 111.384400,--FOV
        hAngle            = 0.000000,
        vAngle            = -19.000000,
        x_trans            = 0.150000,
        y_trans            = 0.000000,
        z_trans            = 0.000000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
    [14] = {--default view - VR
        viewAngle        = 73.000000,--FOV
        hAngle            = 0.000000,
        vAngle            = -19.000000,
        x_trans            = 0.150000,
        y_trans            = 0.000000,
        z_trans            = 0.000000,
        rollAngle        = 0.000000,
        cockpit_version    = 1,
    },
},
}

 

aha there's my number


Edited by SharpeXB

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

Just now, SharpeXB said:

I’ll try the A-10CII although they all behave the same way. If I go with the default, no modified files. Num0 produces a view angle of 73.0

if I adjust this to say 111.4 and press RAlt+Num0, and change the zoom, pressing Num0 returns me to 111.4. So far so good. 
Quit DCS and go look at my files. 

There is a setting in DCS that you need to enable in order to be able to save custom views. I don't know the exact wording from the top of my head. I will check later.

Have you checked this?

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

3 minutes ago, Hiob said:

There is a setting in DCS that you need to enable in order to be able to save custom views. I don't know the exact wording from the top of my head. I will check later.

Have you checked this?

aha! it's probably this

Screenshot 2022-12-13 113013.jpg

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

1 hour ago, Hiob said:

I don't know the exact wording from the top of my head. I will check later.

 

It's this one:

 

tqKVWdo.jpg

 

Its enabled by default, but maybe the user has un-ticked it

  • Like 1

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

  • Solution
Just now, Rudel_chw said:

 

It's this one:

 

tqKVWdo.jpg

 

Its enabled by default, but maybe the user has un-ticked it

Too slow! 😜 But yes - that it is - thank you! 🤗

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

3 minutes ago, Hiob said:

Too slow! 😜 But yes - that it is - thank you! 🤗

Solved! Thanks 👍

  • Like 1

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

4 hours ago, SharpeXB said:

Ok I guess it’s not functioning for me then. @MadKreator it sounds like you were having the same problem. 

 

Sounds about right. RAlt+ num0 would always save the adjusted pilot view/ cockpit camera position for me, including that zoom/ fov ( when using rshift+rctrl+ \ or *) to the default view numpad 5… but it never saves the general world view zoom when you first spawn in. Its always zoomed out about as far as it can go. I have the view zoom slow function on a hat switch so its not a huge deal since I do adjust it in and out quite a bit. However it would be nice if it saved it at its most used position that I set. Now, I’m just using the general view zoom slow on that hat, equivalent of just pressing \ or * without any modifiers. That function is in the General section of controls in each aircraft so it may not be something you can save. I will have to dig through the snapview lua(s)and see if I can find that default fov and play around with the values.

Intel i7 13700k, ASUS  rog strix z790A, 64gigs G.Skill Trident DDR5 @6400Mhz, Nvidia  RTX 4080FE, 2x 2TB Samsung M.2 NVME, 2x 1TB Samsung SSD,  Corsair RM1000x, Corsair h100i 240mm cooler, Lian Li LanCool 3, VKB Gunfighter Ultimate, VKB STECS , MFG Crosswinds, Track IR5, 48” LG UltraGear OLED & HP 24” touchscreen for Helios, Streamdeck XL, DCS-UFC App, Corsair Virtuoso RGB Headphones

Link to comment
Share on other sites

59 minutes ago, MadKreator said:

Sounds about right. RAlt+ num0 would always save the adjusted pilot view/ cockpit camera position for me, including that zoom/ fov ( when using rshift+rctrl+ \ or *) to the default view numpad 5… but it never saves the general world view zoom when you first spawn in. Its always zoomed out about as far as it can go. I have the view zoom slow function on a hat switch so its not a huge deal since I do adjust it in and out quite a bit. However it would be nice if it saved it at its most used position that I set. Now, I’m just using the general view zoom slow on that hat, equivalent of just pressing \ or * without any modifiers. That function is in the General section of controls in each aircraft so it may not be something you can save. I will have to dig through the snapview lua(s)and see if I can find that default fov and play around with the values.

try the option.lua

perhaps the world view zoom is somewhere in there. I don't know - just an idea.

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

So I just now hopped in  dcs and opened  the snapviews.lua and just popped in and out of an instant action mission and manually adjusted the “default view” FOV and got it so it’s at the preferred fov when starting up. Thanks for everyone’s tips! I never thought about going in and setting it myself. I feel like the RAlt-num0 should save that though, even though it doesn’t😂

8 minutes ago, Hiob said:

try the option.lua

perhaps the world view zoom is somewhere in there. I don't know - just an idea.

I think world view was the wrong term for me to use lol It was in fact just the zoom in/out slow for the “default view” in the general settings tab of each aircraft


Edited by MadKreator

Intel i7 13700k, ASUS  rog strix z790A, 64gigs G.Skill Trident DDR5 @6400Mhz, Nvidia  RTX 4080FE, 2x 2TB Samsung M.2 NVME, 2x 1TB Samsung SSD,  Corsair RM1000x, Corsair h100i 240mm cooler, Lian Li LanCool 3, VKB Gunfighter Ultimate, VKB STECS , MFG Crosswinds, Track IR5, 48” LG UltraGear OLED & HP 24” touchscreen for Helios, Streamdeck XL, DCS-UFC App, Corsair Virtuoso RGB Headphones

Link to comment
Share on other sites

  • 1 year later...
On 12/10/2022 at 7:32 PM, SharpeXB said:

I assume that save cockpit angles RAlt+Num0 is supposed to save your normal zoom level in the cockpit. This seems to work but after exiting the game the “normal” zoom level returns to this crazy zoomed-in view. 
I see the snapview.lua file that’s created in my Saved Games files and the zoom value I’ve set there. I think the game just overwrites this when it’s restarted. 

 

THIS IS STILL HAPPENING TO ME!

@BIGNEWY Snap Views and Cockpit Angles/Zoom Normal should be separate things.

"There are only two types of aircraft, Fighters and Targets." Doyle "Wahoo" Nicholson

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

28 minutes ago, JUICE-AWG said:

THIS IS STILL HAPPENING TO ME!

@BIGNEWY Snap Views and Cockpit Angles/Zoom Normal should be separate things.

@JUICE-AWG Have you seen/tried this:

 

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

1 hour ago, JUICE-AWG said:

THIS IS STILL HAPPENING TO ME!

I was able to fix this by simply deleting my snapviews.lua and redoing this with Alt+Num0. There was some advice earlier about running the game as Administrator. Don’t know if that helps or not. You need to have Snap View Saving checked in the Options in order to save and to use these. 

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | 24GB GeForce RTX 4090 | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Link to comment
Share on other sites

1 hour ago, SharpeXB said:

There was some advice earlier about running the game as Administrator. Don’t know if that helps or not.

I seriously doubt it. Avoid running a game as Administrator as much as you can.

  • Like 1

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

That would only help if the rights to access/change the files was restricted to users with admin-rights, but that‘s obviously not the case.

"Muß ich denn jedes Mal, wenn ich sauge oder saugblase den Schlauchstecker in die Schlauchnut schieben?"

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...