Mixing Tags and Assets

godboy

Chieftain
Joined
Nov 8, 2005
Messages
1
Please forgive what may be a very n00b question . . . but I've noticed that the XML tags in each asset file are pretty generic, and some are identical in different assets. So, could I use a tag not originally listed in an asset, as long as it's listed elsewhere? For example, could I build an "Innovative" trait in the TraitInfos file just by using a few of the same XML tags in the Library section of the BuildingInfos file, even though those tags aren't listed in any other Trait?
 
I think you can use the tags in other files, but only if they use the same scheme (which is written right at the top). For example CIV4CivilizationInfos.xml, and CIV4LeaderHeadInfos.xml both have
Code:
<Civ4LeaderHeadInfos xmlns="x-schema:CIV4CivilizationsSchema.xml">
in them.

I'm not, however, certain.

EDIT: And welcome to CFC :beer:[party]:band::hammer:
 
Back
Top Bottom