[BNW] Can't get mod to work at all, help!

lucaspalasios

Chieftain
Joined
Jul 21, 2016
Messages
13
Location
Goiânia, Brazil
I've created a very simple mod to make some tweaks to the game, like using <Building_DomainFreeExperiencePerGreatWork> in the Heroic Epic and including marsh in the university FeatureYieldChanges. I've done so by using Lees' XML guide to adding buildings, so I'm pretty sure there's nothing wrong with the code, but I'll leave it attached to the thread just in case.

It's just one xml file, so I've went to Properties and OnModActivated>UpdateDatabase-XML/Minor Changes.xml as I usually do to my mods. Then went to Build and built it. And finally started the game and enabled my mod (only my mod, to test) and nothing happened. I've checked the code again; built the mod again; built the solution (although I'm not sure what it does); deleted the Civ5ModsDatabase; and yet, nothing.

I have no idea what I'm doing wrong here. Anyone knows?
 

Attachments

Table <Improvements> has no column called "ImprovementType". Table <Improvements> is the primary table in the Terrain-Improvements Schema and so the proper column-name in this primary table is "Type".

This is a fatal syntax error and causes the game to reject the entire contents of the file.

If you have logging enabled there should be an error message being given for this with your file's filename referenced in the error message "chunk"
 
Yeah, I've tested it without those lines and it worked. But, even feeling stupid for a simple mistake, I still think it's weird. Because this is a remade mod. I've use that same code in another mod and it worked almost perfectly. Almost, because the fort wasn't affected (now I know why), but the rest of the modifications worked perfectly.

Anyways, thanks for the help!
 
Back
Top Bottom