Jump to content

Edit External Views?


Nealius

Recommended Posts

I am looking for ways to edit the external views, namely the Shift+F4 view because, well, the defaults suck. That and I want to put a camera right where the boom operator would be on the KC-135.

 

I have found threads saying to change this line in the server.lua file:

 

RearCameraPos = {cockpit_point[1] - 3.7 ,cockpit_point[2] + 2.4, cockpit_point[3]}

end

 

But this line does not exist in the server.lua file.

 

Also, when pressing Shift+F4 when viewing the KC-135, the aircraft disappears....

Link to comment
Share on other sites

check server.lua and view.lua

 

I did. Neither the server.lua nor the view.lua have the line I need, and adding the line does not work:

 

-- View scripts

-- Copyright © 2004, Eagle Dynamics.

DisableCombatViews = false -- F5 & Ctrl-F5

ExternalObjectsLockDistance = 10000.0

ShowTargetInfo = false

CameraTerrainRestriction = true

hAngleRearDefault = 180

vAngleRearDefault = -8.0

vAngleRearMin = -90 -- -8.0

vAngleRearMax = 90.0

 

dbg_shell = "weapons.shells.2A64_152" -- 23mm shell

-- dbg_shell = "weapons.shells.2A64_152" -- 152mm shell

dbg_shell_v0 = -1 -- Muzzle speed m/s (-1 - speed from shall database)

 

 

--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 (i.e. where you define your aircraft in aircraft table just define ViewSettings and SnapViews tables)

 

function default_fighter_player(t)

local res = {

CameraViewAngleLimits = {20.000000,140.000000},

CameraAngleRestriction = {false ,90.000000,0.500000},

EyePoint = {0.05 ,0.000000 ,0.000000},

limits_6DOF = {x = {-0.050000,0.4500000},y ={-0.300000,0.100000},z = {-0.220000,0.220000},roll = 90.000000},

Allow360rotation = false,

CameraAngleLimits = {200,-80.000000,110.000000},

ShoulderSize = 0.2, -- move body when azimuth value more then 90 degrees

}

if t then

for i,o in pairs(t) do

res = o

end

end

return res

end

 

ViewSettings = {}

ViewSettings["A-10A"] = {

Cockpit = {

[1] = default_fighter_player({CockpitLocalPoint = {4.300000,1.282000,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 = {0.600000,3.682000,0.000000},

AnglesDefault = {180.000000,-8.000000},

}, -- Chase

Arcade = {

LocalPoint = {-27.000000,12.000000,0.000000},

AnglesDefault = {0.000000,-12.000000},

}, -- Arcade

}

ViewSettings["A-10C"] =

 

etc. etc. etc.

 

mind views are shared with many models.

 

The server.lua has views split by aircraft, although it only includes FC3 aircraft, the A-10C, and P-51D.

 

There is also a readme files that says one should edit the server.lua file found in \Username\Saved Games\DCS\Config\View. No such folder exists in that directory.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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