Jump to content
  • 0

[Resolved] Weapon Sprite Location in data dir?


Question

6 answers to this question

Recommended Posts

  • 0
Posted (edited)

I have made 4 files

CustomWeapon.spr

CustomWeapon.act

CustomWeapon.bmp

CustomWeapon.bmp (Images when description)

I've have edit the txt :

idnum2itemdesctable

iidnum2itemdisplaynametable

idnum2itemresnametable

itemslotcounttable

num2itemdesctable

num2itemdisplaynametable

num2itemresnametable

Here is the item_db2

13429,Custom_Weapon,Custom Weapon,4,100,,500,25,,1,3,0x000654E3,7,2,2,1,2,1,2,{},{},{}

when I start and reload it. I got the item, the slot is correct, the description is correct. But I dont see any picture at the next to the description, no picture at inventory and when I double click I crash the RO. Can help on this?

Edited by Brian
*merged multiple topics
  • 0
Posted

This wiki page explains the data folder: [wiki]Data_Folder_Structure[/wiki]

description image ..datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºcollectionfilename.bmp

drop sprite ..datasprite¾ÆÀÌÅÛfilename.act (and filename.spr)

inventory image ..datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºitemfilename.bmp

  • 0
Posted

Sir

I have made 4 files

CustomWeapon.spr

CustomWeapon.act

CustomWeapon.bmp

CustomWeapon.bmp (Images when description)

I've have edit the txt :

idnum2itemdesctable

iidnum2itemdisplaynametable

idnum2itemresnametable

itemslotcounttable

num2itemdesctable

num2itemdisplaynametable

num2itemresnametable

then I repack and made a GRF

Here is the item_db2

13429,Custom_Weapon,Custom Weapon,4,100,,500,25,,1,3,0x000654E3,7,2,2,1,2,1,2,{},{},{}

when I start and reload it. I got the item, the slot is correct, the description is correct. But I dont see any picture at the next to the description, no picture at inventory and when I double click I crash the RO. Can help on this? I just can't find a way to connect the spr with a command. Am I supposed to edit the acc lua and acc id lua? Because I read and all the items are headgears? I just want to use the spr on the desc and inventory but still using the normal sword spr when attacked.

I hoped you can help me sir

  • 0
Posted (edited)

The custom image next to the description should be in the collection folder. And make sure the name is exactly how it should be.

Also, for custom headgears, you need to edit the lua files as well.

Edited by Truly
  • 0
Posted

datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºcollection_Lothar.bmp

there is the location. and the item_db

13429,_Lothar,Lothar,4,100,,500,25,,1,3,0x000654E3,7,2,2,1,2,1,2,{},{},{}

I just want to make the description, the drop spr, the inventory spr looks like I wanted. But when player attack I wanted it to look like a normal sword.

  • 0
Posted

I noticed you have this question in another topic, and this is not the first time you have done this. Please refrain from asking the same question multiple times, when it is first asked, it will be seen. There is no need for making more then 1 post about it.

Now with this problem could you post what you have in those files?

idnum2itemdesctable
iidnum2itemdisplaynametable
idnum2itemresnametable
itemslotcounttable
num2itemdesctable
num2itemdisplaynametable
num2itemresnametable

Also a side note here, if i remember correctly, when you try to add custom weapons, you must take an unused id from the listings of weapons not used. For example, and unused katar ID is 1287. This may be one of your problems, it may not. This was a problem for me as well.

Reference to unused weapon IDs: [wiki]Custom_Items[/wiki] Bottom of the page.

(If there is another method to using custom IDs, i am not aware of it so i cannot help too much there.)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...