Difference between revisions of "0354"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|3}} | command = START_CHASE_SCENE | description = Starts the chase scene | syntax1 = 0354: set_up_chase_scene [''flt''] |...")
 
Line 8: Line 8:
 
}}
 
}}
  
This opcode starts the chase scene as seen in the introduction sequence of GTA III. The scene consists of 13 unique cars following paths defined in the [[Chase.dat|CHASE*.DAT]] files. The minimum to get the chase scene to look decent is to start the cutscene "JB" with the appropriate cutscene objects, make the player safe using [[03EF]], and load the level collision using [[03F7]]. Anything less can crash the game, create multicolored cars, or make the cars not move. During the scene, many parts of the city's collision unloads. After the scene, the collision can be restored by placing the player outside Staunton Island to force the loading of other islands. The following table is the initialization of cars and their properties when the opcode is called. The data is located in a function at memory address 0x435810 for US v1.0.
+
This opcode starts the chase scene as seen in the introduction sequence of GTA III. The scene consists of 13 unique cars following paths defined in the [[Chase.dat|CHASE*.DAT]] files. The minimum to get the chase scene to look decent is to start the cutscene "JB" with the appropriate cutscene objects, make the player safe using [[03EF]], and load the level collision using [[03F7]]. Depending on the implementation of the code, anything less can result in many undesirable behaviors, including crashing the game, cycling of colors on cars, creating random collisional damages on cars, making the cars not move, or inability for the player to enter any cars. The game performs the loading of all car models for the scene so you do not need to load the models yourself. During the scene, many parts of the city's collision unloads. The following table is the initialization of cars and their properties when the opcode is called. The data is located in a function at memory address 0x435810 for US v1.0.
 
{| class="wikitable"
 
{| class="wikitable"
 
! colspan="2" | Car || colspan="3" | Location || [[Angle|Heading]] || colspan="2" | [[Carcols.dat|Color]]
 
! colspan="2" | Car || colspan="3" | Location || [[Angle|Heading]] || colspan="2" | [[Carcols.dat|Color]]

Revision as of 04:01, 14 January 2016

GTA III START_CHASE_SCENE


Description
Starts the chase scene
Syntax
0354: set_up_chase_scene [flt]
Parameter
[flt]
1.0

This opcode starts the chase scene as seen in the introduction sequence of GTA III. The scene consists of 13 unique cars following paths defined in the CHASE*.DAT files. The minimum to get the chase scene to look decent is to start the cutscene "JB" with the appropriate cutscene objects, make the player safe using 03EF, and load the level collision using 03F7. Depending on the implementation of the code, anything less can result in many undesirable behaviors, including crashing the game, cycling of colors on cars, creating random collisional damages on cars, making the cars not move, or inability for the player to enter any cars. The game performs the loading of all car models for the scene so you do not need to load the models yourself. During the scene, many parts of the city's collision unloads. The following table is the initialization of cars and their properties when the opcode is called. The data is located in a function at memory address 0x435810 for US v1.0.

Car Location Heading Color
116 Police 273.5422 -1167.1907 24.9906 63.0 2 1
117 Enforcer 231.1783 -1388.8322 25.9782 90.0 2 1
110 Taxi 184.3156 -1473.251 25.9782 0.0 6 6
105 Cheetah 173.8868 -1377.6514 25.9782 0.0 4 5
92 Stinger 102.5946 -943.9363 25.9781 270.0 53 53
105 Cheetah 177.7157 -862.1865 25.9782 155.0 41 1
92 Stinger 170.5698 -889.0236 25.9782 154.0 10 10
111 Kuruma 402.6081 -917.4963 37.381 90.0 34 1
110 Taxi -33.4962 -938.4563 25.9781 266.0 6 6
111 Kuruma 49.3631 -987.605 25.9781 0.0 51 1
110 Taxi 179.0049 -1154.6686 25.9781 0.0 6 76
130 Rumpo -28.9762 -1031.3367 25.9781 242.0 1 75
96 Patriot 114.1564 -796.6938 24.9782 180.0 0 0

Keywords

setup, set, up, start, chase, scene