• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
just to be clear, does your mod have the custom nation xml file?

it looks like this


Code:
<ConfigID>Maya</ConfigID>
  <PlayerType>PT_Human</PlayerType>
  <NationName>Maya</NationName>
  <CityNameCollection>MayaCityNames</CityNameCollection>
  <TownNameCollection>MayaTownNames</TownNameCollection>
  <Flag>flag_Maya</Flag>
I do, in the CustomNations folder

Is it possible I have it in the wrong spot? I thought that's where the guide said to put it, and that's where the dwarven mod put theirs (thanks, Durinn creator, your mod alone did more than the dev's modding guide, honestly...)
 
Here's the zip. As far as I can tell everything is identical to the Durinn mod I used as a base, just different words and flag pngs. I've done enough coding to know it's probably some really stupid mistake or basic typo but I can't for the life of me figure it out.

As I said before, the mod does show up in the modlist, and it's active, but when I go to play my crappy OC donutsteel nation it's just not there. So something is clearly wrong.
 

Attachments

  • Custom Nation - Karne.7z
    15,5 KB · Views: 0
Your city and town names are working now that I've removed the spaces between the words in a single name (MoseleyGull instead of Moseley Gull)


Code:
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfAEntityNameTableState>
    <AEntityNameTableState>
        <ID>KarneCityNames</ID>
        <TableType>NTT_City</TableType>
        <Names>
            <Name>$$TrasinVor$$</Name>
            <Name>$$ArnEstoria$$</Name>
            <Name>$$ArnBastor$$</Name>
            <Name>$$KemelGeorge$$</Name>
            <Name>$$Eriemire$$</Name>
            <Name>$$ArnGull$$</Name>
            <Name>$$KemelElizabeth$$</Name>
            <Name>$$KemelVictoria$$</Name>
            <Name>$$ArnPositor$$</Name>
            <Name>$$ShebalVukan$$</Name>
            <Name>$$MoselyGull$$</Name>
            <Name>$$GertruVor$$</Name>
            <Name>$$Kenshemal$$</Name>
            <Name>$$Buraduhim$$</Name>
            <Name>$$DuhimalVor$$</Name>
            <Name>$$SentaMorin$$</Name>
            <Name>$$SentaMichael$$</Name>
            <Name>$$Mesumia$$</Name>
            <Name>$$MoltemVur$$</Name>
            <Name>$$ArnVorvoltran$$</Name>
        </Names>
    </AEntityNameTableState>
    <AEntityNameTableState>
        <ID>KarneTownNames</ID>
        <TableType>NTT_Town</TableType>
        <Names>
            <Name>$$Molhekle$$</Name>
            <Name>$$Gerntruder$$</Name>
            <Name>$$Bastorvial$$</Name>
            <Name>$$Lizvial$$</Name>
            <Name>$$Gentvial$$</Name>
            <Name>$$Karnevial$$</Name>
            <Name>$$Veilmern$$</Name>
            <Name>$$Georgehon$$</Name>
            <Name>$$Mexamal$$</Name>
            <Name>$$Semphon$$</Name>
            <Name>$$Chevalvial$$</Name>
            <Name>$$KemelOrcstopper$$</Name>
            <Name>$$Trasinvial$$</Name>
            <Name>$$Kestholme$$</Name>
            <Name>$$Orcwitt$$</Name>
            <Name>$$Tenmial$$</Name>
            <Name>$$Vormial$$</Name>
            <Name>$$Shumnda$$</Name>
            <Name>$$SentaBorin$$</Name>
            <Name>$$Karmua$$</Name>
            <Name>$$Letsu$$</Name>
            <Name>$$Holds$$</Name>
            <Name>$$Krenga$$</Name>
            <Name>$$Buradvial$$</Name>
            <Name>$$Karnsu$$</Name>
            <Name>$$Blukle$$</Name>
            <Name>$$Sentavial$$</Name>
            <Name>$$Krensholm$$</Name>
            <Name>$$Ormial$$</Name>
            <Name>$$KemelLemek$$</Name>
        </Names>
    </AEntityNameTableState>
</ArrayOfAEntityNameTableState>
 
it looks like this
1734446388611.png
 
Hello,

Is there a way to replace existing a AEntityNameTableState? I'm trying to extend the city lists for all of the existing civs by replacing the existing city lists. I naively just put a new version of Names.xml into the Names/ folder in my mod, but (based on the Player.log output) rather than load my version, it appears to load the original version and rejects mine as a duplicate. The log gives me:

Code:
[0] Tried to add name table with duplicate ID BritishCityNames!
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)


[0] Tried to add name table with duplicate ID BritishTownNames!
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)


[0] Tried to add name table with duplicate ID SpanishCityNames!
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)


[0] Tried to add name table with duplicate ID SpanishTownNames!
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)


[0] Tried to add name table with duplicate ID FrenchCityNames!
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

and this goes on for every single table state. The only way I can think of working around this is to duplicate every civ as a custom civ with a new city list, which is a horrible thing that I do not want to do. In general, how do I overwrite items that are not decks?
 
Last edited:
I noticed the example don't have the content from the Atomic DLC, but has the Ancient World DLC. Can the example be updated to include the new content? I really want to play with the diplomatic opinion startup bonus, but without documentation don't know what the key is.
 
Hello Modders!

We have decided to let you see the XML files for Millennia, as they normally aren't available to be seen due to the way the game is normally released. Have a fun time browsing through the files and seeing what you can come up with. This is similar to how on Paradox Grand Strategy games we have a lot of script files available to modders to look through and alter for their mods!You can see the attached file for said XML files!

Happy browsing modders! See the attached ZIP file for the files!
We'd like to see the subfolder structure for these XML files too, so we can overwrite the original game files
 
I noticed the example don't have the content from the Atomic DLC, but has the Ancient World DLC. Can the example be updated to include the new content? I really want to play with the diplomatic opinion startup bonus, but without documentation don't know what the key is.
The wiki people have a program to extract the XMLs, and they did post a recent version on the official Discord:

I don't know if I can post it anywhere myself without CPrompt burning me alive.
 
  • 1Like
Reactions: