Genghis_Kai
GEM modder
I have a problem. In plain GEM map, the camp works fine. Now, when I but camps on the 1500AD scenario, I hoped the same would happen but it did not. So i looked into your python code and found out this is may be the reason:
In 1500AD, there are two civs using the 'CIVILIZATION_MONGOL' as there civ type, now at the beginning, you have:
which 'I think' the second mongol civ would override the first mongol civ assignment. Hence, only the second mongol civ would get the sprawn effect. The first won't.
I wish you could confirm my understanding, and if possible, suggest ways to overcome this problem. thanks!
In 1500AD, there are two civs using the 'CIVILIZATION_MONGOL' as there civ type, now at the beginning, you have:
Code:
for iPlayer in range(gc.getMAX_PLAYERS()):
player = gc.getPlayer(iPlayer)
if (player.getCivilizationType() == gc.getInfoTypeForString('CIVILIZATION_MONGOL')):
self.iMongolsID = iPlayer
which 'I think' the second mongol civ would override the first mongol civ assignment. Hence, only the second mongol civ would get the sprawn effect. The first won't.
I wish you could confirm my understanding, and if possible, suggest ways to overcome this problem. thanks!