It is currently 31 Aug 2025, 22:43
   
Text Size

Adding opponents in quest mode...

Post MTG Forge Related Programming Questions Here

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

Adding opponents in quest mode...

Postby 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.

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.
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*
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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Adding opponents in quest mode...

Postby 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.
---
A joke is a very serious thing.
User avatar
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...

Postby 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.
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: Adding opponents in quest mode...

Postby 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. :D 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.
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: Adding opponents in quest mode...

Postby timmermac » 22 Jan 2012, 16:39

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.
Excellent. :twisted:
"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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Adding opponents in quest mode...

Postby WompWomp » 23 Jan 2012, 22:23

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.
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.
User avatar
WompWomp
 
Posts: 31
Joined: 06 Nov 2011, 21:28
Has thanked: 2 times
Been thanked: 8 times

Re: Adding opponents in quest mode...

Postby Doublestrike » 24 Jan 2012, 01:52

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.
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.

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.
User avatar
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...

Postby Doublestrike » 24 Jan 2012, 01:57

Chris H. wrote:
Doublestrike wrote:Also, quest decks will soon be available to play in Constructed mode.
`
This is good news. :D 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.
As you know, I love organization :rolleyes:, so yes, would be interested - and I've got some plans of me own. This will be done fairly soon.

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.
User avatar
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...

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Adding opponents in quest mode...

Postby 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...

Postby 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


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 28 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 28 users online :: 0 registered, 0 hidden and 28 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 28 guests

Login Form