Had dark shadered units on display. Anyone with the same problem?
I rename the vanilla civ5_swordsman.fxsxml to russm1.fxsxml, overwrite the strings to russm1_diff.dds and russm1_sref.dds in this fxsxml for the russian swordsman. Got the same result with the egypt swordsman data. So I believe something wrong with my xml in the mod.
Could someone assist me, please? These units are so beautiful and I hope for more to come.
My xml data:
(civ5_units.xml)
<Row>
<Class>UNITCLASS_SWORDSMAN</Class>
<Type>UNIT_RUSSIA_SWORDSMAN</Type>
<PrereqTech>TECH_IRON_WORKING</PrereqTech>
<Combat>11</Combat>
<Cost>75</Cost>
<Moves>2</Moves>
<HurryCostModifier>20</HurryCostModifier>
<CombatClass>UNITCOMBAT_MELEE</CombatClass>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
<Description>TXT_KEY_UNIT_RUSSIA_SWORDSMAN</Description>
<Civilopedia>TXT_KEY_CIV5_ANTIQUITY_SWORDSMAN_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_SWORDSMAN_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_SWORDSMAN</Help>
<MilitarySupport>true</MilitarySupport>
<MilitaryProduction>true</MilitaryProduction>
<Pillage>true</Pillage>
<ObsoleteTech>TECH_GUNPOWDER</ObsoleteTech>
<GoodyHutUpgradeUnitClass>UNITCLASS_LONGSWORDSMAN</GoodyHutUpgradeUnitClass>
<AdvancedStartCost>20</AdvancedStartCost>
<XPValueAttack>3</XPValueAttack>
<XPValueDefense>3</XPValueDefense>
<Conscription>1</Conscription>
<UnitArtInfo>ART_DEF_UNIT_RUSSIA_SWORDSMAN</UnitArtInfo>
<UnitFlagIconOffset>14</UnitFlagIconOffset>
<IconAtlas>UNIT_ATLAS_1</IconAtlas>
<PortraitIndex>14</PortraitIndex>
<MoveRate>HEAVY_BIPED</MoveRate>
</Row>
<Row>
<Class>UNITCLASS_SWORDSMAN</Class>
<Type>UNIT_EGYPT_SWORDSMAN</Type>
<PrereqTech>TECH_IRON_WORKING</PrereqTech>
<Combat>11</Combat>
<Cost>75</Cost>
<Moves>2</Moves>
<HurryCostModifier>20</HurryCostModifier>
............
(civ5artdefines_unitmembers.xml)
<UnitMemberArtInfo>
<Type>ART_DEF_UNIT_MEMBER_RUSSIA_SWORDSMAN</Type>
<fScale>0.14</fScale>
<Granny>russm1.fxsxml</Granny>
- <Combat>
<Defaults>ART_DEF_RUSSIA_SWORDSMAN</Defaults>
</Combat>
<MaterialTypeTag>ARMOR</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>ARMOR</MaterialTypeSoundOverrideTag>
</UnitMemberArtInfo>
<UnitMemberArtInfo>
<Type>ART_DEF_UNIT_MEMBER_EGYPT_SWORDSMAN</Type>
<fScale>0.14</fScale>
<Granny>egysm1.fxsxml</Granny>
- <Combat>
<Defaults>ART_DEF_EGYPT_SWORDSMAN</Defaults>
</Combat>
<MaterialTypeTag>ARMOR</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>ARMOR</MaterialTypeSoundOverrideTag>
</UnitMemberArtInfo>
