Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

[HELP] Camera position .cs


Sampaddicte
 Share

Recommended Posts

Sampaddicte

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.

 

Heres the cleo script:

 

 

 


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

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.