FORUM ARCHIVED

Help mod items cant be found.

Discussion in 'Modding' started by Themaxtr, Mar 28, 2014.

  1. Themaxtr

    Themaxtr Member

    I'm making a new class as a part of my Dr who mod and my custom items cant be found for use in the loadout.
    When i run the xml validator get this error "Line 4, Position: 27 -- The item, 'Fez', was not found." and when i run the game i don't get the item when i chose that skill.

    Here is part of my skillDB.xml

    <skillDB>
    <skill name="The Dr" id="200" type="rogue" description="Place holder.">
    <art icon="sprites/test.png"/>
    <loadout type="armour" subtype="Fez" always="1" amount="1"/>
    </skill>

    And here is my itemsDB.xml

    <itemDB>
    <item name="Fez" iconFile="items/Fez.png">
    <price amount="1500"/>
    <armour level="2" type="head"/>
    <secondarybuff id="9" amount="2"/> <!-- Enemy Dodge Reduction -->
    <secondarybuff id="6" amount="1"/> <!-- Dodge -->
    <secondarybuff id="22" amount="9"/> <!-- Magic Reflect -->
    <resistbuff necromantic="2"/>
    <description text="Fez's are cool."/>
    </item>
    <item name="Bow Tie" iconFile="items/Bow_Tie.png">
    <price amount="2000"/>
    <armour level="1" type="neck"/>
    <secondarybuff id="20" amount="3"/> <!-- Tinkering -->
    <secondarybuff id="20" amount="2"/> <!-- Trap Affinity -->
    <description text="Bow Ties are cool."/>
    </item>
    </itemDB>

    If anyone can help that would be great.
    Thanks.
     
  2. Alistaire

    Alistaire Member

    "And here is my itemsDB.xml"

    It should be "itemDB.xml", not "itemsDB.xml". If that's not a typo.
     
  3. Themaxtr

    Themaxtr Member

    Thank you that was the problem.