GRM7584
King
I always thought the <BonusProductionModifier> tag in Civ4UnitInfos.xml worked in the same way as the equivalent tag in Civ4BuildingInfos.xml. However, thinking in this way has just given me a cascade of very non-descriptive XML errors on load [Literally: (Insert Number Here) in Info class was incorrect]. For what its worth, the tag for iProductionModifier in the UnitSchema was spelled iProductonModifier...although I've tried correcting it in the Schema as well as correcting the spelling of the tag in Civ4UnitInfos (seperately, of course). I get the sinking suspicion that I'm overlooking something obvious due to lack of coding knowledge.
Bottom line: How do I get units to build faster with resources?
(Additional: Haven't found anything on this via google/forum search, even though I'm almost certain I've heard mention of it before.)
An example of what is producing the error:
<BonusProductionModifiers>
_____<BonusType>Iron</BonusType>
_____<iProductionModifier>25</iProductionModifier>
</BonusProductionModifiers>
Will produce an error of:
"Tag: 25 in Info class was incorrect"
"Current XML file is: Units/CIV4UnitInfos.xml"
Bottom line: How do I get units to build faster with resources?
(Additional: Haven't found anything on this via google/forum search, even though I'm almost certain I've heard mention of it before.)
Spoiler Sample :
An example of what is producing the error:
<BonusProductionModifiers>
_____<BonusType>Iron</BonusType>
_____<iProductionModifier>25</iProductionModifier>
</BonusProductionModifiers>
Will produce an error of:
"Tag: 25 in Info class was incorrect"
"Current XML file is: Units/CIV4UnitInfos.xml"