Quantcast

Jump to content

» «
Photo

gta3/vc/sa limits

41 replies to this topic
Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#1

Posted 29 August 2005 - 07:10 PM Edited by CyQ, 31 August 2005 - 10:00 PM.

demarest suggested i post a topic with the mission coding related limits i know of, and i thought that would be a good idea. so here you go:


GTA IIIVice CitySan Andreas
main size131072225512200000
mission size327683500069000
num missions120120200
model names (2nd segment)200220395
running threads12812896
local variables16 + 2 timers16 + 2 timers32 + 2 timers
1024 total in missions
gosub levels468
external threadsn/an/a82
external thread attachmentsn/an/a70
car generators160185500
radar blips3275175
pickups336336620
last opcode048105a80a4e
spheres161616
car saving garagetypes16..1816..18,24..3216..18,24..32,39..45


btw, dem; you asked about end_thread_named a while back. looking up these limits again, i found that the code for it is present in gta3. so that should work.
  • pogo_01 likes this

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#2

Posted 29 August 2005 - 09:22 PM Edited by Demarest, 29 August 2005 - 09:28 PM.

You had me at GTA3 inlove.gif AWESOME work.

How come no limit of pickups for 3/VC listed? I know they both have one. I've ran into them both before (by accident for VC). If it's not readily evident, I could put some work into trying to redetermine them.

The 4 gosub levels for GTA3 and 96 threads for SA are scary figures. Still wish I had a tool that could access the thread pointer and gosub pointers wink.gif

[EDIT]
How about garage limits? I know that VC was one above what it came with. I think GTA3 was 3 total. Or is it one per island?

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#3

Posted 29 August 2005 - 10:13 PM

i still had to look the pickups and blips up. also added final opcode number for all versions. some of the limits are different still for the ps2 versions, but nobody mods that anyway.

and i never got involved much with garages. maybe i can look those up later, but i'm pretty sure other people have figured out the limits for them already.

superglitch
  • superglitch

    <("<)

  • Members
  • Joined: 30 Jul 2005

#4

Posted 29 August 2005 - 10:18 PM

Actually i think GTA 3 has garage limit of 4, i just was messin with the garages in vice and gta3 to see how much i could fit, with the get out of car go to garage get back in car with door open and drive in, In vice city i could only get 4 to fit into a garage, on gta3 i got five to fit but one disappeared, then next time i opened the garage it crashed the game. With San Andreas we should really test the limits, the IPL method. Also on the Xbox version you have to limit the mission size even one over the limit on any thing, it freaks out and turns off the xbox, while on PC i can run the same thing fine

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#5

Posted 29 August 2005 - 11:14 PM

@CyQ: I REALLY wish I had last opcode last week. I forget what I was looking up, but it was right around GTA3's ceiling confused.gif Maybe I'll bump into it again. I was asking the garage limit because I know the VC one was very tangible. I would think GTA3's would be VERY tangible simply because its open-ended nature.

@glitch: I wasn't talking garage capacity, which is known to be 4 for VC/SA. I was talking quantity of garages. The reason I suspect GTA3 to be either 3 total or 1 per island is because of the way I've seen garage mods works. Joey's garage, Salvatore's garage, and R* Heights all killed the Portland garage to enable theirs.

spaceeinstein
  • spaceeinstein

    巧克力

  • Members
  • Joined: 17 Jul 2003

#6

Posted 30 August 2005 - 03:28 AM

What's the limit for the amount of created spheres?

Andy80586
  • Andy80586

    Mark Chump

  • Members
  • Joined: 23 Jul 2003

#7

Posted 30 August 2005 - 03:32 AM

by car generators do you mean like the number of parked cars that can be in the game? you list vc's limit as 185... and i like lists of limits... makes things easier to hack

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#8

Posted 30 August 2005 - 03:55 AM

Parked cars and made by parked car generators. They are one in the same except that the generator is what the code defines and the car is what the engine produces with it under the right circumstances.

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#9

Posted 31 August 2005 - 01:47 PM

spaceeinstein; updated first post.

Hammer83
  • Hammer83

    Hustler

  • Members
  • Joined: 11 Jan 2003

#10

Posted 31 August 2005 - 07:48 PM

For garages (including pns, 8ball, mission garages, car crusher etc):
GTA3 - 32
GTAVC - 32
GTASA - 50 (although in ipls there are 52 notify.gif )

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#11

Posted 31 August 2005 - 08:45 PM

I was referring to the limit of car saving garages. I know VC was one above what it came with.

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#12

Posted 31 August 2005 - 10:06 PM

dem; added garage ranges as far as i could figure them out from old docs and the sa ipls. there's room for 20 garages with 4 cars each in the sa savegame though, but i think that last garage entry is used for other garages which can contain more than 4 cars(?). some experimenting would likely be more conclusive.

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#13

Posted 01 September 2005 - 01:55 AM

Anything I can do to help ascertain that? I'm still interested in GTA3's limit. It set no limit on capacity, but I would think there has to be some boundaries.

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#14

Posted 01 September 2005 - 12:27 PM

i'm pretty sure about the ranges for gta3/vc. and i think each garage can save 4 cars max in both. in sa each garage can have 4 cars too, but only 19 car saving garages are defined in the ipls, and there are 20*4 car slots, so i'm not sure whether 46 also saves cars, or that it's used to give some other garage >4 capacity.

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#15

Posted 01 September 2005 - 01:15 PM

I think I follow about the SA garages. GTA3 garages did NOT have a limit thought. I myself have had 9 cars in Staunton before. I always assumed they capped them in VC because it was bigger and they needed to make sure they had enough room in saves to accomodate them all. So knowing saved car limit for GTA3 would be interesting and knowing quantity of car saving garages too. Any modder I've seen always plucks Portland to create one in Portland that I've seen.

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#16

Posted 01 September 2005 - 02:02 PM

it looks like gta3 has 18 car slots, and vc 31. what's left then is puzzling out how those are divided up between the garagetypes. which i'm not going to do, but you can probably figure it out if you need it (i don't have working copies of gta3/vc installed anymore).

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#17

Posted 01 September 2005 - 02:08 PM

31? That's very surprising. Just off the top of my head, I can think of 10 save car garages in the game. Is quantity of save car garages (limitwise) difficult to ascertain? I've read VC can only have one more so many times, I just accepted it. But already, a limit of 31 cars makes it seem as if they'd be independent limits. Likewise, I wonder if that is to say that GTA3 had unlimited garages so long as cars didn't go above 18.

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#18

Posted 01 September 2005 - 04:48 PM

ok, whoops. i found the 31 number in the vc savegame doc, but it's hex apparently, so the actual number is 49. so 4 cars per garage, and one garage with 5 would make sense.

also, i already put the garagetypes that save cars in my first post. you can't have unlimited garages, because if you use one type more than once, all garages of that type will have the same cars. so the number of car saving garages is limited to simply 3 for gta3, 12 for vc, and 19 (or maybe 20) for sa.

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#19

Posted 01 September 2005 - 05:16 PM

Ooooh. Limited by garage type. Makes sense. Thanks yet again, CyQ. colgate.gif

Y_Less
  • Y_Less

    629

  • Members
  • Joined: 14 Mar 2004

#20

Posted 02 September 2005 - 04:39 PM

So in theory, you could have every garage in the game with the same cars, for a bit of a teleporter.

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#21

Posted 02 September 2005 - 05:52 PM

should work, yes.

spaceeinstein
  • spaceeinstein

    巧克力

  • Members
  • Joined: 17 Jul 2003

#22

Posted 02 September 2005 - 08:42 PM

I don't think it work. I accidentally tried that once. I parked a car into the garage. Then I head to a different garage (but same type) and stored another car and there's nothing in it. When I went to retrieve my car from either garages, the cars disappeared.

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#23

Posted 12 September 2005 - 03:40 PM

Somebody asked me a question that is answered by this fine thread, so BUMP.

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#24

Posted 25 September 2005 - 02:07 PM

I request a pin for this or a merging with an existing pinned thread depending on which CyQ and staff deem more appropriate. I can't speak for others, but I'm reaching for this info at LEAST once a week.

jlf6
  • jlf6

    Player Hater

  • Members
  • Joined: 09 Jul 2004

#25

Posted 01 October 2005 - 02:07 PM

I don't understand what is the limit for locals. How munch can i use in external scripts ?

Un3462
  • Un3462

    Mack Pimp

  • Members
  • Joined: 27 Jun 2002

#26

Posted 06 October 2005 - 11:06 AM

normal and external threads get 34 locals, 32 of which are variables (numbered 0-31), and two are timers (32, 33). missions get 1024 locals, again with 32 and 33 as timers.

tod0001
  • tod0001

    Player Hater

  • Members
  • Joined: 12 Nov 2005

#27

Posted 27 December 2005 - 05:01 PM Edited by tod0001, 27 December 2005 - 05:12 PM.

Is there anyway to mod the code in GTAVC to allow more than 185 car-generators?
Or maybe check to see what area you are in then jump to a thread with these 185 generators, or to another thread with another 185 generators if in another area?

I have been modding my code for months now and adding a few parked cars every time I had MB open, but my new cars stopped appearing some time ago but, my code still works.
I have been wanting to ask about code limitations and found this, thanks for the info...

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#28

Posted 28 December 2005 - 05:07 AM

It's a limitation of the game, not a thread. Don't forget you can always make simulated generators.

J-Fox.GEMM
  • J-Fox.GEMM

    Ello...

  • Members
  • Joined: 31 Aug 2004

#29

Posted 02 January 2006 - 10:39 AM

Any ideas:

How many Players
How many Cars
How many Actors

Demarest
  • Demarest

    what could be

  • BUSTED!
  • Joined: 12 Jul 2003

#30

Posted 01 April 2006 - 04:00 PM

Bump! This thread should've been pinned. As I was searching for a different thread, I happened upon it and decided to bump it for the sake of information.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users