Custom quest support

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

Re: Custom quest support

Postby Jay_H » Thu Oct 05, 2017 3:29 am

I've made a few quests with no questgiver, so I've omitted a _qgclicked_ task. Checking player.log, it looks like DFU forcibly expects one, though the quests still boot. Should I be adding a _qgclicked_ to every quest?
Come give your feedback on the ideas in my general thread, and share your DFU characters in the character thread.
Quest-writing tutorial here. Guide for new Daggerfall players here. Daggerfall Mechanics thread here.
User avatar
Interkarma
Posts: 1980
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Postby Interkarma » Thu Oct 05, 2017 3:41 am

The quest system itself has no knowledge of "_qgclicked_", that's not hardcoded anywhere in the quest system itself. Quests without a specific quest giver should be allowed to live and die on their own terms.

It's worth checking that _qgclicked_ doesn't actually appear in the script somewhere. Can you attached the quest script and copy-paste error message for me?
User avatar
Jay_H
Posts: 935
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Postby Jay_H » Thu Oct 05, 2017 3:47 am

I checked for qgclicked, and none turned up. I also added a _qgclicked_ variable just as a failsafe, but that didn't stop it.

Quest file
Error readings
Come give your feedback on the ideas in my general thread, and share your DFU characters in the character thread.
Quest-writing tutorial here. Guide for new Daggerfall players here. Daggerfall Mechanics thread here.
User avatar
Interkarma
Posts: 1980
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Postby Interkarma » Thu Oct 05, 2017 3:56 am

Thanks, I'll take a look now. For some reason this quest causes my game to hang completely in the editor. I'll track down what's happening.
User avatar
Interkarma
Posts: 1980
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Postby Interkarma » Thu Oct 05, 2017 4:12 am

For the hanging issue, I happened to execute this quest in Sentinel region, and seems there's very few house1 towns available. I put a maxAttempts sanity check into the Place resource so it at least gives up and throws an error if it can't find the specified building type. Running this in Daggerfall province works OK.

For the other "_qgclicked_" issue, I don't get this on my end. You almost certainly have a dead version of the quest stuck in the quest machine. Use "clearmqstate" to purge the quest machine and try starting quest again. Let me know how you go. :)
User avatar
Jay_H
Posts: 935
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Postby Jay_H » Thu Oct 05, 2017 4:18 am

It looks like you were right. I started with a full purge, and then after trying it again I didn't get that error message. Thank you.

For the other one, that might explain my problem with quests hanging at init with house3. The full list of hung variables in Ilessan Hills was furnitureshop, house3, house5, house6, house7, town1, and town4. So I'll have some new things to try once the new version comes out.
Come give your feedback on the ideas in my general thread, and share your DFU characters in the character thread.
Quest-writing tutorial here. Guide for new Daggerfall players here. Daggerfall Mechanics thread here.
User avatar
Interkarma
Posts: 1980
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Postby Interkarma » Thu Oct 05, 2017 4:23 am

Two birds with one stone. :)

I might rework the "remote houseX" handling in future, there's probably a better way to do this. I'm still really surprised I was unable to find any house1 locations in Sentinel though.

At least it won't hang from the next version. I was counting attempts, but had forgotten to put in the sanity break. :oops:
User avatar
Jay_H
Posts: 935
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Postby Jay_H » Wed Oct 18, 2017 6:57 pm

Is "take item from PC" compatible with gold amounts? In other words, could I make an NPC rob some gold from you?
Come give your feedback on the ideas in my general thread, and share your DFU characters in the character thread.
Quest-writing tutorial here. Guide for new Daggerfall players here. Daggerfall Mechanics thread here.
User avatar
Interkarma
Posts: 1980
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom quest support

Postby Interkarma » Wed Oct 18, 2017 8:42 pm

Not yet, but it easily could. :evil: :lol:
User avatar
Jay_H
Posts: 935
Joined: Tue Aug 25, 2015 1:54 am

Re: Custom quest support

Postby Jay_H » Wed Oct 18, 2017 8:57 pm

Do not worry. I promise not to be unfairly evil :D
Come give your feedback on the ideas in my general thread, and share your DFU characters in the character thread.
Quest-writing tutorial here. Guide for new Daggerfall players here. Daggerfall Mechanics thread here.

Return to “Quest Hub”

Who is online

Users browsing this forum: No registered users and 1 guest