Help: Civ Uniques Don't Work

679x

Warlord
Joined
Mar 30, 2017
Messages
289
After fixing errors shown on Database.log, my 2nd attempt at a custom civ is having issues. The Database.log shows no errors, but my civilization (Samoa) does not have its unique abilities. It's supposed to receive culture for coastal cities, and extra yields from fishing boats. Once these work, I'll be working on adding more components to make it more unique, such as additional ability bonuses, and the unique unit/improvement.

Attached is the zip file for the mod, named "CW's Tanumafili II of Samoa.zip".

Note that I know very little about Civ 6 modding. I've checked the modinfo file, and the file that contains my civ's unique ability code is listed on there as a file and under InGameActions. So, I think the problem lies within SamoaAbilities.xml, the file that contains the non-Modbuddy-created code, but there's a chance that I'm wrong.

If anyone could help me diagnose the problem and find a solution, it'd be greatly appreciated.

Thanks in advance.
 

Attachments

  • CW's Tanumafili II of Samoa.zip
    109.3 KB · Views: 39
Ok, so I've attached an UPDATED version of my mod to this reply. To view the old one, it's still attached to the original post. Old one says "CW's", with the ', and the new one just says "CWs".

Last time, after posting the original thread post, I went to go and try to solve the error on my own. I did some messing around and looking at existing Civ 6 code (like Australia DLC code and Pantheon beliefs code) to try to figure out where I went wrong, and in the process I ended up with some new errors in the Database.log. One by one I fixed the errors, until now there are none left, but my civ STILL does not receive its bonuses. I don't know what else to do. Unless I receive help or can think of something, I'm going to stop tinkering with this mod for now.

So basically I tried to fix it, and ended up with different code, but the same problem: my civ isn't receiving its unique bonuses.

Any help is greatly appreciated, thanks.
 

Attachments

  • CWs Tanumafili II of Samoa.zip
    109.3 KB · Views: 44
I had the same problem, here's a hint, go look at my forum topic.
I've already looked at your thread about your uniques not working, and I looked to see if I had the same problems as you, but I have the code that you apparently forgot, so your thread didn't help me out too much. Maybe our problems were caused by different issues, but what do I know?
 
I've already looked at your thread about your uniques not working, and I looked to see if I had the same problems as you, but I have the code that you apparently forgot, so your thread didn't help me out too much. Maybe our problems were caused by different issues, but what do I know?
Strange
 
Top Bottom