trystero49
Prince
- Joined
- Apr 30, 2012
- Messages
- 515
Also, the edits made to the CityView.lua and CivilopediaScreen.lua files are for purely aesthetic reasons. For the time being, if you simply delete these two files from the mod folders the civs should be fully compatible. You'll just see the dummy buildings in your city and civlopedia.
Also, with CivUp/GEM I believe that there is an SQL file that adds <IsVisible> Column via SQL. That means at least one of the .sql files will fail. If Thal's fails then there are potential disasters. If Tomatekh's fails that means that the XML of the stuff he adds will fail, since it tries to update a column that doesn't exist.
There is a multi-step process to making the civs compatible with CivUp/GEM.
1) Delete CityView.lua and CivilopediaScreen.lua
2) Delete the .sql file that adds new columns. This is necessary because CivUP also adds the IsVisible column, IIRC.
3) Remove (delete or comment out) all references to <PediaVisible> in the XML files. There should only be one in each civ (or possibly zero).
Then you should be able to play with Toma's civs in the game, and because CivUP adds the IsVisible column, they will (probably) not show up in the CityView and (possibly) not in the Civilopedia screen. I need to double check some of this stuff because I'm not sure if Thal adds "IsVisible" or a similar column named slightly differently. In any case, to be doubly certain it will work, you should remove all references to <IsVisible> in the XML files. Again, there should only be one in each civ (or possibly zero).
@Tomatekh, maybe you can make it so that the .sql file loads last, and instead of adding <IsVisible> and <PediaVisible> in the XML files, you can do
Code:
UPDATE Buildings SET IsVisible = 1, PediaVisible = 1 WHERE Type = 'BUILDING_DUMMYNAME'