Jump to content
  • 0

how to create my own custom card?


manabeast

Question


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

i been look around in google/eathena cannot found any guide on how to create? any one can teach me?

Link to comment
Share on other sites

18 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

Simple, follow the "How to make a custom item" guide.

Custom_Items

if you know how to use the idnum2resnametable.txt the your fine, copy the text between the "# <text> #" and do it like this.

Ex.

32767#<The Text>#

As for the View Image for card, it is located in

datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºcardbmp

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

(item_db2.txt)

ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,

Refineable,View,{Script},{OnEquip_Script},{OnUnequip_Script}

to

32767,Custom_Card1,Custom Card1,6,0,0,0,0,0,0,0,(Upper=1?),(Gender=2?),(Loc=128 if i wan for assesory?),0,0,

0,0,{Script=effect put here?},{OnEquip_Script=no idea never use},{OnUnequip_Script=no idea never use}

1.i know put in custom item. for card not so sure. same with put in item? let's use a Custom_Card1 with the id 32767(example my card)about type change 6 = Card?

2.about datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºcard.bmp<i cannot found inside my data folder. or you mean i have to put in there? what is the custom card size for the card? if over size wont show in game?

3.for custom item is touch idnum2itemdisplaynametable.txt & idnum2itemdesctable.txt & idnum2itemresnametable.txt and num2itemdesctable.txt & num2itemdisplaynametable.txt & num2itemresnametable.txt.

if for custom card is touch idnum2itemresnametable.txt only? 32767#Custom_Card1#

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  33
  • Reputation:   6
  • Joined:  11/12/11
  • Last Seen:  

The datatextureÀ¯ÀúÀÎÅÍÆäÀ̽ºcard.bmp thing for the image card[the image you see when you press in the magnifier after right click a card] is on the grf even if it works by creating a folder where your ro is installed and add a card.bmp file.

Not sure on the file size but I think they work as the emblems - follow the standard format or they won't show.

How to add a card as a simple guide is:

- add item in item_db2[follow the format in the file]

- name to show in game added in idnum2itemdisplaytable[format - idofcard#Name_Card#]

- info showed in the right click added in idnum2itemdesctable[format - idofcard#

*insert lots of letters and numbers*

Class :^777777 Card^000000

Compound on :^777777 Name_of_place to equip^000000

Weight :^777777 1^000000

#]

- name of the pic to load added in idnum2resnametable[format - idofcard#name_of_the_file_that_has_the_pic#]

- carditemnametable with the id of it only so it exists[format - idofcard#]

- add the name of the prefix of the card if you want to show a prefix when equipped to a item in cardprefixnametable[if you use prefix, you can't use postfix][format - idofcard#Name_of_Prefix_as_Super Pinguin of Doom of#]

- add the name of the postfix of the card if you want to show a postfix when equipped to a item in cardpostfixtable[if you use a postfix, you can't use a prefix][format - idofcard#Name_of_Postfix_as of Clusterfuck O'fobic Plan]

I think it's something like that ._. Not sure at 100% since I don't do this for ages but I think it's something around this...

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

about

1.idofcard - all the card same use this name? this is card sprite name?

2.what is difference between them?cardprefixnametable & cardpostfixtable? no difference? i can use whatever?

3.item_db2 i cannot found card format but found in item_db

[poring card]

4001,Poring_Card,Poring Card,6,20,,10,,,,,,,,16,,,,,{ bonus bLuk,2; bonus bFlee2,1; },{},{}

[what is those thing?] (about 6,20,,10,,,,,,,,16,,,,, what this?)

(4001=id?),(Poring_Card=this one put idofcard?),(Poring Card=custom card name?),6,20,,10,,,,,,,,16,,,,,{ bonus bLuk,2; bonus bFlee2,1; },{},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

cardprefixnametable & cardpostfixtable (prefix, like, "of Resonance", "Lucky") (postfix, if you want it to come at the end)

4001 = id

Poring_Card = English Name ( off my sql tables xD)

Poring Card = Japanese Name

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

i will use this as guide and he using prefix.

http://eathena.ws/bo...hp/t170108.html

i still no understand what is the meaning of prefix and postfix =.="

"anything" that

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

prefix and postfix is the name the card has when u slot it on gear, like when u put turtle general card in a weapon, it will say <name of weapon> of explosion this is a postfix, if u wan ur custom card to appear before the name of the weapon u put it in prefix, if u want it after u put it in postfix.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

cannot edit post now day --"

http://eathena.ws/bo...dex.php/t170108

old post link if who wan see the example.

oh ic... no finaly understand. thank you for helping ^^.

example: turtle general card

Postfix > before put in weapon card side name.

prefix > after put in weapon. the weapon become Explosion Weapon. < "Explosion"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  33
  • Reputation:   6
  • Joined:  11/12/11
  • Last Seen:  

Examples:

Prefix - Badass Knife[1]

Postfix - Knife of Badass[1]

About the {} things:

ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,

Refineable,View,{Script},{OnEquip_Script},{OnUnequip_Script}

from: http://rathena.org/wiki/Custom_Items

Awesome example is the samurai specter card:

{ bonus bIgnoreDefRace,RC_NonBoss; bonus bHPrecovRate,-100; bonus2 bHPLossRate,666,10000; },{},{ heal -999,0; }

{ bonus bIgnoreDefRace,RC_NonBoss; bonus bHPrecovRate,-100; bonus2 bHPLossRate,666,10000; } - what the card does when is attached to a weapon

{} - special effect you get from when you equip the weapon with it

{ heal -999,0; } - special effect you get from when you put the gear with it off

Edited by Triper
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

erm... i already follow but have error. =.="

http://img9.imageshack.us/img9/1828/problem2sy.png

i can finally view the bmp in the view button but the card drop sprites no show + after right click invisible card the boxer image is white blank.

yea i can view my custom bmp. but other all card when view gravity error -.-"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  11/20/11
  • Last Seen:  

i been look around in google/eathena cannot found any guide on how to create? any one can teach me?

ADD ME UP: [email protected]

I'll show it to you in actual. . . Step by Step ..w/ Notepad

I'm willing to help people cause I started doin dev't mode as in Nothing knowledge about Developing RO.

xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

add =P. but i can't do at morning (MY time). i just available this time tomorrow.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  33
  • Reputation:   6
  • Joined:  11/12/11
  • Last Seen:  

You forgot to:

- name of the pic to load added in idnum2resnametable[format - idofcard#name_of_the_file_that_has_the_pic#]

[if I'm not wrong, lazy to check]

just copy something as

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

and change it to

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

and add it in the end of the file.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

may i ask which one is load card sprites? and need put what name for card sprites that in inventory one and when right click image in description beside image not show as well. i think my card sprites in game not show. and making all my other card error when view. >.>" now i just can view custom card all card error -,-? why

by the way

- carditemnametable with the id of it only so it exists[format - idofcard#]

in this post dun have write about anything about carditemnametable.txt < are this i need too?

http://www.eathena.ws/board/index.php?showtopic=263204

i think my problem come from here idnum2itemresnametable.txt and num2itemresnametable.txt (are this read card sprites?)

i put like this. (my custom card name Jinn_Card and Wish_Card)

//CUSTOM MANA CARD

17000#Jinn_Card#

17001#Wish_Card#

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

problem solve. how to fix all my server card error when right click and click the view button? now my custom card become no problem. but other card all problem -.-"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

The file for the .bmp entry if you right-click > "View" is num2cardillustnametable.txt

"À̸§¾ø´ÂÄ«µå" is the entry for the resnametables, which Triper mentioned already, which shows the sprite of the card, same for every card, except you wanna use a special one.

carditemnametable.txt is (in my opinion) a referance for the client how to deal with that item.

Just put the ID and an "#" like the ones above.

Here is an example of one my cards:

item_db2.txt:

25019,Soldier_Crunch_Card,Soldier Crunch Card,6,,10,10,,,,,,,,16,,,,,{ bonus bHPrecovRate,20; bonus bMaxHPrate,-50; bonus bShortWeaponDamageReturn,50; },{},{}

the 16 is like for the equipment, in this case in which it should be able to compound on > 16=Armor

Here is the referance - taken from "doc/item_db.txt"

Note: I used the files of 3CeAM SVN 596, so it may me outdated, in case it has been changed^^.

Loc: Equipment's placement. Values are:

2^8 256 = Upper Headgear

2^9 512 = Middle Headgear

2^0 001 = Lower Headgear

2^4 016 = Armor

2^1 002 = Weapon

2^5 032 = Shield

2^2 004 = Garment

2^6 064 = Footgear

2^3 008 = Accessory 1

2^7 128 = Accessory 2

carditemnametable:

25019#

cardpostfixnametable.txt:

25019#

cardprefixnametable.txt:

25019#of Crunching Rippa#

Armor Name will be:

(ep.: Glittering Jacket)

Glittering Jacket of Crunching Rippa

idnum2itemdisplaynametable.txt & num2itemdisplaynametable.txt:

25019#Soldier Crunch Card#

idnum2itemdesctable.txt & num2itemdesctable.txt:

25019#
HP Rate -50%.
HP Recovery + 20%.
Reflect 50% of Physical Damage
Compound on :^777777 Armor^000000
Weight :^777777 1^000000
#

idnum2resnametable.txt & num2resnametable.txt:

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

num2cardillustnametable.txt - Since I don't have a custom bmp > I used this:

25019#custom#

datatextureÀ¯ÀúÀÎåÍÆÄÀ̽ºcardbmp:

custom.bmp

I hope I was able to help :D.

Regards,

Chris

Edited by llchrisll
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

ok, i try delete the num2cardillustnametable.txt the problem gone. but the problem run to custom card cannot view anymore. i think becos my num2cardillustnametable.txt < inside are empty just have my custom card. where can i get full list of

-num2cardillustnametable.txt?

-carditemnametable.txt?

because my client no come with those two.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

yes. i find the problem. the problem come from -num2cardillustnametable.txt & carditemnametable.txt.

becos i go create new text for them. the guide no say cannot create. i extract from kro. now it's work. if i wrong pls correct me.

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