Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,101 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

Sign in to follow this  

Is using car generators safe?

Recommended Posts


Hi everyone,

A while ago, I had a problem with my savefile, in which I had no blips appearing on the radar because an erroneous cleo mod that I installed was filling up the blip pool, resulting in the game not being able to create more blips.

Does the same problem also exist with car generators? If I know it right, the car generator works the same way as vehicle spawner, for example, the hunter is always spawned at the abandoned airstrip if you get all golds in the Flying School. If this is true and one creates too many such generators, then won't it fill up some buffer allocated for this purpose? Or is there some way to delete a car generator once it is created?

Share this post

Link to post
Share on other sites

Adding car generators with CLEO is known to cause problems. You might want to consider spawning vehicles when CJ is near instead. It's more work than car generators, but doesn't alter the save.

The standard game includes 208 car generators created by main.scm. All are created during the intro missions and no more are added as the game progresses; although some are hidden and others are displayed. The car generator pool can hold 500 generators. The extra slots are used to stream in parked cars from the binary IPL files as CJ enters the area. If too many car generators are added then there won't be room for these vehicles, but there is lots of room to play with. The Chain Game saves are running 311 car generators without any noticeable problems.

Car generators added with CLEO scripts have been known to completely clog the pool and cause a noticeable lack of parked cars. The scm created car generators included in the save are mostly mission related (some of the decorative cars in Angle Pine are included in the save). It's really noticeable when the streaming car generators don't work. The standard way to prevent a car generator from being recreated in the save is to enable thread saving.

There isn't a standard opcode to remove car generators, but I have been able to work out a method to unallocate them anyway. SASE can be used to identify the index of misplaced generators. The index of the first scm car generator isn't always the same on different saves, so be careful about hardcoding a solution and expecting it to work on any save.


GTA:SA Save Game Editor v1.0 by Ryosuke: http://gtasamod.web.fc2.com/tool/sase/index.html

The code posted below can be modified to unallocate one, some, or all of the car generators from the save. It looks like I was lazy and didn't specify the opcode for some of the operations. You might want to fix that, but the code worked well enough during tests.

// Test code that unallocates the East LS Clover so that it won't be saved.{$CLEO .cs}0000:				while true  wait 250  if    0AB0:   key_pressed 0x77    // F8    then                                                                              0085: [email protected] = $2766 // index of the East LS Clover    [email protected] *= 0x20       // cargen record size    [email protected] += 0x00c27ad0 // start of cargen structure    [email protected] += 0x1D       // offset to allocation byte (save offset -2)    0A8C: write_memory [email protected] size 1 value 0 virtual_protect 0    wait 250    00BB: show_text_lowpriority GXT 'FESZ_LS' time 2000 flag 1  // Load Successful.  endend

You'll need to change this line to assign the index of your misplaced car generator to [email protected]

0085: [email protected] = $2766 // index of the East LS Clover

Use the line below and replace 499 with the index that you get from the save editor.

0006: [email protected] = 499

Pickups are another concern when placed by cleo. The pickup pool is almost completely full to start with. If you intend to add more than a handful of pickups it's a good idea to remove some of the lame pickups to free up some room.

Edited by OrionSR

Share this post

Link to post
Share on other sites

Thanks for the information.

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
Sign in to follow this  


Important Information

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