-
Notifications
You must be signed in to change notification settings - Fork 77
Adding new items
peonso edited this page Jun 16, 2018
·
10 revisions
Tools that work with old versions were made decades ago, so there are some counter-intuitive steps and interactions, you better follow described steps in order.
- Create a folder and throw in your Tibia.spr and Tibia.dat client files, your items.otb and items.xml server files. Extract in the same folder otitemeditor-0.2.2 (get in this same wiki). Remember to backup your files if something goes wrong.
- Open Tibia.spr using ObjectBuilder (get latest version). Inside ObjectBuilder instead of creating an item from scratch I suggest that you duplicate a similar one (if you are creating a sword, duplicate Spike Sword, for exemple), them import the sprite, and swap the duplicated item sprite for the imported one, make any changes you want to items properties, save the item and compile. You can now close ObjectBuilder.
- Open otitemeditor.exe. Go to
File
, thanImport old...
, select your Tibia.dat file in the same folder and clickOpen
, than select youritems.xml
also in the same folder and again clickOpen
. Now go toFile
andLoad otb...
, select your items.otb andOpen
. It should now be loaded, you will notice that items images don't show and they aren't properly sorted on present categories, that doesn't matter. - Still in otitemeditor, go to
Tools
andCreate missing client items
. It will create added items, try to find your items, they should have the first available ids and match the properties set in ObjectBuilder. Go toFile
andSave as...
, select your items.otb file,Save
and replace it. - Open your items.xml with a text editor (Notepad++ is my suggestion) and add the items (again, copy similar items to make sure you didn't miss an important flag), if you did everything right client and server ids should match, last 7.6-7.72 id is 5089, if properly done your first new item should have id 5090 for both server and client. Save your items.xml file.
- Copy Tibia.spr and Tibia.dat back to your client, items.otb and items.xml to your server, you might also want to copy them to you map editor 760 folder.