Japo32 Posted December 25, 2020 Share Posted December 25, 2020 Hello! I have 3 screens and 120 is not enough view for me. IT is too zoom in. If I look for how to modify fov in forum it talks me about server.lua, and that is how I modify my ka50, but not here. The P51 don't appear in server.lua neither in snapviewsdefault.lua The default fighters are already: CameraViewAngleLimits = {20.000000,140.000000}, and inside of Mods folder I cannot see anything related to view in all the files around the plane has. What am I missing? Thanks! Link to post Share on other sites
Japo32 Posted December 25, 2020 Author Share Posted December 25, 2020 Ok, I have discovered something, but still not all questions answered. There is usually a view.lua in each mod folder. The problem is that the P-51D don't have any, so I toke the TF-51 one and copied into the server.lua in my saved games folder. So I have this: ViewSettings["P-51D"] = { Cockpit = { [1] = {-- player slot 1 CockpitLocalPoint = {-1.500000,0.618000,0.000000}, CameraViewAngleLimits = {60.000000,140.000000}, CameraAngleRestriction = {false,90.000000,0.500000}, CameraAngleLimits = {200,-80.000000,90.000000}, EyePoint = {0.025000,0.100000,0.000000}, ShoulderSize = 0.15, Allow360rotation = false, limits_6DOF = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000}, }, }, -- Cockpit Chase = { LocalPoint = {0.200000,-0.652000,-0.650000}, AnglesDefault = {0.000000,0.000000}, }, -- Chase Arcade = { LocalPoint = {-21.500000,5.618000,0.000000}, AnglesDefault = {0.000000,-8.000000}, }, -- Arcade } It worked but not for all models, because there are P-51D-30-NA (the P-51D-25-NA are treated as P-51D in label) so I put this code: ViewSettings["P-51D"] = { Cockpit = { [1] = {-- player slot 1 CockpitLocalPoint = {-1.500000,0.618000,0.000000}, CameraViewAngleLimits = {60.000000,140.000000}, CameraAngleRestriction = {false,90.000000,0.500000}, CameraAngleLimits = {200,-80.000000,90.000000}, EyePoint = {0.025000,0.100000,0.000000}, ShoulderSize = 0.15, Allow360rotation = false, limits_6DOF = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000}, }, }, -- Cockpit Chase = { LocalPoint = {0.200000,-0.652000,-0.650000}, AnglesDefault = {0.000000,0.000000}, }, -- Chase Arcade = { LocalPoint = {-21.500000,5.618000,0.000000}, AnglesDefault = {0.000000,-8.000000}, }, -- Arcade } ViewSettings["P-51D-30-NA"] = { Cockpit = { [1] = {-- player slot 1 CockpitLocalPoint = {-1.500000,0.618000,0.000000}, CameraViewAngleLimits = {60.000000,140.000000}, CameraAngleRestriction = {false,90.000000,0.500000}, CameraAngleLimits = {200,-80.000000,90.000000}, EyePoint = {0.025000,0.100000,0.000000}, ShoulderSize = 0.15, Allow360rotation = false, limits_6DOF = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000}, }, }, -- Cockpit Chase = { LocalPoint = {0.200000,-0.652000,-0.650000}, AnglesDefault = {0.000000,0.000000}, }, -- Chase Arcade = { LocalPoint = {-21.500000,5.618000,0.000000}, AnglesDefault = {0.000000,-8.000000}, }, -- Arcade } and now all the P-51D have the maximun 140 degrees... all? NOOOOOOOO There is one, only one as Asterix and Obelix village that don't want to be ruled and stays in a maximun 90 degrees. It is a 25-NA but it doesn't work with it: It is a P51 included in the mission P-51 D-25 - Train Strafe that is in the instant action missions of caucasus. AND IT IS MAKING ME MAD!!!! Do someone know why it doesn't work with this? Maybe a differenet internal name? I opened in mission editor and all seems to be the same.... Link to post Share on other sites
Terry Dactil Posted January 2 Share Posted January 2 (edited) The last line of this bit of code in the server.lua file suggests to me that you can give the same settings to several different aircraft without having to repeat all the code.. If you can work out the correct name for the missing P-51, you can just add it to a list of P-51 types. Perhaps you could make a list starting with the generic "P-51D", then continue adding the various type variant letter. I expect the incorrect entries would just be ignored as I don't have any of the "Su-xx" modules and there are no problems with that. Perhaps your missing P-51 uses the "default_fighter_player({CockpitLocalPoint" and does not have its own specific entry? You could try editing that. (I see you have already looked at that in your first post. Sorry). ViewSettings["Su-27"] = { Cockpit = { [1] = default_fighter_player({CockpitLocalPoint = {7.959000,1.419000,0.000000}})-- player slot 1 }, -- 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 } ViewSettings["Su-33"] = ViewSettings["Su-27"] Edited January 2 by Terry Dactil added "default_fighter_player({CockpitLocalPoint" suggestion Link to post Share on other sites
Terry Dactil Posted January 4 Share Posted January 4 (edited) Japo32: I am working on restoring the old 'F4 Look Back' and I have finally discovered where the P-51 (and others) views code is now hiding. This looks like the file you need to edit to fix your problem. C:\Program Files\Eagle Dynamics\DCS World\CoreMods\WWII Units\P-51D The views settings are way down around line 1456. Added later: There is also a Views.lua file in the WWII Units directory which I am hoping is a default applying to all the modules. Edited January 4 by Terry Dactil Also found a Views.lua file Link to post Share on other sites
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