CarstenB
May 9th, 2017, 20:19
Hi all,
I tried to add new cards to the adventure deck. Everything fine so far (card is available, it is put to the right set of cards, if it is drawn, the text (e.g. what effect the card has) is displayed, but the images are not there (empty space, you can`t see the card in the character sheet, you just get the name if you hover above it with the mouse).
The image file is created, with the correct pixel range, adventuredeckconfig.lus is modified, graphics.xml-file is adapted, the pictures are loaded in the grpahics/cards/ - folder.
The card is called "Ghostblade". In the adventuredeckconfig.lua, the "image="" " should be correct, as this refers to the "big picture" when you double-click on the card. Could be a problem with the XML-File, I have no idea.
Any ideas are welcome, thanks for your efforts in advance...!
__________________________________________________ __________________________________________________ __
details of the files (card "Send in the Clones" put form reference, a standard, not-customied and working card):
adventuredeckconfig.lua:
ScifiCards = {
["SendintheClones"] = { name = "Send in the Clones", effect = "Play when your character is Incapacitated. The character dies immediately and an unharmed duplicate (or is it the original...) appears on his next initiative.", image = "refimage.cards.sendintheclones@Adventure Deck" },
["Ghostblade"] = { name = "Ghostblade", effect = "Play this card before the first round of a battle. For the duration of the battle, you can now use the Ghostblade, which does STR+2d6 etheral damage, which can also harm beings that are not vulnerable to normal weapons.", image = "" },
}
graphics.xml-file:
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- -->
<!-- To include new cards, first create the images as outlined in the graphics/cards/README.txt file, then create entries here -->
<!-- -->
<!-- Each card should have two lines, one for the full-sized card called CARDNAME (e.g. the name of the card), and the other -->
<!-- should be CARDNAME-drag, for the draggable smaller-sized card -->
<!-- -->
<root version="2.9">
<icon name="Ghostblade" file="graphics/cards/Ghostblade.jpg" />
<icon name="Ghostblade-drag" file="graphics/cards/Ghostblade_drag.jpg" />
</root>
names of the files in the adventuredeckconfig/graphics/card - file:
Ghostblade.jpg
Ghostblade_drag.jpg
__________________________________________________ ________________________________________________
I tried to add new cards to the adventure deck. Everything fine so far (card is available, it is put to the right set of cards, if it is drawn, the text (e.g. what effect the card has) is displayed, but the images are not there (empty space, you can`t see the card in the character sheet, you just get the name if you hover above it with the mouse).
The image file is created, with the correct pixel range, adventuredeckconfig.lus is modified, graphics.xml-file is adapted, the pictures are loaded in the grpahics/cards/ - folder.
The card is called "Ghostblade". In the adventuredeckconfig.lua, the "image="" " should be correct, as this refers to the "big picture" when you double-click on the card. Could be a problem with the XML-File, I have no idea.
Any ideas are welcome, thanks for your efforts in advance...!
__________________________________________________ __________________________________________________ __
details of the files (card "Send in the Clones" put form reference, a standard, not-customied and working card):
adventuredeckconfig.lua:
ScifiCards = {
["SendintheClones"] = { name = "Send in the Clones", effect = "Play when your character is Incapacitated. The character dies immediately and an unharmed duplicate (or is it the original...) appears on his next initiative.", image = "refimage.cards.sendintheclones@Adventure Deck" },
["Ghostblade"] = { name = "Ghostblade", effect = "Play this card before the first round of a battle. For the duration of the battle, you can now use the Ghostblade, which does STR+2d6 etheral damage, which can also harm beings that are not vulnerable to normal weapons.", image = "" },
}
graphics.xml-file:
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- -->
<!-- To include new cards, first create the images as outlined in the graphics/cards/README.txt file, then create entries here -->
<!-- -->
<!-- Each card should have two lines, one for the full-sized card called CARDNAME (e.g. the name of the card), and the other -->
<!-- should be CARDNAME-drag, for the draggable smaller-sized card -->
<!-- -->
<root version="2.9">
<icon name="Ghostblade" file="graphics/cards/Ghostblade.jpg" />
<icon name="Ghostblade-drag" file="graphics/cards/Ghostblade_drag.jpg" />
</root>
names of the files in the adventuredeckconfig/graphics/card - file:
Ghostblade.jpg
Ghostblade_drag.jpg
__________________________________________________ ________________________________________________