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

Adding Car Spawn Locations


TheHeggy
 Share

Recommended Posts

Anyway to spawn BP/EP/FP/whatever proof cars?

I mean bullet-proof, crash-proof, etc, all the stuff that the Garage Editors do? I haven't tinkered with the cvar stuff under car spawns, but I figure I'd ask first...

Link to comment
Share on other sites

I honestly don't know confused.gif

 

014B: $personal_plane = init_parked_car_generator 511 -1 -1 1 alarm 0 door_lock 0 0 10000 at 1213.36 2512.172 15.82031 angle -90.0

014C: set_parked_car_generator $personal_plane cars_to_generate_to 101

 

The text in yellow is the car's initial health value, but other than that I couldn't tell ya. Maybe someone here knows something I don't...

Link to comment
Share on other sites

I dont suppose there's anyway to edit your savegame too so you dont have to start over lol sad.gif

There was for Vice City-PatrickW's savegame editor, which is what I used to spawn new cars in the city. But the program doesn't work with SA, so I'm hoping he will make an editor for SA.

Link to comment
Share on other sites

I keep getting an error when compling, about Label0195B0.

 

When I search for it, this is about basketball. Any ideas?

Link to comment
Share on other sites

i can't get either an andromada or an fbi truck to spawn. I think the andromada may be to close to the hill. but the fbi truck won't spawn anywhere.

 

I'm no noob at this, in vice city i could do it without thinking.

 

014B: $10960.25 = init_parked_car_generator 528 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2142.082 -1680.068 14.6573 angle 0.0

014C: set_parked_car_generator $10960.25 cars_to_generate_to 101

Link to comment
Share on other sites

I have tried several times now to add a sspawn location following your guide and whenever my game is about to load, (on the screen where it alternates between artwork while playing the theme song) once it finishes loading, the game always stuffs up. I get an error message saying that gtasa.exe has encountered a problem and must be shut down. when i put the old script files back in it works fine. Can you tell me what is wrong. Heres an example of one of my texts:

 

 

014B: $street_turismo = init_parked_car_generator 451 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2495.402 -1748.281 13.47313 angle 180.0

014C: set_parked_car_generator $street_turismo cars_to_generate_to 101

Link to comment
Share on other sites

oh sick thanks man it worked now. Can i keep playing this game if i save it and keep the script the same or do i have to start a new game every time?

Link to comment
Share on other sites

Hey, is there anyway of spawning a andromeda in which you can get into the back of it?

Link to comment
Share on other sites

Not that I know of... That'd probably require fiddling with some of the mission stuff.

Link to comment
Share on other sites

flitcroft101
Hey, is there anyway of spawning a andromeda in which you can get into the back of it?

Ive done it but you can't store vehicles or anything. You can open and close the back though biggrin.gif

Link to comment
Share on other sites

Having a problem when adding more than 2 car spawns:

 

"Memory beyond the defined range has been accessed. Use

 

DEFINE MEMORY 43805

 

or higher to allocate enough memory. Then recompile." cry.gif

 

here is the code so far:

014B: $car1 = init_parked_car_generator 542 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2490.912 -1682.663 12.9954 angle -90.0

014C: set_parked_car_generator $car1 cars_to_generate_to 101

014B: $car2 = init_parked_car_generator 418 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2284.25 -1676.621 14.64518 angle 0.0

014C: set_parked_car_generator $car2 cars_to_generate_to 101

014B: $car3 = init_parked_car_generator 422 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2290.221 -1676.236 14.42062 angle 0.0

014C: set_parked_car_generator $car3 cars_to_generate_to 101

 

Do I need to increase the defined memory... I wouldn't think so, if that's even possible... Nothing is still running in the background. Works fine with 2 car spawns, when I add the third I get that error when I try to compile. Am I missing something here? Please let me know if you have any ideas. dontgetit.gif

 

 

Edit: Well, I got it working... I compiled with 2, exited re-opened added the new one above the first and re-compiled and it worked. Not sure why it was said that it had to be an unedited SCM, seems to me (at least in my case) it had to be one that was already edited by me. tounge2.gif Strange... But cool. Thank you very much for the tutorial Heggy!

Edited by NDG474
Link to comment
Share on other sites

ThAtSgOtTaHuRt

 

014C: set_parked_car_generator $airport_park cars_to_generate_to 101

 

 

what does the "cars_to_generate_to 101" mean (the 101 inparticular) the other parked car codes have "cars_to_generate_to 0" - not 101. what does 101 do differnet than 0?

 

Thanks,

TGH

 

 

 

*EDIT*

Nevermine - I found out it just turns it off. instead of 1 (on) or 0 (off) its 101 (on) or 0 (off) dont know why but thats all it did.

Edited by ThAtSgOtTaHuRt
Link to comment
Share on other sites

Having a problem when adding more than 2 car spawns:

 

"Memory beyond the defined range has been accessed. Use

 

DEFINE MEMORY 43805

 

or higher to allocate enough memory. Then recompile." cry.gif

 

here is the code so far:

014B: $car1 = init_parked_car_generator 542 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2490.912 -1682.663 12.9954 angle -90.0

014C: set_parked_car_generator $car1 cars_to_generate_to 101

014B: $car2 = init_parked_car_generator 418 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2284.25 -1676.621 14.64518 angle 0.0

014C: set_parked_car_generator $car2 cars_to_generate_to 101

014B: $car3 = init_parked_car_generator 422 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2290.221 -1676.236 14.42062 angle 0.0

014C: set_parked_car_generator $car3 cars_to_generate_to 101

 

Do I need to increase the defined memory... I wouldn't think so, if that's even possible... Nothing is still running in the background. Works fine with 2 car spawns, when I add the third I get that error when I try to compile. Am I missing something here? Please let me know if you have any ideas. dontgetit.gif

 

 

Edit: Well, I got it working... I compiled with 2, exited re-opened added the new one above the first and re-compiled and it worked. Not sure why it was said that it had to be an unedited SCM, seems to me (at least in my case) it had to be one that was already edited by me. tounge2.gif Strange... But cool. Thank you very much for the tutorial Heggy!

I got the same thing trying to add three cars...so I found at the top where it says DEFINE MEMORY and changed it myself, then compiled it, no problems.

Link to comment
Share on other sites

the link to download the mission builder is broken cry.gif can you post a new one??

Link to comment
Share on other sites

thedude777

Navigate to your San Andreas main.scm. For me, it's located in "C:\Program Files\Rockstar Games\GTA San Andreas\data\script". Once you have the file select, hit OK. A second window will open, hit OK in that one too. It will take a minute or two for the program to read and open the file, so be patient.When the file finally opens, hit ctrl + F to open the Find menu. Search for 014B: $2777 = init_parked_car_generator. We're going to add our spawn point above this piece of code. I'm sure there's numerous other places it would work, but this just seems to work the best for me.

 

When I tried to open that file, I get this error:

 

user posted image

 

What does this mean?

Edited by thedude777
Link to comment
Share on other sites

Having a problem when adding more than 2 car spawns:

 

"Memory beyond the defined range has been accessed. Use

 

DEFINE MEMORY 43805

 

or higher to allocate enough memory. Then recompile."

I found that increasing the allocated memory will allow you to compile but can cause the game to crash. The reason it wasn't working before is because of the "$Car" names. The compiler prefers numbers 10949 and below (this number is at the top of the code, and you can see that it changes to these when compiled anyway), so if you just number the cars, it works fine. Not really sure why, but I still don't fully understand the scripting (but learning quickly).

Link to comment
Share on other sites

Would it be possible to fill a carpark with cars, or will that be to much for the game to handle?

 

Because i wanted to fill up that pink parking lot in SF with all my fav cars, but i just wanted to know if it'd work before i try this?

 

edit - this car park:

http://img.photobucket.com/albums/v282/DuPz0r/gallery22.jpg

 

There's 82 parking spaces in all.

Edited by DuPz0r
Link to comment
Share on other sites

ICE COLD KILLA

Can you explain how to get a custom numberplate on the placed car???

Link to comment
Share on other sites

ok, well only 14 of the 20 cars appeared in the lot. i thought it could have been the co-ordinates being to close to one another or something.

I can't seem to get the angels right though... anyone know what i should do?

 

but this is what i got so far:

http://img.photobucket.com/albums/v282/DuP...vipparking5.jpg

Edited by DuPz0r
Link to comment
Share on other sites

@DuPz0r

 

There's a limit to the amount of cars that can be displayed at once. I remember there was a post here at the forums about increasing the number, but I havn't been able to find it.. confused.gif

 

 

Link to comment
Share on other sites

Is there any way to make a modded car appear?Like a elegy with all the street racing parts and a paintjob or a regular car with just Cutter rims?

Link to comment
Share on other sites

I finished my spawning mod, its here if you wanna download it:

http://jupiter.walagata.com/w/dupz0r/VIP_Parking_Lot.rar

And here's a picture to show you what its like:

http://img.photobucket.com/albums/v282/DuP...vip_parking.jpg

 

It would be nice if you could find that thread with the cars memory...

Because you have to go around the block and back for different vehicles to spawn.

Link to comment
Share on other sites

boobtronic
Well..I'm having an issue at step one...that value we are to search for...is non existant...in my MAIN.
Link to comment
Share on other sites

thedude777
Navigate to your San Andreas main.scm. For me, it's located in "C:\Program Files\Rockstar Games\GTA San Andreas\data\script". Once you have the file select, hit OK. A second window will open, hit OK in that one too. It will take a minute or two for the program to read and open the file, so be patient.When the file finally opens, hit ctrl + F to open the Find menu. Search for 014B: $2777 = init_parked_car_generator. We're going to add our spawn point above this piece of code. I'm sure there's numerous other places it would work, but this just seems to work the best for me.

 

When I tried to open that file, I get this error:

 

user posted image

 

What does this mean?

Anyone?

Link to comment
Share on other sites

Is there any way to make a modded car appear?Like a elegy with all the street racing parts and a paintjob or a regular car with just Cutter rims?

I want to know this also biggrin.gif Would be really cool to make a lowrider park outside the johnson house biggrin.gif

Link to comment
Share on other sites

Navigate to your San Andreas main.scm. For me, it's located in "C:\Program Files\Rockstar Games\GTA San Andreas\data\script". Once you have the file select, hit OK. A second window will open, hit OK in that one too. It will take a minute or two for the program to read and open the file, so be patient.When the file finally opens, hit ctrl + F to open the Find menu. Search for 014B: $2777 = init_parked_car_generator. We're going to add our spawn point above this piece of code. I'm sure there's numerous other places it would work, but this just seems to work the best for me.

 

When I tried to open that file, I get this error:

 

user posted image

 

What does this mean?

Anyone?

Hmm... I can't reproduce that error at all sad.gif Someone with a better understanding of what that error means will have to help you, sorry man.

 

As far as spawning modded cars, I imagine there's a way, I'm just not aware of it.

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.