No NO NO! NO!! It can't be true - CURSE YOU FIRAXIS

Heretic_Cata said:
It isn't a proof, but the thing is - why would the game crash if there would be 257 buildings ? Why not one more ?
Because 257 is not 2^x.
So what does this number have to with how much the game can bear ?

I think the TRUE limit is somewhere (it could be anywhere) between 2^8 and 2^9. They just made a STUPID aproximation.

Further more i STILL don't understand why the game would crash. The way i see it, if it excedes that certain amount then our RAMs&video cards will have a harder time - that is where i don't see the conection with the game.
I don't know how they coded the game (I don't really want to know :cry: or :lol: ). But if they used an array of improvement and used an index to acces it, and the index use a byte, then they have 256 possible indexes... Same as when you make a 256 colours palette image.
In that case, the TRUE limit IS 256. Just try to had a 257th colour in a 256 colours image...
Anyway, if they did used this limitation in the code, I think it's quite stupid because it has VERY little impact on memory (beside the limitation in the buildings number per se).
 
Steph said:
I don't know how they coded the game (I don't really want to know :cry: or :lol: ). But if they used an array of improvement and used an index to acces it, and the index use a byte, then they have 256 possible indexes... Same as when you make a 256 colours palette image.
In that case, the TRUE limit IS 256. Just try to had a 257th colour in a 256 colours image...
Anyway, if they did used this limitation in the code, I think it's quite stupid because it has VERY little impact on memory (beside the limitation in the buildings number per se).

The ways of Firaxis are mysterious . :crazyeye:
And so it shall stay for a looooong time.
 
When I did a rework of the Rise and Rule mod to include a number of new wonders and improvements borrowed from Civ III Conquents that RaR designers missed, I also encountered the 256 wall! At first, as I was testing my changes, I wondered why the editor was showing wonky matches to my entries and the art I set-up in the buildings.pcx files. Then after testing my changes I saw there were improvements missing (I was certain I added them) when I re-opened the editor :cry: :sad: :confused: ... I was scratching my head a while - and then I saw the spreadsheet I was using for record keeping showed the last unerased improvement was numbered 255 :scan: . Knowing the Palace was number 0 it dawned upon me that I may have reached a "magical" programming limit of 256 :crazyeye: .

Your experience and quote of the editor proved my conclusion. **sigh** I got worried about the 45 units I added to my update of RaR... :eek: But it handles 450+ units with trouble at all! :) :D :cool:
 
The limit on units (if I'm not mistaken) is 4096 (2^12) including multiple instances of like units. I may be wrong on this, but I'm sure I read it here at Civfanatics somewhere.
 
Desertsnow said:
The limit on units (if I'm not mistaken) is 4096 (2^12) including multiple instances of like units. I may be wrong on this, but I'm sure I read it here at Civfanatics somewhere.
I think they've upped the limit, so the Beyond Sid game will be impossibly difficult to repeat.
 
I stand corrected. :)
 
I bet it's 256 but it would be written as 255 since they count from 0 not from 1.
 
256 or 1 byte, i.e. one byte is enough to specify a building

2 byes will give you 256*256 buildings
 
has anyone tried to change the unit limit number to something higher? Im not sure how is is on Civ 3 but on a couple of other games all i had to do is change the number higher and there ye go :goodjob: :goodjob: :goodjob: :goodjob:
 
Where is this adjustable limit you are talking about ... :hmm:
It sure isn't in the editor...
 
Grohan said:
AFAIK you can't adjust unit limit unless you have acces to source code :(
Then get a program to display the code in readable terms (the program depends on file type), look around, then try to change it
 
I could, but then i wouldn't be able to post my mod in this forum ... kuz using those kinds of stuff is a nono...
 
Heretic_Cata said:
I could, but then i wouldn't be able to post my mod in this forum ... kuz using those kinds of stuff is a nono...
Bah! You paid the people your money for it, we should be able to turn it into a completely different game by so many modifications. Long as we don't sell the different game or cheat fireaxis out of their money
 
Back
Top Bottom