In my Black Horse Courier package, I offer quests to the player, but all of these are offered under certain conditions, they are (so far) not offered by NPCs. They are instead chained by "start quest" commands.
As long as the quests of my Black Horse Courier package were a "questpack", i.e. loose files, I was using the following questlist:
Code: Select all
MDBHCSTART, InitAtGameStart, M, 0, 0, Initializes the Black Horse Courier main quest
Now, when I converted everything to a .dfmod file, I noticed this does not work anymore. I noticed that quests not listed in the questlist are not found by DFU, so even in the console I can't start them.
In my C# file, I have the following part:
Code: Select all
if (!QuestListsManager.RegisterQuestList("BlackHorseCourier"))
throw new Exception("Quest list name is already in use, unable to register BlackHorseCourier quest list.");
Okay, so I tried to simply add all my other quests to the questlist. But what should I write for the guild (i.e. 2nd column of the list)? And how to avoid that the quests are offered by NPCs (which they shouldn't)?
Well, tried with commoners and wrote "M" for members, hoping that no "commoner" NPC would ever offer the quest to the player (since the player is not a member of this group).
Code: Select all
MDBHCSTART, InitAtGameStart, M, 0, 0, Initializes the Black Horse Courier main quest
MDBHC000, Commoners, M, 0, 1, The dying reporter
However, I assume that by this method there is still the risk that commoner NPCs will offer that quest, which they shouldn't.
So I had a look at Jay's QP1 with his Cartographer's quests, which work somewhat similar. I noticed that he is not using "Commoners" and "M" as group, but "NonMemberGuild" and "P".
Thinking that this might be the correct way, I tried that, but then DFU does not find my quests anymore.
So in the end I still do not know how to make my quests reliably availabe in the .dfmod file while at the same time avoiding NPCs offering the quests:
1. Without questlist, the quests are not recognized by DFU when in .dfmod
2. With questlist, the quests can only be started with "startquest" if I have them in a questlist with a group like Commoners, but not with the NonMemberGuild entry I saw in Jay's cartographer quests.
So, HOW do I do what I want -- including quests in my .dfmod that are only started from within other quests with "start quest", but NOT offered by NPCs?