Difference between revisions of "Chase.dat"

From GTAMods Wiki
Jump to navigation Jump to search
(Format)
(added image)
 
Line 1: Line 1:
 +
[[File:Chase0.png|thumb|right|250px|Path from <code>CHASE0.DAT</code>]]
 
'''CHASE*.DAT''' is a set of binary files in [[GTA III]] that controls the cars seen in the introduction cutscene of the game. The files are located in the <code>{{dir|3}}\data\paths</code> folder.
 
'''CHASE*.DAT''' is a set of binary files in [[GTA III]] that controls the cars seen in the introduction cutscene of the game. The files are located in the <code>{{dir|3}}\data\paths</code> folder.
  

Latest revision as of 02:54, 26 May 2019

Path from CHASE0.DAT

CHASE*.DAT is a set of binary files in GTA III that controls the cars seen in the introduction cutscene of the game. The files are located in the .\data\paths folder.

Format

The format is near identical to its successor, RRR, in San Andreas. Each entry is 28 bytes in size, with the following format:

Offset (decimal) Size (in bytes) Type Description Notes
00 02 INT16 velocity in direction X Divide by 16383.5 to get floating point values
02 02 INT16 velocity in direction Y Divide by 16383.5 to get floating point values
04 02 INT16 velocity in direction Z Divide by 16383.5 to get floating point values
06 01 INT8 XYZ.right.x Divide by 127.0 to get floating point values
07 01 INT8 XYZ.right.y Divide by 127.0 to get floating point values
08 01 INT8 XYZ.right.z Divide by 127.0 to get floating point values
09 01 INT8 XYZ.top.x Divide by 127.0 to get floating point values
10 01 INT8 XYZ.top.y Divide by 127.0 to get floating point values
11 01 INT8 XYZ.top.z Divide by 127.0 to get floating point values
12 01 INT8 Steering Angle Divide by 20.0 to get floating point values
13 01 INT8 Gas Pedal Power Divide by 100.0 to get floating point values
14 01 INT8 Brake Pedal Power Divide by 100.0 to get floating point values
15 01 INT8 Handbrake used flag Bool: 1 = true, 0 = false
16 04 FLOAT XYZ.pos.x Standard float
20 04 FLOAT XYZ.pos.y Standard float
24 04 FLOAT XYZ.pos.z Standard float

Script

The following opcodes are related to the chase files.

  • GTA III 0354, starts the chase scene
  • GTA III 0355, stops the chase scene
  • GTA III 040A, removes car from chase
  • GTA III 0439, gets car from chase

See also

External link