Jump to content

Recommended Posts

Posted

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.

Posted
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!

Posted (edited)

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

  • Recently Browsing   0 members

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