Page 3 of 3

Re: Token image downloading

PostPosted: 22 Oct 2011, 12:46
by slapshot5
The token code auto-generates an image name based on color, P/T, and cardname.

Generally, anything like "creates a green 3/3 Beast token" will work fine with no ImageName$ param. The param is just an override for what is auto-generated.

-slapshot5

Edit: spelling

Re: Token image downloading

PostPosted: 25 Oct 2011, 05:35
by slapshot5
Status update:
Everything that I know about is checked in. Please report any bugs here.

-slapshot5

Gui_DownloadPictures_LQ downloads:
1. token images
2. SVar:Picture

Gui_DownloadSetPictures_LQ downloads:
1. token images
2. SetInfo pictures

GuiDownloadQuestImages downloads:
1. Quest opponent icons
2. pet shop icons
3. pet shop token images
4. booster images

Re: Token image downloading

PostPosted: 25 Oct 2011, 12:07
by Chris H.
Reporting a minor bug.

The following three files were downloaded to my /res/pics/icons/ folder:

w_0_1_bird_pet._smalljpg
w_1_1_bird_pet._smalljpg
w_2_1_bird_pet._smalljpg

The string "_small" was apparently added after the period rather than before the period. A minor misspelling. :)

Re: Token image downloading

PostPosted: 25 Oct 2011, 12:14
by slapshot5
Chris H. wrote:Reporting a minor bug.

The following three files were downloaded to my /res/pics/icons/ folder:

w_0_1_bird_pet._smalljpg
w_1_1_bird_pet._smalljpg
w_2_1_bird_pet._smalljpg

The string "_small" was apparently added after the period rather than before the period. A minor misspelling. :)
fixed. Thanks Chris.

-slapshot5

Re: Token image downloading

PostPosted: 25 Oct 2011, 12:17
by Chris H.
The deck "Chief Clancy Wiggum 1.dck" does not assign an icon name. I would suggest that we:

1] Rename the "Chief_Wiggum.jpg" icon to "Chief Clancy Wiggum.jpg"

2] Assign the icon to the "Chief Clancy Wiggum 1.dck" file. The icon line should state "Icon=Chief Clancy Wiggum.jpg"

I think that my suggestion is consistent with the current system of matching deck files to icons. :)

Re: Token image downloading

PostPosted: 25 Oct 2011, 12:23
by Chris H.
Sloth renamed the deck Wally 2 back to Walle 2. The deck file now has "Icon=Walle.jpg" so I guess that the icon file itself should be renamed to match.

Re: Token image downloading

PostPosted: 25 Oct 2011, 12:56
by moomarc
Chris H. wrote:Sloth renamed the deck Wally 2 back to Walle 2. The deck file now has "Icon=Walle.jpg" so I guess that the icon file itself should be renamed to match.
The server already has both walle.jpg and wally.jpg so there should be no need to change anything (I checked the download links too and both are present there).

One problem I've come across is that the pet shop and nursery items are expected to be square. I think this is from a while back when I had more time to work on the pet artwork, but I didn't think it was committed to the main build. So I'll create new icons as soon as possible.

Re: Token image downloading

PostPosted: 25 Oct 2011, 14:08
by Chris H.
moomarc wrote:One problem I've come across is that the pet shop and nursery items are expected to be square. I think this is from a while back when I had more time to work on the pet artwork, but I didn't think it was committed to the main build. So I'll create new icons as soon as possible.
`
I think that the square sized icons was part of Fnoed's work on the quest mode. I think that I increased the size from 40 x 40 to 80 x 80 to give you a few more pixels to work with. :-k

Take your time, no need to rush. :)

Re: Token image downloading

PostPosted: 25 Oct 2011, 14:51
by moomarc
I remember that now. Well I've done the birds (shop icons at least). You'll only ever see the 1st three levels though because at the moment no icon is shown until you've bought the first level, then the icon is shown for the level you own, then no icons are shown once you've upgraded to the maximum level. If anyone has time and knows where to look, would it be possible to instead have the icons indicating what is 'for sale' instead. That way there's no blank icons when you open the pet store or nursery.

Bird-pet-icon.gif
Bird icon levels
Bird-pet-icon.gif (18.21 KiB) Viewed 1959 times
So here it is (in case anyone wanted to know what they'd be getting from the server. Should be on the server shortly.

Re: Token image downloading

PostPosted: 26 Oct 2011, 13:14
by moomarc
The token images in-game are broken all of a sudden. I've tested both automatically created tokens and ones where the token name is stated implicitly in the card script (eg Devastating Summons). Issue 494

Re: Token image downloading

PostPosted: 26 Oct 2011, 13:38
by Hellfish
I'm looking into it, since it's probably the multistate work that broke em.

Re: Token image downloading

PostPosted: 30 Oct 2011, 20:26
by Sloth
I used the "Download Quest Image" button and even though he tells me "all card pictures have been downloaded", I'm missing Wonder Woman.jpg, Wyatt Earp.jpg and Zombie Attack.jpg.

Re: Token image downloading

PostPosted: 30 Oct 2011, 22:09
by slapshot5
Sloth wrote:I used the "Download Quest Image" button and even though he tells me "all card pictures have been downloaded", I'm missing Wonder Woman.jpg, Wyatt Earp.jpg and Zombie Attack.jpg.
That's because I'm bad at copy and paste apparently. Fixed now.

-slapshot5