warp_kez said:
What I attempted to add:
<GlobalYieldModifiers>
<iYield>0</iYield>
<iYield>100</iYield>
<iYield>0</iYield>
</GlobalYieldModifiers>
...
...
Im not exactly sure... you'd have to test it
but from what Impaler[WrG] posted:
Impaler[WrG] said:
From the BuildingInfo element on the Schema
<element type="GlobalSeaPlotYieldChanges"/>
<element type="YieldChanges"/>
<element type="YieldModifiers" minOccurs="0"/>
<element type="PowerYieldModifiers" minOccurs="0"/>
<element type="AreaYieldModifiers" minOccurs="0"/>
<element type="GlobalYieldModifiers" minOccurs="0"/>
<element type="CommerceChanges"/>
<element type="ObsoleteSafeCommerceChanges"/>
...
...
you would have to add that tagline in the correct list (following above info)
as Impaler[WrG] says here:
Impaler[WrG] said:
Theirs a group of optional elements but they all still need to occur in that order, in most buildings you probably have none of these optional elements and would add after YieldChanges, if its a power plant then it will have a PowerYieldModifier so in that case be shure its between that and CommerceChanges. But I dont see any reason you would have to add any tag other then the one you want for it too work...
my theory is that your listing should look something like this:
<GlobalSeaPlotYieldChanges/>
<YieldChanges/>
<GlobalYieldModifiers>
<iYield>0</iYield>
<iYield>100</iYield>
<iYield>0</iYield>
</GlobalYieldModifiers>
<CommerceChanges/>
<ObsoleteSafeCommerceChanges/>
<CommerceChangeDoubleTimes/>
<CommerceModifiers/>
again im not sure.... but you may want to test it out
NOTE: This is exactly what Impaler[WrG] (I just spelled it out more thoroughly

) so proper credit goes to him....
@Impaler[WrG] thx man I didnt know that the "vanilla" civ4BuildingInfos.xml left some taglines defined in the schema file
Im gonna have to review em and see what else I missed in the Buildings/unit/etc schema xml files
you learn something new everyday!
@warp_kez keep me posted... I'd like to know if it works or not!
good luck!
