ripple01
Emperor
Hello all,
I have been working on a project to update/fix some bugs/issues with Aussie Lurker's Civic Infos Plus Mod.
I am working currently with the BuildingCommerceYield and BuildingCommerceChanges tags. I fixed the first issue, which is that the CommerceChanges tag did not accept a 4th commerce. I'm close to fixing the second issue, which is that the tags only accepted buildings, not buildingclasses, meaning it would not support unique buildings. I have the XML tag working correctly, and I have the gametext working correctly, I am having an issue with the data.
So for example, the tag for BuildingCommerceYield should read +2
from Market, Bank is reading +2
from Walls, Walls. (If I start a game as the Celts and look at the civic screen, is say Dun, Dun, so I know the GameText is working correctly.)
Could someone give me any general tips on when to use buildings and when to use buildingclasses? I am specifically looking at CvCity.cpp and CvPlayer.cpp. I can post the code I have if necessary.
Thanks much!
I have been working on a project to update/fix some bugs/issues with Aussie Lurker's Civic Infos Plus Mod.
I am working currently with the BuildingCommerceYield and BuildingCommerceChanges tags. I fixed the first issue, which is that the CommerceChanges tag did not accept a 4th commerce. I'm close to fixing the second issue, which is that the tags only accepted buildings, not buildingclasses, meaning it would not support unique buildings. I have the XML tag working correctly, and I have the gametext working correctly, I am having an issue with the data.
So for example, the tag for BuildingCommerceYield should read +2


Could someone give me any general tips on when to use buildings and when to use buildingclasses? I am specifically looking at CvCity.cpp and CvPlayer.cpp. I can post the code I have if necessary.
Thanks much!