Jump to content

Changing F4 View?


Recommended Posts

Hello,

 

I would like the edit the F4 View so instead of looking between the tails of the aircraft i can look from the bottom.

 

All I want to do is to Lower the camera and point it forwards, Maybe move the camera towards the end of the plane.

 

I have seen this in BSR LocStas movie and would like to be able to do it!!

 

Thanks

 

Paul :-)

Link to comment
Share on other sites

IF YOU ARE RUNNING FLAMMING CLIFFS

Location:

C:\Program Files\Ubisoft\Eagle Dynamics\Lock On\Config\View in the "server.lua" (open with notepad, and look at the bottom of the page)

function GetRearCameraPosition(iType)
local p = CockpitLocalPoint[iType]
local r = {}
r[1] = p[1] + 0.1         
r[2] = p[2] - 1.75          
r[3] = p[3] + 0.1
return r[1], r[2], r[3]
end

 

Notes:

1. You will need to add the vaule for the left/right panning "r[3] = 0" or centered, is the default.

2. The base location for the camera is in the middle of the planes model just behind the canopy.

3. r[1] is the length of the plane from nose to tail, r[2] is the height from the center of the planes model, r[3] is width from wing to wing.

4. The unit of vaule is 1.0=1 meter

 

I think that is all correct, good luck ;)

is this ok?

Link to comment
Share on other sites

sounds like the camera is inside the planes frame, the values that I had posted were for the mig-29s, and probably will not work well with larger planes.

Just play around with the values, until you are happy ;)

You might want to create a new folder, and when you find a view you like save a copy of the server.lua with a new name like "Su-33 right tailfin rear", and then just copy the file into the proper place when you want to use that camera. I had a library of views before FC came out.

is this ok?

Link to comment
Share on other sites

  • ED Team

Hm, i remember back when playing 1.02, we could have mulitple views like that at once. You just hit the F4 key many times and the view would change accordingly..

 

Isn't this possible anymore??

Link to comment
Share on other sites

  • ED Team

Here is the "chase" file i used when playing 1.02.

 

-----------------------------------------------------

 

ChaseCameraNyMove = true

rearCamCycle = 0;

 

function GetRearCameraPosition(iType)

local p = CockpitLocalPoint[iType]

local r = {}

if ( rearCamCycle == 0 ) then -- ORIGINAL

r[1] = p[1] - 3.7

r[2] = p[2] + 2.4

r[3] = 0.0

elseif ( rearCamCycle == 1 ) then -- Realistic

r[1] = p[1] - 0.5

r[2] = p[2] + 0.6

r[3] = 0.0

elseif ( rearCamCycle == 2 ) then -- wide view

r[1] = p[1] + 12.0

r[2] = p[2] + 2.0

r[3] = 0.0

elseif ( rearCamCycle == 3 ) then -- left side

r[1] = p[1] + 1.0

r[2] = p[2] - 1.5

r[3] = 3.0

else -- right side

r[1] = p[1] + 1.0

r[2] = p[2] - 1.5

r[3] = -3.0

end

rearCamCycle = rearCamCycle + 1;

 

if ( rearCamCycle > 4 ) then

rearCamCycle = 0;

end

return r[1], r[2], r[3]

end

 

--------------------------------------------

 

When using this, you had many different F4 views. It was cool. Is this still possible? I tried pasting this into the "server.lua" file where it should be, but it didn't work..

Link to comment
Share on other sites

  • ED Team

"When we're ready to release it" ? :rolleyes:

 

Well... I'm still working on the new intro for the movie, progress is slow actually, cause T-Bone hasn't been online for a while, and i need some input on the video..

 

So, i gotta finish the video before we release chapter 1.

 

I've told T-Bone we gotta push this forward, otherwize we'll never be able to get it out.

Link to comment
Share on other sites

  • ED Team

Oh, just to let you know:

 

The missions are pretty much finished.

 

what remains before we release:

 

Everything in the menu's, ALL the menus, are getting a new look. This takes time.

 

And of course, the 2 movies i gotta finish.

 

Cheers

 

When this is done, we'll release chapter 1.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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