[solved] Modding LocalizedText for DLC civs

username4

Chieftain
Joined
May 22, 2017
Messages
13
Hello,

I have made a gameplay mod. I use sql for the mod files.
It works fine so far, both the modifications and their descriptions work fine for all vanilla civs and the Aztecs.

But I can't figure out, how to make the descriptions for the other DLC-civs. I followed this tutorial. The DLC-civ don't show up in the DebugLocalization.sqlite-file.
If I try to use the descrptions as found in the xml-files in the game folder (e.g. Path/to/game/australia/data/australia_civilizations.xml), It breaks the game completely, every menu-option is replaced by a zero.

Code:
UPDATE LocalizedText
SET Text = 'Australian unique Modern era unit that replaces Infantry. +100 [ICON_Strength] Combat Strength when fighting on Coastal tiles. +50 [ICON_Strength] Combat Strength when fighting on Neutral or Foreign Territory.'
WHERE Language = 'en_US'
AND Tag = 'LOC_UNIT_DIGGER_DESCRIPTION';

The DLC-civs are loaded and playable, including with the modifications I made to the traits gameplay themselves.
Does anyone know, how the descriptions are handled for the DLC-civs?
 
Last edited:
Try to set a (positive) load order to the file that handle the DLC text.
 
Thanks for the quick answer. It works like a charm now.
The problems with the broken menu was just a typo, forgot a WHERE-statement in the sql.
I still don't understand, why the DLC civs don't show in the DebugLocalization.sqlite, but not that important, I can get the names from the xmls.
 
Back
Top Bottom