Hello!
I am working on a project where the player starts in a town, accesses a waypoint to travel to different levels (via umg widget), completes a mission specific to that level, collects a unique reward, and then is teleported back to the starting town. Think Warframe without the looter aspect or a Diablo 3 Greater Rift but more varied in terms of objective types.
So far I have:
- Built my starter level and created
the waypoint system to travel to the
level selected by the player. - Have a damage and spell system built
for the player to fight enemies. - Built a widget to display the mission
and progress (currently has a text
variable and progress bar, but may be
better off using a check box an
boolean?)
What I am attempting to do:
-
Once the player begins the level he receives a unique mission to complete (eliminate all enemies, kill x number of monsters, find and kill a unique monster, retrieve a specific item, defend a shrine from a swarm of monsters, etc.). Once the mission is completed, the player receives a reward (gold, experience, item), and then can travel back to the starter town.
-
I’m not too concerned about the reward, as I think I can put together a win condition for this. Primarily unsure of how to implement a level based mission/objective.
What I have tried:
-
I’ve watched numerous youtube tutorials on quests systems, but they all seem to be geared towards a quest received from an NPC. I’d like the objective to launch when starting the level.
-
I’ve created an enum and struct for my missions. The enum includes each of my mission types. The structure includes a description, mission type, and IsComplete? boolean. I added this to my level blueprint which casts to my gamemode which updates the widget. (I have no idea if this is the best way to handle this, just what I’ve seen in tutorials so far…)
I’m not quite sure where to go from here in terms of creating the missions and how to track the player’s progress. Many of the quest tutorials I’ve seen are “coin collectors” which seems pretty straight forward, but having multiple mission types and things like kill X monster or retrieve Y item is where I’m having difficulties.
Any recommendations or resources on how to set this system up?