Default CIVS Front Loader

Fierabras

Emperor
Joined
Dec 26, 2006
Messages
1,120
What I do is just keep 1 CivilizationInfos File, and edit it, as i add leaders. Ignoring the XXX_CivilizationInfos.xml for each individual leader.

This is very good solution :goodjob:

I encountered a similiar problem and came up with the same solution. I wanted to add a modular EDU mod and a custom leaderhead for Ethiopia

I created 2 files:

/Mod/Assets/Modules/Default_CIV4CivilizationInfos.xml
/Mod/Assets/Modules/Default_CIV4CivilizationsSchema.xml

and updated in /Mod/Assets/Modules/Default_CIV4CivilizationInfos.xml

<Civ4CivilizationInfos xmlns="x-schema:CIV4CivilizationsSchema.xml">

to

<Civ4CivilizationInfos xmlns="x-schema: Default_CIV4CivilizationsSchema.xml">

These files are exact copies from the /Assets/XML/Civilizations/ folder. The reason I put them in Modules was in case you don't want a /Mod/Assets/XML folder in your mod (although I still needed one for Audio & Diplomacy).

In Default_CIV4CivilizationInfos.xml I made the changes, for example Ethiopia:

overwrite:

<UnitArtStyleType>UNIT_ARTSTYLE_AFRICAN</UnitArtStyleType>

add:

<Leader>
<LeaderName>LEADER_SELASSIE</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>

I use this file stritcly for changes to the Firaxis civs. Added civs still get their own ***_CIV4CivilizationInfos.xml in Custom Civilizations.

Of course this does not make it Plug & Play, but it is a clean solution for now.
 
Another example of how this can be used.

Let's say you want to combine these 2 mods:

2ND Unique Units for all 34 Civs
Plug And Play Leader Heads

The problem is that in these 2 mods you have an overlap for some civs, like Carthage. To solve this you can move the changes made in ***_CIV4CivilizationInfos.xml in these mods to Default_CIV4CivilizationInfos.xml to make them compatible.
 
It would appear Firaxis released a less than perfect "Modular" system.....

:p
 
It would appear Firaxis released a less than perfect "Modular" system.....

:p

Sometimes you just have to be pragmatic in a less than perfect world ;)

If true Plug & Play is not possible, then reducing the workload to mostly editing 1 file is a practical solution. Plug & Single Edit & Play.
 
Top Bottom