Jump to content

How to increase Fov? it is not Server.lua


Japo32

Recommended Posts

Hello!

I have 3 screens and 120 is not enough view for me. IT is too zoom in. If I look for how to modify fov in forum it talks me about server.lua, and that is how I modify my ka50, but not here.

The P51 don't appear in server.lua neither in snapviewsdefault.lua

 

The default fighters are already:

CameraViewAngleLimits  = {20.000000,140.000000},

 

and inside of Mods folder I cannot see anything related to view in all the files around the plane has. What am I missing?

Thanks!

 

Link to comment
Share on other sites

Ok, I have discovered something, but still not all questions answered. There is usually a view.lua in each mod folder. The problem is that the P-51D don't have any, so I toke the TF-51 one and copied into the server.lua in my saved games folder. So I have this:

 

ViewSettings["P-51D"] = {
	Cockpit = {
	[1] = {-- player slot 1
		CockpitLocalPoint      = {-1.500000,0.618000,0.000000},
		CameraViewAngleLimits  = {60.000000,140.000000},
		CameraAngleRestriction = {false,90.000000,0.500000},
		CameraAngleLimits      = {200,-80.000000,90.000000},
		EyePoint               = {0.025000,0.100000,0.000000},
		ShoulderSize		   = 0.15,
		Allow360rotation	   = false,
		limits_6DOF            = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000},
	},
	}, -- Cockpit 
	Chase = {
		LocalPoint      = {0.200000,-0.652000,-0.650000},
		AnglesDefault   = {0.000000,0.000000},
	}, -- Chase 
	Arcade = {
		LocalPoint      = {-21.500000,5.618000,0.000000},
		AnglesDefault   = {0.000000,-8.000000},
	}, -- Arcade 
}

It worked but not for all models, because there are P-51D-30-NA (the P-51D-25-NA are treated as P-51D in label)  so I put this code:

 

ViewSettings["P-51D"] = {
	Cockpit = {
	[1] = {-- player slot 1
		CockpitLocalPoint      = {-1.500000,0.618000,0.000000},
		CameraViewAngleLimits  = {60.000000,140.000000},
		CameraAngleRestriction = {false,90.000000,0.500000},
		CameraAngleLimits      = {200,-80.000000,90.000000},
		EyePoint               = {0.025000,0.100000,0.000000},
		ShoulderSize		   = 0.15,
		Allow360rotation	   = false,
		limits_6DOF            = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000},
	},
	}, -- Cockpit 
	Chase = {
		LocalPoint      = {0.200000,-0.652000,-0.650000},
		AnglesDefault   = {0.000000,0.000000},
	}, -- Chase 
	Arcade = {
		LocalPoint      = {-21.500000,5.618000,0.000000},
		AnglesDefault   = {0.000000,-8.000000},
	}, -- Arcade 
}

ViewSettings["P-51D-30-NA"] = {
	Cockpit = {
	[1] = {-- player slot 1
		CockpitLocalPoint      = {-1.500000,0.618000,0.000000},
		CameraViewAngleLimits  = {60.000000,140.000000},
		CameraAngleRestriction = {false,90.000000,0.500000},
		CameraAngleLimits      = {200,-80.000000,90.000000},
		EyePoint               = {0.025000,0.100000,0.000000},
		ShoulderSize		   = 0.15,
		Allow360rotation	   = false,
		limits_6DOF            = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000},
	},
	}, -- Cockpit 
	Chase = {
		LocalPoint      = {0.200000,-0.652000,-0.650000},
		AnglesDefault   = {0.000000,0.000000},
	}, -- Chase 
	Arcade = {
		LocalPoint      = {-21.500000,5.618000,0.000000},
		AnglesDefault   = {0.000000,-8.000000},
	}, -- Arcade 
}

and now all the P-51D have the maximun 140 degrees... all? NOOOOOOOO There is one, only one as Asterix and Obelix village that don't want to be ruled and stays in a maximun 90 degrees. It is a 25-NA but it doesn't work with it:

It is a P51 included in the mission P-51 D-25 - Train Strafe that is in the instant action missions of caucasus. AND IT IS MAKING ME MAD!!!!

 

Do someone know why it doesn't work with this? Maybe a differenet internal name? I opened in mission editor and all seems to be the same.... 

Link to comment
Share on other sites

The last line of this bit of code in the server.lua file suggests to me that you can give the same settings to several different aircraft without having to repeat all the code..

If you can work out the correct name for the missing P-51, you can just add it to a list of P-51 types.

Perhaps you could make a list starting with the generic "P-51D", then continue adding the various type variant letter.

I expect the incorrect entries would just be ignored as I don't have any of the "Su-xx" modules and there are no problems with that.

 

Perhaps your missing P-51 uses the "default_fighter_player({CockpitLocalPoint" and does not have its own specific entry?

You could try editing that. (I see you have already looked at that in your first post. Sorry).

 

ViewSettings["Su-27"] = {
    Cockpit = {
    [1] = default_fighter_player({CockpitLocalPoint      = {7.959000,1.419000,0.000000}})-- player slot 1
    }, -- Cockpit
    Chase = {
        LocalPoint      = {4.259000,3.819000,0.000000},
        AnglesDefault   = {180.000000,-8.000000},
    }, -- Chase
    Arcade = {
        LocalPoint      = {-12.041000,6.419000,0.000000},
        AnglesDefault   = {0.000000,-8.000000},
    }, -- Arcade
}

ViewSettings["Su-33"] = ViewSettings["Su-27"]


Edited by Terry Dactil
added "default_fighter_player({CockpitLocalPoint" suggestion
Link to comment
Share on other sites

Japo32:

I am working on restoring the old 'F4 Look Back' and I have finally discovered where the P-51 (and others) views code is now hiding.

 

This looks like the file you need to edit to fix your problem.

C:\Program Files\Eagle Dynamics\DCS World\CoreMods\WWII Units\P-51D

The views settings are way down around line 1456.

 

Added later:

There is also a Views.lua file in the WWII Units directory which I am hoping is a default applying to all the modules.


Edited by Terry Dactil
Also found a Views.lua file
Link to comment
Share on other sites

  • 7 months later...
On 12/25/2020 at 1:08 PM, Japo32 said:

Ok, I have discovered something, but still not all questions answered. There is usually a view.lua in each mod folder. The problem is that the P-51D don't have any, so I toke the TF-51 one and copied into the server.lua in my saved games folder. So I have this:

 

ViewSettings["P-51D"] = {
	Cockpit = {
	[1] = {-- player slot 1
		CockpitLocalPoint      = {-1.500000,0.618000,0.000000},
		CameraViewAngleLimits  = {60.000000,140.000000},
		CameraAngleRestriction = {false,90.000000,0.500000},
		CameraAngleLimits      = {200,-80.000000,90.000000},
		EyePoint               = {0.025000,0.100000,0.000000},
		ShoulderSize		   = 0.15,
		Allow360rotation	   = false,
		limits_6DOF            = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000},
	},
	}, -- Cockpit 
	Chase = {
		LocalPoint      = {0.200000,-0.652000,-0.650000},
		AnglesDefault   = {0.000000,0.000000},
	}, -- Chase 
	Arcade = {
		LocalPoint      = {-21.500000,5.618000,0.000000},
		AnglesDefault   = {0.000000,-8.000000},
	}, -- Arcade 
}

It worked but not for all models, because there are P-51D-30-NA (the P-51D-25-NA are treated as P-51D in label)  so I put this code:

 

ViewSettings["P-51D"] = {
	Cockpit = {
	[1] = {-- player slot 1
		CockpitLocalPoint      = {-1.500000,0.618000,0.000000},
		CameraViewAngleLimits  = {60.000000,140.000000},
		CameraAngleRestriction = {false,90.000000,0.500000},
		CameraAngleLimits      = {200,-80.000000,90.000000},
		EyePoint               = {0.025000,0.100000,0.000000},
		ShoulderSize		   = 0.15,
		Allow360rotation	   = false,
		limits_6DOF            = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000},
	},
	}, -- Cockpit 
	Chase = {
		LocalPoint      = {0.200000,-0.652000,-0.650000},
		AnglesDefault   = {0.000000,0.000000},
	}, -- Chase 
	Arcade = {
		LocalPoint      = {-21.500000,5.618000,0.000000},
		AnglesDefault   = {0.000000,-8.000000},
	}, -- Arcade 
}

ViewSettings["P-51D-30-NA"] = {
	Cockpit = {
	[1] = {-- player slot 1
		CockpitLocalPoint      = {-1.500000,0.618000,0.000000},
		CameraViewAngleLimits  = {60.000000,140.000000},
		CameraAngleRestriction = {false,90.000000,0.500000},
		CameraAngleLimits      = {200,-80.000000,90.000000},
		EyePoint               = {0.025000,0.100000,0.000000},
		ShoulderSize		   = 0.15,
		Allow360rotation	   = false,
		limits_6DOF            = {x = {-0.050000,0.450000},y ={-0.200000,0.200000},z = {-0.220000,0.220000},roll = 90.000000},
	},
	}, -- Cockpit 
	Chase = {
		LocalPoint      = {0.200000,-0.652000,-0.650000},
		AnglesDefault   = {0.000000,0.000000},
	}, -- Chase 
	Arcade = {
		LocalPoint      = {-21.500000,5.618000,0.000000},
		AnglesDefault   = {0.000000,-8.000000},
	}, -- Arcade 
}

and now all the P-51D have the maximun 140 degrees... all? NOOOOOOOO There is one, only one as Asterix and Obelix village that don't want to be ruled and stays in a maximun 90 degrees. It is a 25-NA but it doesn't work with it:

It is a P51 included in the mission P-51 D-25 - Train Strafe that is in the instant action missions of caucasus. AND IT IS MAKING ME MAD!!!!

 

Do someone know why it doesn't work with this? Maybe a differenet internal name? I opened in mission editor and all seems to be the same.... 

 

Did you ever figure this out?  I'm having the same limited FOV on the Train Strafe mission and it's really annoying.

Link to comment
Share on other sites

6 hours ago, RightYouAreKen said:

 

Did you ever figure this out?  I'm having the same limited FOV on the Train Strafe mission and it's really annoying.

That train strafe mission has an over riding config for FOV, delete the CONFIG folder within the mission file itself (*.miz files are just zip files), this will allow you own system settings for max FOV.

 

Regards, Ian.

Asus p877v-pro, Intel I7 3770k 4.2ghz, 32gb Ripjaw X ram, Nvidia RTX-2070 Super, Samsung 32" TV, Saitek x52 pro Joystick and Combat rudder pedals, TrackIR 5, Win8.1 x64 with SSD and SSHD protected by (Avast AV).

 

DCS Tech Support.

Link to comment
Share on other sites

15 hours ago, MadDog-IC said:

That train strafe mission has an over riding config for FOV, delete the CONFIG folder within the mission file itself (*.miz files are just zip files), this will allow you own system settings for max FOV.

 

Regards, Ian.

Thank you!  I didn't know you could expand a .miz file like that.  Brilliant!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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