So I have a mod for Cuba in development, with some of the art and all of the code ready to go, except for one thing: I can build the hacienda (replaces plantation), and it shows up on the map, but it doesn't add the resource it's built on to the trade network.
The relevant code...
Alright, just found a problem and fixed it, but now the logs say:
[32723.222] columns StrategicViewType, TileType are not unique
[32723.222] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[32726.810] no such table...
Yes, each XML file has an update database entry. I figured that would be obvious. The logs largely have to do with text entries, but after scouring through my tags, which it says are not unique, I can't see the problem.
So, for some reason I can't even select this civ from the menu when running the mod. I've successfully made a civ before that ran, and I created this one with much the same method (picking and choosing from existing XML and changing names and values around). I'll post my XML for you guys to pick...
Since a civilization requires 2 special units/buildings to run properly, what is the XML I need if one of the specials is a terrain improvement? There doesn't seem to be an override for it.
I've tried several ways of doing this and none so far have worked. If anyone could walk me through the exact method for doing this or posting some XML for it, that'd be wonderful. Also by this I mean passable unconditionally, not just recycling the Carthage passive.
Im working on a mod to add a mountain clan civ, and I'm working off of the excellent CIV5
modding tutorial by Derek "Kael" Paxton. I've written out all my XML for a custom leader, civilization, units, etc. and am currently working on art assets (I am a competent 3d modeler/animator). However...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.