Help [HELP]Camera position on RC CAR

Joined
Jul 2, 2018
Messages
3
Likes
0
Points
1
#1
https://youtu.be/NtEg-AS9xwE

I Would like to place the default camera a little bit lower, so it wont go inside the helicopter when i am trying to look down as you can see in the video. If you manage to do that, tell me where exactly you changed in the cleo scrip so i can change it myself. I've tryed to change a lot of things inside it with my Sanny builder but no sucess.

// 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
[email protected] = 1
[email protected] = 0
[email protected] = 0

:NONAME_23
wait 0
if
   Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)  
else_jump @NONAME_82
[email protected] = Audiostream.Load("CLEO\SOUND\STARTUP.MP3")
Audiostream.PerformAction([email protected], PLAY)

:NONAME_82
   Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)   
else_jump @NONAME_1774
wait 0
Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])
if
   not Actor.DrivingVehicleType($PLAYER_ACTOR, #POLMAV)   
else_jump @NONAME_136
Camera.Restore

:NONAME_136
if
0AB0:   key_pressed 101
else_jump @NONAME_396
[email protected] = Audiostream.Load("CLEO\SOUND\STBY.MP3")
Audiostream.PerformAction([email protected], PLAY)
[email protected] = Actor.CurrentCar($PLAYER_ACTOR)
if and
056E:   car [email protected] defined
056E:   car [email protected] 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
[email protected] = Car.Create(#RCCAM, [email protected], [email protected], 500.0)
[email protected] = Car.Create(#RCCAM, [email protected], [email protected], 500.0)
0683: attach_car [email protected] to_car [email protected] with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0683: attach_car [email protected] to_car [email protected] with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0338: set_car [email protected] visibility 0
0338: set_car [email protected] visibility 0
03F0: enable_text_draw 1

:NONAME_382
Camera.OnVehicle([email protected], 3, 1)
wait 1000

:NONAME_396
056E:   car [email protected] 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
  [email protected] == 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 [email protected] to_car [email protected] with_offset 0.0 3.0 -1.5 rotation 0.0 0.0 0.0
0683: attach_car [email protected] to_car [email protected] 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
[email protected] = 0
[email protected] = 1
Car.Destroy([email protected])
Car.Destroy([email protected])
wait 500

:NONAME_848
if
0AB0:   key_pressed 100
else_jump @NONAME_1152
[email protected] += 1
if
  [email protected] == 1
else_jump @NONAME_1127
gosub @NONAME_1781
[email protected] = 0

:NONAME_902
if
056D:   actor [email protected] defined
else_jump @NONAME_1034
if
00FE:   actor [email protected] sphere 0 in_sphere 0@ [email protected] [email protected] radius 15.0 15.0 15.0
else_jump @NONAME_1034
067B: put_camera_on_car [email protected] with_offset 0.0 0.0 -1.5 point_to_actor [email protected] tilt 6.0 2
[email protected] = Audiostream.Load("CLEO\SOUND\TARGET_L.MP3")
Audiostream.PerformAction([email protected], PLAY)
jump @NONAME_1120

:NONAME_1034
[email protected] += 1
  [email protected] > 30000
else_jump @NONAME_902
0920: point_camera [email protected] [email protected] [email protected] transverse_to [email protected] [email protected] [email protected] time 500 smooth_transition 0
092F: lock_camera_target_point 1
[email protected] = Audiostream.Load("CLEO\SOUND\BEEP01.MP3")
Audiostream.PerformAction([email protected], PLAY)

:NONAME_1120
jump @NONAME_1147

:NONAME_1127
092F: lock_camera_target_point 0
Camera.OnVehicle([email protected], 3, 1)
[email protected] = 0

:NONAME_1147
wait 1000

:NONAME_1152
if
0AB0:   key_pressed 102
else_jump @NONAME_1556
[email protected] += 1
if
  [email protected] == 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
  [email protected] == 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
  [email protected] == 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
  [email protected] == 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
  [email protected] == 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
  [email protected] == 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
[email protected] = 0

:NONAME_1556
if
0AB0:   key_pressed 103
else_jump @NONAME_1760
[email protected] += 1
[email protected] = Audiostream.Load("CLEO\SOUND\BLIP3.MP3")
Audiostream.PerformAction([email protected], PLAY)
if
  [email protected] == 1
else_jump @NONAME_1654
0ACD: show_text_highpriority "NORMAL VISION" time 500
08B2: enable_thermal_vision 0

:NONAME_1654
if
  [email protected] == 2
else_jump @NONAME_1698
0ACD: show_text_highpriority "NIGHT VISION ON" time 500
08B1: enable_night_vision 1

:NONAME_1698
if
  [email protected] == 3
else_jump @NONAME_1755
0ACD: show_text_highpriority "THERMAL VISION ON" time 500
08B1: enable_night_vision 0
08B2: enable_thermal_vision 1
[email protected] = 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, [email protected], [email protected], [email protected])
0A9F: [email protected] = current_thread_pointer
[email protected] += 80
0A8E: [email protected] = [email protected] + 12 // int
0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]  
if
86BD:   not no_obstacles_between [email protected] [email protected] [email protected] and [email protected] [email protected] [email protected] solid 1 car 0 actor 1 object 1 particle 1
else_jump @NONAME_1900
jump @NONAME_1931

:NONAME_1900
[email protected] += 1.0
if
  [email protected] > 250.0
else_jump @NONAME_1781

:NONAME_1931
[email protected] = 0.0
[email protected] = 0.0
[email protected] = 0.0
005B: [email protected] += [email protected] // (float)
005B: [email protected] += [email protected] // (float)
005B: [email protected] += [email protected] // (float)
[email protected] = 0.0
return
 
Top