Jump to content

Zooming out by changing the view.lua


Recommended Posts

Hello,

 

I am running 3 screens with a TH2G. I remember changing a setting in BlackShark to increase the zoom out value to increase the FOV. I can't remember how I did that.

 

Can someone point me in the right direction on how to do this for the P51?

 

Your help is greatly appreciated.

 

Thanks,

Scooter

Link to comment
Share on other sites

I think it's ./Config/View/View.lua.

 

There will be lines of Lua about FOV angle limits. You want to edit those.

 

I don't have a copy of this file on me here. So if you upload ./Config/View/View.lua, I will be able to help you out a lot easier.

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Link to comment
Share on other sites

If you look at lines 110-120 there is not a slot for the P51.

 

I have no idea...

 

You are right!

 

Plane index 12=[P-51D] is gone in 1.1.2.1 ....

 

1. Try Changing the values of the SU_27 as it seems to be the default value if nothing is specified:

function validate(tbl,itype)

local default = Su_27

if itype > 150 then --LastPlaneType

default = KA_50

end

return tbl[itype] or tbl[default]

end

Or maybe the Ka_50 ...

 

or

 

2. just add after line

 

#23

[P_51D] = 12,

 

#121 (now #122)

CameraViewAngleLimits[P_51D] = {20.0, 120.0} -- edit this to your values!

 

#143 (now 145)

CameraAngleRestriction[P_51D] = {0,90,0.5}

 

 

I will be able to test it myself in two hours - I installed the patch yesterday and didn't played much around with it. - so make a backup before you edit!

Link to comment
Share on other sites

Forget what I wrote above and use the file attached - this is a vanilla 1.1.2.1 view.lua

It has the P-51D in line #135 inside . Change it to your liking.

 

I'm really puzzled why you don't have this entry in the file you posted. - is your file is a copy before the P-51D is installed to DCS:World?

View.lua


Edited by PeterP
  • Like 1

Link to comment
Share on other sites

  • Recently Browsing   0 members

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