Jump to content

Huey FOV change for surround ?


ron533

Recommended Posts

Hi,

 

I'm using surround on 3 monitors so I need FOV adjustments,

and for some reason I can't seem to adjust the FOV of the Huey via the Server.lua file anymore.

In the past I controlled it using PeterP files but they are not suitable/adjusted to Huey.

 

Can someone help with the adjustments please?

 

see the setting of the Server.lua (in savedGames\Config\View)

I've cut all the rest and attached the relevant lines.

 

Thanks!

 

 

 

 

 

function default_fighter_player(t)

local res = {

CameraViewAngleLimits = {20.000000,165.000000}, --140 >>165

CameraAngleRestriction = {false ,165.000000,0.500000},--90 >>165

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,120.000000}, --110 >> 120

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["UH-1H"] = {

Cockpit = {

[1] = {-- player slot 1

CockpitLocalPoint = {2.34, 0.37 , 0.0},

CameraViewAngleLimits = gCameraViewAngleLimits,

CameraAngleRestriction = {false,175.000000,0.400000},

CameraAngleLimits = {175.000000,-165.000000,120.000000},

EyePoint = gEyePoint,

ShoulderSize = gShoulderSize,

limits_6DOF = {x = {-0.100000,0.500000},

y = {-0.200000,0.350000},

z = {-0.200000,0.750000},

roll = 90.000000},

},

 

[2] = {-- player slot 2

CockpitLocalPoint = {2.34, 0.37 , 0.0},

CameraViewAngleLimits = gCameraViewAngleLimits,

CameraAngleRestriction = {false,165.000000,0.400000},

CameraAngleLimits = {140.000000,-165.000000,120.000000},

EyePoint = gEyePoint,

ShoulderSize = gShoulderSize,

limits_6DOF = {x = {-0.100000,0.500000},

y = {-0.200000,0.350000},

z = {-0.750000,0.200000},

roll = 90.000000},

},

 

[3] = {-- player slot 3

CockpitLocalPoint = {2.34, 0.37 , 0.0},

CockpitLocalPointAzimuth = -90,

CameraViewAngleLimits = gCameraViewAngleLimits,

CameraAngleRestriction = {false,165.000000,0.400000},

CameraAngleLimits = {140.000000,-165.000000,120.000000},

EyePoint = gEyePoint,

ShoulderSize = gShoulderSize,

limits_6DOF = {x = {-3.0, 0.35} ,

y = {-0.6,0.5},

z = {-0.25,1.4},

roll = 90.000000},

},

 

[4] = {-- player slot 4

CockpitLocalPoint = {2.34, 0.37 , 0.0},

CockpitLocalPointAzimuth = 90,

CameraViewAngleLimits = gCameraViewAngleLimits,

CameraAngleRestriction = {false,165.000000,0.400000},

CameraAngleLimits = {140.000000,-165.000000,120.000000},

EyePoint = gEyePoint,

limits_6DOF = {x = {-3.0, 0.35},

y = {-0.6,0.5},

z = {-1.4,0.25},

roll = 90.000000},

},

 

}, -- Cockpit

Chase = {

LocalPoint = {-3.700000,2.400000,0.000000},

AnglesDefault = {180.000000,-8.000000},

}, -- Chase

Arcade = {

LocalPoint = {-20.000000,5.000000,0.000000},

AnglesDefault = {0.000000,-8.000000},

}, -- Arcade

}

 

Callsign   SETUP

Link to comment
Share on other sites

Try the ED/Mods/Huey folder. Maybe there's another file specifically for the Huey that needs to be modified instead.

i9 9900k @5.1GHz NZXT Kraken |Asus ROG Strix Z390 E-Gaming | Samsung NVMe m.2 970 Evo 1TB | LPX 64GB DDR4 3200MHz

EVGA RTX 3090 FTW3 Ultra | Reverb G1  | HOTAS Warthog | Saitek Flight Pedals

Link to comment
Share on other sites

  • 2 weeks later...
  • 11 months later...

bump...

How do you edit the huey FOV to suit 3 monitors?

I need to further zoom out.

 

Editing the server.lua in the saved games\config\view

did not help...

 

Editing the view.lua AFTER copying and pasting into saved games, from the DCS World \Mods\aircraft\Uh-1H

also did not help.

 

2.5 changed/broke the way I can control the FOV, and I could not find an explanation on how to do it now.

Help appreciated....

Thanks!

Callsign   SETUP

Link to comment
Share on other sites

  • 1 year later...
bump...

How do you edit the huey FOV to suit 3 monitors?

I need to further zoom out.

 

Editing the server.lua in the saved games\config\view

did not help...

 

Editing the view.lua AFTER copying and pasting into saved games, from the DCS World \Mods\aircraft\Uh-1H

also did not help.

 

2.5 changed/broke the way I can control the FOV, and I could not find an explanation on how to do it now.

Help appreciated....

Thanks!

 

Did anyone recommend a solution? I am trying to determine how the HU1 FOV gets adjusted along with you.

Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

Have you tried changing the resolution in your game settings? I don't recall the exact procedure now, but basically I think you just add up the horizontal and vertical resolutions of your monitors and enter that as the value of your resolution in the video settings. So for three 1920x1080 displays side by side, you would enter 5760x1080. That should make the game draw the appropriate peripheral field of view at the default zoom level, and then you can use the "slow zoom out" in game to adjust further to your taste.

 

Sorry if I'm not understanding the issue, but as you've been trying to solve this since 2017, I figure an unhelpful response is still better than no response. :)

Link to comment
Share on other sites

Have you tried changing the resolution in your game settings? I don't recall the exact procedure now, but basically I think you just add up the horizontal and vertical resolutions of your monitors and enter that as the value of your resolution in the video settings. So for three 1920x1080 displays side by side, you would enter 5760x1080. That should make the game draw the appropriate peripheral field of view at the default zoom level, and then you can use the "slow zoom out" in game to adjust further to your taste.

 

Sorry if I'm not understanding the issue, but as you've been trying to solve this since 2017, I figure an unhelpful response is still better than no response. :)

 

Thank you for your reply! :)

 

I'll try to explain.

The 3 monitors run just fine, no further adjustment neede there.

but since I have a larger resolution now (with bezel correction it's 6000X1200)

the previous FOV of the Huey which was ~60 degrees and is native to resolution of 1920X1080,

is still the same for my higher resolution, so 60 degrees FOV on a wide screen looks like I sit WAY too close.

 

I am already at the most aft zoom I can (means wider FOV) - and it's not enough.

In the past I was able to fix it in the view settings, but ED has changed the way it worked and "broke" it, so I don't know how to manage it now....

 

Thanks!

Callsign   SETUP

Link to comment
Share on other sites

Ah, I get it now. Sorry I don't have any real insights to offer.

 

If you really can't change the FOV, I wonder if you could get a wider zoom by "tricking" the system by setting a different resolution. If, for example, you set a lower horizontal resolution than 6000 (or a higher vertical resolution than 1200), would DCS just not draw to the outer edges of the left and right monitors? (Or would it just stretch and distort?)

 

If the former is the case, you would lose some of the benefit of the side monitors, but you might be able to find a compromise between an acceptable zoom level and still using at least half the side monitors.

 

Odds of that suggestion being helpful seem low, but perhaps it will spur someone else who actually knows what the hell they are talking about to weigh in just to shut me up.

Link to comment
Share on other sites

Since you mentioned tinkering with the views.lua (or I assume that is what you meant) and hence display some experience with lua files, I give it a shot trying to at least point you in the right direction. Mind you, I'm no expert what so ever, don't expect my explanations to be without flaws!

Most of my limited knowledge comes from THIS thread.

 

Previously we were able to tinker with the views.lua lokated in each aircrafts main folder, in this case:

...\DCS World [2 [OpenBeta]]\Mods\aircraft\Uh-1H\views.lua

That's not possible anymore.

 

But the same things can be done elsewhere, namely:

...\Saved Games\DCS[.openbeta]\Config\View\Server.lua

and

...\Saved Games\DCS[.openbeta]\Config\View\SnapViews.lua

 

 

If this folder and/or file does not exist, you have to create the

\Config\View\

within

...\Saved Games\DCS[.openbeta]

then copy the Server.lua in

...\DCS World [2 [OpenBeta]]\Config\View\

to that new folder.

 

Now open

...\DCS World [2 [OpenBeta]]\Mods\aircraft\Uh-1H\views.lua

in Notepad++

Copy the entire section

ViewSettings = {...}

Open

...\Saved Games\DCS[.openbeta]\Config\View\Server.lua

Paste the previously copied ViewSettings to the end of that Server.lua.

Add ["UH-1H"] directly behind ViewSetting, like this:

ViewSettings["UH-1H"] = {...}

Now you can do whatever settings you did in that section in views.lua, but in this Server.lua in appropriate section (repeat this procedure for each aircraft that is not already represented in the file).

 

 

Download THIS SnapViews.lua, it's the one I use and the link is from another thread in these forums.

Place it in

...\Saved Games\DCS[.openbeta]\Config\View\

Mind you, it contains SnapView settings for all aircraft (I think). You can open the file and remove every

SnapViews["xxx"] = {...}

belonging to aircraft xxx you don't want to be affected by this tweaking.

In this SnapViews.lua you have the parameter you want to play with, viewAngle. For all aircrafts this parameter has been adjusted for the MOD it was taken from, but if you don't use that particular MOD you can set it as you like.

The last thing to do is to go to 'SETTINGS-MISC.' in the game and activate 'User Snap-Views Saving', otherwise your FOV setting won't have any effect.

 

As a final thought, an extract from the Server.lua from the MOD linked to in the beginning, regarding the CameraViewAngleLimits parameter:

-- Field of view, zoom min and max. consider setting it so that min + (max-min)/2 = default viewAngle (index 13) from snap views. This will result in the default zoom being located in the midle position of the zoom slider, for instance on the TM W . Note that Mi-8 is an exception from this rule as it uses a "Max FOV adjustment" from "Special" to override the max value. Setting max value to default FOV - viewAngle from SnapViews will remove the zoom-out effect at cokpit enter.

 

 

Hope this is of any help.


Edited by Holton181

Helicopters and Viggen

DCS 1.5.7 and OpenBeta

Win7 Pro 64bit

i7-3820 3.60GHz

P9X79 Pro

32GB

GTX 670 2GB

VG278H + a Dell

PFT Lynx

TrackIR 5

Link to comment
Share on other sites

Thank you for your reply! :)

 

I am already at the most aft zoom I can (means wider FOV) - and it's not enough.

In the past I was able to fix it in the view settings, but ED has changed the way it worked and "broke" it, so I don't know how to manage it now....

 

Thanks!

 

Did you set Monitors to 3 Screen in DCS Options?

Link to comment
Share on other sites

Did you set Monitors to 3 Screen in DCS Options?

 

It is set as 1 monitor at 6000X1200 resolution. my monitor config lua is:

 

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 6000;

height = 1200;

viewDx = 0;

viewDy = 0;

aspect = 5;

}

}

 

 

Since you mentioned tinkering...

 

Thank you for the detailed instructions!!

Well I'm changing the parameters in SERVER.LUA saved games path,

the only change I see is if I tinker with "CameraViewAngleLimits" ,

but it does up to ~140 degrees, not more.

and I need more, close to a fisheye effect...

 

In single monitor and 1920X1080 I saw it could be done , but not in 3 combined monitors wider resolution .

the same level of "CameraViewAngleLimits" is different between wider resolutions,

and does not account to that I guess from the results... In the past it could be done but ED put a restriction maybe...

And now I'm stuck with that unless there's a newer way to overide it.

 

 

 

ViewSettings["UH-1H"] = {

Cockpit = {

[1] = {-- player slot 1

CockpitLocalPoint = {2.34, 0.37 , 0.0},

CameraViewAngleLimits = {20,160}, --160

CameraAngleRestriction = {false,180.000000,0.400000}, --140

CameraAngleLimits = {175.000000,-165.000000,180.000000}, --120

EyePoint = gEyePoint,

ShoulderSize = gShoulderSize,

limits_6DOF = {x = {-0.100000,0.500000},

y = {-0.200000,0.350000},

z = {-0.200000,0.750000},

roll = 90.000000},

},

 

Callsign   SETUP

Link to comment
Share on other sites

Well I'm changing the parameters in SERVER.LUA saved games path...

Did you also include the SnapViews.lua I provided? There is the parameter I believe you should play with: viewAngle

Also read about the recommended setting for CameraViewAngleLimits as described last in my post. CameraViewAngleLimits and viewAngle are somewhat related.

Helicopters and Viggen

DCS 1.5.7 and OpenBeta

Win7 Pro 64bit

i7-3820 3.60GHz

P9X79 Pro

32GB

GTX 670 2GB

VG278H + a Dell

PFT Lynx

TrackIR 5

Link to comment
Share on other sites

Did you also include the SnapViews.lua I provided? There is the parameter I believe you should play with: viewAngle

Also read about the recommended setting for CameraViewAngleLimits as described last in my post. CameraViewAngleLimits and viewAngle are somewhat related.

 

I have. no effect. I can zoom out to a certain FOV (using / and * ) and save it to my snapview lua file - but no more than 140 degrees as before

Callsign   SETUP

Link to comment
Share on other sites

I have. no effect. I can zoom out to a certain FOV (using / and * ) and save it to my snapview lua file - but no more than 140 degrees as before

 

And the user snap views option in settings are activated I guess. So there where no effect manually editing viewAngle in SnapViews.lua to above 140 and CameraViewAngleLimits in server.lua accordingly. Other than that I have no more ideas, sorry.

Helicopters and Viggen

DCS 1.5.7 and OpenBeta

Win7 Pro 64bit

i7-3820 3.60GHz

P9X79 Pro

32GB

GTX 670 2GB

VG278H + a Dell

PFT Lynx

TrackIR 5

Link to comment
Share on other sites

And the user snap views option in settings are activated I guess. So there where no effect manually editing viewAngle in SnapViews.lua to above 140 and CameraViewAngleLimits in server.lua accordingly. Other than that I have no more ideas, sorry.

 

Correct.

Thank you anyway :thumbup:

 

Will wait for more ideas, or confirmation it can not be done...

Callsign   SETUP

Link to comment
Share on other sites

Suggestion: Sell two of your monitors and get a VR headset instead. Then you can look all around you. Awesome for helicopters as well, the depth perception really helps with smooting the landings.

 

I bet it is :)....

but I'm waiting for VR to be much better (it's a different discussion) before I sell my screens...

Callsign   SETUP

Link to comment
Share on other sites

When I flew in 3 monitors, I just zoomed all the way out and the screen was pretty much perfect.

Intel 13900k @ 5.8ghz | 64gb GSkill Trident Z | MSI z790 Meg ACE| Zotac RTX4090 | Asus 1000w psu | Slaw RX Viper 2 pedals | VKB Gunfighter Mk3 MCE Ultimate + STECS/ Virpil MongoosT50+ MongoosT50CM | K-51 Collective + custom AH64D TEDAC | HP Reverb G2 | Windows 11 Pro | |Samsung Odyssey G9 | Next Level Racing Flight Seat Pro

The Boeing MQ-25A Sting Ray = Dirt Devil with wings
 My wallpaper and skins

Link to comment
Share on other sites

When I flew in 3 monitors, I just zoomed all the way out and the screen was pretty much perfect.

Well it used to be ok until at one point ED has changed the view angles limits and even fully zoomed out is not far enough as before the change.

Callsign   SETUP

Link to comment
Share on other sites

My technique for lining this up is to use Rctrl-Rshift-keypad\, *, 4, 6, 8, 2 to shift the center position back, fwd, left, right, up, down until the huey's stick is centered on my own.

 

It really ups the immersion for me to have the correct perspective.

True, but FOV isn't changed above what I stated (140),

so I can't get far enough to the back as I wish.

Callsign   SETUP

Link to comment
Share on other sites

True, but FOV isn't changed above what I stated (140),

so I can't get far enough to the back as I wish.

 

There's bound to be a solution somewhere in DCS; however, I don't dig around in the configs that much, since I have VR it's really a non issue.:pilotfly:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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