Page 14 of 18

Re: Quest Editor [0.13.0]

Posted: Mon Apr 27, 2020 10:00 pm
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!

Re: Quest Editor [0.13.0]

Posted: Mon Apr 27, 2020 10:32 pm
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.

Re: Quest Editor [0.13.0]

Posted: Tue Apr 28, 2020 3:12 am
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.

Re: Quest Editor [0.14.0]

Posted: Tue Apr 28, 2020 8:21 pm
by TheLacus
Thanks, i'm glad you find it useful. 😃
I'm always happy to receive feedback and feature requests if there is any.

Re: Quest Editor [0.14.0]

Posted: Thu Apr 30, 2020 10:53 pm
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 11638 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 11638 times

Re: Quest Editor [0.14.0]

Posted: Thu Apr 30, 2020 10:57 pm
by Interkarma
Oh that's exciting! Could make troubleshooting some things faster for sure.

Re: Quest Editor [0.14.0]

Posted: Sat May 09, 2020 10:43 am
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.

Re: Quest Editor [0.14.0]

Posted: Sun May 10, 2020 3:19 pm
by TheLacus
Thank you for the report.

Re: Quest Editor [0.14.0]

Posted: Tue Jul 14, 2020 8:47 pm
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

Re: Quest Editor [0.14.0]

Posted: Mon Aug 10, 2020 8:00 pm
by Magicono43
Thanks for making the extension btw, it has been very helpful so far for somebody completely new to the quest scripting language.