Jump to content

Recommended Posts

Posted (edited)

Hi all, while I was opening missions in Notepad++ I've noticed that there are some strange data..

 

[4] =

{

alt = 159,

type = "Turning Point",

action = "Rank",

lat = 0.77909493104684,

targets =

{

}, -- end of targets

long = 0.68948196970086,

x = -34473.906424121,

speed = 18.333333333333,

y = 416085.26549431,

}, -- end of [4]

 

I want to make some small programm in C# to create missions but I don't understand how this x and y are calculated (probably some math function in some of the .lua files)

 

The lat and long are made only to put the objects in the map editor and the X and Y are to put the objects in real map. There are not any relation between those numbers because even that you put objects in top corners of the map, those numbers don't have any relation so I think that they are calculated using some maths...

 

Anybody know how to calculate them???

 

Thanks in advance :)

 

PS: My english is not the best but if you don't understand something or you want that I explain better, just ask ;)

Edited by Dagger_c3
  • Like 2
Posted

100 views and nobody knows??

 

Some developer must know it....

 

PD: The program that I wish to create is a random mission generator (If I'm able of course)

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

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