Results 1 to 1 of 1

Thread: Custom Tokens

  1. #1

    Custom Tokens

    Hello, hopefully, someone has an idea how I could solve this.

    I am working on the script for Pandemic Legacy, which would automate decal placement. The point of the script is to place a custom token on top of a card at the point that you want to add a new decal.
    I have it working for the most part, apart from one element - scale. Different tokens have different size and having one scale setting for all of them looks bad.
    Is there some way to find out what the physical size of the custom token is? It obviously is a function of the image size used for creating a token, but I can't think of any way to check image size either.

    In advance thank you for any help.

    I didn't manage to solve it directly, but I just worked around that issue. To get image size I have written small python script, which parses .json file of the save, looks for all links to images and creates a table of URL to image size.
    If anyone has a better solution I would be very happy to hear it.

    I still have another issue, which I am not sure how to resolve. I can now create decals with right proportion, but whatever I do I can't seem to get decals to be of the same size as the tokens that they are created from.
    Last edited by jakub530; 09-25-2020 at 03:16 PM.

Similar Threads

  1. Replies: 14
    Last Post: 01-22-2016, 06:26 PM
  2. Looking for custom models/tokens
    By Froghut in forum Original Content
    Replies: 10
    Last Post: 09-24-2015, 11:58 AM
  3. Same properties for custom tokens as custom models?
    By FORCEFIELDS in forum Suggestions
    Replies: 0
    Last Post: 08-27-2015, 09:40 AM
  4. Replies: 2
    Last Post: 10-28-2014, 08:03 PM
  5. Custom tokens
    By flamingnova in forum General Discussion
    Replies: 1
    Last Post: 04-25-2014, 12:10 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts