Difference between revisions of "Chase.dat"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 14: Line 14:
 
== Script ==
 
== Script ==
 
The following opcodes are related to the chase files.
 
The following opcodes are related to the chase files.
* 0354, starts the chase scene
+
* {{Icon|3}} [[0354]], starts the chase scene
* 0355, stops the chase scene
+
* {{Icon|3}} [[0355]], stops the chase scene
* 040A, removes car from chase
+
* {{Icon|3}} [[040A]], removes car from chase
* 0439, gets car from chase
+
* {{Icon|3}} [[0439]], gets car from chase
  
 
== See also ==
 
== See also ==

Revision as of 04:47, 14 January 2016

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:

6b - int[3] - velocity in x,y,z direction
3b - int[3] - right x,y,z
3b - int[3] - top x,y,z
1b - int - steering angle
1b - int - gas pedal power
1b - int - brake pedal power
1b - int - handbrake used
12b - flt[3] - x,y,z position

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