Jump to content
  • 0

[Resolved] Custom Card Problem


WhatFT

Question


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

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 =/

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I did that all but I don't have any custom_card.spr or any .spr or .act files... They told me that custom cards doesn't need sprites and act anymore =/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

yeah follow Syouji Step

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

Can I just replace the main cards in the server? Some useless cards? Just changed their ID # in resnametables?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

It's done already. There is no accessory.lua needed XD Thanks !

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