Jump to content
  • 0

[Resolved] Custom Card Problem


Question

Posted

I fixed all my custom cards, Item.bmp and Collection.bmp, the only problem is every time I click the card, I always get gravity error...

Can anyone help me solve this prob =/

7 answers to this question

Recommended Posts

Posted (edited)

Can you show me what steps you did to setup and install your custom card. That way it will be easier to track down your issue. I want to know all the client side and server side edits you did.

Here is the list of files I'm aiming for you to respond about:

Core Client Files

- cardprefixnametable.txt

- cardpostfixnametable.txt

- carditemnametable.txt

- idnum2itemdesctable.txt

- idnum2itemdisplaynametable.txt

- idnum2itemresnametable.txt

- num2cardillustnametable.txt

- num2cardillusnametablex.txt

- num2itemdesctable.txt

- num2itemdisplaynametable.txt

- num2itemresnametable.txt

If you used a custom card sprite:

- accessoryid.lua

- accname.lua

Database Files

- item_db2.txt

Item Collection and Drop BMPs

data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/collection

data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/item

Sprite Directory (For custom sprites Only)

data/sprite/¾ÆÀÌÅÛ

Edited by Syouji
Posted (edited)

So what did you put as your idnum2itemresnametable, num2itemresnametable, and view ID in item_db2?

Here is an example of a custom card I made using the same sprites as Gravity.

1. Item_db2:

19058,Red_Eruma_Card,Red Eruma Card,6,20,,10,,,,,,,,136,,,,,{ bonus3 bAutoSpell,"TF_STEAL",5,20;},{},{}

2. Cardprefixnametable

19058#Lovely#

3. Cardpostfixnametable

19058#

4. Idnum2itemdesctable & num2itemdesctable

19058#
Add a 2% chance of using level 5 steal on a monster when attacking.
Class :^777777 Card^000000
Compound on :^777777 Accessory^000000
Weight :^777777 1^000000
#

5. Idnum2itemdisplaynametable & num2itemdisplaynametable

19058#Red_Eruma_Card#

6. Idnum2itemresnametable & num2itemresnametable

19058#À̸§¾ø´ÂÄ«µå#

7. num2cardillusnametable

19058#Æ÷¸µÄ«µå#

8. num2cardillusnametablex

19058#sorry#

Edited by Syouji
Posted

I dont know why you would do that. Its not difficult to make a custom card enry. i just posted how to do it without replacing a card and it still uses the gravity card sprite. If you wish to use a custom sprite as the card then you will need to go into the luas (accessoryid.lua and accname.lua) to define your view ID and then use that in the card item db entry.

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