dagriggstar
King
Hey,
So I've done the following
The result is that everything loads fine, but I cannot scroll in the tech tree. If I disable the code below (Tell the mod not to load my promotions file), everything works 100%. I have no idea why the tech tree is screwing up like this......
I can't find anything wrong in database log
Please.....help me......
So I've done the following
Spoiler :
<UnitPromotions>
<Row>
<Type>PROMOTION_GERMANY</Type>
<Description>Zollverin</Description>
<Help>This unit receives a 20% discount on upgrades</Help>
<Sound>AS2D_IF_LEVELUP</Sound>
<CannotBeChosen>true</CannotBeChosen>
<UpgradeDiscount>20</UpgradeDiscount>
<PortraitIndex>59</PortraitIndex>
<IconAtlas>ABILITY_ATLAS</IconAtlas>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>Zollverin</PediaEntry>
</Row>
<Row>
<Type>PROMOTION_HWACHA</Type>
<Description>Hwacha</Description>
<Help>Double strength with great generals and when attacking cities</Help>
<Sound>AS2D_IF_LEVELUP</Sound>
<CannotBeChosen>true</CannotBeChosen>
<GreatGeneralCombatModifier>100</GreatGeneralCombatModifier>
<CityAttack>100</CityAttack>
<PortraitIndex>59</PortraitIndex>
<IconAtlas>ABILITY_ATLAS</IconAtlas>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>Hwacha</PediaEntry>
</Row>
</UnitPromotions>
<UnitPromotions_UnitCombats>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_RECON</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_MOUNTED</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_SIEGE</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_ARMOR</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_HELICOPTER</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_HWACHA</PromotionType>
<UnitCombatType>UNITCOMBAT_SIEGE</UnitCombatType>
</Row>
</UnitPromotions_UnitCombats>
<Row>
<Type>PROMOTION_GERMANY</Type>
<Description>Zollverin</Description>
<Help>This unit receives a 20% discount on upgrades</Help>
<Sound>AS2D_IF_LEVELUP</Sound>
<CannotBeChosen>true</CannotBeChosen>
<UpgradeDiscount>20</UpgradeDiscount>
<PortraitIndex>59</PortraitIndex>
<IconAtlas>ABILITY_ATLAS</IconAtlas>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>Zollverin</PediaEntry>
</Row>
<Row>
<Type>PROMOTION_HWACHA</Type>
<Description>Hwacha</Description>
<Help>Double strength with great generals and when attacking cities</Help>
<Sound>AS2D_IF_LEVELUP</Sound>
<CannotBeChosen>true</CannotBeChosen>
<GreatGeneralCombatModifier>100</GreatGeneralCombatModifier>
<CityAttack>100</CityAttack>
<PortraitIndex>59</PortraitIndex>
<IconAtlas>ABILITY_ATLAS</IconAtlas>
<PediaType>PEDIA_ATTRIBUTES</PediaType>
<PediaEntry>Hwacha</PediaEntry>
</Row>
</UnitPromotions>
<UnitPromotions_UnitCombats>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_RECON</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_MOUNTED</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_SIEGE</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_ARMOR</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_GERMANY</PromotionType>
<UnitCombatType>UNITCOMBAT_HELICOPTER</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_HWACHA</PromotionType>
<UnitCombatType>UNITCOMBAT_SIEGE</UnitCombatType>
</Row>
</UnitPromotions_UnitCombats>
The result is that everything loads fine, but I cannot scroll in the tech tree. If I disable the code below (Tell the mod not to load my promotions file), everything works 100%. I have no idea why the tech tree is screwing up like this......
I can't find anything wrong in database log
Please.....help me......