-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlawyer1.sc
1829 lines (1351 loc) · 43.1 KB
/
lawyer1.sc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
MISSION_START
// *******************************************************************************************
// *******************************************************************************************
// *************************************Lawyer mission 1**************************************
// *************************************Colonel's Party***************************************
// *************************************THE PARTY**********************************************
// *******************************************************************************************
// *******************************************************************************************
// Mission start stuff
GOSUB mission_start_lawyer1
IF HAS_DEATHARREST_BEEN_EXECUTED
GOSUB mission_lawyer1_failed
ENDIF
GOSUB mission_cleanup_lawyer1
MISSION_END
// Variables for mission
{
LVAR_INT cs_jzgirla cs_jzgirlb player_nicking_bike Colour1_any Colour2_any merc_blip
LVAR_INT cs_rich cs_cgona cs_cgonb cs_cgonc cs_alscb cs_ervra merc_blip_active biker_bloke bike1
VAR_INT cols_daughter party_cars_created boat_scene
VAR_INT party_car1 party_car2 party_car3 party_car4 biker_out_of_bike
VAR_INT stored_any_vehicle any_vehicle any_vehicle_model
VAR_FLOAT strip_clubX strip_clubY strip_clubZ
VAR_FLOAT partyX partyY partyZ
VAR_FLOAT any_carX any_carY any_carZ any_heading
// ***************************************Mission Start*************************************
mission_start_lawyer1:
REGISTER_MISSION_GIVEN
flag_player_on_mission = 1
SCRIPT_NAME LAWYER1
WAIT 0
LOAD_MISSION_TEXT LAWYER1
SET_SHORTCUT_DROPOFF_POINT_FOR_MISSION 110.6 -824.2 9.6 327.9
merc_blip_active = 0
skip_timer1_acive = 0
player_nicking_bike = 0
party_cars_created = 0
biker_out_of_bike = 0
audio_is_loading = 0
audio_has_loaded = 0
first_two_samples = 0
second_two_samples = 0
third_two_samples = 0
stored_any_vehicle = 0
CLEAR_HELP
IF NOT IS_CHAR_DEAD scplayer
AND IS_PLAYER_WEARING player1 player2 // SCFIX: add specific skin check
UNDRESS_CHAR scplayer player
LOAD_ALL_MODELS_NOW
IF NOT IS_CHAR_DEAD scplayer
DRESS_CHAR scplayer
ENDIF
ENDIF
LOAD_MISSION_AUDIO 1 MONO_1
SET_AREA_VISIBLE VIS_LAWYERS
LOAD_SPECIAL_CHARACTER 1 CSplay
LOAD_SPECIAL_CHARACTER 2 CSken
LOAD_SPECIAL_MODEL CUTOBJ01 lwchara
LOAD_SPECIAL_MODEL CUTOBJ02 lwcharb
LOAD_SPECIAL_MODEL CUTOBJ03 lcfan
LOAD_SPECIAL_MODEL CUTOBJ04 invite
LOAD_SPECIAL_MODEL CUTOBJ05 lawdoor
LOAD_ALL_MODELS_NOW
WHILE NOT HAS_SPECIAL_CHARACTER_LOADED 1
OR NOT HAS_SPECIAL_CHARACTER_LOADED 2
OR NOT HAS_MODEL_LOADED CUTOBJ01
OR NOT HAS_MODEL_LOADED CUTOBJ02
OR NOT HAS_MODEL_LOADED CUTOBJ03
WAIT 0
ENDWHILE
WHILE NOT HAS_MODEL_LOADED CUTOBJ04
OR NOT HAS_MODEL_LOADED CUTOBJ05
WAIT 0
ENDWHILE
LOAD_SCENE 140.6 -1367.4 13.1
LOAD_CUTSCENE law_1a
SET_CUTSCENE_OFFSET 141.441 -1366.722 12.163
SET_NEAR_CLIP 0.1
CREATE_CUTSCENE_OBJECT SPECIAL01 cs_player
SET_CUTSCENE_ANIM cs_player CSplay
CREATE_CUTSCENE_OBJECT SPECIAL02 cs_ken
SET_CUTSCENE_ANIM cs_ken CSken
CREATE_CUTSCENE_OBJECT CUTOBJ01 cs_lwchara
SET_CUTSCENE_ANIM cs_lwchara lwchara
CREATE_CUTSCENE_OBJECT CUTOBJ02 cs_lwcharb
SET_CUTSCENE_ANIM cs_lwcharb lwcharb
CREATE_CUTSCENE_OBJECT CUTOBJ03 cs_lcfan
SET_CUTSCENE_ANIM_TO_LOOP lcfan
SET_CUTSCENE_ANIM cs_lcfan lcfan
CREATE_CUTSCENE_OBJECT CUTOBJ04 cs_invite
SET_CUTSCENE_ANIM cs_invite invite
CREATE_CUTSCENE_OBJECT CUTOBJ05 cs_lawdoor
SET_CUTSCENE_ANIM cs_lawdoor lawdoor
CLEAR_AREA 119.0 -826.8 9.8 0.5 TRUE
SET_PLAYER_COORDINATES player1 119.0 -826.8 9.8
SET_PLAYER_HEADING player1 60.0
DO_FADE 1500 FADE_IN
SWITCH_RUBBISH OFF
SWITCH_STREAMING ON
START_CUTSCENE
// Displays cutscene text
GET_CUTSCENE_TIME cs_time
WHILE cs_time < 520
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_A ) 10000 1 // Mission brief
WHILE cs_time < 2808
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_B ) 10000 1 // Mission brief
WHILE cs_time < 8465
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_C ) 10000 1 // Mission brief
WHILE cs_time < 12636
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_D ) 10000 1 // Mission brief
WHILE cs_time < 18310
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_E ) 10000 1 // Mission brief
WHILE cs_time < 23141
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_F ) 10000 1 // Mission brief
WHILE cs_time < 29472
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_G ) 10000 1 // Mission brief
WHILE cs_time < 34436
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_H ) 10000 1 // Mission brief
WHILE cs_time < 38414
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_I ) 10000 1 // Mission brief
WHILE cs_time < 43502
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_J ) 10000 1 // Mission brief
WHILE cs_time < 45330
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_K ) 10000 1 // Mission brief
WHILE cs_time < 48666
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_L ) 10000 1 // Mission brief
WHILE cs_time < 52276
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_M ) 10000 1 // Mission brief
WHILE cs_time < 54976
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_N ) 10000 1 // Mission brief
WHILE cs_time < 57081
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_O ) 10000 1 // Mission brief
WHILE cs_time < 60482
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_P ) 10000 1 // Mission brief
WHILE cs_time < 63363
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_Q ) 10000 1 // Mission brief
WHILE cs_time < 69392
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_R ) 10000 1 // Mission brief
WHILE cs_time < 73341
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_S ) 10000 1 // Mission brief
WHILE cs_time < 74197
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_T ) 10000 1 // Mission brief
WHILE cs_time < 80061
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAW1_U ) 10000 1 // Mission brief
WHILE cs_time < 82432
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
CLEAR_PRINTS
WHILE cs_time < 83692
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
DO_FADE 1500 FADE_OUT
CLEAR_PRINTS
WAIT 1000
IF NOT WAS_CUTSCENE_SKIPPED
IF HAS_MISSION_AUDIO_LOADED 1
PLAY_MISSION_AUDIO 1
WHILE NOT HAS_MISSION_AUDIO_FINISHED 1
WAIT 0
ENDWHILE
ENDIF
ENDIF
WHILE GET_FADING_STATUS
WAIT 0
ENDWHILE
SWITCH_RUBBISH ON
CLEAR_CUTSCENE
SET_CAMERA_IN_FRONT_OF_PLAYER
UNLOAD_SPECIAL_CHARACTER 1
UNLOAD_SPECIAL_CHARACTER 2
MARK_MODEL_AS_NO_LONGER_NEEDED CUTOBJ01
MARK_MODEL_AS_NO_LONGER_NEEDED CUTOBJ02
MARK_MODEL_AS_NO_LONGER_NEEDED CUTOBJ03
MARK_MODEL_AS_NO_LONGER_NEEDED CUTOBJ04
MARK_MODEL_AS_NO_LONGER_NEEDED CUTOBJ05
SET_AREA_VISIBLE VIS_MAIN_MAP
LOAD_SCENE 117.1 -825.6 9.8
REQUEST_MODEL HMYST
REQUEST_MODEL cheetah
REQUEST_MODEL infernus
REQUEST_MODEL stretch
REQUEST_MODEL banshee
WAIT 500
DO_FADE 1500 FADE_IN
WHILE NOT HAS_MODEL_LOADED HMYST
OR NOT HAS_MODEL_LOADED cheetah
OR NOT HAS_MODEL_LOADED infernus
OR NOT HAS_MODEL_LOADED stretch
OR NOT HAS_MODEL_LOADED banshee
WAIT 0
ENDWHILE
//SET_PLAYER_CONTROL player1 On
// START OF MISSION
FORCE_WEATHER WEATHER_SUNNY
clothes_shopX = 95.4
clothes_shopY = -1135.5
clothes_shopZ = 9.4
partyX = -237.0
partyY = -1360.1
partyZ = 7.07
strip_clubX = 101.8
strip_clubY = -1479.1
strip_clubZ = 10.4
SWITCH_CAR_GENERATOR gen_car120 0
PRINT_NOW ( LAW1_1 ) 10000 1 //GET A CHANGE OF CLOTHES
ADD_SPRITE_BLIP_FOR_COORD clothes_shopX clothes_shopY clothes_shopZ RADAR_SPRITE_TSHIRT colar_cuffs_blip
WAIT 3500
PRINT_HELP ( HELP20 ) //Go to the T shirt blip
FLASH_HUD_OBJECT HUD_FLASH_RADAR
WAIT 2000
FLASH_HUD_OBJECT -1
WHILE NOT LOCATE_PLAYER_ON_FOOT_3D player1 clothes_shopX clothes_shopY clothes_shopZ 1.5 1.5 3.0 TRUE
WAIT 0
ENDWHILE
REMOVE_BLIP colar_cuffs_blip
// **************************************(START) CHANGE OF CLOTHES CUT SCENE*********************************************
SET_PLAYER_CONTROL player1 OFF
SWITCH_WIDESCREEN ON
REQUEST_MODEL freeway
SET_FIXED_CAMERA_POSITION 91.813 -1131.116 17.251 0.0 0.0 0.0
POINT_CAMERA_AT_POINT 92.390 -1131.740 16.724 JUMP_CUT
SET_CHAR_OBJ_GOTO_COORD_ON_FOOT scplayer 96.4 -1136.7
WAIT 1300
DO_FADE 1000 FADE_OUT
WHILE GET_FADING_STATUS
WAIT 0
ENDWHILE
WHILE NOT HAS_MODEL_LOADED freeway
WAIT 0
ENDWHILE
IF NOT IS_WANTED_LEVEL_GREATER player1 2
CLEAR_WANTED_LEVEL player1
ENDIF
IF NOT IS_CHAR_DEAD scplayer
UNDRESS_CHAR scplayer player2
LOAD_ALL_MODELS_NOW
IF NOT IS_CHAR_DEAD scplayer
DRESS_CHAR scplayer
ENDIF
ENDIF
LOAD_MISSION_AUDIO 1 LAW1_7
LOAD_MISSION_AUDIO 2 LAW1_8
CLEAR_AREA 94.9 -1135.0 9.4 1.0 FALSE
SET_CHAR_OBJ_NO_OBJ scplayer
SET_PLAYER_COORDINATES player1 94.9 -1135.0 9.4
SET_PLAYER_HEADING player1 57.9
SET_CURRENT_PLAYER_WEAPON Player1 WEAPONTYPE_UNARMED
CLEAR_AREA 78.3 -1130.1 9.8 8.0 FALSE
CREATE_CAR freeway 78.3 -1130.1 -100.0 bike1
SET_CAR_HEADING bike1 180.0
CREATE_CHAR_INSIDE_CAR bike1 PEDTYPE_CIVMALE HMYST biker_bloke
SET_CHAR_PERSONALITY biker_bloke PEDSTAT_TOUGH_GUY
CLEAR_CHAR_THREAT_SEARCH biker_bloke
SET_CAR_CRUISE_SPEED bike1 0.0
DO_FADE 1500 FADE_IN
SET_FIXED_CAMERA_POSITION 94.027 -1134.133 10.002 0.0 0.0 0.0 //ROTATE UP
POINT_CAMERA_AT_POINT 94.724 -1134.820 9.797 JUMP_CUT
WAIT 1000
SET_INTERPOLATION_PARAMETERS 5.0 3000
SET_FIXED_CAMERA_POSITION 94.027 -1134.133 10.002 0.0 0.0 0.0 //ROTATE UP
POINT_CAMERA_AT_POINT 94.656 -1134.754 10.469 INTERPOLATION
TIMERB = 0
WHILE NOT TIMERB > 5000
WAIT 0
IF IS_BUTTON_PRESSED PAD1 cross
GOTO skip_to_fade_previous
ENDIF
ENDWHILE
skip_to_fade_previous:
IF NOT IS_CAR_DEAD bike1
CLEAR_AREA 78.3 -1130.1 9.8 8.0 FALSE
CAR_GOTO_COORDINATES bike1 78.0 -1141.3 9.8
SET_CAR_CRUISE_SPEED bike1 6.0
SET_CAR_DRIVING_STYLE bike1 DRIVINGMODE_PLOUGHTHROUGH
ENDIF
IF NOT IS_CHAR_DEAD biker_bloke
PLAYER_LOOK_AT_CHAR_ALWAYS Player1 biker_bloke
ENDIF
CLEAR_AREA 78.3 -1130.1 9.8 10.0 FALSE
CLEAR_AREA 78.0 -1143.3 9.8 10.0 FALSE
SET_FIXED_CAMERA_POSITION 76.009 -1140.519 9.861 0.0 0.0 0.0
POINT_CAMERA_AT_POINT 76.830 -1139.953 9.938 JUMP_CUT
TIMERB = 0
WHILE NOT TIMERB > 500
WAIT 0
ENDWHILE
IF HAS_MISSION_AUDIO_LOADED 1
PLAY_MISSION_AUDIO 1
PRINT_NOW ( LAW1_12 ) 1200 1 //mmmmm...nice bike
ENDIF
TIMERB = 0
WHILE NOT TIMERB > 3500
WAIT 0
IF IS_BUTTON_PRESSED PAD1 cross
skip_timer1_acive = 1
GOTO skip_to_fade
ENDIF
ENDWHILE
IF NOT IS_CHAR_DEAD biker_bloke
IF NOT IS_CAR_DEAD bike1
IF IS_CHAR_IN_CAR biker_bloke bike1
SET_CHAR_OBJ_LEAVE_CAR biker_bloke bike1
//CHAR_WANDER_DIR biker_bloke 351
ENDIF
ENDIF
ENDIF
TIMERB = 0
WHILE NOT TIMERB > 1000
WAIT 0
IF IS_BUTTON_PRESSED PAD1 cross
skip_timer1_acive = 1
GOTO skip_to_fade
ENDIF
ENDWHILE
skip_to_fade:
IF skip_timer1_acive = 1
DO_FADE 1000 FADE_OUT
WAIT 1000
IF NOT IS_CHAR_DEAD biker_bloke
IF NOT IS_CAR_DEAD bike1
IF IS_CHAR_IN_CAR biker_bloke bike1
WARP_CHAR_FROM_CAR_TO_COORD biker_bloke 77.1 -1140.6 9.4
CLEAR_AREA 77.1 -1140.6 9.4 1.0 FALSE
SET_CAR_COORDINATES bike1 78.0 -1138.6 -100.0
SET_CAR_HEADING bike1 180.0
ENDIF
ENDIF
ENDIF
DO_FADE 1000 FADE_IN
ENDIF
STOP_PLAYER_LOOKING Player1
SET_CAMERA_IN_FRONT_OF_PLAYER
RESTORE_CAMERA_JUMPCUT
SET_PLAYER_CONTROL player1 ON
SWITCH_WIDESCREEN OFF
SET_CHAR_OBJ_NO_OBJ scplayer
IF NOT IS_CAR_DEAD bike1
MARK_CAR_AS_NO_LONGER_NEEDED bike1
MARK_MODEL_AS_NO_LONGER_NEEDED freeway
ENDIF
// **************************************(END) CHANGE OF CLOTHES CUT SCENE*********************************************
//WAIT 1500
PRINT_NOW ( LAW1_2 ) 10000 1 //GET TO THE BOAT
ADD_BLIP_FOR_COORD partyX partyY partyZ lawyer_blip1
WHILE NOT LOCATE_STOPPED_PLAYER_IN_CAR_3D player1 partyX partyY partyZ 4.0 4.0 4.0 TRUE
AND NOT LOCATE_PLAYER_ON_FOOT_3D player1 partyX partyY partyZ 4.0 4.0 4.0 FALSE
WAIT 0
IF biker_out_of_bike = 0
AND NOT IS_CHAR_DEAD biker_bloke
IF NOT IS_CAR_DEAD bike1
IF NOT IS_CHAR_IN_CAR biker_bloke bike1
//CHAR_WANDER_DIR biker_bloke 3
SET_CHAR_OBJ_GOTO_COORD_ON_FOOT biker_bloke 74.9 -1177.6
biker_out_of_bike = 1
ENDIF
ENDIF
ENDIF
IF player_nicking_bike = 0
IF NOT IS_CHAR_DEAD biker_bloke
AND NOT IS_CAR_DEAD bike1
IF LOCATE_PLAYER_ANY_MEANS_CHAR_3D player1 biker_bloke 20.0 20.0 10.0 FALSE
IF IS_PLAYER_IN_CAR player1 bike1
SET_CHAR_RUNNING biker_bloke TRUE
SET_CHAR_THREAT_SEARCH biker_bloke THREAT_PLAYER1
player_nicking_bike = 1
IF HAS_MISSION_AUDIO_LOADED 2
PLAY_MISSION_AUDIO 2
PRINT_NOW ( LAW1_13 ) 1000 1 //NO! My bike
TIMERB = 0
TIMERA = 0
ENDIF
ENDIF
ENDIF
ENDIF
ELSE
IF NOT IS_CHAR_DEAD biker_bloke
AND NOT IS_CAR_DEAD bike1
IF NOT IS_CHAR_IN_CAR biker_bloke bike1
IF IS_CHAR_HEALTH_GREATER biker_bloke 99
IF NOT TIMERA > 3000
SET_CHAR_WAIT_STATE biker_bloke WAITSTATE_PLAYANIM_TAXI 1000
TURN_CHAR_TO_FACE_PLAYER biker_bloke player1
ELSE
SET_CHAR_OBJ_ENTER_CAR_AS_DRIVER biker_bloke bike1
ENDIF
ELSE
IF TIMERB > 2000
SET_CHAR_OBJ_ENTER_CAR_AS_DRIVER biker_bloke bike1
ENDIF
ENDIF
ELSE
SET_CAR_CRUISE_SPEED bike1 15.0
//CAR_WANDER_RANDOMLY bike1
CAR_GOTO_COORDINATES bike1 505.9 61.0 11.0
SET_CAR_DRIVING_STYLE bike1 DRIVINGMODE_AVOIDCARS
ENDIF
ENDIF
ENDIF
IF party_cars_created = 0
AND LOCATE_PLAYER_ANY_MEANS_3D player1 partyX partyY partyZ 80.0 150.0 40.0 FALSE
CREATE_CAR cheetah -236.6 -1374.6 -100.0 party_car1
SET_CAR_HEADING party_car1 280.3
CREATE_CAR infernus -240.8 -1355.3 -100.0 party_car2
SET_CAR_HEADING party_car2 99.8
CREATE_CAR stretch -244.2 -1339.2 -100.0 party_car3
SET_CAR_HEADING party_car3 103.8
CREATE_CAR banshee -233.3 -1386.0 -100.0 party_car4
SET_CAR_HEADING party_car4 96.8
party_cars_created = 1
ENDIF
ENDWHILE
REMOVE_BLIP lawyer_blip1
// **************************************(START) PARTY ON THE BOAT CUT SCENE *********************************************
party_cut:
SET_PLAYER_CONTROL player1 OFF
SWITCH_WIDESCREEN ON
//LOAD_SCENE -237.9 -1362.0 10.0
//SET_FIXED_CAMERA_POSITION -365.161 -1286.620 10.594 0.0 0.0 0.0
//POINT_CAMERA_AT_POINT -365.608 -1287.514 10.557 JUMP_CUT //View of boat
SET_FIXED_CAMERA_POSITION -229.438 -1364.204 12.607 0.0 0.0 0.0
POINT_CAMERA_AT_POINT -230.424 -1364.068 12.511 JUMP_CUT //View of boat
WAIT 1000
DO_FADE 1500 FADE_OUT
PRINT_BIG ( LAW_1 ) 20000 2 //"Lawyer mission 1"
WHILE GET_FADING_STATUS
WAIT 0
ENDWHILE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp03 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp04 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp05 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp24 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp25 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp28 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp32 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp35 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp41 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp47 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp50 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp51 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp64 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp70 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp71 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp72 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODcargoshp73 FALSE
SET_VISIBILITY_OF_CLOSEST_OBJECT_OF_TYPE -647.0, -1323.0, 19.9 100.0 LODargohull2 FALSE
//IF IS_CAR_DEAD bike1
IF IS_PLAYER_IN_ANY_CAR player1
STORE_CAR_PLAYER_IS_IN Player1 any_vehicle
GET_CAR_COORDINATES any_vehicle any_carX any_carY any_carZ
GET_CAR_HEADING any_vehicle any_heading
GET_CAR_COLOURS any_vehicle Colour1_any Colour2_any
GET_CAR_MODEL any_vehicle any_vehicle_model
IF IS_PLAYER_IN_CAR player1 any_vehicle
WARP_PLAYER_FROM_CAR_TO_COORD player1 -246.5 -1360.5 7.1
DELETE_CAR any_vehicle
stored_any_vehicle = 1
ENDIF
ELSE
SET_PLAYER_COORDINATES player1 -246.5 -1360.5 7.1
ENDIF
DELETE_CAR party_car1
DELETE_CAR party_car2
DELETE_CAR party_car3
DELETE_CAR party_car4
IF NOT IS_CHAR_DEAD biker_bloke
MARK_CHAR_AS_NO_LONGER_NEEDED biker_bloke
ENDIF
MARK_MODEL_AS_NO_LONGER_NEEDED freeway
MARK_MODEL_AS_NO_LONGER_NEEDED HMYST
MARK_MODEL_AS_NO_LONGER_NEEDED cheetah
MARK_MODEL_AS_NO_LONGER_NEEDED infernus
MARK_MODEL_AS_NO_LONGER_NEEDED stretch
MARK_MODEL_AS_NO_LONGER_NEEDED banshee
GET_GAME_TIMER breakout_timer_start
breakout_diff = 0
WHILE NOT CAN_PLAYER_START_MISSION Player1
AND breakout_diff < 5000 // if player is not in control after 5 secs do the cutscene anyway
WAIT 0
GET_GAME_TIMER breakout_timer
breakout_diff = breakout_timer - breakout_timer_start
ENDWHILE
MAKE_PLAYER_SAFE_FOR_CUTSCENE Player1
//SET_CHAR_OBJ_NO_OBJ scplayer
SWITCH_RUBBISH OFF
SWITCH_WORLD_PROCESSING OFF
SWITCH_STREAMING OFF
DISABLE_CUTSCENE_SHADOWS
REMOVE_EVERYTHING_FOR_HUGE_CUTSCENE
LOAD_SPECIAL_CHARACTER 1 csplay2
LOAD_SPECIAL_CHARACTER 2 csdiaz
LOAD_SPECIAL_CHARACTER 3 csmerc2
LOAD_SPECIAL_CHARACTER 4 cscandy
LOAD_SPECIAL_CHARACTER 5 csgonz
LOAD_SPECIAL_CHARACTER 6 csjezz
LOAD_SPECIAL_CHARACTER 7 csbj
LOAD_SPECIAL_CHARACTER 8 cservra
LOAD_SPECIAL_CHARACTER 9 csrich
LOAD_SPECIAL_CHARACTER 10 csdirec
LOAD_SPECIAL_CHARACTER 11 cgona
LOAD_SPECIAL_CHARACTER 12 dgoona
LOAD_SPECIAL_CHARACTER 13 dgoonb
LOAD_SPECIAL_CHARACTER 14 csavery
LOAD_SPECIAL_CHARACTER 15 csdlove
LOAD_SPECIAL_CHARACTER 16 cskent
LOAD_SPECIAL_CHARACTER 17 csalsb2 //csalscb
LOAD_SPECIAL_CHARACTER 18 cscolo
REQUEST_MODEL WFYG1
REQUEST_MODEL WFYG2
REQUEST_MODEL yt_main_body
REQUEST_MODEL yt_main_body2
REQUEST_MODEL big_poly_tings_b
//LOAD_SCENE 1218.4 -314.5 28.9
LOAD_ALL_MODELS_NOW
WHILE NOT HAS_SPECIAL_CHARACTER_LOADED 1
OR NOT HAS_SPECIAL_CHARACTER_LOADED 2
OR NOT HAS_SPECIAL_CHARACTER_LOADED 3
OR NOT HAS_SPECIAL_CHARACTER_LOADED 4
OR NOT HAS_SPECIAL_CHARACTER_LOADED 5
OR NOT HAS_SPECIAL_CHARACTER_LOADED 6
WAIT 0
ENDWHILE
WHILE NOT HAS_SPECIAL_CHARACTER_LOADED 7
OR NOT HAS_SPECIAL_CHARACTER_LOADED 8
OR NOT HAS_SPECIAL_CHARACTER_LOADED 9
OR NOT HAS_SPECIAL_CHARACTER_LOADED 10
OR NOT HAS_SPECIAL_CHARACTER_LOADED 12
WAIT 0
ENDWHILE
WHILE NOT HAS_SPECIAL_CHARACTER_LOADED 13
OR NOT HAS_SPECIAL_CHARACTER_LOADED 14
OR NOT HAS_SPECIAL_CHARACTER_LOADED 15
OR NOT HAS_SPECIAL_CHARACTER_LOADED 16
OR NOT HAS_SPECIAL_CHARACTER_LOADED 17
OR NOT HAS_SPECIAL_CHARACTER_LOADED 18
WAIT 0
ENDWHILE
WHILE NOT HAS_MODEL_LOADED WFYG1
OR NOT HAS_MODEL_LOADED WFYG2
OR NOT HAS_MODEL_LOADED yt_main_body
OR NOT HAS_MODEL_LOADED yt_main_body2
OR NOT HAS_MODEL_LOADED big_poly_tings_b
WAIT 0
ENDWHILE
LOAD_CUTSCENE law_1b
//SET_CUTSCENE_OFFSET -332.5 -1343.1 14.3
GET_OBJECT_COORDINATES the_yacht the_yacht_x the_yacht_y the_yacht_z
the_yacht_x = the_yacht_x + 0.003
the_yacht_y = the_yacht_y - 1.381
the_yacht_z = the_yacht_z + 3.149
SET_CUTSCENE_OFFSET the_yacht_x the_yacht_y the_yacht_z
SET_NEAR_CLIP 0.1
CREATE_CUTSCENE_OBJECT SPECIAL01 cs_player
SET_CUTSCENE_ANIM cs_player csplay
CREATE_CUTSCENE_OBJECT SPECIAL02 cs_diaz
SET_CUTSCENE_ANIM cs_diaz CSdiaz
CREATE_CUTSCENE_OBJECT SPECIAL03 cs_merc
SET_CUTSCENE_ANIM cs_merc csmerc
CREATE_CUTSCENE_OBJECT SPECIAL04 cs_candy
SET_CUTSCENE_ANIM cs_candy cscandy
CREATE_CUTSCENE_OBJECT SPECIAL05 cs_gonz
SET_CUTSCENE_ANIM cs_gonz csgonz
CREATE_CUTSCENE_OBJECT SPECIAL06 cs_jezz
SET_CUTSCENE_ANIM cs_jezz csjezz
CREATE_CUTSCENE_OBJECT SPECIAL07 cs_bj
SET_CUTSCENE_ANIM cs_bj csbj
CREATE_CUTSCENE_OBJECT SPECIAL08 cs_ervra
SET_CUTSCENE_ANIM cs_ervra cservra
CREATE_CUTSCENE_OBJECT SPECIAL09 cs_rich
SET_CUTSCENE_ANIM cs_rich csrich
CREATE_CUTSCENE_OBJECT SPECIAL10 cs_direc
SET_CUTSCENE_ANIM cs_direc csdirec
CREATE_CUTSCENE_OBJECT SPECIAL11 cs_cgona
SET_CUTSCENE_ANIM cs_cgona cgona
CREATE_CUTSCENE_OBJECT SPECIAL12 cs_cgonb
SET_CUTSCENE_ANIM cs_cgonb dgoona
CREATE_CUTSCENE_OBJECT SPECIAL13 cs_cgonc
SET_CUTSCENE_ANIM cs_cgonc dgoonb
CREATE_CUTSCENE_OBJECT SPECIAL14 cs_avery
SET_CUTSCENE_ANIM cs_avery csavery
CREATE_CUTSCENE_OBJECT SPECIAL15 cs_dlove
SET_CUTSCENE_ANIM cs_dlove csdlove
CREATE_CUTSCENE_OBJECT SPECIAL16 cs_kent
SET_CUTSCENE_ANIM cs_kent cskent
CREATE_CUTSCENE_OBJECT SPECIAL17 cs_alscb
SET_CUTSCENE_ANIM cs_alscb csalsb
CREATE_CUTSCENE_OBJECT SPECIAL18 cs_colonel
SET_CUTSCENE_ANIM cs_colonel cscolo
CREATE_CUTSCENE_OBJECT WFYG1 cs_jzgirla
SET_CUTSCENE_ANIM cs_jzgirla WFYG1
CREATE_CUTSCENE_OBJECT WFYG2 cs_jzgirlb
SET_CUTSCENE_ANIM cs_jzgirlb WFYG2
GET_OBJECT_COORDINATES the_yacht the_yacht_x the_yacht_y the_yacht_z
CREATE_OBJECT_NO_OFFSET big_poly_tings_b the_yacht_x the_yacht_y the_yacht_z boat_scene
DO_FADE 1500 FADE_IN
SWITCH_RUBBISH OFF
//SWITCH_STREAMING ON
START_CUTSCENE
// Displays cutscene text
GET_CUTSCENE_TIME cs_time
CLEAR_PRINTS
WHILE cs_time < 11329
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_1 ) 10000 1 // Mission brief
WHILE cs_time < 13188
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_2 ) 10000 1 // Mission brief
WHILE cs_time < 16708
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_3 ) 10000 1 // Mission brief
WHILE cs_time < 20045
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_4 ) 10000 1 // Mission brief
WHILE cs_time < 22161
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_5 ) 10000 1 // Mission brief
WHILE cs_time < 26685
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_6 ) 10000 1 // Mission brief
WHILE cs_time < 28985
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_7 ) 10000 1 // Mission brief
WHILE cs_time < 30685
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_8 ) 10000 1 // Mission brief
WHILE cs_time < 35229
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_9 ) 10000 1 // Mission brief
WHILE cs_time < 38229
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_10 ) 10000 1 // Mission brief
WHILE cs_time < 40853
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_11 ) 10000 1 // Mission brief
WHILE cs_time < 42509
WAIT 0
GET_CUTSCENE_TIME cs_time
ENDWHILE
PRINT_NOW ( LAWP_12 ) 10000 1 // Mission brief