12,236
edits
(contributions from myself and Seemann) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lowercase title}} | {{lowercase title}} | ||
The '''flight*.dat''' files control the movements of NPC flying vehicles in | The '''flight*.dat''' files control the movements of NPC flying vehicles in [[Grand Theft Auto III]] and [[Grand Theft Auto: Vice City]]. These files are located in the <code>\data\paths</code> folder in both the games' directories. The following files control these flying vehicles: | ||
{|class="wikitable" | {|class="wikitable" | ||
| | | | ||
Line 6: | Line 6: | ||
|style="text-align: center; width: 16em;" |{{Icon|VC}} | |style="text-align: center; width: 16em;" |{{Icon|VC}} | ||
|- | |- | ||
|<code>flight.dat</code> ||style="text-align: center;" colspan="2" |Airtrain | |<code>flight.dat</code> ||style="text-align: center;" colspan="2" |[[Airtrain]] | ||
|- | |- | ||
|<code>flight2.dat</code> ||style="text-align: center;" colspan="2" |DeadDodo | |<code>flight2.dat</code> ||style="text-align: center;" colspan="2" |[[DeadDodo]] | ||
|- | |- | ||
|<code>flight3.dat</code> ||DeadDodo used in "S.A.M." ||Police Maverick | |<code>flight3.dat</code> ||DeadDodo used in "[[S.A.M.]]" ||[[Police Maverick]] | ||
|- | |- | ||
|<code>flight4.dat</code> ||DeadDodo used in "A Drop In The Ocean" | |<code>flight4.dat</code> ||DeadDodo used in "[[A Drop In The Ocean]]" | ||
|} | |} | ||
These flying vehicles are not solid so you cannot collide into them and there are no drivers in them. DeadDodos can be destroyed by shooting a rocket through the plane. In an early GTA III commercial, the Airtrain is seen being destroyed by the rocket. This feature can be enabled through Silent's [http://www.gtagarage.com/mods/show.php?id=26526 "Destroyable Airtrain"] mod. | These flying vehicles are not solid so you cannot collide into them and there are no drivers in them. DeadDodos can be destroyed by shooting a rocket through the plane. In an early GTA III commercial, the Airtrain is seen being destroyed by the rocket. This feature can be enabled through Silent's [http://www.gtagarage.com/mods/show.php?id=26526 "Destroyable Airtrain"] mod. | ||
Line 30: | Line 30: | ||
|A,B,C ||float[3] ||X, Y, Z coordinates, each line linked to create a path | |A,B,C ||float[3] ||X, Y, Z coordinates, each line linked to create a path | ||
|} | |} | ||
For <code>flight.dat</code> in GTA III, if the point is below the ground, the game internally replaces the z-coordinate with the ground z at that point. In Vice City, the game internally replaces any z-coordinate below 14.0 with 14.0. This is primarily used to determine the landing and takeoff points and allow aircraft to taxi on the surface. | For <code>flight.dat</code> in GTA III, if the point is below the ground, the game internally replaces the z-coordinate with the ground z at that point. In GTA Vice City, the game internally replaces any z-coordinate below 14.0 with 14.0. This is primarily used to determine the landing and takeoff points and allow aircraft to taxi on the surface. | ||
== Mission script == | == Mission script == |