Jump to content

FOV in 1.1 DEMO


gustav

Recommended Posts

Hi:

 

I posted this on Ubi, but no response.

 

Anyone figure out how to set initial fov further back when using trackir in the demo. It defaults too zoomed in for my taste. The only thing I can figure out so far is just to move in physically and then set center, but that results in too many jitters (I asume because you are out of the dead zone when you sit back in normal position)(hope that made sense). If no way in the demo, I hope we will have such an option in the full product.

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Hi, I noticed you cant change FOV in the options menu. Can i somehow do it some other way?

 

I checked config files carefully, but I could not find the parameter for that.

(There was one in 'Config\cockpit.cfg' in V1.02.)

Maybe they removed it.

 

 

Hi:

Anyone figure out how to set initial fov further back when using trackir in the demo. It defaults too zoomed in for my taste. The only thing I can figure out so far is just to move in physically and then set center, but that results in too many jitters (I asume because you are out of the dead zone when you sit back in normal position)(hope that made sense). If no way in the demo, I hope we will have such an option in the full product.

 

I assume you are talking abaut new Vector function.

I can't confirm this because I don't have Vector, but this could be the solution.

(It works for analog axis zoom control.)

 

Open \Lock On 1.1 Demo\Config\View\View.lua with Notepad.

Find these lines.

 

-- Camera view angle limits {view angle min, view angle max}.

CameraViewAngleLimits = {}

CameraViewAngleLimits[PlaneIndex.iSu_27] = {20.0, 120.0}

CameraViewAngleLimits[PlaneIndex.iSu_33] = {20.0, 120.0}

CameraViewAngleLimits[PlaneIndex.iSu_25] = {20.0, 120.0}

CameraViewAngleLimits[PlaneIndex.iSu_39] = {20.0, 120.0}

CameraViewAngleLimits[PlaneIndex.iMiG_29] = {20.0, 120.0}

CameraViewAngleLimits[PlaneIndex.iMiG_29K] = {20.0, 120.0}

CameraViewAngleLimits[PlaneIndex.iA_10] = {20.0, 120.0}

CameraViewAngleLimits[PlaneIndex.iF_15] = {20.0, 120.0}

 

The average value of 'view angle min' and 'view angle max' is the center value for analog axis cotrol. In this case the center is 70 degree.

Change values in the line of the aircraft you like.

If you want to make Su-25's center value 90 degree, you can try this.

CameraViewAngleLimits[PlaneIndex.iSu_25] = {20.0, 160.0}

or

CameraViewAngleLimits[PlaneIndex.iSu_25] = {40.0, 140.0}

etc.

 

Save the file and fly to see what happens.

 

I hope this works.

TekaTeka from Japan

[sIGPIC][/sIGPIC]

Visit my site Beyond Visual Range.

Link to comment
Share on other sites

gustav, I found the answer. :D

Actually it is better than before. You can set default zoom angles for each aircraft separately in V1.1.

The default zoom values are built into snap view setting now.

Follow the steps shown below.

 

Open \Lock On 1.1 Demo\Config\View\SnapViews.lua with Notepad.

 

There are lines start with characters like this.

Snap[1][2].....

 

The first index (number in bracket) represents the aircraft type. See this table.

1=Su-27

2=Su-33

3=Su-25

4=Su-39,Su-25T

5=MiG-29

6=MiG-29K

7=A-10

8=F-15

 

The second index represents the key on numpad.

Index 13 defines default cockpit view.

 

And Snap[#][13]["viewAngle"] is the default zoom angle for each aircraft.

 

If you want to change Su-25's default zoom angle, find this line.

Snap[3][13]["viewAngle"] = 69.302101135254

 

To change it to, say, 90 degree, replace the value like this.

Snap[3][13]["viewAngle"] = 90

 

Save the file and fly!

 

Original values are kept in the file SnapViewDefault.lua .

When you like to go back to the original setting, find the corresponding line in SnapViewDefault.lua and copy back onto SnapViews.lua.

 

And that's it.

 

Enjoy! 8)

  • Like 1

TekaTeka from Japan

[sIGPIC][/sIGPIC]

Visit my site Beyond Visual Range.

Link to comment
Share on other sites

  • 2 months later...

@ Teka Teka - TNX, it helped me to!

Gigabyte Z490 Gaming X | i5 10600K@4700 | 32 Gb DDR4 @ 3200Mhz | Gigabyte Aorus GeForce GTX 1080 Ti 11G |

MONITOR IIYAMA 24,5" LED LCD @ 1920 x 1080 | Windows 11

 | Saitek X-55 Rhino | TrackIR 5 Pro

Link to comment
Share on other sites

  • Recently Browsing   0 members

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