It is currently 31 Oct 2025, 14:40
   
Text Size

Converting cards from Keyword to AbilityFactory

Post MTG Forge Related Programming Questions Here

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

Re: Converting cards from Keyword to AbilityFactory

Postby Chris H. » 09 Dec 2010, 16:20

I think that I have done all of the conversions for AF_Damage that I can handle at this moment. We have two hard coded cards, Storm Seeker and Sudden Impact, but they need to have some code added to CardFactoryUtil.Count before this can happen.

We also have these five cards with an X in casting cost and we have not yet been able to address this type of issue. Another piece of the jigsaw puzzle to be added at a later date. :mrgreen:

Blaze
Death Grasp
Heat Ray
Swallowing Plague
Volcanic Geyser
User avatar
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: Converting cards from Keyword to AbilityFactory

Postby Chris H. » 10 Dec 2010, 16:13

Just did a quick test to see how many cards now use AF, wow, we are now up to 2018. Awesome.

I would like to release a new beta tomorrow. I admit that I have been busy converting cards recently and have not had a chance to give forge a good test outside of a few small test decks.
User avatar
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: Converting cards from Keyword to AbilityFactory

Postby friarsol » 10 Dec 2010, 21:27

Hey Chris, which SVN Revision are you planning using? Was there any changes you were expecting from people before putting together the next release?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Converting cards from Keyword to AbilityFactory

Postby Chris H. » 10 Dec 2010, 22:03

friarsol wrote:Hey Chris, which SVN Revision are you planning using? Was there any changes you were expecting from people before putting together the next release?
`
I will wait until I wake up tomorrow morning and I will then use the latest revision available at that time. People still have time to merge a few fixes until then. I am not expecting anything in particular. A few small bug fixes will always be appreciated by the user base. :D

It may be realistic to expect that it will take us some additional time to finish off the AFs and the AI attacking/blocking changes. I am considering releasing a new beta every week or two for awhile until these two areas of the project stabilize.

Rob is doing his best with the sets code and pictures. I plan to include a note suggesting that people use LQ pics if they notice a slow down.
User avatar
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: Converting cards from Keyword to AbilityFactory

Postby Rob Cashwalker » 10 Dec 2010, 22:25

I think the set picture stuff is as stable now as it will be unless someone can actually figure out why it slows down. I'm working towards getting an all-set LQ pic archive going.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Converting cards from Keyword to AbilityFactory

Postby Chris H. » 12 Dec 2010, 15:24

Rob Cashwalker wrote:I think the set picture stuff is as stable now as it will be unless someone can actually figure out why it slows down. I'm working towards getting an all-set LQ pic archive going.
`
I would not mind having a full set of LQ images. At modem dial up speed it will take me a long time to get a full set of HQ pics.

Will these LQ pics that you will place on the server have a border or will they have the border cut off?
User avatar
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: Converting cards from Keyword to AbilityFactory

Postby Rob Cashwalker » 12 Dec 2010, 16:03

They're the same as the HQ, but I resized them to 300 pixels tall.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Converting cards from Keyword to AbilityFactory

Postby Chris H. » 12 Dec 2010, 17:24

Let me do a few measurements, HQ images are 480 x 680 and the normal LQ are 200 x 285. So yours are just a wee bit bigger than the LQ pics that we get from the wotc web site.

The LQ pics that we get from magic card market are 210 x 300. This is just slightly bigger than wotc and I guess that your images are the same size.
User avatar
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: Converting cards from Keyword to AbilityFactory

Postby Rob Cashwalker » 12 Dec 2010, 20:38

The HQ images varied a bit from set to set. I had some that were more than 700 tall, because they had to be scaled on my 1024x768 screen. I also had others that were no bigger than the WoTC images.

I'm uploading them right now. It's still a few hundred MB.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 22 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 22 users online :: 0 registered, 0 hidden and 22 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 22 guests

Login Form