Help with items
I'm trying to create custom items for my server, and i have had minimal success.
I overwrote one item because i could not figure out how to assign it to the right class/race, and when i tried to just create a new weapon, it was an unusable bag the did a LOT of damage. Is there an item editor that creates the row for you to insert, or at least a chart i can refer to or something when making an item, or am i stuck picking attributes off of other items? (I tried to download the item editor that comes up on this site when you search the forums, but the page is dead.) |
Classes and races are set like bitfields in the items table. They use a power of two to specify which class/race can equip the item. From classes.h and races.h we can see the values (I took them out of alphabetical order for readibility).
Code:
#define warrior_1 1 Code:
#define human_1 1 Look on the wiki or search the forums for a list of item types. I have seen a few. |
There are a couple great editors out there that can handle the grunt work of DB manipulation for you, which is somthing that I reccomend you use first to get a feel for things.
First one is Kayot's Editor. It can edit a multitude of things in the db. It has some quirks, but is a very nice editor. Next would be all of GeorgeS tools. He has made countless tools for you to use and I recommend you try them out. Kayot's Page GeorgeS Page |
All times are GMT -4. The time now is 10:29 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.