I'm not actually a programmer, I'm just a script kiddy
. I can only pull bits of code out of other folk's mods and hack them together. I don't really understand them
, I just kinda guess their purpose.
I saw Wonders call themselves like "BUILDINGCLASS_ALHAMBRA" and so I would do like "INSERT INTO Civilization_BuildingClassOverrides (CivilizationType, BuildingClassType, BuildingType) SELECT "CIVILIZATION_AMERICA", "BUILDINGCLASS_ALHAMBRA", NULL;". And no other lines of code were needed, just that. That one line alone would mean America could never build Alhambra. I saw that code somewhere and guessed I could substitute America and Alhambra for anything else, and that actually worked.
But here, Wonders call themselves like "BUILDING_TAIPEI101", without that CLASS part after BUILDING, and I'm just kinda guessing that's why that code's not working anymore. I never saw just BUILDING before and so I'm stuck. I was just kinda guessing that maybe Wonders aren't "Classes" here, but like "subclasses". Like maybe Buildings go into Classes. Kinda like how Ship of the Line goes into UNITCLASS_FRIGATE but isn't a Frigate (Which's why I can't figure out how to get Corvettes to upgrade into Ship of the Lines in Enlightenment Era for Vox Populi, because I've only found code that makes non unique units upgrade into other non unique units).
Would you tell me how to make proper rows for BuildingClassOverrides?


I saw Wonders call themselves like "BUILDINGCLASS_ALHAMBRA" and so I would do like "INSERT INTO Civilization_BuildingClassOverrides (CivilizationType, BuildingClassType, BuildingType) SELECT "CIVILIZATION_AMERICA", "BUILDINGCLASS_ALHAMBRA", NULL;". And no other lines of code were needed, just that. That one line alone would mean America could never build Alhambra. I saw that code somewhere and guessed I could substitute America and Alhambra for anything else, and that actually worked.
But here, Wonders call themselves like "BUILDING_TAIPEI101", without that CLASS part after BUILDING, and I'm just kinda guessing that's why that code's not working anymore. I never saw just BUILDING before and so I'm stuck. I was just kinda guessing that maybe Wonders aren't "Classes" here, but like "subclasses". Like maybe Buildings go into Classes. Kinda like how Ship of the Line goes into UNITCLASS_FRIGATE but isn't a Frigate (Which's why I can't figure out how to get Corvettes to upgrade into Ship of the Lines in Enlightenment Era for Vox Populi, because I've only found code that makes non unique units upgrade into other non unique units).
Would you tell me how to make proper rows for BuildingClassOverrides?