Max Number of Bldgs in Game

timerover51

Deity
Joined
Jul 10, 2006
Messages
4,327
Location
Chicago area in Illinois
I remember seeing mentioned in several threads that there are maximum number of different buildings that can be in the game. What is that number?
 
In the editor, as Supa said, it's 256.

In-game, I've had much more than 512 (the number of cities), don't know how much more, though, but quite a lot, so I don't know how many can be built in game, I'd just assume it's a lot!
 
I was looking for the number of distinct buildings that you could have, not how many buildings you could build in the game. The answer of 256 was the one that I was looking for.
 
That is a shame though! Adding more than 256 (using Stephs Editor) I guess has more bugs than I thought, therefore the workaround that I thought would work, I suppose will not.

Virote_Considon said:
Guys, I've tested this, and you can't have more than 256 improvements.

Not only do you get the extra improvements in a city when you have more than 256, but also, whenever you build an improvement in the city (any improvement, even #s 1-256), you get a further improvement in the city, from the 256+ range.

So, you are saying that; whenever a new building is built in a city, it may add another improvement of an even number of any of the available improvements #1-256?

This means, if I understand correctly... that it is possible to have more than 256 buildings, but every single even numbered building would have to be a placeholder building that does nothing. The problem is, there would be many many unused placeholder buildings in many cities.

Tom
 
I had written a very long reply, but a damn database error send it to Oblivion!

Tom, it's even worse than that.

If you try to add more than 256 buildings, let say 266. When you create a city, a building will be added automatically (building #258 for instance). So you make thing "not a problem. Since 258 is added, I will copy it to 267, and make 258 useless. so it will have no effect in game, but the new 267 will compensate".

Except when you start your game, now that you have 11 extra buildings instead of 10, you may start new cities with building 259 and 263 instead of 258...

In other words, the extra buildings are not the same depending on how many buildings you have added, and I couldn't find a pattern for it.

Another fine example of Firaxis exotic programming.

This being said, I have plans to make a new version of my editor that will allow more than 256 buildings, and more than 32 resources, and more than 4 eras...
To allow this, each buildings, units, resources, etc will have a "starting era" and an "ending era". And you will still be limited to 256 buildings available at the same time for 4 consecutive eras.
 
Hmm, the idea of a starting era and ending era for buildings is an excellent idea, as it the starting and ending era for resources.

Steph, have you tested your editor for how it works when used in conjunction with Windows 7?
 
I plan to install Windows 7 on my new computer when I have one.

For the moment, I'm stuck to Windows XP.

About starting and ending era, I will probably introduce a system of "automatic" update.

Ex:
In the first era you have "ancient horse". Aztec don't have the tech to get it (done via none era tech).

In the 3rd era, "ancient horse" become obsolete, but are replaced by "industrial horse".

Result:
In 1st era, Aztec can see horse nowhere. Spain can see horse, and thus build horseman.

In the 3rd era, the horses "disappear", but are replaced everywhere on the map by "new horses". These new horses become the requirement for the horseman (ie they replace the old horses everywhere, including in requirement). But as the new horses require a tech that the Aztec can research, the Aztec will be able to see horses only in the 3rd era, while other civs will see them earlier.

If you use the same name and graphics for the two resources, it is completly transparent.
 
So, you are saying that; whenever a new building is built in a city, it may add another improvement of an even number of any of the available improvements #1-256?

No, I'm saying it will add another improvement of any number of the available improvements 257+
 
Back
Top Bottom