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. Support

    3. Suggestions

Searching and opcode [CLEO 3]


Peppo_o'Paccio
 Share

Recommended Posts

Peppo_o'Paccio

I search an opcode that moves a plane to the coordinates that you write but without flying. Does it exist? Did you find it?

Link to comment
Share on other sites

Peppo_o'Paccio

Like these?

 

06A2: get_car [email protected] velocity_in_direction_XYZ 1969.3318 -2493.1348 0.0

 

 

00AD: set_car [email protected] max_speed_to 10.0

 

Tried, they don't work cryani.gif

 

edit: WAIT! I changed a wrong opcode. Now i'll retry

Edited by Peppo_o'Paccio
Link to comment
Share on other sites

Like these?

 

06A2: get_car [email protected] velocity_in_direction_XYZ 1969.3318 -2493.1348 0.0

 

 

00AD: set_car [email protected] max_speed_to 10.0

 

Tried, they don't work cryani.gif

maybe you need it or this

 

04BA: set_car [email protected] speed_instantly  20.0

 

 

normaly is used a "fly to" command with destination parameter

 

04D2: set_plane [email protected] fly_autopilot_around_point 500.0  500.5 500.0 altitude_between 0.0 and 2000.5

 

 

but you said move, without flying

 

07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.03 rotation_velocitiesXY 0.0 0.0 unk 0.0

 

Link to comment
Share on other sites

 

In this code

 

07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.0 rotation_velocitiesXY 0.0 0.0 unk 0.0 

what must I add after rotation_velocitiesXY and after unk? And, please, can you tell me why?  smile.gif  Because when I used it the plane after 10 meters stopped.

you can keep unk 0.0

 

important is what you insert here

set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.0

what did you insert? [email protected] and [email protected]?

how did you calculate [email protected] [email protected]?

 

try first this for example:

set_car [email protected] velocity_in_direction_XYZ 10.0 10.0 5.0

 

Link to comment
Share on other sites

Peppo_o'Paccio

I inserted the coordinates there, and when I insert that things after set_car [email protected] velocity_in_direction_XYZ my plane goes only for 5 meters. Wait, can we do another thing? I post the script and will you modify it ok? Please! sad.gif

 

{$CLEO .cs}// This script adds a telephone and when you call the 952 a beagle comes:Tour03A4: name_thread 'TOUR':Tour_10001: wait 0 msif0256:   player $PLAYER_CHAR defined004D: jump_if_false @Tour_1if00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 2016.6624 -2359.2634 13.5469 radius 1.0 1.0 1.0 on_foot // I created a telephone near this004D: jump_if_false @Tour_1:Number_10001: wait 0 msif0AB0: key_pressed 105 // 9 numtab if Bloc Num is ON004D: jump_if_false @Number_1:Number_20001: wait 0 msif0AB0: key_pressed 101 // 5 numtab if Bloc Num is ON004D: jump_if_false @Number_2:Number_30001: wait 0 msif0AB0: key_pressed 98  // 2 numtab if Bloc Num is ON004D: jump_if_false @Number_3:Load_n_check0001: wait 0 ms0247: load_model #BEAGLE0247: load_model #WMYPLT // Pilotif and0256:   player $PLAYER_CHAR defined 0248:   model #BEAGLE available0248:   model #WMYPLT available // Pilot004D: jump_if_false @Load_n_check00A5: [email protected] = create_car #BEAGLE at 2120.1924 -2495.2961 13.54690175: set_car [email protected] Z_angle_to 88.9290129: [email protected] = create_actor_pedtype 8 model #WMYPLT in_car [email protected] driverseat0186: [email protected] = create_marker_above_car [email protected]: set_marker [email protected] type_to 10223: set_actor [email protected] health_to 50000446: set_actor [email protected] immune_to_headshots 0 0249: release_model #BEAGLE0249: release_model #WMYPLT :Tour_20001: wait 0 ms07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.0 rotation_velocitiesXY 0.0 0.0 unk 0.0  // here I want that my Beagle goes at 2012.4185 -2493.6519 13.539104BA: set_car [email protected] speed_to 30.0 :Tour_30001: wait 4000 msif0256:   player $PLAYER_CHAR defined004D: jump_if_false @Tour_3if and 80DF: not actor $PLAYER_ACTOR driving00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 0.0 0.0 0.0 radius 2.0 2.0 2.0 on_foot //I must work on this0AB0: key_pressed 71 // G004D: jump_if_false @Tour_30430: put_actor $PLAYER_ACTOR into_car [email protected] passenger_seat 00164: disable_marker [email protected]: set_plane [email protected] fly_autopilot_around_point 0.0 0.0 0.0 altitude_between 0.0 and 0.0 // I must work on this 04BA: set_car [email protected] speed_to 0.0 //I must work on this :Tour_40001: wait 0 msif0256:   player $PLAYER_CHAR defined004D: jump_if_false @Tour_4 if 8202: not actor $PLAYER_ACTOR near_car [email protected] radius 1000.0 1000.0 flag 0004D: jump_if_false @Tour_4009B: destroy_actor [email protected]: destroy_car [email protected]: jump @Tour_1

 

Link to comment
Share on other sites

test this

 

 

{$CLEO .cs}// This script adds a telephone and when you call the 952 a beagle comes:Tour03A4: name_thread 'TOUR' :Tour_10001: wait 0 msif0256:   player $PLAYER_CHAR defined004D: jump_if_false @Tour_1if00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 2016.6624 -2359.2634 13.5469 radius 1.0 1.0 1.0 on_foot // I created a telephone near this004D: jump_if_false @Tour_1:Number_10001: wait 0 msif0AB0: key_pressed 105 // 9 numtab if Bloc Num is ON004D: jump_if_false @Number_1:Number_20001: wait 0 msif0AB0: key_pressed 101 // 5 numtab if Bloc Num is ON004D: jump_if_false @Number_2:Number_30001: wait 0 msif0AB0: key_pressed 98  // 2 numtab if Bloc Num is ON004D: jump_if_false @Number_30247: load_model #BEAGLE0247: load_model #WMYPLT // Pilot:Load_n_check0001: wait 0 msif and0248:   model #BEAGLE available0248:   model #WMYPLT available // Pilot004D: jump_if_false @Load_n_check00A5: [email protected] = create_car #BEAGLE at 2120.1924 -2495.2961 13.54690175: set_car [email protected] Z_angle_to 88.9290129: [email protected] = create_actor_pedtype 8 model #WMYPLT in_car [email protected] driverseat0186: [email protected] = create_marker_above_car [email protected]: set_marker [email protected] type_to 10223: set_actor [email protected] health_to 50000446: set_actor [email protected] immune_to_headshots 00249: release_model #BEAGLE0249: release_model #[email protected] = 0:Tour_20001: wait 0 ms0174: [email protected] = car [email protected] z_angle02F6: [email protected] = cosine [email protected]  // sinus swapped with cosine02F7: [email protected] = sinus [email protected] // cosine swapped with sinus 0013: [email protected] *=  1.3  // floating-point values0013: [email protected] *=  1.3  // floating-point values0013: [email protected] *=  -1.0  // floating-point values07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.1 rotation_velocitiesXY 0.0 0.0 unk [email protected] > 2000jf @Tour_204D2: set_plane [email protected] fly_autopilot_around_point 0.0 0.0 0.0 altitude_between 0.0 and 1000.0 // I must work on this04BA: set_car [email protected] speed_to 50.0 //I must work on this:Tour_30001: wait 4000 msif0256:   player $PLAYER_CHAR defined004D: jump_if_false @Tour_3if and80DF: not actor $PLAYER_ACTOR driving00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 0.0 0.0 0.0 radius 2.0 2.0 2.0 on_foot //I must work on this0AB0: key_pressed 71 // G004D: jump_if_false @Tour_30430: put_actor $PLAYER_ACTOR into_car [email protected] passenger_seat 00164: disable_marker [email protected]: set_plane [email protected] fly_autopilot_around_point 0.0 0.0 0.0 altitude_between 0.0 and 0.0 // I must work on this04BA: set_car [email protected] speed_to 0.0 //I must work on this:Tour_40001: wait 0 msif0256:   player $PLAYER_CHAR defined004D: jump_if_false @Tour_4if8202: not actor $PLAYER_ACTOR near_car [email protected] radius 1000.0 1000.0 flag 0004D: jump_if_false @Tour_4009B: destroy_actor [email protected]: destroy_car [email protected]: jump @Tour_1

 

Link to comment
Share on other sites

Peppo_o'Paccio

Good job smile.gif but I think you made a mistake, because when the plane is spawned, it flies, and I want it on the ground. Anyway, doesn't matter and I'll use this in another script biggrin.gif

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.