Difference between revisions of "Tracks.dat"

From GTAMods Wiki
Jump to navigation Jump to search
(lots of maps)
Line 18: Line 18:
 
| colspan="3" | <center>A,B,C</center> || float[3] || X, Y, Z coordinates, each line linked to create a path
 
| colspan="3" | <center>A,B,C</center> || float[3] || X, Y, Z coordinates, each line linked to create a path
 
|-
 
|-
| <center>-</center> || colspan="2" | <center>D</center> || integer ||  
+
| <center>-</center> || colspan="2" | <center>D</center> || integer || Station, 1 - left side exit, 2 - right side exit
 
|-
 
|-
| <center>-</center> || <center>-</center> || <center>E</center> || string ||
+
| <center>-</center> || <center>-</center> || <center>E</center> || string || Station name for use in <code>trainhelper.sco</code>
 
|}
 
|}
  
 
[[Category:Map Formats]][[Category:GTA 3]][[Category:GTA SA]][[Category:GTA 4]]
 
[[Category:Map Formats]][[Category:GTA 3]][[Category:GTA SA]][[Category:GTA 4]]

Revision as of 22:23, 20 February 2012

GTA III's tracks*.dat map
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