Cards
Note: This will only explain the client side.
Adding your own cards is no different than an regular ETC item.
Like explained in the Basic Setup, you need the basic description in your itemInfo.lub.
They only have a global sprites/texture files by official means,
if you have custom card sprites, of course you are free to use those instead.
ANSI encoding:
* unidentifiedResourceName = "À̸§¾ø´ÂÄ«µå",
* identifiedResourceName = "À̸§¾ø´ÂÄ«µå",
EUC-KR encoding:
* unidentifiedResourceName = "이름없는카드",
* identifiedResourceName = "이름없는카드",
Additionally to the itemInfo.lua, there are 4 .txt files in the data folder,
which are responsible for the cards.
Without those, you cards won't be recognized by the client as cards, but regular ETC items.
carditemnametable.txt
Based on my tests it used to be important in very old clients,
to tell the clients which items are cards.
I tested back to 2015-10-29 (where custom cards don't work regarding prefixes,
rest worked tho), and no client really needed that file.
Format:<ID>#
per cardcardpostfixnametable.txt
This file is responsible if you want your "prefix" after the Item Name,
likeof Champion
for a Roda Frog Card.
Format:<ID>#
per Cardcardprefixnametable.txt
This file is for the prefixes, by default they are placed before the Item Name,
unless you put an entry incardpostfixnametable.txt
.
Format:<ID>#<Prefix>#
per Cardnum2cardillustnametable.txt
If you have an illustration aka image, this is the file for it.
The .bmp for it has to be placed indata\texture\À¯ÀúÀÎÅÍÆäÀ̽º\cardbmp\
folder.
In case you don't have one, don't worry, just usesorry
(<ID>#sorry#
) as placeholder.
Format:<ID>#<File Name>#
per Card (without .bmp)