-Ice Posted April 21, 2013 Share Posted April 21, 2013 I remember digging into the various .lua files to do this, but with my haitus, I don't want to mess with anything without proper help. I'd just like to change the FOV to maybe 80 or 90 degrees, more once I go triple-screen. How do I do this again? Is it different for FC3 vs A10C vs BS2? Do I have to change FOV for each aircraft in the DCS/FC series? Or does modding one file affect all modules/aircraft? Thanks! - Ice Link to comment Share on other sites More sharing options...
-Ice Posted April 22, 2013 Author Share Posted April 22, 2013 Anybody? Nobody? I've seen some threads but they are 2012 or so and not sure if they still work with FC3 of if ED have changed things yet again. - Ice Link to comment Share on other sites More sharing options...
RedRain Posted April 22, 2013 Share Posted April 22, 2013 Hey Ice C:prog files/Eagle Dynamics/DCS World/Config/View/View lua/Line 136 (Ka50) :- Change 120 to what ever suits you best. I run at 6048 x 1080, 145 works for both KA and P51d. I think all A/C are listed here ? Good Luck. Link to comment Share on other sites More sharing options...
JazzMan Posted April 23, 2013 Share Posted April 23, 2013 Hey Ice C:prog files/Eagle Dynamics/DCS World/Config/View/View lua/Line 136 (Ka50) :- Change 120 to what ever suits you best. I run at 6048 x 1080, 145 works for both KA and P51d. I think all A/C are listed here ? Good Luck. this line gives you the limit of the zoom in or out SnapViewsDefault.lua - same folder Snap[9][13]["viewAngle"] = 90.777544238285 this line gives you the standard-fov what you are looking for (KA-50) Link to comment Share on other sites More sharing options...
Japo32 Posted April 30, 2013 Share Posted April 30, 2013 Don't understand the new SnapViewsDefault.lua Says that there is a saved file called SnapViews.lua in Saved Games/<USER>/DCS/Config/View/SnapViews.lua, but I don't find any.. Anyway.. which values I have to change to set the maximun FOV for example to 130 or 140? I see everyplane has several [number] viewAngle.. but I don't know which is the one to modify. Any help is appreciated! Thanks! Link to comment Share on other sites More sharing options...
Milli Posted April 30, 2013 Share Posted April 30, 2013 Don't understand the new SnapViewsDefault.lua Says that there is a saved file called SnapViews.lua in Saved Games/<USER>/DCS/Config/View/SnapViews.lua, but I don't find any.. Anyway.. which values I have to change to set the maximun FOV for example to 130 or 140? I see everyplane has several [number] viewAngle.. but I don't know which is the one to modify. Any help is appreciated! Thanks! Have a look at the file called SnapViewsDefault.lua found at DCS World\Config\View\SnapViewsDefault.lua You will see a section near the top like this: PlaneIndexByCockpitView = [su_27] = 1,13 [su_33] = 2,13 [su_25] = 3,13 [su_25T] = 4,13 [su_39] = 4,13 [MiG_29] = 5,13 [MiG_29G] = 5,13 [MiG_29C] = 5,13 [MIG_29K] = 6,13 [A_10A] = 7,13 [F_15] = 8,13 [KA_50] = 9,13 [A_10C] = 11,13 [P_51D] = 12,13 As I wanted to change the A-10C cockpit field of view I noted that [A-10C] = 11,13. So I went down the file all the way to line number 1078 where it says Snap[11][13]["viewAngle"] = 75 This is the cockpit field of view for the A-10C. You can change the value here. Change the field of view for the aircraft you want by noting the PlaneIndexByCockpitView =x,y. Go find the corresponding Snap[x][y][viewAngle"]= S line. Change the S value to your liking. Hope this helps. Sorry if its not what you are asking for. Regards, Milli Link to comment Share on other sites More sharing options...
Japo32 Posted April 30, 2013 Share Posted April 30, 2013 I cannot find that PlaneIndexByCockpitView part... I have this at the very top: --reformatted per-unit data to be mod system friendly --this file is no longer should be edited for adding new flyable aircraft , DCS automatically check core database for this data(i.e. where you define your aircraft in aircraft table just define ViewSettings and SnapViews tables) -- result of ingame editing is saved to Saved Games/<USER>/DCS/Config/View/SnapViews.lua SnapViews = {} SnapViews["A-10A"] = { [1] = {-- player slot 1 [1] = { viewAngle = 65.000000,--FOV hAngle = 0.000000, vAngle = -26.000000, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [2] = { viewAngle = 49.626770,--FOV hAngle = 0.000000, vAngle = -90.631294, x_trans = 0.180499, y_trans = -0.137064, ........... and continues like that till the end. Link to comment Share on other sites More sharing options...
Milli Posted April 30, 2013 Share Posted April 30, 2013 Ok, I think my file is different because it has been modified by the "Proper Neck and smaller-realistic 6DOF limits" mod. See the attachment for the default, unmodded ,SnapViewsDefault.lua found in a freshly installed DCS World 1.2.3. The file is from the DCS World\Config\View folder. See line number 1060 where it says Snap[11][13]["viewAngle"] = 75 This is the A-10C cockpit field of view setting. I have mine at 85 degrees. This is the line to edit. Note that line 14 says "Index 13 defines default cockpit view." Index number 11 is the A-10C, so Snap[11][13]["viewAngle"]= the default cockpit view angle. Is there a SnapViewDefault.lua in your DCS World\Config\View folder? Can you find the line Snap[11][13]["viewAngle"] = 75? Regards, MilliSnapViewsDefault.lua Link to comment Share on other sites More sharing options...
foobolt Posted May 1, 2013 Share Posted May 1, 2013 Hi, After 1.2.4 updates, I am also looking for the method of Fov Limits change. In 1.2.3, I had set it up by "View.lua". However, in 1.2.4, the form of "View.lua" changes and it cannot use the old method. Where is the "CameraViewAngleLimits" settings in 1.2.4 ?? Link to comment Share on other sites More sharing options...
LNR212 Posted May 1, 2013 Share Posted May 1, 2013 (edited) hey guys! just got this from Kuky in another similar thread i started: http://forums.eagle.ru/showthread.php?t=105035 Quote: For example, to change FoV for Su-27 cockpit you edit: (and same for other aircraft - each in their own section) ...Config/View/SnapViewsDefault.lua Quote: SnapViews["Su-27"] = { [1] = {-- player slot 1 [1] = { viewAngle = 71.824692,--FOV hAngle = 0.000000, vAngle = -32.458889, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [2] = { viewAngle = 33.361835,--FOV hAngle = 41.045925, vAngle = -40.805656, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [3] = { viewAngle = 30.427544,--FOV hAngle = 0.000000, vAngle = -41.808968, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [4] = { viewAngle = 34.392349,--FOV hAngle = -32.597401, vAngle = -35.293747, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [5] = { viewAngle = 87.468338,--FOV hAngle = 129.012665, vAngle = 14.547977, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [6] = { viewAngle = 43.977936,--FOV hAngle = 0.000000, vAngle = -4.951577, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [7] = { viewAngle = 87.468338,--FOV hAngle = -129.012665, vAngle = 14.491872, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [8] = { viewAngle = 87.468338,--FOV hAngle = 82.862923, vAngle = -9.500000, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [9] = { viewAngle = 87.468338,--FOV hAngle = 0.000000, vAngle = 38.979362, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [10] = { viewAngle = 87.468338,--FOV hAngle = -82.461266, vAngle = -12.843998, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [11] = {--look at left mirror viewAngle = 68.786629,--FOV hAngle = 15.618313, vAngle = 7.522498, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [12] = {--look at right mirror viewAngle = 69.165199,--FOV hAngle = -15.683434, vAngle = 8.549150, x_trans = 0.000000, y_trans = 0.000000, z_trans = 0.000000, rollAngle = 0.000000, }, [13] = {--default view viewAngle = 87.468338,--FOV <-- you set your desired FoV here in ° (degrees) hAngle = 0.000000, vAngle = -9.500000, x_trans = 0.113927, y_trans = -0.004946, z_trans = 0.000000, rollAngle = 0.000000, }, }, ps: you edit section [13] only ...Config/View/Server.lua Quote: ViewSettings["Su-27"] = { Cockpit = { [1] = {-- player slot 1 CockpitLocalPoint = {7.959000,1.419000,0.000000}, CameraViewAngleLimits = {20.000000,120.000000}, <-- FoV Min & Max limits in ° (degrees) CameraAngleRestriction = {false,60.000000,0.400000}, CameraAngleLimits = {140.000000,-75.000000,90.000000}, EyePoint = {0.050000,0.100000,0.000000}, limits_6DOF = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000}, }, }, -- Cockpit Chase = { LocalPoint = {4.259000,3.819000,0.000000}, AnglesDefault = {180.000000,-8.000000}, }, -- Chase Arcade = { LocalPoint = {-12.041000,6.419000,0.000000}, AnglesDefault = {0.000000,-8.000000}, }, -- Arcade } Edited May 1, 2013 by LNR212 Link to comment Share on other sites More sharing options...
foobolt Posted May 1, 2013 Share Posted May 1, 2013 Great! Thx lnr212! 1 Link to comment Share on other sites More sharing options...
Japo32 Posted May 3, 2013 Share Posted May 3, 2013 found the solution.. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts