Hey, long time lurker here.
How do I replace a file in : "\Sid Meier's Civilization VI\DLC\Expansion2\Maps\Utility"? Specifically I want to replace the "CoastalLowlands.lua" file.
I have seen that YNAMP, by the great
@Gedemon, has replaced the "AssignStartingPlots.lua" file and tried to nose around in the .modinfo and do the same thing, but I cant get it to work. When I start up a new game it's effects is not active and the mod is not shown in the Esc menu, but it is enabled in the Additional Content in the main menu. I have tested the actual code by directly modifying the file in my game install folder so I know that part works.
I can't upload the .modinfo file, so I'll paste it here:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="f9eac68a-1631-49d7-8153-c54828d2db60" version="1">
<Properties>
<Name>Nerevatar's Real Climate Change</Name>
<Description>Adds inland flooding, and some adjustment to Climate Change</Description>
<LoadOrder>99999</LoadOrder>
<Teaser>Adds inland flooding, and some adjustment to Climate Change</Teaser>
<Authors>Nerevatar</Authors>
<AffectsSavedGames>0</AffectsSavedGames>
<CompatibleVersions>2.0</CompatibleVersions>
</Properties>
<InGameActions>
<ImportFiles id="Nere_Flooding">
<Properties>
<LoadOrder>99999</LoadOrder>
</Properties>
<File>Override/CoastalLowlands.lua</File>
</ImportFiles>
<!-- <UpdateDatabase id="Nere_Climate">
<Properties>
<LoadOrder>99999</LoadOrder>
</Properties>
<File>Climate_Change_and_Disasters.xml</File>
</UpdateDatabase> -->
</InGameActions>
<Files>
<File>Climate_Change_and_Disasters.xml</File>
<File>Override/CoastalLowlands.lua</File>
</Files>
</Mod>