Hello LO,
Firstly, thanks for your work. I've been starting to dabble in modding civ 6. Unfortunately if you have a mod which sets the cost of a tech then it is not compatible with your mod. If seems that first the sql mod is applied, and then the mod to change the cost of the tech, and they are complete out of line.
Would you have any ideas on how to apply the cost of techs before the sql scaling factors your mod uses. I've tried to inlcude them in a single mod, and change the order, bu no effect.
Thanks.
Well like most things, i should have just looked more before asking a question. So i have sort-of resolved the issue. It looks like change the sql and the xml don't play too well together. So if you want to change an individual tech cost then you need to change it in the sql before you run the
UPDATE Technologies
SET Cost = ROUND(Cost + Cost*(SELECT EraIncreases.Increase
FROM EraIncreases
WHERE EraIncreases.EraType = Technologies.EraType)/100);
I think having two methods of modding, sql and xml, is going to cause some compatibility issues.
PS, i think i perfer the sql route.
PSS, i looking to release a mod, and would like to use some of your ideas/code. If i provide you credit are you happy for me to do so?