:
Destination Time
:
Present Time
:
Last Time Departed
BTTFModMachine

BTTF Deloreans In GTA SA: CLEO Modification Problem

Recommended Posts

Hello everyone!

I recently started building my own addon to the BTTFSA source code. I added in the BTTF3 delorean, which you can spawn in and time travel with by pressing the number "3" on the keyboard. However, I found that I can only time travel with the BTTF3 in instant mode, otherwise it crashes at 88 mph without an error message. I was wondering why it did that.

Here's the BTTF3 code:

{$VERSION 3.1.0027}


{$E}

//-------------MAIN---------------
thread 'TIME'
27@ = 0
28@ = 0
29@ = 0
30@ = 0
31@ = 0
33@ = 5000
0A92: create_custom_thread "DOOR.S" 0@
if
Car.Wrecked(0@)
jf @TIME_182
0085: 29@ = 0@ // (int)
30@ = Object.Create(18641, 11@, 12@, 13@)
Object.Angle(30@) = 14@
02F7: 15@ = cosine 14@ // (float)
02F6: 14@ = sine 14@ // (float)
14@ *= -1.0
16@ = 0.0
17@ = 1000
20@ = -1
22@ = -1
gosub @TIME_1240

:TIME_182
wait 0
if
Player.Defined($PLAYER_CHAR)
jf @TIME_483
if
Car.Wrecked(0@)
jf @TIME_286
if
Object.Exists(7@)
jf @TIME_254
Object.RemoveReferences(7@)
Object.RemoveReferences(8@)
Object.RemoveReferences(9@)
Object.RemoveReferences(10@)

:TIME_254
if
Object.Exists(27@)
jf @TIME_275
Object.Destroy(27@)

:TIME_275
wait 10
0AB4: 0@ = var 8

:TIME_286
Car.SetImmunities(0@, 0, 0, 0, 1, 1)
053F: set_car 0@ tires_vulnerability 0
if
Actor.InCar($PLAYER_ACTOR, 0@)
jf @TIME_443
if
31@ == 0
jf @TIME_401
31@ = 1
0AB3: var 1 = 1@
0AB3: var 3 = 3@
0AB3: var 4 = 4@
0AB3: var 5 = 5@
0AB3: var 6 = 6@
0AB3: var 8 = 0@
jump @TIME_436

:TIME_401
0AB4: 1@ = var 1
0AB4: 3@ = var 3
0AB4: 4@ = var 4
0AB4: 5@ = var 5
0AB4: 6@ = var 6

:TIME_436
jump @TIME_450

:TIME_443
31@ = 0

:TIME_450
0AB1: call_scm_func @TIME_2673 2 0@ 2@ 2@
gosub @TIME_3173
gosub @TIME_490

:TIME_483
jump @TIME_182

:TIME_490
if
33@ >= 5000
jf @TIME_2076
if
33@ >= 6000
jf @TIME_536
33@ = 5500

:TIME_536
02E3: 15@ = car 0@ speed
if and
1@ == 1
2@ == 2
15@ > 39.5
jf @TIME_2076
0AB3: var 12 = 0
29@ = 0
0AB4: 24@ = var 903
Audiostream.PerformAction(24@, STOP)
if
not Model.Available(18641)
jf @TIME_628
Model.Load(18641)

:TIME_628
if
Actor.InCar($PLAYER_ACTOR, 0@)
jf @TIME_1158
0AB3: var 0 = 1
0AB4: 30@ = var 11
if
30@ == 0
jf @TIME_956
0AB4: 24@ = var 900
Audiostream.PerformAction(24@, STOP)
Audiostream.PerformAction(24@, PLAY)
0169: set_fade_color_RGB 255 255 255
fade 0 0
03BA: clear_cars_from_cube_cornerA -100000.0 -100000.0 -100000.0 cornerB 100000.0 100000.0 100000.0
042B: clear_peds_from_cube_cornerA -100000.0 -100000.0 -100000.0 cornerB 100000.0 100000.0 100000.0
06DB: destroy_all_trains
0395: clear_area 2 at 11@ 12@ 13@ radius 100000.0
Player.ClearWantedLevel($PLAYER_CHAR)
0AB3: var 9 = 1
wait 100
0085: 5@ = 3@ // (int)
0085: 6@ = 4@ // (int)
fade 1 100
0AB3: var 0 = 0
066B: 18@ = attach_particle "BLUEEXPLOSION" to_car 0@ with_offset 0.0 0.0 0.0 flag 1
064C: make_particle 18@ visible
064F: remove_references_to_particle 18@
2@ = 1
29@ = 0
33@ = 0
wait 100
0A92: create_custom_thread "COLD.S" 0@
0A92: create_custom_thread "VENT.S" 0@
return
jump @TIME_1151

:TIME_956
0A8D: 2@ = read_memory 11120212 size 1 virtual_protect 0
0A8C: write_memory 11120212 size 1 value 0 virtual_protect 0
07CC: set_player $PLAYER_CHAR button_15 0
03BF: set_player $PLAYER_CHAR ignored_by_everyone 1
gosub @TIME_2078
wait 500
0169: set_fade_color_RGB 0 0 0
fade 0 750
wait 750
0650: destroy_particle 18@
0650: destroy_particle 19@
03BA: clear_cars_from_cube_cornerA -100000.0 -100000.0 -100000.0 cornerB 100000.0 100000.0 100000.0
042B: clear_peds_from_cube_cornerA -100000.0 -100000.0 -100000.0 cornerB 100000.0 100000.0 100000.0
06DB: destroy_all_trains
0395: clear_area 2 at 11@ 12@ 13@ radius 100000.0
Player.ClearWantedLevel($PLAYER_CHAR)
0AB3: var 9 = 1
wait 2000
fade 1 500
wait 1000

:TIME_1151
jump @TIME_1317

:TIME_1158
gosub @TIME_2078

:TIME_1165
wait 10
00BF: 19@ = current_time_hours, 18@ = current_time_minutes
19@ *= 100
005A: 19@ += 18@ // (int)
0AB4: 18@ = var 7
if and
003C: 3@ == 18@ // (int)
003C: 4@ == 19@ // (int)
jf @TIME_1233
jump @TIME_1240

:TIME_1233
jump @TIME_1165

:TIME_1240
Model.Load(18631)
Model.Load(18632)
Model.Load(18634)
Model.Load(18635)
Model.Load(29@)
038B: load_requested_models

:TIME_1267
if
Model.Available(18631)
Model.Available(18632)
Model.Available(18634)
Model.Available(18635)
Model.Available(29@)
jf @TIME_1310
jump @TIME_1317

:TIME_1310
jump @TIME_1267

:TIME_1317
0AB4: 24@ = var 0
if
24@ == 1
jf @TIME_1488
0AB4: 24@ = var 11
if
24@ == 1
jf @TIME_1481
0AB4: 24@ = var 902
Audiostream.PerformAction(24@, STOP)
Audiostream.PerformAction(24@, PLAY)
064B: 18@ = create_particle "BLUEEXPLOSION" at 11@ 12@ 13@ type 1
064C: make_particle 18@ visible
064F: remove_references_to_particle 18@
wait 750
064B: 18@ = create_particle "BLUEEXPLOSION" at 11@ 12@ 13@ type 1
064C: make_particle 18@ visible
064F: remove_references_to_particle 18@
wait 700

:TIME_1481
jump @TIME_1602

:TIME_1488
0AB4: 24@ = var 902
Audiostream.PerformAction(24@, STOP)
Audiostream.PerformAction(24@, PLAY)
064B: 18@ = create_particle "BLUEEXPLOSION" at 11@ 12@ 13@ type 1
064C: make_particle 18@ visible
064F: remove_references_to_particle 18@
wait 750
064B: 18@ = create_particle "BLUEEXPLOSION" at 11@ 12@ 13@ type 1
064C: make_particle 18@ visible
064F: remove_references_to_particle 18@
wait 700

:TIME_1602
064B: 18@ = create_particle "BLUEEXPLOSION" at 11@ 12@ 13@ type 1
064C: make_particle 18@ visible
064F: remove_references_to_particle 18@
if
Car.Wrecked(0@)
jf @TIME_1720
0AB4: 24@ = var 8
0@ = Car.Create(29@, 11@, 12@, 13@)
0A92: create_custom_thread "DOOR.S" 0@
if
Car.Wrecked(24@)
jf @TIME_1720
0AB3: var 8 = 0@

:TIME_1720
07C3: get_object 30@ axis_angle_relation_to 20@ 21@ 22@ 23@
Object.RemoveReferences(30@)
0684: detach_car 0@ 11@ 12@ 13@ collision_detection 0
0338: set_car 0@ visibility 1
099A: set_car 0@ collision_detection 1
0918: unknown_car 0@ driver_flag 1
0A1C: set_helicopter 0@ play_engine_sounds 1
if
Actor.InCar($PLAYER_ACTOR, 0@)
jf @TIME_1840
0A8C: write_memory 11120212 size 1 value 2@ virtual_protect 0
07CC: set_player $PLAYER_CHAR button_15 1
03BF: set_player $PLAYER_CHAR ignored_by_everyone 0
jump @TIME_1857

:TIME_1840
03A2: set_car 0@ action 3
Car.SetSpeedInstantly(0@, 0.0)

:TIME_1857
Car.PutAt(0@, 11@, 12@, 13@)
07C6: set_car 0@ axis_angle_relation_to 20@ 21@ 22@ 23@
07D5: set_car 0@ velocity_in_direction_XYZ 14@ 15@ 16@ rotation_velocitiesXY 0.0 0.0 unk 0.0
Car.Health(0@) = 17@
if
Object.Exists(27@)
jf @TIME_1948
0750: set_object 27@ visibility 1

:TIME_1948
if
Object.Exists(7@)
jf @TIME_1992
0750: set_object 7@ visibility 1
0750: set_object 8@ visibility 1
0750: set_object 9@ visibility 1
0750: set_object 10@ visibility 1

:TIME_1992
0AB3: var 0 = 0
Model.Destroy(18631)
Model.Destroy(18632)
Model.Destroy(18634)
Model.Destroy(18635)
Model.Destroy(29@)
2@ = 1
29@ = 0
33@ = 0
wait 100
0A92: create_custom_thread "COLD.S" 0@
0A92: create_custom_thread "VENT.S" 0@

:TIME_2076
return

:TIME_2078
not Model.Available(18641)
jf @TIME_2101
wait 10
jump @TIME_2078

:TIME_2101
0085: 5@ = 3@ // (int)
0085: 6@ = 4@ // (int)
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.0 0.0 0.0
07C5: get_car 0@ axis_angle_relation_to 20@ 21@ 22@ 23@
06A2: get_car 0@ velocity_in_direction_XYZ 14@ 15@ 16@
17@ = Car.Health(0@)
Car.Health(0@) = 1000
29@ = Car.Model(0@)
30@ = Object.Create(18641, 11@, 12@, 13@)
07C4: set_object 30@ axis_angle_relation_to 20@ 21@ 22@ 23@
if
Actor.InCar($PLAYER_ACTOR, 0@)
jf @TIME_2394
0338: set_car 0@ visibility 0
099A: set_car 0@ collision_detection 0
0918: unknown_car 0@ driver_flag 0
0A1C: set_helicopter 0@ play_engine_sounds 0
if
Object.Exists(27@)
jf @TIME_2305
0750: set_object 27@ visibility 0

:TIME_2305
if
Object.Exists(7@)
jf @TIME_2349
0750: set_object 7@ visibility 0
0750: set_object 8@ visibility 0
0750: set_object 9@ visibility 0
0750: set_object 10@ visibility 0

:TIME_2349
0939: attach_car 0@ to_object 30@ with_offset 0.0 0.0 0.0 rotation 0.0 0.0 0.0
jump @TIME_2456

:TIME_2394
if
Object.Exists(27@)
jf @TIME_2415
Object.Destroy(27@)

:TIME_2415
if
Object.Exists(7@)
jf @TIME_2451
Object.Destroy(7@)
Object.Destroy(8@)
Object.Destroy(9@)
Object.Destroy(10@)

:TIME_2451
Car.Destroy(0@)

:TIME_2456
14@ /= 50.0
15@ /= 50.0
16@ /= 50.0
0AB4: 24@ = var 901
Audiostream.PerformAction(24@, STOP)
Audiostream.PerformAction(24@, PLAY)
064B: 18@ = create_particle "IMPLOSION" at 11@ 12@ 13@ type 1
064C: make_particle 18@ visible
064F: remove_references_to_particle 18@
066D: 18@ = attach_particle "FIRETRAIL" to_object 30@ with_offset -0.98 -1.5 -0.75 flag 0.0
064C: make_particle 18@ visible
066D: 19@ = attach_particle "FIRETRAIL" to_object 30@ with_offset 0.98 -1.5 -0.75 flag 0.0
064C: make_particle 19@ visible
0085: 2@ = 0@ // (int)
0072: 2@ /= 1@ // (int)
006A: 2@ *= 1@ // (int)
0062: 0@ -= 1@ // (int)
0AB2: ret 1 0@

:TIME_2673
if
not 1@ == 2
jf @TIME_3165
if
not Actor.InCar($PLAYER_ACTOR, 0@)
jf @TIME_3118
1@ = 0
0407: store_coords_to 2@ 3@ 4@ from_car 0@ with_offset 0.0 -2.5 0.0
if and
00E1: player 0 pressed_key 4
00FF: actor $PLAYER_ACTOR sphere 0 in_sphere 2@ 3@ 4@ radius 0.75 0.75 2.0 on_foot
jf @TIME_3111
Player.CanMove($PLAYER_CHAR) = False
5@ = Car.Angle(0@)
05D4: AS_actor $PLAYER_ACTOR rotate_angle 5@
wait 250
Player.CanMove($PLAYER_CHAR) = True
04ED: load_animation "CRIB"

:TIME_2837
84EE: not animation "CRIB" loaded
jf @TIME_2863
wait 10
jump @TIME_2837

:TIME_2863
6@ = 0.0

:TIME_2873
wait 10
08A6: set_car 0@ componentA 1 rotation_to 6@
6@ += 0.2
6@ > 1.0
jf @TIME_2873
0AB4: 20@ = var 907
wait 250
0605: actor $PLAYER_ACTOR perform_animation_sequence "CRIB_USE_SWITCH" IFP_file "CRIB" 4.0 loop 1 0 0 0 time 3000 // versionA
wait 500
Audiostream.PerformAction(20@, STOP)
Audiostream.PerformAction(20@, PLAY)
wait 1100
Audiostream.PerformAction(20@, STOP)
Audiostream.PerformAction(20@, PLAY)
wait 1100
Audiostream.PerformAction(20@, STOP)
Audiostream.PerformAction(20@, PLAY)
wait 300
04EF: release_animation "CRIB"
1@ = 2
6@ = 1.0

:TIME_3058
wait 10
08A6: set_car 0@ componentA 1 rotation_to 6@
6@ -= 0.2
0.0 > 6@
jf @TIME_3058
08A6: set_car 0@ componentA 1 rotation_to 0.0

:TIME_3111
jump @TIME_3165

:TIME_3118
if
1@ == 0
jf @TIME_3165
0AB4: 20@ = var 906
Audiostream.PerformAction(20@, STOP)
Audiostream.PerformAction(20@, PLAY)
1@ = 1

:TIME_3165
0AB2: ret 1 1@

:TIME_3173
gosub @TIME_3361
if
33@ >= 5000
jf @TIME_3359
02E3: 15@ = car 0@ speed
if and
15@ > 35.75
1@ == 1
jf @TIME_3267
if
not 29@ >= 5
jf @TIME_3260
29@ += 1

:TIME_3260
jump @TIME_3292

:TIME_3267
if
29@ > 0
jf @TIME_3292
29@ -= 1

:TIME_3292
if
Car.Id(0@) == #CHEETAH
jf @TIME_3327
0AB1: call_scm_func @TIME_5033 2 0@ 29@

:TIME_3327
gosub @TIME_6438
0AB1: call_scm_func @TIME_6565 4 0@ 1@ 2@ 28@ 28@

:TIME_3359
return

:TIME_3361
02E3: 15@ = car 0@ speed
0AB4: 30@ = var 1
if or
not 33@ >= 1500
33@ >= 5000
jf @TIME_3550
if and
30@ == 1
15@ > 33.5
jf @TIME_3522
gosub @TIME_3573
if
not Object.Exists(27@)
jf @TIME_3515
27@ = Object.Create(18636, 0.0, 0.0, 0.0)
0681: attach_object 27@ to_car 0@ with_offset 0.0 0.0 0.0 rotation 0.0 0.0 0.0

:TIME_3515
jump @TIME_3543

:TIME_3522
if
Object.Exists(27@)
jf @TIME_3543
Object.Destroy(27@)

:TIME_3543
jump @TIME_3571

:TIME_3550
if
Object.Exists(27@)
jf @TIME_3571
Object.Destroy(27@)

:TIME_3571
return

:TIME_3573
0AB1: call_scm_func @TIME_4919 4 0@ 1.025 2.15 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 1.0 2.25 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.975 2.35 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.95 2.4 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.85 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.75 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.65 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.55 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.45 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.35 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.25 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.15 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.05 2.45 -0.2
0AB1: call_scm_func @TIME_4919 4 0@ 0.3 -0.875 0.615
0AB1: call_scm_func @TIME_4919 4 0@ 0.4 -0.875 0.615
0AB1: call_scm_func @TIME_4919 4 0@ 0.5 -0.875 0.615
0AB1: call_scm_func @TIME_4919 4 0@ 0.6 -0.875 0.615
0AB1: call_scm_func @TIME_4919 4 0@ 0.7 -0.88 0.575
0AB1: call_scm_func @TIME_4919 4 0@ 0.75 -0.89 0.525
0AB1: call_scm_func @TIME_4919 4 0@ 0.8 -0.9 0.475
0AB1: call_scm_func @TIME_4919 4 0@ 0.85 -0.91 0.425
0AB1: call_scm_func @TIME_4919 4 0@ 0.9 -0.92 0.375
0AB1: call_scm_func @TIME_4919 4 0@ 0.95 -0.93 0.325
0AB1: call_scm_func @TIME_4919 4 0@ 1.0 -0.94 0.275
0AB1: call_scm_func @TIME_4919 4 0@ 1.05 -0.95 0.255
0AB1: call_scm_func @TIME_4919 4 0@ 1.1 -0.98 0.22
0AB1: call_scm_func @TIME_4919 4 0@ 1.07 -1.05 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.065 -1.15 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.06 -1.25 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.055 -1.35 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.05 -1.45 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.045 -1.55 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.04 -1.65 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.035 -1.75 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.03 -1.8 0.19
0AB1: call_scm_func @TIME_4919 4 0@ 1.04 -1.85 0.14
0AB1: call_scm_func @TIME_4919 4 0@ 1.05 -1.9 0.09
0AB1: call_scm_func @TIME_4919 4 0@ 1.06 -1.95 0.04
0AB1: call_scm_func @TIME_4919 4 0@ 1.06 -2.0 -0.01
0AB1: call_scm_func @TIME_4919 4 0@ 1.05 -2.05 -0.06
0AB1: call_scm_func @TIME_4919 4 0@ 1.04 -2.07 -0.11
0AB1: call_scm_func @TIME_4919 4 0@ 1.03 -2.09 -0.16
0AB1: call_scm_func @TIME_4919 4 0@ 1.02 -2.11 -0.21
0AB1: call_scm_func @TIME_4919 4 0@ 1.0 -2.13 -0.26
0AB1: call_scm_func @TIME_4919 4 0@ 0.95 -2.15 -0.31
0AB1: call_scm_func @TIME_4919 4 0@ 0.9 -2.17 -0.31
0AB1: call_scm_func @TIME_4919 4 0@ 0.85 -2.17 -0.31
0AB1: call_scm_func @TIME_4919 4 0@ 0.8 -2.17 -0.31
return

:TIME_4919
066B: 4@ = attach_particle "BLUECOIL" to_car 0@ with_offset 1@ 2@ 3@ flag 1
064C: make_particle 4@ visible
064F: remove_references_to_particle 4@
if
not 1@ == 0.0
jf @TIME_5028
1@ *= -1.0
066B: 4@ = attach_particle "BLUECOIL" to_car 0@ with_offset 1@ 2@ 3@ flag 1
064C: make_particle 4@ visible
064F: remove_references_to_particle 4@

:TIME_5028
0AB2: ret 0

:TIME_5033
if
1@ > 0
jf @TIME_5299
066C: 2@ = attach_particle "PLASMAVENT" to_car 0@ with_offset -0.98 -1.75 -0.4 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMAVENT" to_car 0@ with_offset 0.98 -1.75 -0.4 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMAVENT" to_car 0@ with_offset -0.98 1.0 -0.5 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMAVENT" to_car 0@ with_offset 0.98 1.0 -0.5 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@

:TIME_5299
if
1@ > 1
jf @TIME_5549
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 -1.8 -0.5 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 -1.8 -0.5 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 0.95 -0.6 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 0.95 -0.6 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@

:TIME_5549
if
1@ > 1
jf @TIME_5799
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 -1.85 -0.6 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 -1.85 -0.6 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 0.9 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 0.9 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@

:TIME_5799
if
1@ > 2
jf @TIME_6049
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 -2.0 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 -2.0 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 0.75 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 0.75 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@

:TIME_6049
if
1@ > 3
jf @TIME_6299
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 -2.15 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 -2.15 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 0.6 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 0.6 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@

:TIME_6299
if
1@ > 4
jf @TIME_6433
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset -0.98 0.45 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@
066C: 2@ = attach_particle "PLASMA" to_car 0@ with_offset 0.98 0.45 -0.7 rotation 0.0 0.0 0.0 flag 1
064C: make_particle 2@ visible
064F: remove_references_to_particle 2@

:TIME_6433
0AB2: ret 0

:TIME_6438
02E3: 15@ = car 0@ speed
0AB4: 30@ = var 1
if and
33@ >= 5100
15@ > 35.75
30@ == 1
2@ == 2
jf @TIME_6563
33@ = 5000
if
29@ == 1
jf @TIME_6547
0A92: create_custom_thread "SPARKS.S" 0@ 1
jump @TIME_6563

:TIME_6547
0A92: create_custom_thread "SPARKS.S" 0@

:TIME_6563
return

:TIME_6565
02E3: 4@ = car 0@ speed
0AB4: 20@ = var 903
0AB4: 30@ = var 1
20@ = Audiostream.State(15@)
if and
30@ == 1
4@ > 35.75
jf @TIME_6677
3@ = 1
if and
1@ == 1
not 15@ == 1
jf @TIME_6670
Audiostream.PerformAction(20@, STOP)
Audiostream.PerformAction(20@, PLAY)

:TIME_6670
jump @TIME_6709

:TIME_6677
if
not 3@ == 0
jf @TIME_6709
3@ = 0
Audiostream.PerformAction(20@, STOP)

:TIME_6709
if and
1@ == 1
2@ == 2
jf @TIME_7558
if
4@ > 36.7
jf @TIME_6818
066C: 5@ = attach_particle "BLUEWORMHOLE10" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_6818
if
4@ > 36.6
jf @TIME_6901
066C: 5@ = attach_particle "BLUEWORMHOLE9" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_6901
if
4@ > 36.5
jf @TIME_6984
066C: 5@ = attach_particle "BLUEWORMHOLE8" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_6984
if
4@ > 36.4
jf @TIME_7067
066C: 5@ = attach_particle "BLUEWORMHOLE7" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_7067
if
4@ > 36.3
jf @TIME_7150
066C: 5@ = attach_particle "BLUEWORMHOLE6" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_7150
if
4@ > 36.2
jf @TIME_7233
066C: 5@ = attach_particle "BLUEWORMHOLE5" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_7233
if
4@ > 36.1
jf @TIME_7316
066C: 5@ = attach_particle "BLUEWORMHOLE4" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_7316
if
4@ > 36.0
jf @TIME_7399
066C: 5@ = attach_particle "BLUEWORMHOLE3" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_7399
if
4@ > 35.9
jf @TIME_7482
066C: 5@ = attach_particle "BLUEWORMHOLE2" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1
jump @TIME_7558

:TIME_7482
if
4@ > 35.8
jf @TIME_7558
066C: 5@ = attach_particle "BLUEWORMHOLE1" to_car 0@ with_offset 0.0 4.0 0.15 rotation 0.0 0.0 0.0 flag 1

:TIME_7558
064C: make_particle 5@ visible
064F: remove_references_to_particle 5@
0AB2: ret 1 3@

I know, I posted the whole thing.

I am hoping this would work out eventually.

See you in the future!

-BTTFModMachine

Edited by BTTFModMachine

Share this post


Link to post
Share on other sites

Funny thing is, I already have a working code, mine is different though, when spawning the delorean, instead of instant spawn you get a option, cutscene one or instant. I believe it's from the russian source code.

It has working cutscene or instant time travel too!

I'll send it you, if you like.

All you need to edit is the spawn code. The flight code crashes for any other apart from the bttf2 delorean for me, must look into that. If you want my bttf 3 source code, just ask.

-Doc204

Edited by Doctor200004

Share this post


Link to post
Share on other sites

Hi there just out of curiosity, could I have a copy of the cutscene/instant spawn cleos? I've been searching for them for nearly 5 years

Share this post


Link to post
Share on other sites

You know, all the source codes are available for download here. And Blue started out with the optional spawn so I'm not sure which one it is but they're here too.

Share this post


Link to post
Share on other sites

I thought so too but I've downloaded every source code and unless I'm missing something I can't find them, I'm sure I got them ages ago from a link on a YouTube video but it's been that long I thought I'd try here,

Share this post


Link to post
Share on other sites