Flight Path

Revision as of 00:11, 12 January 2010 by Gtabot (talk | contribs) (→‎Current Usage: Completing import,)

Template:Lowercase 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.

Format

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.

Using It

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.

Current Usage

Not much is known about these files other than what is above.

Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.

GNU 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.