Virtual airshows
December 14, 2017, 08:49:52 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Belly Cam  (Read 4749 times)
VirtualSu27/Su33Pilot "Knight"
Was able to find the engine start button
*
Posts: 75



« on: December 18, 2012, 01:36:47 am »

Hello guys I wanted to know does anyone know how to change the f4 view to the belly of the aircraft.
Logged
Grab
VFAT Staff
Could find the throttle
****
Posts: 105



WWW
« Reply #1 on: December 18, 2012, 10:01:28 am »

You need the coordinates of the camera position you want, then you edit your server.lua if memory serves. 
Logged

VirtualSu27/Su33Pilot "Knight"
Was able to find the engine start button
*
Posts: 75



« Reply #2 on: December 18, 2012, 02:02:50 pm »

Ok thanks Grab  Smiley
Logged
Wine69
Designer
Is airborne
***
Posts: 288



WWW
« Reply #3 on: December 19, 2012, 11:16:07 am »

Grab is correct !
It's the server.lua file that needs to be modified.

For the standard LockOn Su-27 model you could use these settings in your server.lua file ( that you will find in the Config>View folder ):

RearCameraPos = {}
RearCameraAnglesDefault = {}

for i = PlaneIndex.iSu_27,PlaneIndex.iKA_50 do
    local cockpit_point = CockpitLocalPoint
    RearCameraAnglesDefault =  {180,-11.0}
    RearCameraPos           =  {cockpit_point[1] + 2.4 ,cockpit_point[2] - 1.9, cockpit_point[3]}
end

red  = The camera direction, 0 = forward, 180 = backwards.
yellow  = The camera angle towards the ground.
green   = The camera position ( horizontal ) forward / backward from the centerpoint of the aircraft.
orange  = The camera position ( vertical ) up / down from the centerpoint of the aircraft.

Note*
1) You can zoom the camera view in / out by using, the Right-Control + * or / buttons on the Numpad of your keyboard.

2) It's very important that al team members use the same server.lua file, not having the same server.lua file might result in a "Integrety Check"  failure !!!
    That means your team member won't be able to join the server / mission !

I hope this explains it all, goodluck on trying the modified F4 ( rear ) view !

Wine.
Logged

VirtualSu27/Su33Pilot "Knight"
Was able to find the engine start button
*
Posts: 75



« Reply #4 on: December 19, 2012, 03:08:43 pm »

Thanks Wine for the help. Smiley
Logged
Shift
Just able to find the joystick

Posts: 16



« Reply #5 on: January 15, 2013, 02:46:00 pm »

Grab is correct !
It's the server.lua file that needs to be modified.

For the standard LockOn Su-27 model you could use these settings in your server.lua file ( that you will find in the Config>View folder ):

RearCameraPos = {}
RearCameraAnglesDefault = {}

for i = PlaneIndex.iSu_27,PlaneIndex.iKA_50 do
    local cockpit_point = CockpitLocalPoint
    RearCameraAnglesDefault =  {180,-11.0}
    RearCameraPos           =  {cockpit_point[1] + 2.4 ,cockpit_point[2] - 1.9, cockpit_point[3]}
end

red  = The camera direction, 0 = forward, 180 = backwards.
yellow  = The camera angle towards the ground.
green   = The camera position ( horizontal ) forward / backward from the centerpoint of the aircraft.
orange  = The camera position ( vertical ) up / down from the centerpoint of the aircraft.

Note*
1) You can zoom the camera view in / out by using, the Right-Control + * or / buttons on the Numpad of your keyboard.

2) It's very important that al team members use the same server.lua file, not having the same server.lua file might result in a "Integrety Check"  failure !!!
    That means your team member won't be able to join the server / mission !

I hope this explains it all, goodluck on trying the modified F4 ( rear ) view !

Wine.
What about for an L-39 that replaces an A-10 on DCS and FC2?

Shift
Logged

Lawndart
Is airborne
****
Posts: 742

Virtual Thunderbirds


WWW
« Reply #6 on: January 16, 2013, 02:31:39 am »

What about for an L-39 that replaces an A-10 on DCS and FC2?

Yes:

You need the coordinates of the camera position you want, then you edit your server.lua if memory serves.  

Shift, go get the coordinates by trial and error.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP | Sitemap Powered by SMF | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!