Implementing variants
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Implementing variants
by friarsol » 29 Nov 2012, 04:18
Does the Vanguard box display the Vanguard cards you choose so I can actually see what I'm playing? I'm not sure I have the pictures, so if the pictures should be displayed, I wouldn't notice it. Maybe it'd be better to be a CardDetailPanel?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Implementing variants
by moomarc » 29 Nov 2012, 06:49
No, it doesn't display anything even if you have the images. I've also wanted the cardDetailPanel there to help with selection, but it's a little too advanced for me to add. One other tiny thing that bothers me a tiny bit is the blue tab box that isn't linked up to the theme's color palette.friarsol wrote:Does the Vanguard box display the Vanguard cards you choose so I can actually see what I'm playing? I'm not sure I have the pictures, so if the pictures should be displayed, I wouldn't notice it. Maybe it'd be better to be a CardDetailPanel?
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Implementing variants
by moomarc » 29 Nov 2012, 07:07
I also created the images on Cardforge from the HQ pics, I just left the slight black trim and used the alternate art for the online avatars using the namesake's image. I also saved mine slightly larger (300x425) seeing as the information tends to be smaller and there's not as many images so size isn't as much of an issue (although I did limit them to arouns 80kb).Chris H. wrote:I have a local copy of the CCGH HQ avatar pics on my hd. I removed the border and then scaled the pics down to the LQ size of 200 x 285 pixels and saved them at 100%.
Marc, can you take a look at these as they may be better than a few of the pics located at cardforge and you may want to use mine instead:
So do you want me to replace the images on cardforge for the set download, or do you want them up in a separate folder so that the LQ download can download from cardforge instead of the horrid ones from wizards?
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Implementing variants
by Hellfish » 29 Nov 2012, 07:36
I am trying to add a detail panel but the layoutmanager is fighting me every step of the way.As for the tab panel ignoring the skin, I think I can fix that tonight.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Implementing variants
by Chris H. » 29 Nov 2012, 11:52
moomarc wrote:I also created the images on Cardforge from the HQ pics, I just left the slight black trim and used the alternate art for the online avatars using the namesake's image. I also saved mine slightly larger (300x425) seeing as the information tends to be smaller and there's not as many images so size isn't as much of an issue (although I did limit them to arouns 80kb).
So do you want me to replace the images on cardforge for the set download, or do you want them up in a separate folder so that the LQ download can download from cardforge instead of the horrid ones from wizards?
I do not use the set images nor do I download them. I imagine that these are probably OK on cardforge. I use each daily snapshot build to play for fun and to run tests. I do not use the set images in order to simplify the daily updating of my local snapshot copy.
Good point about the horrid ones from wizards though. That must be what I saw yesterday.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Implementing variants
by moomarc » 29 Nov 2012, 12:00
That makes sense now. I'll upload the additional LQ Vanguard set and update the picture links sometime before the beta release tomorrow. Should have done that in the first place when I saw the Wizards images I guess.Chris H. wrote:I do not use the set images nor do I download them. I imagine that these are probably OK on cardforge. I use each daily snapshot build to play for fun and to run tests. I do not use the set images in order to simplify the daily updating of my local snapshot copy.
Good point about the horrid ones from wizards though. That must be what I saw yesterday.
Any preferences with regards to the UDON avatar pics over the ones using the namesake's art? I personally prefer the traditional art so I already have those images prepped, but that's only 1 vote. If anyone cares, cast your vote before this evening so I have a bit of time to make the changes if necessary.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Implementing variants
by Chris H. » 29 Nov 2012, 12:14
moomarc wrote:That makes sense now. I'll upload the additional LQ Vanguard set and update the picture links sometime before the beta release tomorrow. Should have done that in the first place when I saw the Wizards images I guess.
Any preferences with regards to the UDON avatar pics over the ones using the namesake's art? I personally prefer the traditional art so I already have those images prepped, but that's only 1 vote. If anyone cares, cast your vote before this evening so I have a bit of time to make the changes if necessary.
Thank you.
When I searched my local copy of the CCGH HQ cards I noticed that some of the avatars had two pictures, I guess that you may be referring to this? I seem to remember some of them had "Avatar" and some of them had "Vanguard Avatar" printed on the card. Not sure if it matters.

I will let you decide on which to use.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Implementing variants
by friarsol » 29 Nov 2012, 13:04
Yea the layoutmanagers aren't very helpful. I'll try to take a look tonight, but don't think I'll be able to fix it before release.Hellfish wrote:I am trying to add a detail panel but the layoutmanager is fighting me every step of the way.As for the tab panel ignoring the skin, I think I can fix that tonight.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Implementing variants
by Hellfish » 29 Nov 2012, 13:15
Please do. MigLayout touts itself as th most flexible manager but I'll be damned if it' s easy to use.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Implementing variants
by moomarc » 29 Nov 2012, 16:48
I've prepped and uploaded all the LQ vanguard images for the non-set download. Have to leave for a family dinner now though, so will update the Picture urls in the morning.
On a different topic, I think I know what the first quest challenge can be implementing Vanguard. Simply give the human the Morinfen Avatar and let him/her try kill the AI before killing themselves. That 30 life boost just doesn't cut it. You wouldn't need to give the AI more than a few defensive creatures. For questers playing on the hardest difficulty you could give the AI a Vanguard avatar too, something like Serra. The challenge would have to become available only after the player has boosted their starting life to at least 20.
On a different topic, I think I know what the first quest challenge can be implementing Vanguard. Simply give the human the Morinfen Avatar and let him/her try kill the AI before killing themselves. That 30 life boost just doesn't cut it. You wouldn't need to give the AI more than a few defensive creatures. For questers playing on the hardest difficulty you could give the AI a Vanguard avatar too, something like Serra. The challenge would have to become available only after the player has boosted their starting life to at least 20.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Implementing variants
by moomarc » 30 Nov 2012, 07:03
Don't know how you get through life without the set images!Chris H. wrote:I do not use the set images nor do I download them.


Oh, and the new urls are in.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Implementing variants
by Chris H. » 30 Nov 2012, 11:18
moomarc wrote:Oh, and the new urls are in.
Ah, thank you.
can you look at the cards scripts for:
eladamri_lord_of_leaves_avatar.jpg
squee.jpg
forge did not download the LQ jpg for these two cards. There may be a problem with the card name not matching the jpg file name or some other issue.

I see that you have added a few more avatars and am not sure if you want some replacement LQ pics for them. But here they are just in case:
goblin_warchief_avatar.jpg
hells_caretaker_avatar.jpg
lyzolda_the_blood_witch_avatar.jpg
morinfen_avatar.jpg
squee.jpg
- Attachments
-
vanguard_avatars 2.zip
- (134.2 KiB) Downloaded 261 times
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Implementing variants
by Chris H. » 30 Nov 2012, 11:24
moomarc wrote:Don't know how you get through life without the set images!Chris H. wrote:I do not use the set images nor do I download them.![]()
Why not just have a prefs file that you can swap in/out between releases that points to an external folder with the set images?
Short answer: personal preference.
Long answer: all of my LQ images are taken from the HQ card images, borders cropped, scaled to 200 x 285 pixels and then saved at 100%.

I do not want to do the same thing for all of the set images.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Implementing variants
by moomarc » 30 Nov 2012, 11:32
Thanks, but I've already got the full set uploaded (if anyone scripts a vanguard avatar just use the url from one of these others replacing the jpeg with the card's 'clean' name. As for Squee and Eladamri, Lord of Leaves Avatar, Ctrl-clicking the script's picture url in eclipse opens up the picture fine, so I don't know what the problem is. The url and hosted image are definitely there and match.Chris H. wrote:moomarc wrote:Oh, and the new urls are in.
Ah, thank you.
can you look at the cards scripts for:
eladamri_lord_of_leaves_avatar.jpg
squee.jpg
forge did not download the LQ jpg for these two cards. There may be a problem with the card name not matching the jpg file name or some other issue.![]()
I see that you have added a few more avatars and am not sure if you want some replacement LQ pics for them. But here they are just in case:
goblin_warchief_avatar.jpg
hells_caretaker_avatar.jpg
lyzolda_the_blood_witch_avatar.jpg
morinfen_avatar.jpg
squee.jpg

Well if at any stage you want to move over to the set images I've got a script set up that will convert them all to that preference while I make coffee, and then I can just upload them somewhere for you.Chris H. wrote:Long answer: all of my LQ images are taken from the HQ card images, borders cropped, scaled to 200 x 285 pixels and then saved at 100%.![]()
I do not want to do the same thing for all of the set images.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Implementing variants
by gos » 30 Nov 2012, 14:39
I would like to be able to specify a default Avatar for Vanguard decks in the .dck file.
I post a lot of decks from DailyMTG (I hope everyone knows this by now
), and during a certain period, quite a few Vanguard decks built for specific Avatars were posted in the Online Column of the day (mostly Into the Æther). Being able to specify a default Avatar in the .dck file would save everyone the trouble of referring to a web page to know which Avatar the deck was intended for. I hope the existence of a goodly number of pre-existing Vanguard decks will encourage people to play the new variant, especially those who prefer to play constructed, and this will make life a little bit easier for them.
Cheers and thanks for all the good work!
I post a lot of decks from DailyMTG (I hope everyone knows this by now

Cheers and thanks for all the good work!
- gos
- Posts: 4369
- Joined: 03 Mar 2011, 15:21
- Location: Reykjavík, Iceland
- Has thanked: 231 times
- Been thanked: 232 times
Who is online
Users browsing this forum: No registered users and 32 guests