I think he wants to place custom defenders for each town type (using your mod stuff as a basis) as he mentioned in another thread. So town, fortress, conclave would have the custom troops but not the original default ones, so they would be customised without making the town incredibly difficult to capture.
That is correct. I plan to replace them. I really do like the concept of unique defenders as webusver laid out in his patchwork mod. I just was not very satisfied with the details of those unique defenders in terms of base game balance. They were too strong and there were too many units defending.
As such, I've remade the units so that they are better balanced with the units offered in the base game. This takes care of the first half.
Now, for the second half, I'm trying to figure a way to remove existing city defenders from the CoreImprovements.xml file WITHOUT having to modify the file directly.....so that it's easy for users to just copy the mod into the mod directory and have it work properly.
I'm appealing to the community in case there is someone who already has experience in how the CoreImprovements.xml file can be overwritten from the mods directory.....so that I can get the code done promptly and upload the mod.
Comments? Thoughts?
I'm going to try duplicate the CityHub portion of the CoreImprovements.xml file and see if the details can be overwritten that way. (I have the feeling though that the results will just be duplicated.) EDIT -- well, that didn't work.
It looks like I'm done to one of two options. Either I rebuild the ENTIRE city hub tree with the updated city defenders and rewrite all the links connected to the hubs (that's extensive) OR I modify the file directly.
Does anyone have a third option?