Difference between revisions of "Tracks.dat"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
[[File:IIITracksMap.jpg|thumb|right|250px|GTA III's tracks*.dat map]]
+
[[File:IIITracksMap.jpg|thumb|right|250px|GTA III's tracks*.dat map. The white-bordered boxes are zones of entry in [[train.dat|train*.dat]].]]
 
[[File:IVTracksMap.jpg|thumb|right|250px|GTA IV's tracks*.dat map]]
 
[[File:IVTracksMap.jpg|thumb|right|250px|GTA IV's tracks*.dat map]]
The '''tracks*.dat''' creates a pathway for indestructible vehicles, which includes trains and planes, to travel on in GTA III, San Andreas, and GTA IV. These files are located in the <code>..\data\paths</code> folder in the GTA III and San Andreas directories, and the <code>..\common\data\paths</code> folder in the GTA IV directory.
+
The '''tracks*.dat''' creates a pathway for indestructible vehicles, which includes trains and planes, to travel on in GTA III, San Andreas, and GTA IV. These files are located in the <code>{{dir|3}}\data\paths</code> folder in the GTA III and San Andreas directories, and the <code>..\common\data\paths</code> folder in the GTA IV directory.
  
 
==Format==
 
==Format==
Line 23: Line 23:
 
|}
 
|}
  
[[Category:Map Formats]][[Category:GTA 3]][[Category:GTA SA]][[Category:GTA 4]]
+
{{N|4|SA|3}}
 +
[[Category:Map Formats]]

Revision as of 20:45, 12 June 2015

GTA III's tracks*.dat map. The white-bordered boxes are zones of entry in train*.dat.
GTA IV's tracks*.dat map

The tracks*.dat creates a pathway for indestructible vehicles, which includes trains and planes, to travel on in GTA III, San Andreas, and GTA IV. These files are located in the .\data\paths folder in the GTA III and San Andreas directories, and the ..\common\data\paths folder in the GTA IV directory.

Format

GTA III San Andreas GTA IV Type Description
Section 1
A
integer The number of lines that are to be read from the file.
Section 2
A,B,C
float[3] X, Y, Z coordinates, each line linked to create a path
-
D
integer Station, 1 - left side exit, 2 - right side exit
-
-
E
string Station name for use in trainhelper.sco