Jump to content

Recommended Posts

Posted (edited)

*ALL CREDITS GOES TO PeterP FOR HIS ORIGINAL WORK*

 

http://forums.eagle.ru/showthread.php?t=96116

 

This is just a simple modification of the "Server".lua file by adding the M-2000C, IMHO, it feel and look better.

 

Install:

 

1/ Put the "Server".lua file at the bottom of the post here:

 

C:/Users/Saved Games/DCS/Config/view

 

Launch DCS world, and be sure you have tick "Enable Users Snap Views" in the options. Be aware that you may need to reedit your view once you are in cockpit. Here are my Snap Views settings (open "SnapViews".lua, press left control+f and type M-2000):

 

[13] = {--default view

viewAngle = 76.000000,--FOV

hAngle = 0.000000,

vAngle = -7.499167,

x_trans = -0.049978,

y_trans = 0.013567,

z_trans = 0.000000,

rollAngle = 0.000000,

 

Should look like this:

 

609527Capture.jpg' alt='609527Capture.jp

 

But those settings are up to you and your personnal preferences. The "server".lua file will only modify the view setting for the Mirage, others aircrafts are untouched. This file will not cause an integrity check fail.

Server.lua

Edited by droopy114
Posted
Excuse me but where can I find the "Snapviews".lua?

 

Tired of looking it's late

 

C/Users/SavedGames/DCS/Config/View and search for M-2000C.

Posted

Hi,

Thanks for your file, please can you tell me if it's possible to include these aircrafts into your file:

 

L-39C / ZA

MiG-21

MiG-15

F-86

Bf-109

FW-190

 

In advance a great thanks, Skull.

Posted (edited)
Hi,

Thanks for your file, please can you tell me if it's possible to include these aircrafts into your file:

 

L-39C / ZA

MiG-21

MiG-15

F-86

Bf-109

FW-190

 

In advance a great thanks, Skull.

 

Yes, i think it's perfectly feasible, but i don't have these modules, so i can't test... you can add the aircraft of your choice to the "Server".lua, all you need are the defaults values of the "Views".lua file here:

 

C:/<your install path>/DCS World/Mods/aircraft/<aircraft you want to add>/

 

Basically it's almost a copy/paste, for eg. for the M-2000C it look like this:

 

 

}

ViewSettings["M-2000C"] = {

Cockpit = {

[1] = default_fighter_player({

CockpitLocalPoint = {0,0,0},

limits_6DOF = {x = {-0.05,0.3},y ={-0.1,0.1},z

= {-0.2,0.2},roll = 90}}),

}, -- Cockpit

Chase = {

LocalPoint = {-10.0,1.0,3.0},

AnglesDefault = {0.000000, 0.000000},

}, -- Chase

Arcade = {

LocalPoint = {-21.500000,6.618000,0.000000},

AnglesDefault = {0.000000,-8.000000},

}, -- Arcade

 

As you can see, the begining is the same for all aircraft, for eg. M-2000C:

 

}

ViewSettings["M-2000C"] = {

Cockpit = {

[1] = default_fighter_player({

 

After it's just a copy/paste of the "Views".lua file.Note that you can adjust the eye point and the shoulder size like you want with the local GlobalEyePoint and the local GlobalShoulderSize, refer to this post:

 

http://forums.eagle.ru/showthread.php?t=96116

 

If you need help, let me know ;)

Edited by droopy114
Posted

Hi again,

 

Thanks for your explanation...

Just like that please can you tell me why after one clean and fresh version of DCS I don't have the "Server".lua ?

 

Of course I've droped your file inside my view folder but why I don't have this file with a clean version of DCS ?

 

In advance a great thanks, Skull.

Posted
Hi again,

 

Thanks for your explanation...

Just like that please can you tell me why after one clean and fresh version of DCS I don't have the "Server".lua ?

 

Of course I've droped your file inside my view folder but why I don't have this file with a clean version of DCS ?

 

In advance a great thanks, Skull.

 

Strange things....."Server".Lau is located here:

 

C:/Users/SavedGames/DCS/Config/View

Posted
C:/Users/SavedGames/DCS/Config/View

Hi, I have two PC with DCS and with these two machines "Server".Lau are not present.

Thanks again, Skull.

Posted

Ok after some research, look at the installation procedure of the original mod:

 

http://forums.eagle.ru/showthread.php?t=96116

 

"1.Copy the Server.lua into C:\Users\>YOUR USERNAME<\Saved Games\DCS\Config\View\...

(if the folders don't exists you have to create them)

 

2.

Go into DCS World>>Options>>Misc. > Check "Enable User Snap-View Saving" and use attached "All planes-modules-test 1.2.5.miz" to check the views in each module/cockpit and save a new default cockpit view as required.

 

And if you have not already your own SnapViews.lua:

Copy the SnapViews.lua into C:\Users\>YOUR USERNAME<\Saved Games\DCS\Config\View\...

 

You will find the needed key commands how to save a new default cockpit view here:

Spoiler: Show

 

(Yes - I know how hard it is for some of you to look it up your own in the options ...)

Disable/Pause your Track-IR/Head-tracker while doing it !

 

"Num/ - RCtrl - RShift" Cockpit Camera Move Back

"Num5" Cockpit Camera Move Center

"Num2 - RCtrl - RShift" Cockpit Camera Move Down

"Num* - RCtrl - RShift" Cockpit Camera Move Forward

"Num8 - RCtrl - RShift" Cockpit Camera Move Up

"Num8" Turn Cockpit Camera Up

"Num2" Turn Cockpit Camera Down

"Num/" FOV- aka Zoom-in

"Num*" FOV+ aka Zoom-out

"NumEnter" Default FOV aka Zoom

 

Once you are satisfied , after using above key-commands,

just use following key-command to save this view as default:

 

"RAlt+Num0" Save current Cockpit view as default for this vehicle"

 

The folder may not exist, you have to create one, and you have to tick user snap views in the DCS options. For myself, the folder and file was already there, I just edit him. Tell me if it's work, I will edit my first post.

  • 4 weeks later...
Posted

Self bump, edited server.lua for the new 6DOF limit and also added the modified Views.lua, so you just have to choose wich files you want to install: Server.lua or Views.lua.

  • 3 months later...
  • Recently Browsing   0 members

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