FORUM ARCHIVED

Need mod help.. again...

Discussion in 'Modding' started by nealpd, Nov 3, 2012.

  1. nealpd

    nealpd Member

    [​IMG]
    I don't understand, I can't figure out the xml validator. here is the snippet of code
    <item name="Micro Sun Flashlight" iconFile="items/microsunflashlight.png" special="1" overrideClassName="Flashlight">
    <price amount="10634"/>
    <armour level=8 type="ring"/>
    <secondarybuff id="18" amount="12"/>
    <damagebuff id="righteous" amount="3"/>
    <description text="Insert description here."/>
    </item>
    craftDB
    <craft hidden="0">
    <output skill="5" name="Micro Sun Flashlight" amount="1" />
    <tool tag="tinkerer"/>
    <input name="Super Flashlight" />
    <input name="Bottled Sun" />
    <input name="Ruby" />
    </craft>
     
  2. Essence

    Essence Will Mod for Digglebucks

    we need the snippet from craftDB.xml as well. :_)
     
  3. nealpd

    nealpd Member

    still need help bump
     
  4. Loren

    Loren Member

    a typical ring has an armor tag as thus:
    Code:
    <armour type="ring" level="4" randoms="0" />
    Maybe add the randoms tag and see what it does? Also, I assume you have the icon in the right place? I'm pretty much just throwing ideas out. I've not done much with items.
     
  5. Essence

    Essence Will Mod for Digglebucks

    OK, if the missing items in your craft scheme are items from your own itemDB, it's probably an XML error somewhere above those items in the DB. Why don't you upload it and we'll take a look?
     
  6. Alistaire

    Alistaire Member

    Code:
    <armour level=8 type="ring"/>
    to

    Code:
    <armour level="8" type="ring"/>
    ----

    Code:
    <damagebuff id="righteous" amount="3"/>
    to

    Code:
    <damagebuff righteous="3"/>