Jay_H's quest writing tutorial

For all talk about quest development - creation, testing, and quest system.
Post Reply
User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Jay_H's quest writing tutorial

Post by Jay_H »

Daggerfall divides strictly between intangible flats and tangible enemies. You can make the noble a flat first and turn him/her into an enemy when you click on the sprite, but there's no way to harm a flat.

james2k
Posts: 9
Joined: Wed Dec 04, 2019 8:16 pm

Re: Jay_H's quest writing tutorial

Post by james2k »

Jay_H wrote: Mon Dec 23, 2019 3:51 pm Daggerfall divides strictly between intangible flats and tangible enemies. You can make the noble a flat first and turn him/her into an enemy when you click on the sprite, but there's no way to harm a flat.
So something like this?
Person _lord_ faction Lord_Khane
Foe _lordhostile_ is Knight

...

place npc _lord_ at _fort_

...

_lordclicked_ task:
clicked npc _lord_
hide npc _lord_
place foe _lordhostile_ at _fort_

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

Re: Jay_H's quest writing tutorial

Post by Jay_H »

Precisely, that should do it perfectly. That's the same method classic quests like the Baltham Greyman one use to make an NPC "combat-ready."

User avatar
Hazelnut
Posts: 3015
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Jay_H's quest writing tutorial

Post by Hazelnut »

You could just use a foe from the start, since there's a foe clicked action now, but the graphics are much more limited.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

John Mathston
Posts: 4
Joined: Mon May 11, 2020 5:56 am

Re: Jay_H's quest writing tutorial

Post by John Mathston »

Hello. I am having trouble following the basic quest tutorial.

Basically I cant get the Orc to spawn when the quest starts, im probably missing something very basic.

Heres the code
Spoiler!
Quest: TESTING1
DisplayName: JayH Is Helping Me
-- Message panels
QRC:

QuestorOffer: [1000]
<ce> We want a _enemy_ dead.

RefuseQuest: [1001]
<ce> Stuff off.

AcceptQuest: [1002]
<ce> Good right behind you.

QuestFail: [1003]
<ce> Go back to fighting butterflys.

QuestComplete: [1004]
<ce> Good job heres your reward.

QBN:
Item _reward_ gold

Person _questgiver_ group Questor male

Clock _timer_ 00:20

Foe _enemy_ is Orc

Place _guild_ local fighters

-- Quest start-up:
start timer _timer_
Place foe _enemy_ at _guild_

_mondead_ task:
killed 1 _enemy_
give pc _reward_
end quest

_timer_ task:
end quest

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

Re: Jay_H's quest writing tutorial

Post by Jay_H »

Welcome to the forums, and the tutorial! :)

Looks like the problem is the "Place foe" command you used. It should be "place", lowercase. The capital P is not getting recognized by the quest engine.

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Jay_H's quest writing tutorial

Post by BadLuckBurt »

Jay_H wrote: Mon May 11, 2020 7:06 am Welcome to the forums, and the tutorial! :)

Looks like the problem is the "Place foe" command you used. It should be "place", lowercase. The capital P is not getting recognized by the quest engine.
I had the same problem a while back and this explains why. However, the Place foe command is how you've written it in this post: viewtopic.php?f=25&t=622#p6410. Check under Defining quest actions.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

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

Re: Jay_H's quest writing tutorial

Post by Jay_H »

Ooh, that's terrible. Thanks for the heads-up Burt, I changed it.

John Mathston
Posts: 4
Joined: Mon May 11, 2020 5:56 am

Re: Jay_H's quest writing tutorial

Post by John Mathston »

Lol thanks mate *Fistpumps*.

Im learning to make quests so I can make a tax system. I appreciate your help

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

Re: Jay_H's quest writing tutorial

Post by Jay_H »

You're welcome, we're here to help where we can :)

Post Reply