Razi Posted December 8, 2006 Posted December 8, 2006 First off, thanks for everyones input and help on this topic so far. I have been unable fix this problem for myself though. I've also tried LoCFG, but I get an error when I try and apply any changes to the views. Error reads: Loading Su-27 View-SnapViews Settings ----------------- " is not a valid integer value ----------------- ViewAngleMin: ----------------- Please contact the developper! I'm not concerned with using LoCFG, it was just a last ditch effort to make the changes I needed, also the spelling error was actually in the message. My "view.lua" file for 1.12 is slightly different then that posted in other threads and it doesn't seem to matter how I change the values, no change occurs. -- Camera view angle limits {view angle min, view angle max}. CameraAngleLimits = {} CameraAngleLimits[PlaneIndex.iSu_27] = {160.0, -76.0, 110.0} CameraAngleLimits[PlaneIndex.iSu_33] = {160.0, -79.0, 110.0} CameraAngleLimits[PlaneIndex.iSu_25] = {109.0, -70.0, 105.0} CameraAngleLimits[PlaneIndex.iSu_39] = {116.0, -85.0, 110.0} CameraAngleLimits[PlaneIndex.iMiG_29] = {160.0, -80.0, 110.0} CameraAngleLimits[PlaneIndex.iMiG_29K] = {140.0, -65.0, 90.0} CameraAngleLimits[PlaneIndex.iA_10] = {160.0, -72.0, 110.0} CameraAngleLimits[PlaneIndex.iF_15] = {160.0, -81.0, 110.0} This section has 3 values in my "view.lua" and I'm not sure how to change them so that my view is not zoomed in quite so much. I tryed copying and pasting the mentioned solutions "{20.0, 145.0}" but no change occured. I have my resolution set to "1440, 900" and my aspect ratio to "1.6" and that works great. I would like my default cockpit view zoomed out a bit more then default, but can't seem to get any change to happen. All I have been able to do is change the default view angle by editing the "snapviews.lua" file. One other note, is it possible to edit the default cockpit view so that it resembles the "naturalhead" view? As in the horizon is in the middle of the screen not closer to the top. In otherwords the view is looking slightly more upwards then the default?
Alfa Posted December 8, 2006 Posted December 8, 2006 Hi, I am not entirely sure what you are trying to do, but from the sound of it you want to change only the zoom and vertical view angle? If so then this is done in SnapViews.lua - instructions here: http://www.forum.lockon.ru/showpost.php?p=65261&postcount=3 To take an example: If you want to change the views for e.g. the MiG-29, open the snapviews.lua and scroll down to this part: >snip> Snap[5][13] = {} Snap[5][13]["y_trans"] = 0 Snap[5][13]["x_trans"] = 0 Snap[5][13]["hAngle"] = 0 Snap[5][13]["viewAngle"] = 81.240005493164 Snap[5][13]["vAngle"] = -9.5 Snap[5][13]["rollAngle"] = 0 Snap[5][13]["z_trans"] = 0 >snip> Here the [5] indicates the MiG-29, the ["ViewAngle"] value is for the zoom level and the ["vAngle"] value is for the vertical view angle. So if you want to have the default view zoomed out a little, you can try changing the value to e.g. 90.0(never mind the decimals) - to move the default vertical view angle up a little, try changing it e.g. to -8.0. This section in the View.lua that you mentioned.... -- Camera view angle limits {view angle min, view angle max}. CameraAngleLimits = {} CameraAngleLimits[PlaneIndex.iSu_27] = {160.0, -76.0, 110.0} CameraAngleLimits[PlaneIndex.iSu_33] = {160.0, -79.0, 110.0} CameraAngleLimits[PlaneIndex.iSu_25] = {109.0, -70.0, 105.0} CameraAngleLimits[PlaneIndex.iSu_39] = {116.0, -85.0, 110.0} CameraAngleLimits[PlaneIndex.iMiG_29] = {160.0, -80.0, 110.0} CameraAngleLimits[PlaneIndex.iMiG_29K] = {140.0, -65.0, 90.0} CameraAngleLimits[PlaneIndex.iA_10] = {160.0, -72.0, 110.0} CameraAngleLimits[PlaneIndex.iF_15] = {160.0, -81.0, 110.0} ....concerns absolute view limits - i.e. how far you can "turn your head" left, right, up or down. Hope this helps :) Cheers, - JJ. JJ
Razi Posted December 8, 2006 Author Posted December 8, 2006 Thanks Alfa for the response. Sorry, I was unclear about what I was asking. I posted in a thread with this topic, but I didn't get a response so I copy and pasted in a new thread and forgot that I didn't ask what it was I was wanting. Your 100% correct. I want to change the default zoom level and view angle. Another question I have is, I have a widescreen monitor, is it better or more preferable to change the POV instead of the zoom level? I noticed in some other threads, which is the code I posted above, they were trying to change the POV for their widescreen monitors. I changed my snapviews.lua to the following: Snap[7][13]["viewAngle"] = 90 Snap[7][13]["vAngle"] = 0 Snap[7][13]["hAngle"] = 0 The "vAngle" worked great! That was exactly what I was looking for. I wanted to mimic the actual level view of the pilot as my default view. I got a TrackIR 4 Pro, so looking down at the instruments is no longer difficult and I didn't need such a low default view. Changing the "viewAngle" attribute had no effect at all. Whether I changed it to 120, or 40, I saw no difference. Could the TrackIR be an issue with this? The vertical angle is now perfect, but the zoom level is still a little close. I have been moving my head forward then centering my TrackIR to get the desired zoom level and will continue to do this everytime, unless I can once and for all set my desired zoom level. Thanks very much for your help with this!
Razi Posted December 9, 2006 Author Posted December 9, 2006 Well upon further research its starting to sound like after the 1.12 patch the zoom function in the cfgs while using TIR with vector expansion no longer operates. From the sound of things, everyone seems to be either doing what I'm already doing, moving my head closer to the screen then recentering the TIR -- or disabling the TIR Z axis and using keys to zoom in or out. It sounds like in the next expansion this issue is fixed, coming from one of the ED Testers. This is the thread I was just reading. Unless something has changed since then, I don't think there is anything else I can do. http://forum.lockon.ru/showthread.php?t=15594
Recommended Posts