Un3462 Posted August 29, 2005 Share Posted August 29, 2005 (edited) 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 III Vice City San Andreas main size 131072 225512 200000 mission size 32768 35000 69000 num missions 120 120 200 model names (2nd segment) 200 220 395 running threads 128 128 96 local variables 16 + 2 timers 16 + 2 timers 32 + 2 timers1024 total in missions gosub levels 4 6 8 external threads n/a n/a 82 external thread attachments n/a n/a 70 car generators 160 185 500 radar blips 32 75 175 pickups 336 336 620 last opcode 0481 05a8 0a4e spheres 16 16 16 car saving garagetypes 16..18 16..18,24..32 16..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. Edited August 31, 2005 by CyQ RyanDri3957V and pogo_01 2 Link to comment Share on other sites More sharing options...
Demarest Posted August 29, 2005 Share Posted August 29, 2005 (edited) You had me at GTA3 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 [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? Edited August 29, 2005 by Demarest Link to comment Share on other sites More sharing options...
Un3462 Posted August 29, 2005 Author Share Posted August 29, 2005 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. Link to comment Share on other sites More sharing options...
superglitch Posted August 29, 2005 Share Posted August 29, 2005 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 Link to comment Share on other sites More sharing options...
Demarest Posted August 29, 2005 Share Posted August 29, 2005 @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 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. Link to comment Share on other sites More sharing options...
spaceeinstein Posted August 30, 2005 Share Posted August 30, 2005 What's the limit for the amount of created spheres? Link to comment Share on other sites More sharing options...
Andy80586 Posted August 30, 2005 Share Posted August 30, 2005 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 Link to comment Share on other sites More sharing options...
Demarest Posted August 30, 2005 Share Posted August 30, 2005 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. Link to comment Share on other sites More sharing options...
Un3462 Posted August 31, 2005 Author Share Posted August 31, 2005 spaceeinstein; updated first post. Link to comment Share on other sites More sharing options...
Hammer83 Posted August 31, 2005 Share Posted August 31, 2005 For garages (including pns, 8ball, mission garages, car crusher etc): GTA3 - 32 GTAVC - 32 GTASA - 50 (although in ipls there are 52 ) Link to comment Share on other sites More sharing options...
Demarest Posted August 31, 2005 Share Posted August 31, 2005 I was referring to the limit of car saving garages. I know VC was one above what it came with. Link to comment Share on other sites More sharing options...
Un3462 Posted August 31, 2005 Author Share Posted August 31, 2005 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. Link to comment Share on other sites More sharing options...
Demarest Posted September 1, 2005 Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
Un3462 Posted September 1, 2005 Author Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
Demarest Posted September 1, 2005 Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
Un3462 Posted September 1, 2005 Author Share Posted September 1, 2005 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). Link to comment Share on other sites More sharing options...
Demarest Posted September 1, 2005 Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
Un3462 Posted September 1, 2005 Author Share Posted September 1, 2005 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. Link to comment Share on other sites More sharing options...
Demarest Posted September 1, 2005 Share Posted September 1, 2005 Ooooh. Limited by garage type. Makes sense. Thanks yet again, CyQ. Link to comment Share on other sites More sharing options...
Y_Less Posted September 2, 2005 Share Posted September 2, 2005 So in theory, you could have every garage in the game with the same cars, for a bit of a teleporter. Link to comment Share on other sites More sharing options...
Un3462 Posted September 2, 2005 Author Share Posted September 2, 2005 should work, yes. Link to comment Share on other sites More sharing options...
spaceeinstein Posted September 2, 2005 Share Posted September 2, 2005 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. Link to comment Share on other sites More sharing options...
Demarest Posted September 12, 2005 Share Posted September 12, 2005 Somebody asked me a question that is answered by this fine thread, so BUMP. Link to comment Share on other sites More sharing options...
Demarest Posted September 25, 2005 Share Posted September 25, 2005 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. Link to comment Share on other sites More sharing options...
jlf6 Posted October 1, 2005 Share Posted October 1, 2005 I don't understand what is the limit for locals. How munch can i use in external scripts ? Link to comment Share on other sites More sharing options...
Un3462 Posted October 6, 2005 Author Share Posted October 6, 2005 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. Link to comment Share on other sites More sharing options...
tod0001 Posted December 27, 2005 Share Posted December 27, 2005 (edited) 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... Edited December 27, 2005 by tod0001 Link to comment Share on other sites More sharing options...
Demarest Posted December 28, 2005 Share Posted December 28, 2005 It's a limitation of the game, not a thread. Don't forget you can always make simulated generators. Link to comment Share on other sites More sharing options...
J-Fox.GEMM Posted January 2, 2006 Share Posted January 2, 2006 Any ideas: How many Players How many Cars How many Actors Link to comment Share on other sites More sharing options...
Demarest Posted April 1, 2006 Share Posted April 1, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now