Adding Avatars to MTG Forge
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Adding Avatars to MTG Forge
by Huggybaby » 19 Mar 2009, 16:32
This topic is to discuss adding avatars to MTG Forge. To get started:
Doom Guy
GandoTheBard's Smilies
http://outofthebrokensky.com/images/moods/moods.asp
Doom Guy
GandoTheBard's Smilies
http://outofthebrokensky.com/images/moods/moods.asp
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 701 times
- Been thanked: 594 times
Re: Adding Avatars to MTG Forge
by Chris H. » 19 Mar 2009, 16:54
I want to move Rob Cashwalker's comment over here since it helps to get an idea of what an avatar can accomplish in forge.
In message:
http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=977&view=unread#p11281
In message:
http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=977&view=unread#p11281
Rob Cashwalker wrote:He did smile when he got a power up - see the 7th column in that image.There are no smiles I guess because the DOOM guy never smiled.
I can imagine quite a few of those images used in the project. Beyond the bloodier face as the health drains, the emotion of the open mouth, smile and grin, could show up whenever a spell or ability is played for or against the player, and during any good or bad combats.
open mouth = "Oh no! You've just resolved wrath of god agaisnt me!"
smile = "Heh heh I've just resolved wrath of god against you!"
grin = "You won this combat, but I'll get you next time..."
and so forth.
-
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: Adding Avatars to MTG Forge
by Huggybaby » 19 Mar 2009, 17:11
I see transparent overlays too. If he gets fireballed, a transparent flame graphic is overlaid. A lightning bolt gets lightning. You could have an overlay tied to each card. If a card doesn't have an overlay yet, use a generic replacement, one for each color.
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 701 times
- Been thanked: 594 times
Re: Adding Avatars to MTG Forge
by mtgrares » 19 Mar 2009, 19:39
Huggybaby, are trying to kill me?I see transparent overlays too.
So does that mean that you play MTG Forge? (I know in the past that you haven't and I am just curious.) Thanks for all the moderating, someone has to keep all the spammers out.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Adding Avatars to MTG Forge
by Huggybaby » 19 Mar 2009, 19:53
I play once in a while, sure. Remember on your blog I suggested you make the easy quest mode shorter? It looks like we see eye-to-eye on that now!
I must say that running into bugs makes me quit trying a game though. But I don't add cards and certainly don't want to diminish anyone's enthusiasm so I stay out of that. For this project and the manalink project I think it would be better to quit adding cards for a while and squash ALL bugs first before proceeding. That's only my opinion as a casual user though so it doesn't mean much.
Also on your blog you said you weren't an interface expert, so this is my contribution. At least I didn't ask for video support!
No problem with the spammers, I've only had to delete one! The rest get stopped by our captcha. I know for a fact that some legitimate users get rejected and sent to our Inactive Users list too. I don't know what to do about them unless they contact me some other way. I was able to manually activate a friend of mine the other week just because I knew him from another forum and he told me he had registered but never been activated.
I must say that running into bugs makes me quit trying a game though. But I don't add cards and certainly don't want to diminish anyone's enthusiasm so I stay out of that. For this project and the manalink project I think it would be better to quit adding cards for a while and squash ALL bugs first before proceeding. That's only my opinion as a casual user though so it doesn't mean much.
Also on your blog you said you weren't an interface expert, so this is my contribution. At least I didn't ask for video support!
No problem with the spammers, I've only had to delete one! The rest get stopped by our captcha. I know for a fact that some legitimate users get rejected and sent to our Inactive Users list too. I don't know what to do about them unless they contact me some other way. I was able to manually activate a friend of mine the other week just because I knew him from another forum and he told me he had registered but never been activated.
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 701 times
- Been thanked: 594 times
Re: Adding Avatars to MTG Forge
by DennisBergkamp » 19 Mar 2009, 19:57
I agree. BUT!!! Adding cards is so much funor this project and the manalink project I think it would be better to quit adding cards for a while and squash ALL bugs first before proceeding. That's only my opinion as a casual user though so it doesn't mean much.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Removing Cards
by mtgrares » 19 Mar 2009, 20:13
LOL, yeah I remember. 10 games is long enough for even me. I don't see myself playing any quest longer than that.Hubbybaby - Remember on your blog I suggested you make the easy quest mode shorter? It looks like we see eye-to-eye on that now!
I understand. I've thought about trying having 2 versions of MTG Forge. One that has all 100% working cards and one that has more cards and more bugs.I must say that running into bugs makes me quit trying a game though.
As a quick fix you can remove any cards that you don't like from cards.txt and MTG Forge won't use them. This isn't a great fix because everytime a new version comes out you have to remove the same cards over and over again. Also if you make a mistake with cards.txt MTG Forge will probably just die and not show any error message.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Adding Avatars to MTG Forge
by DennisBergkamp » 19 Mar 2009, 20:15
I always add new cards to the top of cards.txt though, so it's easy to keep track of the new ones.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
MTG Forge - Huggybaby Edition
by mtgrares » 20 Mar 2009, 18:39
Now you can remove cards from MTG Forge. Just run "remove-cards.exe" and you can choose which cards will not appear. If you play a deck that has any of these removed cards, the card name will be "Removed Card". The file "removedCards.txt" holds all of the cards that you remove.
There might be some errors but overall it seems to work.
MTG Forge - Huggybaby Edition
For DennisBergkamp, I made 2 changes. The source code is in the attachment.
1. add FileUtil.java
2. modify CardFactory constructor and getCard()
There might be some errors but overall it seems to work.
MTG Forge - Huggybaby Edition
For DennisBergkamp, I made 2 changes. The source code is in the attachment.
1. add FileUtil.java
2. modify CardFactory constructor and getCard()
- Attachments
-
- source code changes.zip
- (1.41 KiB) Downloaded 374 times
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Adding Avatars to MTG Forge
by DennisBergkamp » 20 Mar 2009, 19:21
Alright, cool! Seems easy enough
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: Adding Avatars to MTG Forge
by Huggybaby » 20 Mar 2009, 20:05
Thanks mtgrares, I feel really special now.
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 701 times
- Been thanked: 594 times
Re: Adding Avatars to MTG Forge
by mtgrares » 23 Mar 2009, 19:14
Well I try to do what I can. I can't improve everything about MTG Forge but I can improve bits and pieces here and there. Huggybaby, I figured you would like having your own edition of MTG Forge.
I should probably try to update the "remove-card" user interface so you could actually see the card's info that you are removing. I should have used the deck editor to remove cards (the program would function the same but all of the cards would be listed on top and the cards at the bottom are cards that would be removed.) Hopefully the "remove-cards" interface isn't too bad but I know it is plain.
I should probably try to update the "remove-card" user interface so you could actually see the card's info that you are removing. I should have used the deck editor to remove cards (the program would function the same but all of the cards would be listed on top and the cards at the bottom are cards that would be removed.) Hopefully the "remove-cards" interface isn't too bad but I know it is plain.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Adding Avatars to MTG Forge
by vinnie » 23 Dec 2015, 20:05
The only way I've guessed is to place a file called sprite_avatars.png in the directory of the theme used, for example look at /forge-gui-desktop-1.5.47/res/skins/the_simpsons/sprite_avatars.png
The default avatars is in /forge-gui-desktop-1.5.47/res/skins/default
P.s. ok work, for example I added an edited avatar at the end of this attached file in default dir
The default avatars is in /forge-gui-desktop-1.5.47/res/skins/default
P.s. ok work, for example I added an edited avatar at the end of this attached file in default dir
13 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 169 guests