Number of cargos and industries

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
The Physicist
Engineer
Engineer
Posts: 6
Joined: 08 Nov 2009 23:51

Number of cargos and industries

Post by The Physicist »

Hey

I'm new here, and have thought about doing some development. Before I would do anything, I'm reading about the system, how it's coded and so on.

But I've one question, which I can't find an answer to:

Is there a limit of how many different kind of cargos and industries there can be in one climate?
Well, I found a "Yes" some where, but I can't find how big these numbers are. Can anyone answer me? :)

Moderators are welcome to delete this question when it's answered, if they want to reduce the amount of spam.
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: Number of cargos and industries

Post by PikkaBird »

Yes. 32 and 64. Welcome. :)
The Physicist
Engineer
Engineer
Posts: 6
Joined: 08 Nov 2009 23:51

Re: Number of cargos and industries

Post by The Physicist »

In each climate??? Well, this part seems to be quite underdeveloped then :)

Just thinking about where I can begin :D
User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: Number of cargos and industries

Post by Gremnon »

I think that's 32 industries and 64 cargoes, in case that's not entirely clear. And I think FIRS makes use of a lot of each.
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: Number of cargos and industries

Post by PikkaBird »

Gremnon wrote:I think that's 32 industries and 64 cargoes, in case that's not entirely clear. And I think FIRS makes use of a lot of each.
No, 32 cargos and 64 industries (37 industries in TTDPatch).
User avatar
belugas
OpenTTD Developer
OpenTTD Developer
Posts: 1507
Joined: 05 Apr 2005 01:48
Location: Deep down the deepest blue
Contact:

Re: Number of cargos and industries

Post by belugas »

I confirm the numbers laid down by Pikka
The Physicist wrote:In each climate??? Well, this part seems to be quite underdeveloped then :)
64 is a very fair number of industries. Do not forget that it is a fixed array. Therefor, it would be trivial to add more industry types, but without new graphics, new properties, what good would that number give you?
Plus, it's possible you might find some a little squeezed regarding map storage.
As for the number of cargo, it might be complicated to deal with extension of the 32 bits masking, plus savegame conversions. But hey... if you want to have fun , i would not stop you. Just that even with newgrfs available, I have not yet found any game with 64 different industry types and craving for more.
Did you know about grfs? You can add industries that way, you know?

So.... have fun whatever you are going todo :D
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Google [Bot] and 5 guests