<DerivativeCiv> - BtS

German Lonewolf

Chieftain
Joined
Jun 20, 2006
Messages
25
Location
Hamburg, Germany
Hi,

I'm trying to make some changes, so I came around this <DerivativeCiv>-line, in CIV4CivilizationInfos.xml, last Paragraph of Civ-discribtion, some Civ's have an other Civ mentioned some have just none.

So what is the thing behind this line? :confused:


Thx for your help in advanced

Merry Xmas and happy new year!

edit: thanks to Refar, this question is solved!:)
 
I think if a Civ makes a Colony the Colony will be prefered to be the 'derevative civ' if possible.
 
So .. if America's derivative civ = England, if England makes a colony then it will be America?
 
So .. if America's derivative civ = England, if England makes a colony then it will be America?

I think the reverse...if America's derivative civ is England, then when America makes a colony, it will be England.
 
It may be listed as the reverse (I don't have the XML in front of me), but it doesn't make any sense for an American colony to be England, when it was America that formed from an English colony!
 
Actually, England is listed as a derivative civ of the Celts and if you do a search for "<DerivativeCiv>CIVILIZATION_AMERICA</DerivativeCiv>" in the Civ4CivilizationInfos.xml file you will find America listed as a derivative of England, France, Portugal, Netherlands, Spain, Vikings, Aztec, Maya, & Inca and possibly another which I may have missed.

[EDIT] I think the other civ I missed is the Native American civ.

Basically a DerivativeCiv can be a civ that was founded after the Parent civ in history and was either explored by (Vikings), colonized by (England, France, etc), or occupied the same geographical area (Native American, Aztecs, etc) as the Parent civ.

At least that's the way I understand it.
 
Actually, England is listed as a derivative civ of the Celts and if you do a search for "<DerivativeCiv>CIVILIZATION_AMERICA</DerivativeCiv>" in the Civ4CivilizationInfos.xml file you will find America listed as a derivative of England, France, Portugal, Netherlands, Spain, Vikings, Aztec, Maya, & Inca and possibly another which I may have missed.

[EDIT] I think the other civ I missed is the Native American civ.

Basically a DerivativeCiv can be a civ that was founded after the Parent civ in history and was either explored by (Vikings), colonized by (England, France, etc), or occupied the same geographical area (Native American, Aztecs, etc) as the Parent civ.

At least that's the way I understand it.

This appears to be what the developers were going for with assigning derivative civs. But for XML purposes, a derivative civ is any legitimate civ name you care to enter into the XML tag... So if you want, Japan can be the derivative civ of the Mayans. :)
 
Actually, England is listed as a derivative civ of the Celts and if you do a search for "<DerivativeCiv>CIVILIZATION_AMERICA</DerivativeCiv>" in the Civ4CivilizationInfos.xml file you will find America listed as a derivative of England, France, Portugal, Netherlands, Spain, Vikings, Aztec, Maya, & Inca and possibly another which I may have missed.

[EDIT] I think the other civ I missed is the Native American civ.

Basically a DerivativeCiv can be a civ that was founded after the Parent civ in history and was either explored by (Vikings), colonized by (England, France, etc), or occupied the same geographical area (Native American, Aztecs, etc) as the Parent civ.

At least that's the way I understand it.

Sorry but I didn't quite understand this post. Could you clarify for me?

All those civs have America listed as a derivative civ? What does that mean/what will that do? Does that mean that if any of those civs have a colony break off, it will become America? Or vice-versa? If America has a colony it would become one of those civs?
 
Sorry but I didn't quite understand this post. Could you clarify for me?

All those civs have America listed as a derivative civ? What does that mean/what will that do? Does that mean that if any of those civs have a colony break off, it will become America? Or vice-versa? If America has a colony it would become one of those civs?

The derivative civ is the civ that breaks off. England has "America" listed as a derivative civ, so when England creates a colony, the game will use the American civ as the colony (as long as America is not already in the game.)

Imaginary hypothetical:

Suppose there are two civs in a game: England and France. Canada is an available civ, but isn't in the game.

In England's XML files, "Canada" is listed as the derivative civ.

Also, in France's XML files, "Canada" is listed as the derivative civ.

Canada's XML files, has no derivative civ listed.

When England goes to create a colony, the game checks to see whether or not Canada is currently in the game. If it isn't, England's colony will be "Canada". Later, if France tries to create a colony, the game checks, sees that Canada currently is a civ in the game, and instead gives France a different random civ for a colony that isn't currently in the game (say, Babylon.)

Later, Canada breaks free of England and builds cities on a new continent. It creates a colony from the new settlement. Since it doesn't have a derivative civ listed, the game randomly assigns a civ that isn't currently in the game (say, Egypt.)

Make sense?
 
^^^ What he said.
 
Yep, thanks for the clarification :)
 
I don't suppose, one could create multiple derivatives from a single parent.

i.e. having Canada and America as a derivative of England?
Looks to me like there's only one slot. Besides, it seems the sort of thing that will only truly be noticeable to the person who modded it. It has so little effect on gameplay (the only effect is to limit an English colony's leader to one of three combinations, and only if America doesn't exist elsewhere) I doubt it would even be worth it to try.
 
Back
Top Bottom