Adding opponents in quest mode...
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
11 posts
• Page 1 of 1
Adding opponents in quest mode...
by timmermac » 22 Jan 2012, 05:15
I'm going to bring up this topic here as well, since I'm not sure which forum is right for this question.
Adding a little bit to that... Will putting the decks in the /quest/decks folder allow them to come up, or is there coding that has to be done? I remember that there used to be the easy, medium and hard text files, but those went away some time back. I'd kind of like to be able to make my own opponents available as well. *shrugs*I'm wondering if it's possible for users to easily add opponents to go up against in quest mode. I've got about 6 of my evil creations that I want to be able to go up against in quest mode, and I'm not sure that the new methods allow me to add what I want. The decks I want to add are my Dragon deck, my Sliver deck, my Multiple Ways To Win deck, my discard deck, my Goblin Horde deck, and my Burning Elves deck. The deck files are in the attached zip if there aren't easy instructions for adding them. For the ones where there are multiple versions, the highest numbered ones are the most recently updated.
- Attachments
-
Arzakon type decks.rar
- (13.46 KiB) Downloaded 294 times
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Adding opponents in quest mode...
by Doublestrike » 22 Jan 2012, 07:05
You should be able to put your evil files right into the quest decks folder.
Have a look at a quest deck or two, you'll see there's metadata that holds the easy/medium/hard. Decide if you want your deck to be a duel or a challenge, and you're on your way.
Also, you can now put in starting cards and tokens for AI and/or human, following the pattern in the deck files that use extra cards like that.
I'll be putting some work into the Quest screen soon. Your comment gives me an idea - perhaps a "Guest Sorcerer" area or similar. Also, quest decks will soon be available to play in Constructed mode.
Have a look at a quest deck or two, you'll see there's metadata that holds the easy/medium/hard. Decide if you want your deck to be a duel or a challenge, and you're on your way.
Also, you can now put in starting cards and tokens for AI and/or human, following the pattern in the deck files that use extra cards like that.
I'll be putting some work into the Quest screen soon. Your comment gives me an idea - perhaps a "Guest Sorcerer" area or similar. Also, quest decks will soon be available to play in Constructed mode.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: Adding opponents in quest mode...
by Chris H. » 22 Jan 2012, 11:46
`timmermac wrote:I'd kind of like to be able to make my own opponents available as well. *shrugs*
You should also place the deck files into your /res/decks/ folder and load them one by one into the constructed mode deck editor. Look at the column labeled "AI".
Cards in the decks containing a label of "AI" should be replaced with a card that does not contain this label. These cards can not be used by the computer at all or will not be used to good effect. As such, they will make the computer a weaker opponent.
-
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 opponents in quest mode...
by Chris H. » 22 Jan 2012, 12:03
`Doublestrike wrote:Also, quest decks will soon be available to play in Constructed mode.
This is good news.

It might be nice to move the decks with the "[duel]" tag out of the /res/quest/decks/ folder and into a new folder, maybe named /res/AI-PreCon-Decks/
This would allow us to separate the duel decks from the decks that have the "[quest]" tag. This separation might be helpful.
-
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 opponents in quest mode...
by timmermac » 22 Jan 2012, 16:39
Excellent.Doublestrike wrote:You should be able to put your evil files right into the quest decks folder.
Have a look at a quest deck or two, you'll see there's metadata that holds the easy/medium/hard. Decide if you want your deck to be a duel or a challenge, and you're on your way.
Also, you can now put in starting cards and tokens for AI and/or human, following the pattern in the deck files that use extra cards like that.
I'll be putting some work into the Quest screen soon. Your comment gives me an idea - perhaps a "Guest Sorcerer" area or similar. Also, quest decks will soon be available to play in Constructed mode.

"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Adding opponents in quest mode...
by WompWomp » 23 Jan 2012, 22:23
It would be nice if you could also edit quest decks without having the editor replace all of the quest-centric tags, if that's ever within the scope of what you're doing.Doublestrike wrote:You should be able to put your evil files right into the quest decks folder.
Have a look at a quest deck or two, you'll see there's metadata that holds the easy/medium/hard. Decide if you want your deck to be a duel or a challenge, and you're on your way.
Also, you can now put in starting cards and tokens for AI and/or human, following the pattern in the deck files that use extra cards like that.
I'll be putting some work into the Quest screen soon. Your comment gives me an idea - perhaps a "Guest Sorcerer" area or similar. Also, quest decks will soon be available to play in Constructed mode.
Re: Adding opponents in quest mode...
by Doublestrike » 24 Jan 2012, 01:52
There's a separate quest editor that does just that, at present. Redoing all of the deck editors (whose UIs...well...need a lot of improvement) is a "big task" and is on the list, but the current timeline for that is maybe in 1 month.WompWomp wrote:It would be nice if you could also edit quest decks without having the editor replace all of the quest-centric tags, if that's ever within the scope of what you're doing.
This innocent comment was actually (vehemently?) discussed (argued?) about a few months ago, when updates were being made to the quest deck format. The problem was, should metadata be the same for all decks, and what should it hold. So, if there was a can-of-worms smiley, I'd put it here.
EDIT - and @timmermac is completely right, Notepad or similar will work too

Last edited by Doublestrike on 24 Jan 2012, 02:04, edited 1 time in total.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: Adding opponents in quest mode...
by Doublestrike » 24 Jan 2012, 01:57
As you know, I love organizationChris H. wrote:`Doublestrike wrote:Also, quest decks will soon be available to play in Constructed mode.
This is good news.Would you be interested in some re-organization at that time?
It might be nice to move the decks with the "[duel]" tag out of the /res/quest/decks/ folder and into a new folder, maybe named /res/AI-PreCon-Decks/
This would allow us to separate the duel decks from the decks that have the "[quest]" tag. This separation might be helpful.

EDIT
for(int i = 0; i < 5; i++) { System.err.println("*washes hands*"); }
EDIT 2
Ooooh that's good. New sig!
Last edited by Doublestrike on 24 Jan 2012, 02:06, edited 2 times in total.
---
A joke is a very serious thing.
A joke is a very serious thing.
-
Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: Adding opponents in quest mode...
by timmermac » 24 Jan 2012, 02:00
There is a way to edit the decks... outside of Forge. Your basic text editor is capable of opening the deck files and letting you add/subtract cards.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Adding opponents in quest mode...
by Yoiaten » 03 Jan 2025, 08:45
Fast-paced action games can significantly improve reaction time and reflexes. This can be beneficial in situations that require quick responses, such as driving or sports.
- Yoiaten
- Posts: 3
- Joined: 12 Aug 2024, 07:48
- Has thanked: 0 time
- Been thanked: 0 time
Re: Adding opponents in quest mode...
by barkerxavierr » 01 Apr 2025, 03:52
oh i want to join the competition!
- barkerxavierr
- Posts: 3
- Joined: 31 Mar 2025, 07:14
- Has thanked: 0 time
- Been thanked: 0 time
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 28 guests