Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. 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. 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

TheHeggy

Adding Car Spawn Locations

Recommended Posts

Vicetopia

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

Share this post


Link to post
Share on other sites
TheHeggy

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

Share this post


Link to post
Share on other sites
chris82
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.

Share this post


Link to post
Share on other sites
Rufus

I keep getting an error when compling, about Label0195B0.

 

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

Share this post


Link to post
Share on other sites
greddy5643

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

Share this post


Link to post
Share on other sites
joeycc

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

Share this post


Link to post
Share on other sites
greddy5643

are you loading a previous save game or a new game?

Share this post


Link to post
Share on other sites
joeycc

previous save game

can u do that or is that my problem?

Share this post


Link to post
Share on other sites
joeycc

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?

Share this post


Link to post
Share on other sites
flitcroft101

You can save and it will still work

Share this post


Link to post
Share on other sites
deltadude

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

Share this post


Link to post
Share on other sites
TheHeggy

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

Share this post


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

Share this post


Link to post
Share on other sites
V41N

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

Share this post


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

Share this post


Link to post
Share on other sites
Phosgene
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.

Share this post


Link to post
Share on other sites
Au{R}oN

Heggy, can I insert your tutorials in my site?

 

Thanks blush.gif

Share this post


Link to post
Share on other sites
JLC

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

Share this post


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

Share this post


Link to post
Share on other sites
V41N
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).

Share this post


Link to post
Share on other sites
DuPz0r

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

Share this post


Link to post
Share on other sites
ICE COLD KILLA

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

Share this post


Link to post
Share on other sites
DuPz0r

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

Share this post


Link to post
Share on other sites
V41N

@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

 

 

Share this post


Link to post
Share on other sites
gta_matt

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?

Share this post


Link to post
Share on other sites
DuPz0r

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.

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites
Remix1121
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

Share this post


Link to post
Share on other sites
TheHeggy
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.

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

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

×

Important Information

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