Custom quest support

For all talk about quests. Creating, testing, bugs, and development progress.
User avatar
Jay_H
Posts: 1290
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Post by Jay_H » Fri Sep 22, 2017 7:06 pm

In classic Daggerfall, the game refused to run more than one of the same quest at a time, regardless of multiple questgivers offering them (the quest would simply blank out, without even a refusal message). Is that limit something DFU's going to incorporate later?

Also, in classic you can only get visited by couriers when you're outdoors and in civilization. Would we just use give pc letter38 notify 1011 like the main quest does to do that?
**INDEFINITE HIATUS** Check out the Daggerfall Unity mod page on ModDB.

User avatar
Interkarma
Posts: 2885
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Post by Interkarma » Sun Sep 24, 2017 11:41 pm

Jay_H wrote:In classic Daggerfall, the game refused to run more than one of the same quest at a time, regardless of multiple questgivers offering them (the quest would simply blank out, without even a refusal message). Is that limit something DFU's going to incorporate later?
Apart from Sx story quests, I don't see a reason why the same quest couldn't be issued multiple times. Something to review in future I guess.
Jay_H wrote: Also, in classic you can only get visited by couriers when you're outdoors and in civilization. Would we just use give pc letter38 notify 1011 like the main quest does to do that?
Yes, this needs to be fixed. But it's more subtle than expected. What if quest author wants to give player something outside of civilization? I'm not 100% sure how classic makes this differentiation at this stage, but it's something I plan to dive into at some point. Besides emulating classic, I'd like to give quest authors clear control over this also. :)

User avatar
Interkarma
Posts: 2885
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Post by Interkarma » Sun Sep 24, 2017 11:47 pm

Jay, I've just implemented the "restrain foe" action, and it will be in next builds. This quest action allows you to turn a foe non-hostile until player attacks them again.

One example of this is M0B40Y05 where player can either kill or strike a deal with a spriggan. Another is M0B00Y17 where you can ring a bell to pacify a runaway pet tiger.

User avatar
Jay_H
Posts: 1290
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Post by Jay_H » Mon Sep 25, 2017 12:34 pm

YES!!! That's gonna rock! Thanks for the heads-up :)

About restricting instances of the same quest, it's all up to you. You're free to decide whether that was an intentional or mechanical limitation. I have plans for either outcome.
**INDEFINITE HIATUS** Check out the Daggerfall Unity mod page on ModDB.

User avatar
Jay_H
Posts: 1290
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Post by Jay_H » Wed Sep 27, 2017 2:45 am

I wasn't sure where to put this since I haven't reported it as a bug yet. I decided to check the player log when a "pick one" failed to fire. This is what it showed:

Code: Select all

PickOneOf failed to activate task.  Quest: 33562964 Task: 33562965 Selected: 
 
(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
**INDEFINITE HIATUS** Check out the Daggerfall Unity mod page on ModDB.

User avatar
Interkarma
Posts: 2885
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Post by Interkarma » Wed Sep 27, 2017 3:51 am

Could you attach quest source for me as well? Thank you mate. :)

User avatar
Jay_H
Posts: 1290
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Post by Jay_H » Wed Sep 27, 2017 4:36 am

This is it: http://pastebin.com/13a8Hhti. I had to neuter the "start quest" actions because if it tries that action without the corresponding quest being available, the whole system goes berserk and floods the player.log file :) But I don't think that should affect what we're dealing with here.
**INDEFINITE HIATUS** Check out the Daggerfall Unity mod page on ModDB.

User avatar
Interkarma
Posts: 2885
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Post by Interkarma » Wed Sep 27, 2017 4:39 am

Thanks Jay. I'll look into what's happening here.

User avatar
Interkarma
Posts: 2885
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Post by Interkarma » Wed Sep 27, 2017 9:46 am

This should be fixed in next build. The parser for "pick one of" had some whitespace handling problems where extra spaces at front of line or between task names were accepted as empty symbols. I've cleaned up this parsing now and hopefully no more problems with this action.

User avatar
Jay_H
Posts: 1290
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Post by Jay_H » Wed Sep 27, 2017 12:48 pm

RIGHT ON! :D If "pick one" is fixed, that'll make things awesome for next build. Thanks Interkarma! :)
**INDEFINITE HIATUS** Check out the Daggerfall Unity mod page on ModDB.

Post Reply