Jump to content

L-39C View Center key is off center, after last patch DCS 2.9.3.51704


Go to solution Solved by Flappie,

Recommended Posts

Posted

Hello,

After February 22nd 2023's update, my "View Center"-key (default numpad 5) is off, so that it focus on the right side of my L-39C's cockpit. 

I did not have any problems with L-39ZA, nor with my other modules (FC3, F-16C, F-5E, F-86F, F/A-18C, FW190D-9, MiG-21 Bis, Mirage F1, Spitfire MkIX, TF-51D).

I created a very simple mission in Caucasus Map, and I recorded the bugged L-39C's "view center" track.

I also joined an L-39ZA's "view center" track, which did not have the problem.

I do not have any mods installed.

Thank you for your help !

TroubleReport_L-39C_Off-View-Center.miz TroubleReport_L-39C_off-view-center.trk TroubleReport_L-39ZA_OK-view-center.trk

Posted

Thanks for the track. It looks like you have inadvertently customized the Center view.

  1. Open "Saved Games\DCS...\Config\View\SnapViews.lua".
  2. Look for the section staring with SnapViews["L-39C"] = {
  3. Inside this section, look for the subection starting with     [6] = {--LWin + Num5 : Snap View 5
  4. Replace its content with the following then save the file.
	[6] = {--LWin + Num5 : Snap View 5
		viewAngle		= 100.000000,--FOV
		viewAngleVertical= 0.000000,--VFOV
		hAngle			= 0.000000,
		vAngle			= -18.000000,
		x_trans			= 0.091525,
		y_trans			= 0.019003,
		z_trans			= 0.000000,
		rollAngle		= 0.000000,
		cockpit_version	= 0,
	},

---

Posted (edited)

Hi there, thank you for your help. I did change the SnapViews.lua as you suggested, but I still have the "offcenter" problem.

After the SnapViews.lua changes, I recorded a new track and it did not fix the "offcenter" problem. I joined my SnapViews.lua together with the new track.

Maybe should I delete my DCS, and do a clean installation.

Thank you again, I will only post in this topic from now on.

TroubleReport_L-39C_off-view-centerLuaEdited.trk TroubleSnapViews.lua

Edited by mikko.1842
  • Solution
Posted

I compared our SnapViews.lua files. The problem comes from this section, actually:

	[13] = {--default view
		viewAngle		= 100.000000,--FOV
		viewAngleVertical= 67.672738,--VFOV
		hAngle			= -45.000000,
		vAngle			= -48.000000,
		x_trans			= 0.091562,
		y_trans			= 0.015075,
		z_trans			= 0.001991,
		rollAngle		= -0.000000,
		cockpit_version	= 0,
	},

Replace it with that one below:

	[13] = {--default view
		viewAngle		= 100.000000,--FOV
		viewAngleVertical= 0.000000,--VFOV
		hAngle			= 0.000000,
		vAngle			= -18.000000,
		x_trans			= 0.091525,
		y_trans			= 0.019003,
		z_trans			= 0.000000,
		rollAngle		= 0.000000,
		cockpit_version	= 0,
	},

And you should be good to go.

---

Posted

Thank you for your fast answers ! I eventually deleted my DCS and re-installed it... I could not find "Saved Games\DCS...\Config\View\SnapViews.lua" in my new installation folder, but the clean re-installation solved my problem. I suppose the SnapViews.lua editing would have solved my problem too, because your explanations make sense to me.

I am still questioning how I could have modified the customized Center View... fat fingers maybe 😅

Anyway, thank you again for your help, your support was amazing. Have a nice day, and keep on doing such good job !

  • Recently Browsing   0 members

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