Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,280 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

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

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

    2. Site Suggestions

skatefilter5

Drivers ignores more waypoints more than 10 waypoints in the AS Pack

Recommended Posts

skatefilter5

I was making a street race for the 8 drivers, to race across Los Santos, with objects like ramps, I have problems with drivers hit to the wall and not reserving, and the drivers ignores more waypoints is there a way to fix it? I assign all the driver into one AS pack and set it on loop, whenever these drivers pass more than 10 waypoints they go back to the starting waypoints, and not reversing, I have dum drivers. I don't know how DYOM makes it endless waypoints for the driver without ignore paths more than 10 and can reverse when they crash to the wall.

 

I tried at least 1 driver and it still do the same thing, ignore waypoints. What is the limit for AS pack anyway?

0615: define_AS_pack_begin [email protected]: AS_actor -1 drive_car -1 to -1399.9968 -588.8387 1059.4263 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1464.1903 -589.6142 1058.646 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1513.0107 -594.8481 1056.1873 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1523.1503 -604.2274 1056.0874 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1523.8932 -613.6641 1055.0573 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1514.082 -644.4407 1050.197 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1518.2037 -666.89 1051.114 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1525.1027 -691.2701 1055.2524 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1521.432 -702.4279 1055.7461 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1513.0724 -712.1246 1054.4247 speed 30.0 2 model #NULL 5 //---Actor ignores extra paths05D1: AS_actor -1 drive_car -1 to -1467.8555 -734.757 1050.0984 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1467.2982 -735.0522 1050.1515 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1427.5807 -740.6136 1055.21 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1384.9669 -742.6732 1051.9281 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1332.3932 -740.7082 1054.4803 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1297.8243 -736.6279 1049.3242 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1291.2211 -717.3831 1054.2113 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1304.592 -692.1364 1056.3473 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1331.0325 -674.8593 1055.9453 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1382.551 -665.2627 1055.9905 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1460.6582 -660.8931 1054.8276 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1488.8619 -639.7817 1053.3491 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1464.4072 -612.0679 1054.3567 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1429.1605 -619.6572 1051.119 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1424.5424 -645.2435 1052.5977 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1445.6469 -684.8134 1053.6095 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1447.2539 -706.4541 1054.5122 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1439.1478 -716.0108 1055.8077 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1425.797 -719.6119 1056.0988 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1338.9297 -717.0709 1055.8342 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1330.319 -707.8829 1055.8956 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1335.3574 -696.1902 1055.9502 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1344.8141 -690.4016 1055.7429 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1382.8523 -685.137 1053.7909 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1400.12 -676.5093 1052.5504 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1404.5564 -666.402 1051.9691 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1403.3026 -648.483 1051.8267 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1392.4393 -625.745 1051.975 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1382.118 -619.938 1052.0236 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1365.6362 -622.0045 1052.8323 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1306.0431 -650.451 1055.8232 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1291.939 -645.7662 1056.2178 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1287.7822 -631.0732 1055.9567 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1312.4398 -606.2023 1055.9108 speed 30.0 2 model #NULL 505D1: AS_actor -1 drive_car -1 to -1343.5087 -593.3559 1056.0251 speed 30.0 2 model #NULL 50616: define_AS_pack_end [email protected]: set_AS_pack [email protected] loop 10618: assign_actor [email protected] to_AS_pack [email protected]: remove_references_to_AS_pack [email protected]

Is 5 on the left is for actor to reverse when getting stuck to the wall?

Edited by skatefilter5

Share this post


Link to post
Share on other sites
deltaCJ

Okay. First of all instead of bombarding the AS pack function with Drive-To's just use Seeman's car path creator. This is the easiest way to make routes.

 

Second of all you shouldn't use this script to make the cars drive. Poor scripting.

 

Send full script

Edited by deltaCJ

Share this post


Link to post
Share on other sites
skatefilter5

Okay. First of all instead of bombarding the AS pack function with Drive-To's just use Seeman's car path creator. This is the easiest way to make routes.

 

Second of all you shouldn't use this script to make the cars drive. Poor scripting.

 

Send full script

were do i find semman's car path creator? it only exist SAMP car recorder

Share this post


Link to post
Share on other sites
Sanmodder

such a large package will never work well for you
maximal in such a package can be 4 or 5 commands
I do not do such packages often
I can not professionally say that to you


once I was doing a mod hot coffe, it is a package that has 4 and 5 max commands and repeats itself

but you can separate such packages into several

4 by 5 commands

but that also does not work, waiting is the most important thing

see

0615: define_AS_pack_begin 15 @
0605: actor -1 perform_animation "/////////" IFP "///////" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 6000
0605: actor -1 perform_animation "///////" IFP "/////" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 6000
0605: actor -1 perform_animation "//////" IFP "//////" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 6000
0605: actor -1 perform_animation "//////" IFP "//////" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 55000
0643: set_AS_pack 15 @ loop 1
0618: assign_actor 7 @ to_AS_pack 15 @
061B: remove_references_to_AS_pack 15 @
///////////// next
0615: define_AS_pack_begin 22 @
0812: AS_actor -1 perform_animation "//////" IFP "///////" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 time 6000 // versionB
0605: actor -1 perform_animation "///////" IFP "/////////" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 6000
0605: actor -1 perform_animation "///////" IFP "//////" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 6000
0605: actor -1 perform_animation "//////" IFP "////" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 55000
0643: set_AS_pack 22 @ loop 1
0618: assign_actor $ PLAYER_ACTOR to_AS_pack 22 @
061B: remove_references_to_AS_pack 22 @


And you know why waiting is the most important thing

because how the driver has to go to the destination as the destination changes all the time
and goes to the wall
and after that why create such a package
how can you loop with meters to do

about something like that

19 @ = 0

: label
wait 0
repeat
wait 0
19 @ + = 1
until if 19 @> 60
0ACA: show_text_box "99999999999999999" /// test
Car.DriveTo (1 @, 2037.861, -1611.046, 13.3828)
Car.DriveTo (10 @, 2037.861, -1611.046, 13.3828)
19 @ = 0

repeat
wait 0
19 @ + = 1
until if 19 @> 60
Car.DriveTo (1 @, 2037.861, -1611.046, 13.3828) //// speed 35.0 2 model # NULL 5
Car.DriveTo (10 @, 2037.861, -1611.046, 13.3828) //// speed 35.0 2 model # NULL 5
19 @ = 0

repeat
wait 0
19 @ + = 1
until if 19 @> 60
Car.DriveTo (1 @, 2006.949, -1613.008, 13.3828) //// speed 35.0 2 model # NULL 5
Car.DriveTo (10 @, 2006.949, -1613.008, 13.3828) //// speed 35.0 2 model # NULL 5
19 @ = 0

wait 100
jump @label // return to begining
end_thread

{and after that improve the intelligence of the vehicle and the actor with these opcodes
00AE: set_car 1 @ traffic_behaviour_to 2
Car.SetDriverBehaviour (1 @, FollowRoad)
053F: set_car 1 @ tires_vulnerability 0
Car.SetImmunities (1 @, 1, 1, 1, 1, 1)
0587: enable_car 1 @ validate_position 0
077C: clear_actor 3 @ acquaintance 4 to_all_pedtypes // see ped.dat
039E: set_actor 3 @ locked 1 while_in_car
0526: set_actor 3 @ stay_in_car_when_jacked 1
09F6: set_actor 3 @ unjackable_through_driver_seat 0
072F: enable_car 1 @ stuck_check_distance 0.5 time 4000 and_restore_if stuck 1 flipped 1 unk_place_on_road_properly 1 to_path 7 // extended 03CC
0190: add_car 1 @ to_flipped_check // 6 max}

Share this post


Link to post
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

×

Important Information

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