Change Where Districts Can Be Built

I don't see what's different about this code and what I last posted :(

Is there anything wrong with my modinfo file ?
 
Where are my cache files ? ? I had just done a clean install of civ, including deleting the left over mod and dlc folders . .

I'll try run it again when I get back to my computer
 
I looked at your modinfo,
<UpdateDatabase id="OutsideGreatWallComponent">
<Properties>
<Name>LOC_OUTSIDE_GREATWALL_COMPONENT_NAME</Name>
</Properties>
<Items>
<File>Improvements.xml</File>
<File>Units.xml</File>
<File>Features.xml</File>

</Items>
</UpdateDatabase>

The only file in your mod is Improvements, don't need other two listed I don't think. Since you also have all your updates in that file, if you're still having issues, try changing the file name.
 
Ok so I've ran it another 10 times and the logs are having errors.. I redownloaded the original mod, and only copied in and added my stuff to the improvements.xml and didn't touch the modinfo on the original mod that worked. And I've cleared my logs every time, and not once and I having unit maintenance or being able to remove floodplains (I've started quick new games every time to make sure there wasn't an error or a conflict), and the mod I was trying was the only one active!! I'm ready to go crazy! I mean, it's so simple just editing the base file, but I really want to know what I'm doing wrong now!!!

This file should be working, it's the code from what you posted (Which is the same as I had in the end), and the modinfo that runs, with no extra files added.
 

Attachments

For the life of me, I can't see what the difference is, I tried running your last upload, and got the errors, then ran the one I had, and no errors.
Just to see, can you clear your cache, remove your mod from the mod folder and put this on in, and see if you still get errors(just your earlier upload that I had messed with)
 

Attachments

Sweet Jesus I've literally been at this for hours, and you amazing person it's all over! I don't know what happened but it's all working!!! :)

Thankyou!!!! If you lived in Western Australia I would bake you a cake or something!
 
Ahh right!! I thought it must have been something simple!!

Also, one last thing about the modinfo file. If I change it to this, should it run?? Does the custom id and component need to have no spaces?? And the name LOC_Outside.. What is that refering to??


<Settings>
<Custom id="Kierons Changes">
<Items>
<Component>Kierons Changes Component</Component>
</Items>
</Custom>
</Settings>

<Components>
<UpdateDatabase id="Kierons Changes Component">
<Properties>
<Name>LOC_OUTSIDE_GREATWALL_COMPONENT_NAME</Name>
</Properties>
<Items>
<File>Improvements.xml</File>
</Items>
</UpdateDatabase>
</Components>
</Mod>
 
Back
Top Bottom