Zoetrope
March 23rd, 2009, 02:06
I'm currently preparing a Call of Cthulhu module and want to include a graphic in the Personalities sheet, similar to that which is shown with the creatures in the Denizens and Beasts module.
There is no manual way (AFAIK) of doing this, so you have to edit the db.xml file to insert the appropriate path to the graphic you want to use.
The following line works fine when you create the module:
<picture type="token">campaign/tokens/Keeper/Sheriff Whitford_npc.png</picture>
However, the following line doesn't:
<picture type="token">campaign/denizens/Sheriff Whitford_npc.png</picture>
I cribbed the code from looking at the Denizens and Beasts.mod db.xml file, of course! :D
My reason for wanting to keep the graphics OUT of the tokens directory is so they don't pop up in the tokens box once the module is activated. I only want these graphics to appear in the respective Personality sheets because they are a specific size (300x250 pixels) which is of no use to me elsewhere in the module.
Any idea how I can get these graphics to be in the module but not in the tokens box? Why does the reference to the tokens directory work but not any other directory?
Many thanks for your help!
Cheers,
Z
There is no manual way (AFAIK) of doing this, so you have to edit the db.xml file to insert the appropriate path to the graphic you want to use.
The following line works fine when you create the module:
<picture type="token">campaign/tokens/Keeper/Sheriff Whitford_npc.png</picture>
However, the following line doesn't:
<picture type="token">campaign/denizens/Sheriff Whitford_npc.png</picture>
I cribbed the code from looking at the Denizens and Beasts.mod db.xml file, of course! :D
My reason for wanting to keep the graphics OUT of the tokens directory is so they don't pop up in the tokens box once the module is activated. I only want these graphics to appear in the respective Personality sheets because they are a specific size (300x250 pixels) which is of no use to me elsewhere in the module.
Any idea how I can get these graphics to be in the module but not in the tokens box? Why does the reference to the tokens directory work but not any other directory?
Many thanks for your help!
Cheers,
Z