Sampaddicte
Member
- Joined
- Jul 2, 2018
- Messages
- 7
- Reaction score
- 0
https://www.youtube.com/watch?v=9GF2bLTNuo8
I've been trying to modify this cleo without any sucess, this cleo only allows to use the camera mode while using the police maverick, I want it to be used on San News Maverick. I've changed the names inside the files, where has "POLMAV" to 'VCNMAV', however the game crashes everytime when i join in, I'm so desperated to make this cleo work. Anyone has a solucion ? Here's the script code:
I've been trying to modify this cleo without any sucess, this cleo only allows to use the camera mode while using the police maverick, I want it to be used on San News Maverick. I've changed the names inside the files, where has "POLMAV" to 'VCNMAV', however the game crashes everytime when i join in, I'm so desperated to make this cleo work. Anyone has a solucion ? Here's the script code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
17@ = 1
21@ = 0
25@ = 0
:NONAME_23
wait 0
if
Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_82
1@ = Audiostream.Load("CLEO\SOUND\STARTUP.MP3")
Audiostream.PerformAction(1@, PLAY)
:NONAME_82
Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_1774
wait 0
Actor.StorePos($PLAYER_ACTOR, 11@, 12@, 13@)
if
not Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_136
Camera.Restore
:NONAME_136
if
0AB0: key_pressed 101
else_jump @NONAME_396
1@ = Audiostream.Load("CLEO\SOUND\STBY.MP3")
Audiostream.PerformAction(1@, PLAY)
14@ = Actor.CurrentCar($PLAYER_ACTOR)
if and
056E: car 15@ defined
056E: car 16@ defined
else_jump @NONAME_220
jump @NONAME_382
:NONAME_220
Model.Load(#SWMOCD)
Model.Load(#RCCAM)
:NONAME_230
wait 0
if
Model.Available(#RCCAM)
else_jump @NONAME_230
15@ = Car.Create(#RCCAM, 11@, 12@, 500.0)
16@ = Car.Create(#RCCAM, 11@, 12@, 500.0)
0683: attach_car 15@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0683: attach_car 16@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0338: set_car 15@ visibility 0
0338: set_car 16@ visibility 0
03F0: enable_text_draw 1
:NONAME_382
Camera.OnVehicle(15@, 3, 1)
wait 1000
:NONAME_396
056E: car 15@ defined
else_jump @NONAME_1767
wait 0
038E: draw_box_position 280.0 224.0 size 70.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 360.0 224.0 size 70.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 320.0 194.0 size 1.0 50.0 RGBA 255 255 255 255
038E: draw_box_position 320.0 254.0 size 1.0 50.0 RGBA 255 255 255 255
if
21@ == 1
else_jump @NONAME_702
038E: draw_box_position 320.0 194.0 size 80.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 320.0 254.0 size 80.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 280.0 224.0 size 1.0 60.0 RGBA 255 255 255 255
038E: draw_box_position 360.0 224.0 size 1.0 60.0 RGBA 255 255 255 255
:NONAME_702
0683: attach_car 15@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0683: attach_car 16@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
if or
0AB0: key_pressed 101
not Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_848
0931: lock_camera_zoom 0
092F: lock_camera_target_point 0
Camera.Restore
08B2: enable_thermal_vision 0
08B1: enable_night_vision 0
25@ = 0
17@ = 1
Car.Destroy(15@)
Car.Destroy(16@)
wait 500
:NONAME_848
if
0AB0: key_pressed 100
else_jump @NONAME_1152
21@ += 1
if
21@ == 1
else_jump @NONAME_1127
gosub @NONAME_1781
19@ = 0
:NONAME_902
if
056D: actor 19@ defined
else_jump @NONAME_1034
if
00FE: actor 19@ sphere 0 in_sphere 0@ 1@ 2@ radius 15.0 15.0 15.0
else_jump @NONAME_1034
067B: put_camera_on_car 15@ with_offset 0.0 0.0 -1.5 point_to_actor 19@ tilt 6.0 2
1@ = Audiostream.Load("CLEO\SOUND\TARGET_L.MP3")
Audiostream.PerformAction(1@, PLAY)
jump @NONAME_1120
:NONAME_1034
19@ += 1
19@ > 30000
else_jump @NONAME_902
0920: point_camera 0@ 1@ 2@ transverse_to 0@ 1@ 2@ time 500 smooth_transition 0
092F: lock_camera_target_point 1
1@ = Audiostream.Load("CLEO\SOUND\BEEP01.MP3")
Audiostream.PerformAction(1@, PLAY)
:NONAME_1120
jump @NONAME_1147
:NONAME_1127
092F: lock_camera_target_point 0
Camera.OnVehicle(15@, 3, 1)
21@ = 0
:NONAME_1147
wait 1000
:NONAME_1152
if
0AB0: key_pressed 102
else_jump @NONAME_1556
25@ += 1
if
25@ == 1
else_jump @NONAME_1236
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 70.0 to 50.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X8" time 500
:NONAME_1236
if
25@ == 2
else_jump @NONAME_1299
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 50.0 to 30.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X16" time 500
:NONAME_1299
if
25@ == 3
else_jump @NONAME_1362
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 30.0 to 10.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X32" time 500
:NONAME_1362
if
25@ == 4
else_jump @NONAME_1425
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 10.0 to 30.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X16" time 500
:NONAME_1425
if
25@ == 5
else_jump @NONAME_1487
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 30.0 to 50.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X8" time 500
:NONAME_1487
if
25@ == 6
else_jump @NONAME_1556
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 50.0 to 70.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X1" time 500
25@ = 0
:NONAME_1556
if
0AB0: key_pressed 103
else_jump @NONAME_1760
17@ += 1
1@ = Audiostream.Load("CLEO\SOUND\BLIP3.MP3")
Audiostream.PerformAction(1@, PLAY)
if
17@ == 1
else_jump @NONAME_1654
0ACD: show_text_highpriority "NORMAL VISION" time 500
08B2: enable_thermal_vision 0
:NONAME_1654
if
17@ == 2
else_jump @NONAME_1698
0ACD: show_text_highpriority "NIGHT VISION ON" time 500
08B1: enable_night_vision 1
:NONAME_1698
if
17@ == 3
else_jump @NONAME_1755
0ACD: show_text_highpriority "THERMAL VISION ON" time 500
08B1: enable_night_vision 0
08B2: enable_thermal_vision 1
17@ = 0
:NONAME_1755
wait 500
:NONAME_1760
jump @NONAME_396
:NONAME_1767
jump @NONAME_82
:NONAME_1774
jump @NONAME_23
:NONAME_1781
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
0A9F: 5@ = current_thread_pointer
5@ += 80
0A8E: 6@ = 5@ + 12 // int
0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 6@ 5@ 3@ 2@ 1@ 4@
if
86BD: not no_obstacles_between 1@ 2@ 3@ and 8@ 9@ 10@ solid 1 car 0 actor 1 object 1 particle 1
else_jump @NONAME_1900
jump @NONAME_1931
:NONAME_1900
4@ += 1.0
if
4@ > 250.0
else_jump @NONAME_1781
:NONAME_1931
0@ = 0.0
1@ = 0.0
2@ = 0.0
005B: 0@ += 8@ // (float)
005B: 1@ += 9@ // (float)
005B: 2@ += 10@ // (float)
4@ = 0.0
return
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
17@ = 1
21@ = 0
25@ = 0
:NONAME_23
wait 0
if
Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_82
1@ = Audiostream.Load("CLEO\SOUND\STARTUP.MP3")
Audiostream.PerformAction(1@, PLAY)
:NONAME_82
Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_1774
wait 0
Actor.StorePos($PLAYER_ACTOR, 11@, 12@, 13@)
if
not Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_136
Camera.Restore
:NONAME_136
if
0AB0: key_pressed 101
else_jump @NONAME_396
1@ = Audiostream.Load("CLEO\SOUND\STBY.MP3")
Audiostream.PerformAction(1@, PLAY)
14@ = Actor.CurrentCar($PLAYER_ACTOR)
if and
056E: car 15@ defined
056E: car 16@ defined
else_jump @NONAME_220
jump @NONAME_382
:NONAME_220
Model.Load(#SWMOCD)
Model.Load(#RCCAM)
:NONAME_230
wait 0
if
Model.Available(#RCCAM)
else_jump @NONAME_230
15@ = Car.Create(#RCCAM, 11@, 12@, 500.0)
16@ = Car.Create(#RCCAM, 11@, 12@, 500.0)
0683: attach_car 15@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0683: attach_car 16@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0338: set_car 15@ visibility 0
0338: set_car 16@ visibility 0
03F0: enable_text_draw 1
:NONAME_382
Camera.OnVehicle(15@, 3, 1)
wait 1000
:NONAME_396
056E: car 15@ defined
else_jump @NONAME_1767
wait 0
038E: draw_box_position 280.0 224.0 size 70.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 360.0 224.0 size 70.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 320.0 194.0 size 1.0 50.0 RGBA 255 255 255 255
038E: draw_box_position 320.0 254.0 size 1.0 50.0 RGBA 255 255 255 255
if
21@ == 1
else_jump @NONAME_702
038E: draw_box_position 320.0 194.0 size 80.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 320.0 254.0 size 80.0 1.0 RGBA 255 255 255 255
038E: draw_box_position 280.0 224.0 size 1.0 60.0 RGBA 255 255 255 255
038E: draw_box_position 360.0 224.0 size 1.0 60.0 RGBA 255 255 255 255
:NONAME_702
0683: attach_car 15@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0683: attach_car 16@ to_car 14@ with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
if or
0AB0: key_pressed 101
not Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)
else_jump @NONAME_848
0931: lock_camera_zoom 0
092F: lock_camera_target_point 0
Camera.Restore
08B2: enable_thermal_vision 0
08B1: enable_night_vision 0
25@ = 0
17@ = 1
Car.Destroy(15@)
Car.Destroy(16@)
wait 500
:NONAME_848
if
0AB0: key_pressed 100
else_jump @NONAME_1152
21@ += 1
if
21@ == 1
else_jump @NONAME_1127
gosub @NONAME_1781
19@ = 0
:NONAME_902
if
056D: actor 19@ defined
else_jump @NONAME_1034
if
00FE: actor 19@ sphere 0 in_sphere 0@ 1@ 2@ radius 15.0 15.0 15.0
else_jump @NONAME_1034
067B: put_camera_on_car 15@ with_offset 0.0 0.0 -1.5 point_to_actor 19@ tilt 6.0 2
1@ = Audiostream.Load("CLEO\SOUND\TARGET_L.MP3")
Audiostream.PerformAction(1@, PLAY)
jump @NONAME_1120
:NONAME_1034
19@ += 1
19@ > 30000
else_jump @NONAME_902
0920: point_camera 0@ 1@ 2@ transverse_to 0@ 1@ 2@ time 500 smooth_transition 0
092F: lock_camera_target_point 1
1@ = Audiostream.Load("CLEO\SOUND\BEEP01.MP3")
Audiostream.PerformAction(1@, PLAY)
:NONAME_1120
jump @NONAME_1147
:NONAME_1127
092F: lock_camera_target_point 0
Camera.OnVehicle(15@, 3, 1)
21@ = 0
:NONAME_1147
wait 1000
:NONAME_1152
if
0AB0: key_pressed 102
else_jump @NONAME_1556
25@ += 1
if
25@ == 1
else_jump @NONAME_1236
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 70.0 to 50.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X8" time 500
:NONAME_1236
if
25@ == 2
else_jump @NONAME_1299
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 50.0 to 30.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X16" time 500
:NONAME_1299
if
25@ == 3
else_jump @NONAME_1362
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 30.0 to 10.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X32" time 500
:NONAME_1362
if
25@ == 4
else_jump @NONAME_1425
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 10.0 to 30.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X16" time 500
:NONAME_1425
if
25@ == 5
else_jump @NONAME_1487
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 30.0 to 50.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X8" time 500
:NONAME_1487
if
25@ == 6
else_jump @NONAME_1556
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 50.0 to 70.0 timelimit 500 smooth_transition 0
wait 499
0931: lock_camera_zoom 1
0ACD: show_text_highpriority "ZOOM X1" time 500
25@ = 0
:NONAME_1556
if
0AB0: key_pressed 103
else_jump @NONAME_1760
17@ += 1
1@ = Audiostream.Load("CLEO\SOUND\BLIP3.MP3")
Audiostream.PerformAction(1@, PLAY)
if
17@ == 1
else_jump @NONAME_1654
0ACD: show_text_highpriority "NORMAL VISION" time 500
08B2: enable_thermal_vision 0
:NONAME_1654
if
17@ == 2
else_jump @NONAME_1698
0ACD: show_text_highpriority "NIGHT VISION ON" time 500
08B1: enable_night_vision 1
:NONAME_1698
if
17@ == 3
else_jump @NONAME_1755
0ACD: show_text_highpriority "THERMAL VISION ON" time 500
08B1: enable_night_vision 0
08B2: enable_thermal_vision 1
17@ = 0
:NONAME_1755
wait 500
:NONAME_1760
jump @NONAME_396
:NONAME_1767
jump @NONAME_82
:NONAME_1774
jump @NONAME_23
:NONAME_1781
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
0A9F: 5@ = current_thread_pointer
5@ += 80
0A8E: 6@ = 5@ + 12 // int
0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 6@ 5@ 3@ 2@ 1@ 4@
if
86BD: not no_obstacles_between 1@ 2@ 3@ and 8@ 9@ 10@ solid 1 car 0 actor 1 object 1 particle 1
else_jump @NONAME_1900
jump @NONAME_1931
:NONAME_1900
4@ += 1.0
if
4@ > 250.0
else_jump @NONAME_1781
:NONAME_1931
0@ = 0.0
1@ = 0.0
2@ = 0.0
005B: 0@ += 8@ // (float)
005B: 1@ += 9@ // (float)
005B: 2@ += 10@ // (float)
4@ = 0.0
return