How to Rename Unique Components?

NomadGaming

Chieftain
Joined
Jul 30, 2021
Messages
2
I'm hoping to make a mod (for the first time) that renames certain Civ names, Civ abilities, unique units, and unique infrastructure to be more thematically appropriate in my view. For example, I want to rename the Street Carnival into "Sambadrome", England's unique ability to "The Sun never Sets", Scythia into "Massagatae", and the Ngao Mbeba into "Mbeba Ngao". How should I go about doing this? Thanks!
 
In-text you use replace of same properties. Example:

Code:
         <Replace Tag="LOC_TRAIT_CIVILIZATION_PORTUGAL_NAME" >
            <Text>Lusíadas</Text>
        </Replace>

        <Replace Tag="LOC_TRAIT_CIVILIZATION_PORTUGAL_DESCRIPTION" >
            <Text>
               bla bla vla
            </Text>
        </Replace>

Additionally, you may have to put an increased load order to your text to run after the base game one.
 
In-text you use replace of same properties. Example:

Code:
         <Replace Tag="LOC_TRAIT_CIVILIZATION_PORTUGAL_NAME" >
            <Text>Lusíadas</Text>
        </Replace>

        <Replace Tag="LOC_TRAIT_CIVILIZATION_PORTUGAL_DESCRIPTION" >
            <Text>
               bla bla vla
            </Text>
        </Replace>

Additionally, you may have to put an increased load order to your text to run after the base game one.

Thanks! This may sound like a question coming from a noob, but how should I implement this in the ModBuddy thing? Do i just type it in or?
 
you don't need modbuddy for that, you create an XML file with your text replacements, and you have to create another file: .modinfo file, to have your mod configurated to run, check this to make one modinfo: Civ 6 Modding Tools & Basics

The load order also configured at modinfo, for example:

Code:
<UpdateText id="raen_Portugal_ConfigText">
      <Properties>
        <LoadOrder>4</LoadOrder>
      </Properties>
      <File>Portugal_ConfigTextCustom.xml</File>
      <File>Portugal_GameplayTextCustom.xml</File>
 </UpdateText>
 
Top Bottom