WhatFT Posted March 15, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Share Posted March 15, 2012 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 =/ Quote Link to comment Share on other sites More sharing options...
Syouji Posted March 15, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted March 15, 2012 (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 March 15, 2012 by Syouji Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 16, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 16, 2012 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 =/ Quote Link to comment Share on other sites More sharing options...
Syouji Posted March 16, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted March 16, 2012 (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 March 16, 2012 by Syouji Quote Link to comment Share on other sites More sharing options...
PapaZola Posted March 17, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Share Posted March 17, 2012 yeah follow Syouji Step Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 17, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 17, 2012 Can I just replace the main cards in the server? Some useless cards? Just changed their ID # in resnametables? Quote Link to comment Share on other sites More sharing options...
Syouji Posted March 18, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted March 18, 2012 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. Quote Link to comment Share on other sites More sharing options...
WhatFT Posted March 18, 2012 Group: Members Topic Count: 142 Topics Per Day: 0.03 Content Count: 511 Reputation: 7 Joined: 02/15/12 Last Seen: April 11, 2014 Author Share Posted March 18, 2012 It's done already. There is no accessory.lua needed XD Thanks ! Quote Link to comment Share on other sites More sharing options...
Question
WhatFT
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.