FORUM ARCHIVED

First Mod Trouble - Item

Discussion in 'Modding' started by Zylo, Jun 12, 2012.

  1. Zylo

    Zylo Member

    Alright, working on a simple first mod. I simply want to add a sword to the game. But I'm finding it very hard to test it, because I can't seem to find it! I have been pressing "I" in debug mode trying to randomly obtain it, but im either really unlucky or there is something wrong with my mod.

    Is there a better way to quickly obtain an item you wish to test?

    Also here is my current code in case you guys spot something wrong off the bat. (Top is the mod.xml and bottom is itemDB.xml)
     
  2. Daynab

    Daynab Community Moderator Staff Member

    You can place it in the starting room to test it.
    Open rooms.xml, Starting Room is the first one.

    You can call it with this: http://dredmod.com/wiki/Rooms_Tutorials scroll down to where it says loot for an explanation. You see an example on that page.
     
  3. ProtoMan

    ProtoMan Member

    You can also add it as the loadout for a skillset relatively easily.
     
  4. Zylo

    Zylo Member

    Took a bit of work, but I got that working. Thanks alot!

    Weapon is working perfectly. apparently I was just unlucky.