The flight.dat files controls the movements of NPC airbourne vehicles in GTA3 and Vice City. These files are located in the data/paths folder in the GTA3 or Vice City directory. The
flight.dat controls the Boeing jets. The
flight2.dat controls the Dodo. The
flight3.dat controls the Dodo used in "S.A.M." in GTA3 and the Police Maverick in Vice City. The
flight4.dat controls the Dodo used in "A Drop In The Ocean" in GTA3. These airbourne vehicles are not solid so you cannot collide into them and there are no drivers in them.
The file starts with the number of coordinates that will be used in the file. The rest of the file are X, Y, and Z coordinates linked as a path in the game.
The following is for GTA3 only. Opcode 0358 is used to create the Dodo in GTA3 to follow the path from the flight4.dat file. Opcode 0359 checks if the Dodo is destroyed. Opcode 033A creates the Dodo in GTA3 to follow the path from the flight3.dat file. Opcode 033B checks if the Dodo landed on the ground and opcode 033C checks if the Dodo is destroyed. Opcode 035A gets the coordinates of both of the Dodos.
Not much is known about these files other than what is above.
| Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.|
See Grand Theft Wiki:Copyright for more information.