How do I completely override a file?

Desertmoongw

Chieftain
Joined
Oct 29, 2014
Messages
22
Location
Cascadia
I'm trying to make a mod to change the tech/civic popup, but I'm having trouble actually making changes to it in a way that I can add as a mod in the mod folder. How do I replace files, as in have the one from my mod override the base game one when the mod is enabled?

EDIT: Never mind, it's working now, I have no idea what I was doing wrong :?

I'd appreciate it if a mod could delete this thread.
 
Last edited:
I think it was because I was missing a part of the modinfo file, or a typo, like I said above I don't really know why it wasn't working and I don't know why it is now.
 
I'm trying to re-write the tech tree from scratch and Im running into trouble in that it keeps reading the original technologies.xml file even with the mod enabled. Any thoughts?
 
Not really. Make sure the modinfo file is formatted correctly (you can download and look at other mods to make sure of that), make sure everything is spelled correctly, but also with the tech tree I'd imagine there would be a lot more you need to replace than just the technologies.xml file. Can't really help, sorry. The only thing I can think of for you is maybe the name of the file, make sure it exactly matches the name of the file you want to replace.
 
anansethespider, Have you tried using sql instead of XML? Then you could just run a "DELETE FROM Technologies" and insert your new technologies?
(Note: I haven't tried SQL in Civ6, but I assume it works just the same as Civ5)
 
Back
Top Bottom