It is currently 21 Jun 2019, 00:21
   
Text Size

File Name For The Clue Token Image

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, 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: 1092
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 408 times
Been thanked: 148 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: 724
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: 1092
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 408 times
Been thanked: 148 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: 858
Joined: 16 May 2010, 17:19
Has thanked: 155 times
Been thanked: 116 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: 1092
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 408 times
Been thanked: 148 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: 2645
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 261 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: 1092
Joined: 28 May 2008, 22:40
Location: Shandalar
Has thanked: 408 times
Been thanked: 148 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: 19
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: Exabot [Bot] and 6 guests


Who is online

In total there are 7 users online :: 1 registered, 0 hidden and 6 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: Exabot [Bot] and 6 guests

Login Form