Jump to content
  • 0

[Resolved] Weapon Sprite Location in data dir?


pojiejapan

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

I've made a custom spr and act for some weapon.

I've made the description bmp. Drop spr. Equipment bar spr. and act. But where to put it

data/spr ??

data/texture ??

can someone tell me?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  201
  • Reputation:   47
  • Joined:  11/17/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  201
  • Reputation:   47
  • Joined:  11/17/11
  • Last Seen:  

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.)

Link to comment
Share on other sites

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.

×
×
  • Create New...