Mesh issues can anyone help? [Solved]

I am a little bit stuck with this weapon, I am unsure why but the weapon doesn't appear the mesh nor the icon. I think it might be because I haven't declared it some where else or its having trouble connecting something can someone help?

Code:

<GameItemType InternalName="Tech_CrystalBlade">
<DisplayName>Crystal Blade</DisplayName>
<Description>Crystal weapons are not of this time they are offten found in places that have time distortion</Description>
<Type>Weapon</Type>
<WeaponType>OneHanded</WeaponType>
<CanBeEquipped>1</CanBeEquipped>
<ShopValue>1000</ShopValue>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>AdjustUnitStat</Attribute>
<StrVal>UnitStat_Attack_Cutting</StrVal>
<Value>20</Value>
</GameModifier>
<IsAvailableForSovereignCustomization>0</IsAvailableForSovereignCustomization>
<Liklihood>300</Liklihood>
<RarityDisplay>Rare</RarityDisplay>
<HeroOnly>1</HeroOnly>
<IsAvailableForUnitDesign>0</IsAvailableForUnitDesign>
<Prereq>
<Type>Unitstat_Level</Type>
<Attribute>1</Attribute>
</Prereq>
<AIData AIPersonality="AI_General">
<AIPrefType>AIPrefType_CUTTING</AIPrefType>
<AIPriority>320</AIPriority>
<AIData>
<ArtDef>Tech_CrystalBlade</ArtDef>
<GameItemTypeArtDef InternalName="Tech_CrystalBlade">
<GameItemTypeModelPack InternalName="Broadsword_Masterwork_Default">
<IconFile>W_Broadsword_Masterwork_Icon_01.png</IconFile>
<TintR>15</TintR>
<TintG>53</TintG>
<TintB>230</TintB>
<AttackSFX>Hit_BasicSword1</AttackSFX>
<AttackSFX>Hit_BasicSword2</AttackSFX>
<AttackSFX>Hit_BasicSword3</AttackSFX>
<EquipSFX>Equip_Sword_01</EquipSFX>
<EquipSFX>Equip_Sword_02</EquipSFX>
<EquipSFX>Equip_Sword_03</EquipSFX>
<EquipSFX>Equip_Sword_04</EquipSFX>
<GameItemTypeModel>
<ModelFile>gfx/hkb/Weapons/W_Broadsword_Masterwork_01.hkb</ModelFile>
<Texture_All>gfx/hkb/Weapons/FE_Weapons_01.png</Texture_All>
<Attachment>hand_right_Lcf</Attachment>
<Color_Clothing1>159,181,207</Color_Clothing1>
<Color_Metal>151,151,207</Color_Metal>
</GameItemTypeModel>
</GameItemTypeModelPack>
</GameItemTypeArtDef>
</GameItemType>

3,379 views 3 replies
Reply #1 Top

Oh mate...

<REQtype>Crystal Blade</REQType>
<REQmod>10 Weight 20 Cutting attack</REQmod>

this is just tags I use for my own purposes. They have no effect whatsoever on the game. I only put info there in the Reliquary file so I can generate this webpage automatically http://stormworld.wikidot.com/reliquary

REQ = Reliquary. There's one more called REQicon.

 

 

I see two XML errors in what you have there, it may or may not cause your issue.

<REQtype>Crystal Blade</REQType> - first REQtype then REQType. The T is capital in second. An unclosed tag is always bad.

also final line you have <GameItemType>. This should be </GameItemType> to close the type.

 

If it still doesn't work, please post the whole XML for the weapon.

Reply #2 Top

wow I feel a bit like an idiot now  :(

 

unfortunately the problem is still present

Reply #3 Top

I'll put in comments in the file so people realize those tags are not for anything.