flight.dat
Revision as of 03:13, 19 December 2012 by FacebookStalkerJustKidding (talk | contribs)
The flight*.dat files controls the movements of NPC airbourne vehicles in GTA III and Vice City. These files are located in the ..\data\paths
folder in the GTA III and Vice City directories. The following files control these airbourne vehicles:
flight.dat |
Aeroplanes (Airtrain/Boeing 727) | |
flight2.dat |
"Dead" Dodo | |
flight3.dat |
"Dead" Dodo used in "S.A.M." | Police Maverick |
flight4.dat |
"Dead" Dodo used in "A Drop In The Ocean" |
These airbourne vehicles are not solid so you cannot collide into them and there are no drivers in them. "Dead" Dodos can be destroyed by shooting a rocket through the plane.
Format
Type | Description | |
---|---|---|
Section 1 | ||
integer | The number of lines that are to be read from the file. | |
Section 2 | ||
float[3] | X, Y, Z coordinates, each line linked to create a path |
Script
These opcodes can be used in GTA III to spawn and check the Dodo along the flight paths.
- 033A, spawns a Dodo to follow the path from the
flight3.dat
file - 033B, checks if the flight3 Dodo has completed the trip
- 033C, checks if the flight3 Dodo has been shot down
- 0358, spawns a Dodo to follow the path from the
flight4.dat
file - 0359, checks if the flight4 Dodo has been shot down
- 035A, gets the coordinates of the flight3 Dodo
- 03A6, gets the coordinates of the flight4 Dodo