Jump to content
  • 0

Help with custom wepons please


Tampax

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  10/22/14
  • Last Seen:  

first I managed to add 3 bows and i proceed to add sords,instruments,etc. But only the bows sprite are showing rest of the wepons shows the standard sprites.

 

tryed with 1 sword 1 mace and 1 instrument, none are showing only the bows and only if use between bows ID range...

 

for the sword, and all other wepons that are not bows same result, everything goes well but client loads the default sprite when attacking.

 

test.lub

[1199] = {
        unidentifiedDisplayName = Infinity_Sword",
        unidentifiedResourceName = "Infinity_Sword",
        unidentifiedDescriptionName = {
            },
        identifiedDisplayName = "Infinity_Sword",
        identifiedResourceName = "Infinity_Sword",
        identifiedDescriptionName = {
            },
        slotCount = 1,
        ClassNum = 100
    },

 

weponstable

 

WEAPONTYPE_Infinity_Sword = 100

[Weapon_IDs.WEAPONTYPE_Infinity_Sword] = "_Infinity_Sword"

[Weapon_IDs.WEAPONTYPE_Infinity_Sword] = Weapon_IDs.WEAPONTYPE_TWOHANDSWORD

 

item_db

1199,Infinity_Sword,Infinity_Sword,5,74000,,2500,180,,1,0,0x00004080,7,2,34,3,33,1,1,{},{},{}

 

Im using 2013/08 client.

Sprites are installed good in their respective folders and for test purpuse only for swordman class, If was a sprite issue it would give me missing sprite errors iguess...Seems the client just igores ClassNum 100 and load the default 2hand sprite.

 

tryed so many combinations like setting item ids between old wepons range, or over 16100, tryed to diff again the exe, tryed to give same vewid in db as classnum, and much more that i cant rembember anymore.

 

please help.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

Change this...

[Weapon_IDs.WEAPONTYPE_Infinity_Sword] = "_Infinity_Sword"

 

to your weapon ID that you put in your weapon sprite.

[Weapon_IDs.WEAPONTYPE_Infinity_Sword] = "_1199"

 

example:

If your weapon sprite name was "¼¼ÀÌÁö_³²_30000" just input 30000 under "WeaponNameTable" in weapontable.lub so that your lub can read the weapon sprite you have added.

[Weapon_IDs.WEAPONTYPE_YOURCUSTOMWEAPON] = "_30000"
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...