ChilledEmber
Chieftain
- Joined
- Mar 25, 2017
- Messages
- 7
So I've had an unresolved issue with Great People, and I've been thinking about a solution to my problem. My original goal was to try and spawn an individual great person(of a custom great person class), but I've decided instead to flip my thinking and try to either 'reactivate' the great person(make them recruitable again) or make multiple copies of the great person(which would give virtually the same effect as the other two items). This post will be exclusively about the latter option.
Of course, the problem with making multiple copies of a great person is that I will need a LOT of them. I want the great person I am making to be accessed a lot and commonly(as in civilizations will have multiple copies of this great person inside their civilization for most of the game). Now if I were to make multiple copies of the great person to simulate spawning an individual, I could easily see the number of entries into tables reaching 150+ levels. I could even see 250+ being realistic depending on the size of the map. Now, I'll be using a while loop in sql for this, so I'm not so worried about how my mod will look. What I'm more worried about is the effect on the game itself.
Would adding this many entries be detrimental to the games performance? Would loading this mod take an unreasonably long time? Are there any other problems associated with adding a lot of great people?
I understand that this may not be the best coding practice, but given the tools firaxis has given us, it seems that it is the only way to achieve what I want.
Of course, the problem with making multiple copies of a great person is that I will need a LOT of them. I want the great person I am making to be accessed a lot and commonly(as in civilizations will have multiple copies of this great person inside their civilization for most of the game). Now if I were to make multiple copies of the great person to simulate spawning an individual, I could easily see the number of entries into tables reaching 150+ levels. I could even see 250+ being realistic depending on the size of the map. Now, I'll be using a while loop in sql for this, so I'm not so worried about how my mod will look. What I'm more worried about is the effect on the game itself.
Would adding this many entries be detrimental to the games performance? Would loading this mod take an unreasonably long time? Are there any other problems associated with adding a lot of great people?
I understand that this may not be the best coding practice, but given the tools firaxis has given us, it seems that it is the only way to achieve what I want.
Last edited: