Been a few months since anyone posted here so not sure if people still struggling with this. If you are however, here is how I managed to effectively move my viewpoint back in cockpit.
I fly KA-50 on triple screens (1 camera) with res of 5940 x 1080
The file to edit is:- C:\Users\YourUserName\SavedGames\DCS\Config\View\Server.lua
If the Config\View folder does not exist in SavedGames\DCS create a Config folder and copy your View folder into it from DCS World\Config, then edit the Server.lua file in there.
I edited the value for "CameraViewAngleLimits". Was 20, 120. Now 20, 135. Works a treat.
ViewSettings["Ka-50"] = {
Cockpit = {
[1] = {-- player slot 1
CockpitLocalPoint = {3.188000,0.390000,0.000000},
CameraViewAngleLimits = {20.000000,135.000000},
CameraAngleRestriction = {false,60.000000,0.400000},
CameraAngleLimits = {140.000000,-65.000000,90.000000},
EyePoint = {0.090000,0.000000,0.000000},
limits_6DOF = {x = {-0.020000,0.350000},y ={-0.150000,0.165000},z = {-0.170000,0.170000},roll = 90.000000},
},
}, -- Cockpit
Chase = {
LocalPoint = {-0.512000,2.790000,0.000000},
AnglesDefault = {180.000000,-8.000000},
}, -- Chase
Arcade = {
LocalPoint = {-16.812000,5.390000,0.000000},
AnglesDefault = {0.000000,-8.000000},
}, -- Arcade
NOTE: If you encounter a mission that overrides your custom view, read the following - posted under comments section for Operation Snowfox v120 by Surrexen in DCS user files:-
------------------------------------------------------------------------------------------
Hunter_5E
12/15/2019 16:27:00
For some reason this mission overrides my custom "CameraViewAngleLimits" setting (for KA-50) in Config/View/Server.lua. I run triple monitors and this forces me into a view that is too far forward for my liking. I've searched for quite a while to find a solution but to no avail. Some missions don't upset my custom view settings and some do, like this one.
Can anyone offer a solution to this as its rather annoying and to be honest its stopping me from flying any missions that override my settings.
Link
Surrexen
12/15/2019 20:18:14
Rename the mission file to a .zip file and open it up in winzip/winrar or whatever. Go into the config\view folder and try either removing the server.lua file or editing the server.lua file to have the view settings you want and then rename back to a .miz
Hopefully that will sort it out for you.
Parent Link
Hunter_5E
12/16/2019 11:47:29
I removed the entire Config folder - as there was only "View" folder in there anyway - and that did the trick. Many thanks for your help.
I would suggest however that you might want to remove that from any missions yourself before posting them - same goes for all mission makers tbh.
Your fix is fine if I play solo or host the mission myself but if I enter a server online with your original mission file I'm stuck with default view, as will anyone else with custom views.
There's no need for that Config/View folder in the mission anyway and I assume it's the editor that sticks it in by default?
Surrexen
12/16/2019 22:25:46
Very interesting, I don't even remember putting it in there but I've been working on this thing for ages so who knows. Anyway, will investigate this for next version etc. Thanks for letting me know!
-------------------------------------------------