IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Drive Around San Andreas

 to a different place each time
 
koragg  
Posted: Sunday, May 13 2012, 17:20
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



Can someone make this auto driver script to drive around san andreas when the marker isn't placed on the map.
It still drives when there's no marker on the map, but it always goes to "Blueberry Acres".
Why doesn't it just roam around san andreas like the other cars.

Please help me !!
Users WebsitePM
  Top
 

 
PrometheusX  
Posted: Sunday, May 13 2012, 17:26
Quote Post


Did I balls?
Group Icon
Group: Andolini Mafia Family
Joined: Apr 18, 2011

Member Award




You want someone to make a mod, or you want help with a certain mod?
Users WebsitePM
  Top
 

 
koragg  
Posted: Sunday, May 13 2012, 17:52
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



Srry.Forgot to post the script biggrin.gif biggrin.gif biggrin.gif
Here it is :


// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'ZAD'

:ZAD_11
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @ZAD_11
if
Player.Controllable($PLAYER_CHAR)
else_jump @ZAD_11
if
Actor.Driving($PLAYER_ACTOR)
else_jump @ZAD_11
if
0AB0: key_pressed 90
else_jump @ZAD_11
0AB6: store_target_marker_coords_to 1@ 2@ 3@ // IF and SET
03C0: 0@ = actor $PLAYER_ACTOR car
02C2: car 0@ drive_to 1@ 2@ 3@
03E5: show_text_box 'ZAD_A1'
09B3: get_car 0@ door_status 14@
01F7: set_player $PLAYER_CHAR ignored_by_cops 0

:ZAD_137
wait 0
00AE: set_car 0@ traffic_behaviour_to 4
0423: set_car 0@ improved_handling_to 2.0 // (float)
Car.SetMaxSpeed(0@, 35.0)
Car.Health(0@) = 1000
Car.DoorStatus(0@) = 2
Car.SetImmunities(0@, 1, 1, 1, 1, 1)
wait 100
wait 0
if
Actor.Driving($PLAYER_ACTOR)
else_jump @ZAD_245
if
0AB0: key_pressed 90
else_jump @ZAD_385
072A: put_actor $PLAYER_ACTOR into_car 0@ driverseat

:ZAD_245
wait 0
03E5: show_text_box 'ZAD_A2'
01F7: set_player $PLAYER_CHAR ignored_by_cops 0
03C0: 0@ = actor $PLAYER_ACTOR car
Car.DoorStatus(0@) = 14@
Car.SetImmunities(0@, 0, 0, 0, 0, 0)
wait 100
jump @ZAD_11
wait 0
if
0AB0: key_pressed 68
else_jump @ZAD_385
0501: set_player $PLAYER_CHAR driveby_mode 1
0563: set_player $PLAYER_CHAR driveby_ammo_to 1E11
0713: actor $PLAYER_ACTOR driveby_actor $PLAYER_ACTOR car -1 point 0.0 0.0 0.0 radius -2 -1 -1 firing_rate 100
jump @ZAD_385

:ZAD_385
wait 0
if
0AB0: key_pressed 65
else_jump @ZAD_137
0AB6: store_target_marker_coords_to 1@ 2@ 3@ // IF and SET
02C2: car 0@ drive_to 1@ 2@ 3@
018C: play_sound 1058 at 0.0 0.0 0.0
jump @ZAD_137
Users WebsitePM
  Top
 

 
Los_Vincent  
Posted: Tuesday, May 15 2012, 02:50
Quote Post


Liberty City
Group Icon
Group: Members
Joined: Apr 5, 2012

cn.gif

XXXXX



0209: 17@ = random_int_in_ranges X Y
don't know if it's possible to get the random X Y Z point and the make the car drive to
Users WebsitePM
  Top
 

 
Deji  
Posted: Tuesday, May 15 2012, 09:05
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



00A8 will make the car drive around aimlessly. The driver may eventually choose to park somewhere, however. Not too sure...
Users WebsitePM
  Top
 

 
Dr. John13  
Posted: Tuesday, May 15 2012, 09:28
Quote Post


Forced™
Group Icon
Group: Members
Joined: Dec 31, 2011

XXXXX



What about aggressive drivers? Then they won't park.
PMMSNYahooXbox Live
  Top
 

 
Deji  
Posted: Tuesday, May 15 2012, 09:41
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



QUOTE (Dr. John13 @ Tuesday, May 15 2012, 09:28)
What about aggressive drivers? Then they won't park.

What about them? Who mentioned them? 00A8 will clear most car tasks and attributes (as stated in the description), so any aggressive behaviour will be stopped.
Users WebsitePM
  Top
 

 
koragg  
Posted: Saturday, May 19 2012, 17:39
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



ok, but I also want went the marker is set on the map the car to drive to it
and only IF it's not set to roam freely around San Andreas

and can someone write the code please?

thx
Users WebsitePM
  Top
 

 
Deji  
Posted: Saturday, May 19 2012, 21:32
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Well, the car wont already be set to wander if the player is the driver. If the ped is driver and it wasnt script created, it won't be set to wander... You dont need code to determine that.

And, not to be rude or anything, but you have to write your own code. Or post a request in the infamous 'Ignore Topic' wink.gif
Users WebsitePM
  Top
 

 
MichaelKnght1  
Posted: Sunday, May 20 2012, 17:50
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: May 20, 2012

XXXXX



This Script isn't your own cleo , made by Zeti's , Car Drive By Mod biggrin.gif

Readme :

http://www.mediafire.com/?xtg3dedyahw

Mod :

http://www.mediafire.com/?m424kibpcuk
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG