NPC - 416rehman/mythic.obsidian GitHub Wiki
#gameplay Any NPC in the game is killable. However, to avoid disrupting the narrative of the game, some NPCs can be marked as important, usually the ones involved in quests, shopkeepers, etc. If a player kills an important NPC, a grave will be generated for them in the town's graveyard. When the time comes for the player to do a quest involving that killed NPC, the player will have to revive that NPC first by doing black-magic at the gravesite.
NPCs are created using an NPCDefinition
Data Asset, where the designer can specify:
- Name: of the NPC
- Visuals: AnimBP, Mesh, Dialogue, etc.
Game Changer quests introduce a new gameplay system to the player. We use this to gradually introduce the player to new systems without overwhelming them at the beginning.
To unlock new game changing features, a quest is given by a game changer NPC. They can either be Wizards (Battlecry), Warriors (Abilities), and Archaelogists(Perks).
Warriors - Ability
These NPCs give quests related to the Abilities feature, where the player can learn new abilities to use in combat. The player unlocks the Abilities feature by completing a quest given by a warrior. Upon completion, the player is rewarded with a beginner ability scroll to use. Subsequent abilities can be unlocked by leveling up or by completing more quests given by other warriors.
Archaeologists - Rune
These NPCs give quests related to the Runes feature, where the player can learn new perks to enhance their gameplay. The player unlocks the Perks feature by completing a quest given by an archaeologist. Upon completion, the player is rewarded with a beginner perk to use. Subsequent perks can be unlocked by leveling up or by completing more quests given by other archaeologists.
Wizards - Battlecry
These NPCs give quests related to the Battlecry feature, where the player can learn new spell words to use for their battle cry. The player unlocks the Battlecry feature by completing a quest given by a wizard. Upon completion, the player is rewarded with a beginner set of spell words to use for their battle cry. Subsequent spell words can be unlocked by leveling up or by completing more quests given by other wizards.
In summary, the game changer quests are given by NPCs known as Wizards, Warriors, and Archaeologists. These quests are major quests that change the gameplay by providing new features to the player, such as the Battlecry, Abilities and Perks systems respectively. The player unlocks these features by completing a quest given by the corresponding NPC. Upon completion, the player is rewarded with a beginner item to use and they can unlock subsequent items by leveling up or by completing more quests from the same type of NPC.
All NPCs can be killed. Important NPCs get a grave on death, and can be revived by the player.