Trying to do a simple city name mod...can someone help fix my XML?

Shadole

Warlord
Joined
Aug 7, 2015
Messages
116
Trying to change Scythian city names...I have:

Code:
<GameData>
    <BaseGameText>
        <Update>
            <Where Tag="LOC_CITY_NAME_POKROVKA"/>
            <Set>
                <Text>Gelonus</Text>
            </Set>
        </Update>
    </BaseGameText>
</GameData>

Obviously with more city names filled in there. But when I built the mod and loaded it in a new game, the capital was still Pokrovka. What am I screwing up here?
 
Top two lines delete existing names if you don't like them, bottom three lines add new city names.


Code:
    <CityNames>
        <Delete CityName="LOC_CITY_NAME_RAVENNA"/>
        <Delete CityName="LOC_CITY_NAME_ANTIUM"/>


        <Row CivilizationType="CIVILIZATION_ROME" CityName="Cæsarea"/>
        <Row CivilizationType="CIVILIZATION_ROME" CityName="Fulvium"/>
        <Row CivilizationType="CIVILIZATION_ROME" CityName="Augusta Prætoria"/>
    </CityNames>
 
Capital is done elsewhere.


Code:
    <CivilizationLeaders>
        <Row CivilizationType="CIVILIZATION_NAZI" LeaderType="LEADER_HITLER" CapitalName="Germania"/>
    </CivilizationLeaders>
 
Hi ReichAdler, thanks for replying! Unfortunately I'm quite the noob and I'm still confused...but it seems like I have the wrong table referenced. So you showed me how to add and delete, but what about updating? So my XML should be:

Code:
<GameData>
    <CityNames>
        <Update>
            <Where Row="LOC_CITY_NAME_ISSYK"/>
            <Set>
                <Text>Gilea</Text>
            </Set>
        </Update>
    </CityNames>
</GameData>
 
Still having trouble guys..sorry. Is there anything I may be missing in ModBuddy? I haven't modded in a long time, but I seem to remember having to make sure the xml is 'activated' in ModBuddy before it works..I think this may be an issue because when I start Civ 6, the mod shows up in my extra content, but when I start a game, the game doesn't show it listed.
 
Back
Top Bottom