It is currently 18 Apr 2024, 22:50
   
Text Size

File Name For The Clue Token Image

Post MTG Forge Related Programming Questions Here

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

File Name For The Clue Token Image

Postby Bog Wraith » 03 Jun 2016, 01:47

I've tried a number of the usual methods for naming the different image files I have for the Clue tokens generated in SOI, but all I keep getting is the Forge generic card image.

Can someone (Sol, :)) please tell me what the file(s) should be named?
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: File Name For The Clue Token Image

Postby KrazyTheFox » 03 Jun 2016, 04:06

I haven't tested it thoroughly, but I've been working on putting the latest set images up for download and have found the following to work in the tokens directory:
Code: Select all
c_clue.jpg
c_clue1.jpg
c_clue2.jpg
c_clue3.jpg
c_clue4.jpg
c_clue5.jpg
c_clue6.jpg
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: File Name For The Clue Token Image

Postby Bog Wraith » 03 Jun 2016, 05:18

KrazyTheFox wrote:I haven't tested it thoroughly, but I've been working on putting the latest set images up for download and have found the following to work in the tokens directory:
Code: Select all
c_clue.jpg
c_clue1.jpg
c_clue2.jpg
c_clue3.jpg
c_clue4.jpg
c_clue5.jpg
c_clue6.jpg
It works, but the only clue token that shows up is the one that is named c_clue.jpg. All the numbered ones have not as yet for me shown up in game conditions. At on time in a game the AI had 4 clue tokens on the Battlefield that were generated by a Tireless Tracker each time it played a land, but all the card images were of the same, the c_clue.jpg file.

I'm glad it works & have no problem with it like this, I just wanted to point out what I've experienced with them so far.

Thanks for your help, you Krazy guy you! 8)
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: File Name For The Clue Token Image

Postby Xitax » 04 Jun 2016, 19:55

KrazyTheFox wrote:I haven't tested it thoroughly, but I've been working on putting the latest set images up for download and have found the following to work in the tokens directory:
Code: Select all
c_clue.jpg
c_clue1.jpg
c_clue2.jpg
c_clue3.jpg
c_clue4.jpg
c_clue5.jpg
c_clue6.jpg
There are only six clues. Suggest leaving out c_clue1.

Anyway, each of the card text files needs a $TokenAltImages parameter. Has this been done in trunk, or do you need them?

Briarbridge Patrol is the only clue creating card not implemented (in beta release at least).
Xitax
 
Posts: 918
Joined: 16 May 2010, 17:19
Has thanked: 183 times
Been thanked: 133 times

Re: File Name For The Clue Token Image

Postby Bog Wraith » 07 Jun 2016, 00:42

Xitax wrote:
KrazyTheFox wrote:I haven't tested it thoroughly, but I've been working on putting the latest set images up for download and have found the following to work in the tokens directory:
Code: Select all
c_clue.jpg
c_clue1.jpg
c_clue2.jpg
c_clue3.jpg
c_clue4.jpg
c_clue5.jpg
c_clue6.jpg
There are only six clues. Suggest leaving out c_clue1.

From testing it now for 2 days I've found that the c_clue.jpg is the one that should be removed. I've kept the jpg files "c_clue1-6" and they have all showed up while playing. This is what so far has worked for me, YMMV! 8)
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: File Name For The Clue Token Image

Postby Marek14 » 07 Jun 2016, 06:50

It's not that simple. It seems that coding for investigate cards is not consistent, which is probably mainly my fault. When I started working on SOI during the previews, it was some time before Wizards revealed that there are 6 clue tokens, so cards that were coded first didn't get them.

Cards that use c_clue and c_clue 2-6: Byway Courier, Confront the Unknown, Drownyard Explorers, Erdwal Illuminator, Fleeting Memories, Gone Missing, Humble the Brute, Press for Answers, Root Out, Survive the Night, Thraben Inspector, Weirding Wood
Cards that use only c_clue: Bygone Bishop, Confirm Suspicions, Daring Sleuth, Declaration in Stone, Expose Evil, Jace's Scrutiny, Magnifying Glass, Ongoing Investigation, Tamiyo's Journal, Tireless Tracker, Trail of Evidence, Ulvenwald Mysteries
Marek14
Tester
 
Posts: 2759
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 296 times

Re: File Name For The Clue Token Image

Postby Bog Wraith » 08 Jun 2016, 00:55

You're right, I had a typo when I wrote my above post up. It should be the c_clue1.jpg that is removed, not the c_clue.jpg. Every once in a while the generic Forge image pic would be generated as a clue. It was in fact the c_clue1.jpg that was causing this to happen.

Thanks for catching this & posting what versions are used for which card as it made me realize & correct my typo! :)
'Twas in the bogs of Cannelbrae
My mate did meet an early grave
'Twas nothing left for us to save
In the peat-filled bogs of Cannelbrae.
User avatar
Bog Wraith
Global Mod 1 (Ret)
 
Posts: 1108
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 425 times
Been thanked: 153 times

Re: File Name For The Clue Token Image

Postby TheOne1977 » 12 May 2019, 08:40

all the writings mentioned above doesn't work for me:

c_clue.jpg
c_clue2.jpg
c_clue3.jpg
c_clue4.jpg
c_clue5.jpg
c_clue6.jpg

any news if something changed in the past 3 years?
TheOne1977
 
Posts: 2
Joined: 11 May 2019, 07:39
Has thanked: 0 time
Been thanked: 0 time

Re: File Name For The Clue Token Image

Postby psly4mne » 29 May 2019, 18:29

TheOne1977 wrote:all the writings mentioned above doesn't work for me:

c_clue.jpg
c_clue2.jpg
c_clue3.jpg
c_clue4.jpg
c_clue5.jpg
c_clue6.jpg

any news if something changed in the past 3 years?
The naming scheme for tokens has changed. I think you want c_a_clue_draw.jpg, c_a_clue_draw2.jpg etc.
psly4mne
 
Posts: 20
Joined: 11 Feb 2019, 18:35
Has thanked: 0 time
Been thanked: 1 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 30 guests


Who is online

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

Login Form