Modular game text?

OnmyojiOmn

Prince
Joined
Aug 4, 2006
Messages
371
Is it possible to change the names of existing units/buildings/whatever using modular XML, or is that limited to new entries? I tried redefining the text keys in a UnitNames_CIV4GameText.xml file, but the new names aren't showing in-game. Redefining the units themselves and using a new text key works, but that's ugly.

Thanks
 
Is it possible to change the names of existing units/buildings/whatever using modular XML, or is that limited to new entries? I tried redefining the text keys in a UnitNames_CIV4GameText.xml file, but the new names aren't showing in-game. Redefining the units themselves and using a new text key works, but that's ugly.

Thanks

Are you also loading a xml file with those unit names in ...\mods\*your mod*\assets\XML\text?

The game loads: -> default -> modular in mod folder-> default in mod folder

Very stupid but that's the way it is. :crazyeye:
 
Are you also loading a xml file with those unit names in ...\mods\*your mod*\assets\XML\text?

The game loads: -> default -> modular in mod folder-> default in mod folder

Very stupid but that's the way it is. :crazyeye:

Nope, it wasn't working with just the one modular file in an empty mod.
 
Did you have Modular Loading enabled in the empty mod?


A better approach for doing just gametext might be to simply add a gametext file to the modfolder proper.

Mods/*whatever*/Assets/XML/Text/CIV4GameText_zCorrections.xml

Enter any fields you want to in there and they will be loaded after anything Firaxis did (due to the z) and overwrite any text keys which are the same. If it is just for your own use to avoid having your corrections overwritten by Patches, you could even put that in the base folders without issue.
 
Back
Top Bottom