Quest Editor [0.15.0]

For all talk about quest development - creation, testing, and quest system bug diagnosis.
User avatar
Allerka
Posts: 65
Joined: Fri Apr 24, 2020 11:07 pm

Re: Quest Editor [0.13.0]

Post by Allerka »

Well, cool. I just started using VS Code at work a few months ago, and it's a great program. I'll have to try this out!

User avatar
Baler
Posts: 151
Joined: Thu May 23, 2019 1:39 am
Location: Earth

Re: Quest Editor [0.13.0]

Post by Baler »

TheLacus wrote: Sun Apr 26, 2020 9:30 pm Version 0.14.0 is available on Nexus. :)

This is a quick update to support msg parameter and other actions that have been added recently. I have a few improvements planned but they will be added with 0.15.
Very cool! Thank You!
This really opens the door for people to write custom quests faster and easier.
DFU Discord Link: http://discord.gg/HXMrKU6

Jay_H
Posts: 3419
Joined: Tue Aug 25, 2015 1:54 am

Re: Quest Editor [0.13.0]

Post by Jay_H »

msg fix is working great! Thanks TheLacus!

And yes, this utility almost writes quests for you. It is absurdly useful and I can't imagine doing it nowadays without it.
Farewell DFU community! My time here has been a joy.

User avatar
TheLacus
Posts: 1266
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Quest Editor [0.14.0]

Post by TheLacus »

Thanks, i'm glad you find it useful. 😃
I'm always happy to receive feedback and feature requests if there is any.
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

User avatar
TheLacus
Posts: 1266
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Quest Editor [0.14.0]

Post by TheLacus »

For the next version i'm working on a "save inspector" mode that allows to inspect a snapshot of a started quest, directly inside the editor. This is how it works:
  • Json object is parsed from game save (specifically QuestData.txt).
  • When the cursor is hovering above a task, symbol or action, the object is queried using a few known properties (i.e. symbol.original for the name of a symbol) to retrieve its data.
  • If the resource is a task, list of children actions is removed.
  • The result is stringified and shown on tooltip as markdown text.
saveInspector0.png
saveInspector0.png (87.48 KiB) Viewed 1067 times
I'm also experimenting with decorations for enabled/disabled tasks and clocks (with the same colors as the in-game debug overlay). This could make it easier to debug a save and understand what happened during the quest execution.
For example, the following quest has a pick one of action with four random choices. It's simple to notice that "wraith" option wask picked and monster succesfully killed before fallback timer could run off.

saveInspector1.png
saveInspector1.png (94.38 KiB) Viewed 1067 times
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

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

Re: Quest Editor [0.14.0]

Post by Interkarma »

Oh that's exciting! Could make troubleshooting some things faster for sure.

Jay_H
Posts: 3419
Joined: Tue Aug 25, 2015 1:54 am

Re: Quest Editor [0.14.0]

Post by Jay_H »

I'm trying the editor on the new quest commands, and got an error for "change foe:"

Image

Image

The "change foe" action is used exclusively for enemies, so I don't think it needs to refer to people.
Farewell DFU community! My time here has been a joy.

User avatar
TheLacus
Posts: 1266
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Quest Editor [0.14.0]

Post by TheLacus »

Thank you for the report.
Mod System documentation - Learn how to create mods for Daggerfall Unity.
Modder Discussion - General help and discussion for the mod system.
Github Issues - Submit a bug report for the game, including the mod system.

Jay_H
Posts: 3419
Joined: Tue Aug 25, 2015 1:54 am

Re: Quest Editor [0.14.0]

Post by Jay_H »

Also, the editor doesn't recognize the command "clicked foe _SYMBOL_", which was added recently: https://github.com/Interkarma/daggerfal ... ckedFoe.cs

Same with pay money task: https://github.com/Interkarma/daggerfal ... ayMoney.cs
Farewell DFU community! My time here has been a joy.

User avatar
Magicono43
Posts: 511
Joined: Tue Nov 06, 2018 7:06 am

Re: Quest Editor [0.14.0]

Post by Magicono43 »

Thanks for making the extension btw, it has been very helpful so far for somebody completely new to the quest scripting language.

Post Reply