It is currently 16 Apr 2024, 14:24
   
Text Size

Token Images

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Token Images

Postby pipsqueak » 15 Apr 2020, 04:49

I'm attempting to set up token scripts for a card that produces a clue. Currently, the script creates the token, but the token's image doesn't show up properly.
Code: Select all
A:AB$ Token | Cost$ 2 T | TokenAmount$ 1 | TokenScript$ Clue_AGC | TokenOwner$ You | TokenImage$ Clue AGC | SpellDescription$ Investigate (Create a colorless Clue artifact token with "{2}, Sacrifice this artifact: Draw a card.")
My tokenscripts includes a file named "Clue_AGC.txt" which looks like this:
Code: Select all
Name:Clue
ManaCost:no cost
Types:Artifact Clue
A:AB$ Draw | Cost$ 2 Sac<1/CARDNAME> | NumCards$ 1 | SpellDescription$ Draw a card.
Oracle:{2}, Sacrifice this artifact: Draw a card.
My pics/tokens folder includes a file named "Clue_AGC.full.jpg"

What am I doing wrong? I'm on Mac OSX and on the latest version of Forge. Canon token images show up, just not these ones.
pipsqueak
 
Posts: 5
Joined: 12 Apr 2020, 21:43
Has thanked: 0 time
Been thanked: 0 time

Re: Token Images

Postby pipsqueak » 15 Apr 2020, 20:37

Got it working. Forge doesn't like capitals in the file names.
pipsqueak
 
Posts: 5
Joined: 12 Apr 2020, 21:43
Has thanked: 0 time
Been thanked: 0 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 42 guests


Who is online

In total there are 42 users online :: 0 registered, 0 hidden and 42 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 42 guests

Login Form