custom.xml not loading

kyjol

Chieftain
Joined
Oct 10, 2016
Messages
2
Hello,

I followed the guides from Gedemon:
https://forums.civfanatics.com/threads/how-to-add-and-change-tsl-for-a-ynamp-map.621143/
https://forums.civfanatics.com/thre...and-custom-sql-to-make-simple-changes.621141/

and created a custom.xml with this code to change the TSL of Korea and add Mt. Fuji on the Greatest Earth Map:

<GameInfo>
<NaturalWonderPosition>
<Replace MapName="GreatestEarthMap" X="99" Y="49" FeatureType="FEATURE_SUK_FUJI" />
</NaturalWonderPosition>
<StartPosition>
<Replace MapName="GreatestEarthMap" Civilization="CIVILIZATION_KOREA" X="92" Y="51" />
</StartPosition>

</GameInfo>

The file is created in the steam's workshop base folder for YNAMP:
D:\SteamLibrary\steamapps\workshop\content\289070\871861883

I'm sure there is no double extension, it is a proper .xml, but when launching the map there is no change - the TSL is still the old one.
I tried replacing <GameInfo> with <GameData>, because that's what I saw in the Map.xml file for GEM as section under which TSLs were defined, but it doesn't make any difference.
Originally I wanted to place the TSL on tile X=91, but I noticed it's lowland and thus thought maybe it's not usable as TSL, so I changed it to 92 which is a 'normal' tile - still doesn't work.

Can someone please help to explain what I'm doing wrong, or how you got this to work?
 
Hello,

I followed the guides from Gedemon:
https://forums.civfanatics.com/threads/how-to-add-and-change-tsl-for-a-ynamp-map.621143/
https://forums.civfanatics.com/thre...and-custom-sql-to-make-simple-changes.621141/

and created a custom.xml with this code to change the TSL of Korea and add Mt. Fuji on the Greatest Earth Map:

Can someone please help to explain what I'm doing wrong, or how you got this to work?

Having the same issue. So, I've just edited Map.xml directly for the TSL change - works as expected. Just backup original Map.xml somewhere outside of Mods directory first!
 
Back
Top Bottom