catalinD Moderator


Data inscrierii: 19/Sep/2007 Mesaje: 48
|
Trimis: 19/09/2007 10:37 Titlul subiectului: Adding Custom Items |
|
|
First things first.
Open Notepad
Run your server and log on.
Now where goin to find the open item slots (This is what I call them)
Go in game and use @changelook command to find these.
Example in my server if I do @changelook 325 I get this error.
Code:
---------------------------
Error
---------------------------
Cannot find File : sprite\¾Ç¼¼»ç¸®\³²\³²_±ÇÃÑ.act
---------------------------
OK
---------------------------
Ok now when this error pops up you hit Ctrl+C to copy it, then paste it into your Notpad
Note: You can use any changelook error but sometimes you get the same errored sprites, these duplicates cannot be used unless you hex the clients exe to read another name such as sprite1.spr/sprite1.act. I'll conține that in here later on.
Now that you have the "open item slot" open item_db2.txt in your server files should be in the db folder. If you dont have that then just use your item_db.txt should work the same.
Now add a new line for the item or just copy and paste a item line, it should look somethin like this
Code:
14070,_±ÇÃÑ,Wings of Flames,5,,0,10,,10,,0,2147483647,7,2,1,,1,1,343,{ bonus bAllStats,20;}
Now if your wanderin what is what in that ^ then heres the structure
Code:
ID,Res_Name,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
Now the view is there your open slot goes so in my case it would be 343 and the res_name would be the errored sprites name but with the ³² removed from it. Now your done ServerSide!
P.S. Make sure your use a open itemid because if your don't then this will cause errors such as random item conflicts between the 2 ids, etc.
Now find the .spr, .act, and .bmd files you want to add and to make this easier make a new folder and drag them all into it. Now rename them all to the errored name (With the ³² Removed still) such as (In my case) _±ÇÃÑ.spr, _±ÇÃÑ/act, and _±ÇÃÑ.bmd. Now go to your client and find your data folder. Open it then find "Texture", then find the folder named "À¯ÀúÀÎÅÍÆäÀ̽º" if you dont have this folder then make a new one and name it to that. Now open (Assuming you've made one or already have one) and find the folder named "item" now paste your smaller .bmd in this folder, it should be more then likely 25x25 pixels. Now go back to the "À¯ÀúÀÎÅÍÆäÀ̽º" folder and find collection and paste the bigger bmd in it.
Now that you've added the images its time to add the items. Now go back to your data folder and find "Sprite" open it and find the folder named "¾ÆÀÌÅÛ" (If you don't have this folder then make a new one and rename it to that) Now assuming you have the folder or made it copy and paste the .spr and .act files in it. Now go back to the sprite folder and find (Or make one if you don't have) one named "¾Ç¼¼»ç¸®" Then find the folder named "³²" if you don't have one named this then make one. Now paste the .act and .spr files in here BUT this time rename them and add ³² at the beginning of there names. Now go back to the "¾Ç¼¼»ç¸®" folder and find a folder named "¿©" if you don't have this folder then make one. Now open it and paste the .act and .spr files into here BUT rename them and add ¿© at the beginning of there names.
Now for the last part, Whew long time so far huh?
Go to your data folder again and find these 3 things
idnum2itemdesctable.txt (The description of the items)
idnum2itemdisplaynametable.txt (The items Display Name in game)
idnum2itemresnametable.txt (The resource name of the items .spr/.act)
Open the idnum2itemresnametable.txt first and scroll alllll the way to the bottom. And add a new line.
Example in my case:
Code:
14070#_±ÇÃÑ#
Realize it doesn't have the ³² in it.
Now open idnum2itemdisplaynametable.txt
Now do as you did above but this time but the actual name of the item so in my case
Example:
Code:
14070#Wings of Flame#
Now last but not least lets do idnum2itemdesctable.txt
This is what your items description is.
Example with my wings:
Code:
14070#
Wings made of Flames.
Class :^777777 Wings^000000
Defense :^777777 10^000000
Weight :^777777 10^000000
Applicable Job :^777777 Every Job^000000
#
You can edit these to say what you want.
Now restart your server and log in and check out your new items ^^; Enjoy
If you are wanting to make grfs, I suggest you use grfFactory to pack the grfs and use unbollow to change evertying to korean instead of unicode.
P.S.There is a easier way and its called using Xray client, ill post a guide adding items usin it to. |
|