I start this topic in the hope that someone more skilled than I am will have another idea.
What I have done is to find the line of code where the maximum number of cities (255) is. And I have changed it in both ToT and MGE. So, it is possible to build more cities.
But two problems arouse. First of all the 256th cities acts as the attribute for all None units. I figure that I could get rid of this one, but I’m not sure.
The other problem that I cannot imagine how to resolve is the question of units allocation. The allocation is certainly coded in a single two digits hexa number (01-ff). It means they can only have a city between 1 and 255 as a location. For example, if you build an unit in city 258, it will be supported by city number 3, even if it is a foreign city (maybe it’s nice for a scenario of civil war, but …). My only idea is that in the original Civ2, units of all cities after 128 were None. If one could manage to do that again after 255, it would be great if the support city is not 255 anymore. Does anyone has an idea on how to do that with MGE or ToT ? Maybe that more than 255 cities would only work with the original civ2 !!!
But on the other hand, the cities really exist, really contribute to science and gold and one can build improvements in them. You can list them with the F1/F4/F5 keys and so on. But maybe than more problems would appear in the long run. With MGE it crashes after city 281 and with ToT it seems to go fine forever.
So here is what I know. I can try to answer more questions, but for me, the allocation of units is something that cannot be resolved. Sun Tzu, ask your programmer friend if he has an idea; brillant Apolytoners step up; me I just failed.
------------------
Oh Man, when will you understand that your greatness lies in your failure - Goethe
What I have done is to find the line of code where the maximum number of cities (255) is. And I have changed it in both ToT and MGE. So, it is possible to build more cities.
But two problems arouse. First of all the 256th cities acts as the attribute for all None units. I figure that I could get rid of this one, but I’m not sure.
The other problem that I cannot imagine how to resolve is the question of units allocation. The allocation is certainly coded in a single two digits hexa number (01-ff). It means they can only have a city between 1 and 255 as a location. For example, if you build an unit in city 258, it will be supported by city number 3, even if it is a foreign city (maybe it’s nice for a scenario of civil war, but …). My only idea is that in the original Civ2, units of all cities after 128 were None. If one could manage to do that again after 255, it would be great if the support city is not 255 anymore. Does anyone has an idea on how to do that with MGE or ToT ? Maybe that more than 255 cities would only work with the original civ2 !!!
But on the other hand, the cities really exist, really contribute to science and gold and one can build improvements in them. You can list them with the F1/F4/F5 keys and so on. But maybe than more problems would appear in the long run. With MGE it crashes after city 281 and with ToT it seems to go fine forever.
So here is what I know. I can try to answer more questions, but for me, the allocation of units is something that cannot be resolved. Sun Tzu, ask your programmer friend if he has an idea; brillant Apolytoners step up; me I just failed.
------------------
Oh Man, when will you understand that your greatness lies in your failure - Goethe
Comment