cass1ope1a Posted November 11, 2004 Posted November 11, 2004 any developers out there? i need help :D currently im trying to build an application that displays your flightpath, attacks etc on a map overview for debriefing purposes. i already found the bunch of xml data in the head of the trk file [offset 2048 bytes], but now im stuck. some infos about the file format, structures and bit alignment would be nice. the additional needed infos are: plane(id), speed, height, angle, hits(weapons)[if they are stored in the file] info: i cant use the mp text file because its a recorded sp mission. sincerly cass1o
Caretaker Posted November 11, 2004 Posted November 11, 2004 I'm afraid you won't find that information in the track files, simply because they don't store them :) The track files only make sense in the context of Lock On's whole game engine which computes all movements and events based on what's stored in them. That's also why the tracks play differently on different Lock On versions. 1.1 has some extended LUA exporting functions that may be closer to what you're looking for, although events are not exported yet to my understanding. Caretaker _________________ Eagle Dynamics Beta Team Caretaker ED Beta Test Team
cass1ope1a Posted November 11, 2004 Author Posted November 11, 2004 err, that are bad new for me ... but they must at least store the starting vector und in some kind of way the path/actions in the flight.
Caretaker Posted November 11, 2004 Posted November 11, 2004 Not really - basically a track only contains the starting conditions (which is actually the mission file itself) and the player's input during a mission. The rest is calculated on the fly, and each time again when a track is played. This greatly reduces the amount of data that needs to be stored and thus the file size. Caretaker ED Beta Test Team
Recommended Posts