Jump to content

HELP! ViewSettings not working for Chase View


Go to solution Solved by NeoBlue,

Recommended Posts

Posted

Hi, there~ I need ur help!

After the forced update today from 2.8 to 2.9, I found the F4 setting in Server.lua NOT WORKING for FA18c hornet.

I used the Chase view with 8 degree down to do some computer vision task below the aircarft. However, the AnglesDefault field not affected by the setting and the camera facing the same direction with plane. I tried to modify the valuables, turned out nothing changed for the F4 camera.

NOTE: I create the mission from previous trk file. However, the Config/Server.lua is exactly the same with one I placed under DCS/Config/View/ folder

ViewSettings["FA-18C_hornet"] = {
    -- Cockpit = {
    -- [1] = default_fighter_player({CockpitLocalPoint      =  {4.710000,1.28000,0.000000},
    --                            EyePoint               = {0.000000,0.000000,0.000000},
    --                            limits_6DOF            = {x    = {-0.050000,0.600000},
    --                                                      y    = {-0.300000,0.100000},
    --                                                      z    = {-0.250000,0.250000},
    --                                                      roll =  90.000000}}),
    -- }, -- Cockpit
    Chase = {
        LocalPoint      = {6.000000,-1.00000,0.000000},--{0.600000,3.682000,0.000000},
        AnglesDefault   = {0.000000,-8.000000},--{180.000000,-8.000000},
    }, -- Chase
    Arcade = {
        LocalPoint      = {-27.000000,12.000000,0.000000},
        AnglesDefault   = {0.000000,-12.000000},
    }, -- Arcade
}
  • Solution
Posted

UPDATE: The Server.lua can certain affect missions newly created, for example the Case I landing mission in INSTANT ACTION. In order to affect the mission I saved from trk, I have to open the .miz pack and change the Config/Server.lua file. This is SO UNCONVENIENT! 

I modified the AnglesDefault field to following values which make F4 same as before DCS update. Did new version change the axis orientation definition or something? Are there any techinical reference stating the change especially with the lua APIs?

    Chase = {
        LocalPoint      = {6.000000,-1.000000,0.000000},--{0.600000,3.682000,0.000000},
        AnglesDefault   = {0.000000,8.000000,0.000000},--{180.000000,-8.000000},
    }, -- Chase
  • Recently Browsing   0 members

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