Flight.dat

From GTAMods Wiki
Revision as of 06:01, 20 February 2007 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

The flight.dat files controls the movements of NPC airbourne vehicles in GTA3 and Vice City. These files are located in the maps/data 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.

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

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.