SharpeXB Posted December 13, 2022 Posted December 13, 2022 (edited) I am unable to alter the cockpit FOV limits. Assuming this is supposed to be possible with the following steps. Copy the Server.lua file from: C:\Program Files\Eagle Dynamics\DCS World\Config\View to: C:\Users\Myname\Saved Games\DCS\Config\View Edit the following: -- View scripts -- Copyright (C) 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 --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,95.000000}, CameraAngleRestriction = {false ,90.000000,0.500000}, After doing this my zoom levels in the game remain as min 20 max 140 instead of 20-95 as I was trying to set. Stable version 2.7.18.30765 DxDiag.txt Edited December 13, 2022 by SharpeXB i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | ASUS TUF GeForce RTX 4090 OC | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5
Shaman Posted December 30, 2022 Posted December 30, 2022 This is not a bug, just incomplete lua script. Likely the aircraft you wish to limit is not called for by the script. 51PVO Founding member (DEC2007-) 100KIAP Founding member (DEC2018-) :: Shaman aka [100☭] Shamansky tail# 44 or 444 [sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer
SharpeXB Posted December 30, 2022 Author Posted December 30, 2022 3 hours ago, Shaman said: This is not a bug, just incomplete lua script. Likely the aircraft you wish to limit is not called for by the script. I’m using the Hornet. Is there another aircraft that this does work with? i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | ASUS TUF GeForce RTX 4090 OC | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5
Shaman Posted December 31, 2022 Posted December 31, 2022 (edited) It works with the Hornet. Would you like to try my server.lua - you can adjust it from there. It is attached. I prefer to set my minimum to 30 and maximum to 150, so my middle is 90 degrees. Adding my default snapview file for it just in case. Dropped them to Saved Games\DCS\Config\View as-is and check Hornet first Server.rar SnapViews.rar Edited December 31, 2022 by Shaman 1 51PVO Founding member (DEC2007-) 100KIAP Founding member (DEC2018-) :: Shaman aka [100☭] Shamansky tail# 44 or 444 [sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer
SharpeXB Posted January 1, 2023 Author Posted January 1, 2023 9 hours ago, Shaman said: It works with the Hornet. Would you like to try my server.lua - you can adjust it from there. It is attached. I prefer to set my minimum to 30 and maximum to 150, so my middle is 90 degrees. Adding my default snapview file for it just in case. Dropped them to Saved Games\DCS\Config\View as-is and check Hornet first Server.rar 2.26 kB · 0 downloads SnapViews.rar 3.97 kB · 0 downloads What parts of that did you edit? i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | ASUS TUF GeForce RTX 4090 OC | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5
Shaman Posted January 1, 2023 Posted January 1, 2023 (edited) I have changed a lot, but what you are seeking for is in row#7 local GlobalCameraViewAngleLimits = {30,150} and then these values are being used for Hornet from row#492 Edited January 1, 2023 by Shaman 51PVO Founding member (DEC2007-) 100KIAP Founding member (DEC2018-) :: Shaman aka [100☭] Shamansky tail# 44 or 444 [sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer
Recommended Posts