Skip to content

Provide documentation on Limits of SA Mobile and Remastered #2

Open

Description

@OrionSR

In particular, I just fielded a PM on global variable limits for mobile.

There are a few other differences in limits, I should be able to collect the required info but don't want to lose track of the issue in the meantime.

Is it worth the trouble to document that PS2 only supports 400 cargens?

Activity

  1. x87 commented on Feb 19, 2020

    @x87
    Contributor

    Any documentation can be useful at some point. In particular information on limits. At some point we can integrate extra checks in the compiler (or in third-party tools) to run analysis and give a warning if the number of entities is close to the limit.

  2. OrionSR commented on Feb 19, 2020

    @OrionSR
    Author

    These are the limits I can establish or confirm using save file and main.scm reference.

    SA_Mobile Limits
    main size 200000
    mission size 69000
    running threads 96
    local variables 40 + 2 timers
    gosub levels 8
    radar blips 250
    pickups 620
    last opcode 0a8d, Remastered 0a90
    save garages 16..18,24..32,39..45

    Other useful info from original reference:
    For garages (including pns, 8ball, mission garages, car crusher etc):
    GTA3 - 32
    GTAVC - 32
    GTASA - 50 (although in ipls there are 52)
    The unnamed garages don't seem to exist in game.

  3. added
    new documentation
    on Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    new documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions