Quest Editor
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Quest Editor [0.15.0]
Version 0.15.0 is available from Nexus Mods.
Save inspector is shown as a tree view inside the Debug tab. After you picked QuestData.txt from a save it will list all quests which have corresponding serialized data.
Save inspector is shown as a tree view inside the Debug tab. After you picked QuestData.txt from a save it will list all quests which have corresponding serialized data.
- Jay_H
- Posts: 4073
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Quest Editor [0.15.0]
A clever addition, thank you!
You also included the most recent quest actions, so thank you for that! I really appreciate your ongoing work with this tool.
- Interkarma
- Posts: 7251
- Joined: Sun Mar 22, 2015 1:51 am
Re: Quest Editor [0.15.0]
That is seriously very clever and very nice. This will make diagnosing some quest issues from saves much easier. Thank you TheLacus!
- haloterm
- Posts: 391
- Joined: Sat Feb 16, 2019 5:21 am
Re: Quest Editor [0.15.0]
I noticed today that the possibility to add customs books via "item" (which Hazelnut added in February, see viewtopic.php?p=40134#p40134) is not yet recognized by the editor.
The syntax is:
where the number after key is the ID defined in the mapping json file.
The editor gives an "invalid definition" error when this is written in the source of a quest.
The syntax is:
Code: Select all
Item _TheBook_ book key 33756280
The editor gives an "invalid definition" error when this is written in the source of a quest.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Quest Editor [0.15.0]
Thank you for the report, i'll add it for next version.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Quest Editor [0.15.0]
There is an issue that appears with new versions of VS Code, preventing diagnostics from working. I'll push a fixed version ASAP.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Quest Editor [0.15.0]
Version 0.16.0 can be downloaded from Nexus Mods with a fix and updated actions.
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Quest Editor [0.16.0]
Hi, I just updated from 0.12 to 0.16 to try and fix up Mountain Rumors for the incoming quest machine changes and it's raising errors that it didn't before. I'll try to give a list of the categories:
- Message marked as not used when it's used by 'journal note #num'
- 'place npc _name_ at _place_ marker n' are marked as undefined expressions, possibly because of the next issue, however a similar foe definition is fine
- 'Person _name_ named Name_Key male' maked as invalid definition, probably because the entries to the table are only present after the mod loads and adds them to the in-memory table data - same happens for the permanent places too for same reason and I guess this may not be fixable.. possibly just change to a warning that x is not present rather than an error?
- 'kill foe _name_' is marked as undefined
- %pcl is marked as an invalid macro, probably becuase I added it relatively recently in Nov 2019
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Quest Editor [0.16.0]
Hi, i don't think there is a built-in way to supress errors. I'll work on the issues and provide a fix, but i'm not sure about this one:
It's already possible to use a json file to define custom actions added by a mod, i can easily add support for custom keys like this one. However, i'll admit that i don't know why you're defining a named person AND assigning it a gender. This never happens in core quests, it's only done for npcs created from factions i believe. Can you confirm that this is actually a valid definition?Hazelnut wrote: ↑Fri Jan 29, 2021 7:25 pm
- 'Person _name_ named Name_Key male' maked as invalid definition, probably because the entries to the table are only present after the mod loads and adds them to the in-memory table data - same happens for the permanent places too for same reason and I guess this may not be fixable.. possibly just change to a warning that x is not present rather than an error?
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Quest Editor [0.16.0]
I checked and found that the gender is ignored, so I guess it's invalid from that point of view. It's valid syntax for the regex used to interpret it though. If I remove the 'male' suffix, then that error goes away. I think I added it just FYI in the quest script, but it's no big deal.TheLacus wrote: ↑Sat Jan 30, 2021 8:11 pm Hi, i don't think there is a built-in way to supress errors. I'll work on the issues and provide a fix, but i'm not sure about this one:
It's already possible to use a json file to define custom actions added by a mod, i can easily add support for custom keys like this one. However, i'll admit that i don't know why you're defining a named person AND assigning it a gender. This never happens in core quests, it's only done for npcs created from factions i believe. Can you confirm that this is actually a valid definition?Hazelnut wrote: ↑Fri Jan 29, 2021 7:25 pm
- 'Person _name_ named Name_Key male' maked as invalid definition, probably because the entries to the table are only present after the mod loads and adds them to the in-memory table data - same happens for the permanent places too for same reason and I guess this may not be fixable.. possibly just change to a warning that x is not present rather than an error?
Still have errors on the symbols because they're not visible to dftemplate obviously. The ability to define custom keys would work, but if it's possible to right click and ignore it that would be even better. I wouldn't complain if you left this though, I can certainly live with the occasional symbol error because I know they're valid.
Thanks in advance for fixing the other issues. It's a great help when doing big quests!
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods