Newbie Spellweaver
- Joined
- Mar 1, 2011
- Messages
- 94
- Reaction score
- 25
In this guide we will walk you through out the complete process on how to add a custom item to your server using Renewal Client.
Let's download some necessary tools first and extract them to wherever you want.
Open your GRF using GRF Tool ( I won't go into details about this one since its pretty much basic ) and extract the following files
Now here's the folder structure that you should have. Other files or folders that are not listed below, delete it.
Now that the client folders are ready. Let's start grabbing our server files, for this you will need to open your item_db2.txt inside the db folder in your server files.
For this example we will add Malayan Ears to our server. Open item_db2.txt and add the following lines
We started our item id at 30000, our view id at 1200 and the position of the headgear is 512 (mid). I won't go into details regarding creating an entry to the database.
Now that our server has the item entry, we need to add necessary client files to our client for it to be usable by everyone.
Let's first open our lua files\datainfo\accessoryid.lua
You will notice that there is a gap between the view id of 728 and 1200(malayan ears) Its for easy reading and tracing where you started your custom items entry.
Also, use that format "ACCESSORY_MALAYAN_EARS = 1200,"
1200 being our view id.
save that and close
Then, let's open "lua files\datainfo\accname.lua"
You will notice there's an entry of "_malayanears"
malayanears is our sprite name, keep the format intact by following it "_spritenamehere"
Now let's add our sprite files
Drop Sprite should be place in..
Now for Male and Female folders
NOTE: for male and female folders add a prefix to your sprite filenames
Now, lets add the the files for texture folder
For our collection image ( the image when you right click the item ingame)
for our item image (the image inside your inventory)
------------------------------------------------------
Now that the files are inside their necessary folders, It's time to add the entries to our txt files in our client.
Now everything is done. All you need is to patch it to your client using your favorite patcher
If you have questions, please post here.
Let's download some necessary tools first and extract them to wherever you want.
-
You must be registered to see links
-
You must be registered to see links
Open your GRF using GRF Tool ( I won't go into details about this one since its pretty much basic ) and extract the following files
Now here's the folder structure that you should have. Other files or folders that are not listed below, delete it.
- for Lua Files: "lua files\datainfo\"
- for Sprite Folder: "sprite\¾ÆÀÌÅÛ" and "sprite\¾Ç¼¼»ç¸®\¿©" and "sprite\¾Ç¼¼»ç¸®\³²"
- for texture: "texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection" and "texture\À¯ÀúÀÎÅÍÆäÀ̽º\item"
Now that the client folders are ready. Let's start grabbing our server files, for this you will need to open your item_db2.txt inside the db folder in your server files.
For this example we will add Malayan Ears to our server. Open item_db2.txt and add the following lines
30000,malayanears,Malayan Ears,5,5000,,500,,1,,0,0xFFFFFFFF,7,2,512,,0,0,1200,{},{},{}
Now that our server has the item entry, we need to add necessary client files to our client for it to be usable by everyone.
Let's first open our lua files\datainfo\accessoryid.lua
You will notice that there is a gap between the view id of 728 and 1200(malayan ears) Its for easy reading and tracing where you started your custom items entry.
Also, use that format "ACCESSORY_MALAYAN_EARS = 1200,"
1200 being our view id.
save that and close
Then, let's open "lua files\datainfo\accname.lua"
You will notice there's an entry of "_malayanears"
malayanears is our sprite name, keep the format intact by following it "_spritenamehere"
Now let's add our sprite files
Drop Sprite should be place in..
sprite\¾ÆÀÌÅÛ
sprite\¾Ç¼¼»ç¸®\¿©
sprite\¾Ç¼¼»ç¸®\³²
sprite\¾Ç¼¼»ç¸®\³²
"¿©_"
"³²_"
without double quotes of course lol
"³²_"
without double quotes of course lol
Now, lets add the the files for texture folder
For our collection image ( the image when you right click the item ingame)
texture\À¯ÀúÀÎÅÍÆäÀ̽º\collection
for our item image (the image inside your inventory)
texture\À¯ÀúÀÎÅÍÆäÀ̽º\item
------------------------------------------------------
Now that the files are inside their necessary folders, It's time to add the entries to our txt files in our client.
- idnum2itemdesctable.txt -contains the description of the item when you right click them
- idnum2itemdisplaynametable.txt - the name of the item
- idnum2itemresnametable.txt - the sprite name of the item
- itemslotcounttable.txt - if you are making a slotted item, you need to edit this to correctly display the slot
Now everything is done. All you need is to patch it to your client using your favorite patcher
If you have questions, please post here.