It is currently 18 Apr 2024, 14:10
   
Text Size

How to change path/name for different tokens

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

How to change path/name for different tokens

Postby Qumojo » 03 Jun 2019, 12:41

Example: C13 has three Elementals (1/1 G, 4/4 G and 1/1 R), but they all show up as Elemental.full.jpg, no matter what. Can we edit path to assign different images to each token or do anything solve this issue? It does really bother me.

Thanks.
Qumojo
 
Posts: 31
Joined: 11 Dec 2018, 14:32
Has thanked: 3 times
Been thanked: 2 times

Re: How to change path/name for different tokens

Postby JayDi » 06 Jun 2019, 20:39

Yes, it's possible, but needs to fix in xmage's code -- card's code must setup token name/code.
User avatar
JayDi
 
Posts: 324
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 48 times

Re: How to change path/name for different tokens

Postby JayDi » 27 Sep 2019, 20:59

Code example to add support of multiple images for token:

https://github.com/magefree/mage/commit ... 5b6e70944b
User avatar
JayDi
 
Posts: 324
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 48 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 66 guests


Who is online

In total there are 66 users online :: 0 registered, 0 hidden and 66 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 66 guests

Login Form