[Altitude ASL/AGL]

Terrain / Theater editing

Moderators: Lone Wolf, Snake Man

Nayfe
Newbie
Posts: 3
Joined: 2007-10-07 17:18:15

[Altitude ASL/AGL]

Post by Nayfe » 2007-10-10 20:29:14

Hi,
Here's my new problem developping my vhs to tacview converter:

Objects Positions are quite strange for Z axis.
ZPos of aircraft are exprimed in ASL, and ZPos of buildings in AGL.

Let's take an example:
I made a TE just takeoff from Seoul and landing...

We can see in game that Seoul ASL is 264ft (list->ins).
And after parsing the vhs I'm getting z=264.00ft ...

But, for each buildings(airbase,buildings,stadium,....), I'm getting z=0ft which means that buildings are 0ft AGL ( building on the ground, cool! :D ) but for tacview I need ASL altitude...

For each XPos,YPos of ground objets, I search in THEATER.MEA table the ground elevation.
My problem is that the ZPos from THEATER.MEA doesn't match.

For Seoul, I found 92 that is not equal to 264 ;)

Anyone knows what am I doing wrong? (problem between SP3 code and OF?)
Last edited by Nayfe on 2007-10-11 19:44:12, edited 2 times in total.

Nayfe
Newbie
Posts: 3
Joined: 2007-10-07 17:18:15

Post by Nayfe » 2007-10-11 19:42:20

Well in fact, theater.mea gives me good results for buildings Z axis for real lat/lon.

The new problem is that falcon4 and real world don't have same lat/lon so when i ask theater.mea it gives me real altitude for that lat/lon and not falcon4 lat/lon.

Another problem is that aircraft landed on seoul airbase gives me 264ft instead of 92ft :s

Well i'm fucked :o

Return to “Terrain / Theater”

Who is online

Users browsing this forum: ClaudeBot [Bot] and 0 guests