Quest Generation (Domains)

Announcements, support questions, and discussion for Quest Machine.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Generation (Domains)

Post by Tony Li »

Thanks!

How many enemies is your quest giver detecting in the domain? The Required Value field is a suggested value for the generator. In your screenshot, it's 4. But if the quest giver only detects 1 enemy in the domain when it's generating the quest, it will set the quest requirement to 1, not 4. This is because it can't guarantee that more enemies will appear later, and it doesn't want to generate a quest that can't be completed.

You can count up the number of entities manually. Inspect the Quest Domain GameObject and expand the Entities list.
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: Quest Generation (Domains)

Post by dlevel »

ah yeah that is the problem and a tricky one. I instantiate the enemies regarding player position so yeah it only finds 1 enemy at a time. if I expand entities in the domains gameobject I can only have the entity not how many of them I need to hunt correct?

edit: would it possible that entities had another option like the level, to have quantity in them?
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: Quest Generation (Domains)

Post by dlevel »

So I tried to spawn my enemies all when the dungeon generates, and it seems like it could work, but the problem is in the world, there are thousands of monsters that are not spawned and are triggered by player and can't seem to find a way around this, I could only think if I could bypass the check of the quest giver of how many of the same enemies finds to limit the amount of the kills needed in the quest. Any idea?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Generation (Domains)

Post by Tony Li »

Since the "Required Value" field really isn't doing much right now, I'll change it so you can use it to specify a minimum.
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: Quest Generation (Domains)

Post by dlevel »

awesome thanks!
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: Quest Generation (Domains)

Post by dlevel »

I just feel the need to say that this feature (Quest Generation) is unique and very very clever, I see the potential the more I dig in... kudos for making it :)
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Generation (Domains)

Post by Tony Li »

Thanks! If you have any suggestions for making it less intimidating to use, please let me know. I tried to make it as uncomplicated as possible without compromising its flexibility, but I'll happily receive any feedback that could make it more approachable, such as ideas to improve the UI.
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: Quest Generation (Domains)

Post by dlevel »

Well it took me 1 day to figure it out (the logic behind it) so I'd say it's pretty good as it is regarding the way it works, and to be honest when I bought this asset for the buzz word of procedurally generated quests I couldn't think how can this be done, but now I get it and I'm impressed :) I have some suggestions to make it better and will post along the way because I'm setting up this mechanic in my game for the next couple of weeks.

For example, I'm still trying to figure out how to use the 1 NPC for both boss and minion dungeon generated quests because I would need the counter to be minimum 10 (when you change the way it works as you mentioned in a previous post here) for minions, but 1 for the boss. 2 NPCs is the easy method but still trying to figure it out and will post here if I get with an idea :)

I just made a new shop that has Dungeon Items in it and a new currency that you only get from this dungeon quests so I don't need new Item rewards.

As for the UI, I'm now putting spaces/enters so it appears nicely for the UI dialogue which works atm.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest Generation (Domains)

Post by Tony Li »

For the required values (1 boss vs. 10 minions), you could create two separate Kill actions -- one with Required Value = 1, the other with Required Value = 10.

I'll try to think of a cleaner way to specify this.

I could move Required Value to the entity. So the Kill action would look up the entity's required value. But this would apply to all actions (Kill 10 minions, Heal 10 minions, etc.) so it might not be ideal.

Instead, if it doesn't complicate things, I'll probably allow designers to specify a "minimum count" parameter in entities' Actions list:
actionsPlusParam.png
actionsPlusParam.png (8.53 KiB) Viewed 2240 times
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: Quest Generation (Domains)

Post by dlevel »

Awesome, waiting for the update! I agree in allowing a minimum count parameter in the entities Action list, would be much cleaner and straight forward!
Post Reply