PDA

View Full Version : Miniatures Module



tdewitt274
April 13th, 2010, 13:07
I've messed around with this a little, but haven't found the desired effect.

Someone mentioned creating a module for miniatures. What I'd like to do is to have the minis show up in the Token box and in a sub folder named the same as the module. For example:

Token Box
- Harbinger
. - Token 1
. - Token 2
- Deathknell
. - Token 1
. - Token 2
...

I tried creating a module directly from FG and then modified the MOD to have the miniatures in a subfolder, but they didn't appear in the Token Box.

Am I expecting too much, or doing something wrong?

Thanks!

ddavison
April 13th, 2010, 15:43
It is pretty easy to do, but I recommend doing it manually outside of FG. You need a very basic definition.xml file for the module and a thumbnail.png file. Then create a token folder, any sub-folders you want and then place the tokens in there. Zip it up, change the extension to ".mod" and place it in your modules folder. That is the approach we used for the last batch of Fiery Dragon tokens in the store.

MyTokenPack
--definition.xml
--thumbnail.png
--tokens
----fantasy
------harbinger
--------Med-32x32
----------bear_dire_large.png (etc., etc.)
--------Med-50x50
--------Med-75x75
--------Med-100x100

We chose to standardize on [genre]\[product name]\[size]\[token files] for each of ours.

Currently, FG still loads all the tokens into memory but the benefit of breaking them up into smaller modules is that it will presumably only load the packs you've activated instead of your entire library. In addition to that, you can build a massive library of tokens and not have to waste memory loading sci-fi tokens when you are running a fantasy game.

Sample definition.xml


<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.06">
<name>P1-Realm..Troll King</name>
<ruleset>Any</ruleset>
<author>Fiery Dragon Productions Token Pack</author>
</root>



If you only want the token pack to show up as a module for a certain ruleset, just put it in the ruleset element instead of "Any". Unfortunately, we don't support multiple rulesets though.

tdewitt274
April 14th, 2010, 04:38
Hmmm, odd. I've tried this and it did seem to work. The Modules section does not register the .MOD file.

Could it be the cache or something? I've tried with multiple rulesets (using the Any in the definition file as suggested) to no luck.

Thanks for the help!

Tenian
April 14th, 2010, 11:07
Make sure of the following:

1) The Module is a regular zip file. Not a zip-7 or any of those other fancy formats

2) The definition.xml and thumbnail.png are in the root of the zip file. The most common mistake is to zip the folder they are in, which creates a module that has a folder in it's root.

3) Make sure you put the module in the right directory

tdewitt274
April 14th, 2010, 13:46
2) The definition.xml and thumbnail.png are in the root of the zip file. The most common mistake is to zip the folder they are in, which creates a module that has a folder in it's root.


That's where I went wrong. I right clicked on the "Harbinger" folder and zipped that, as opposed to selecting all the files IN the "Harbinger" folder ("tokens", "definition.xml", and "thumbnail.png") before zipping.

Thanks for the help! Now, to revise my folders ...