Formally Describe the Behavior/AI of a New NPC
NPC are non-player characters: autonomous characters apart from the player himself. NPCs can include animals such as cows and pigs, mobs such as zombies and spiders, and other miscellaneous characters like our mascot Gooey.
A formal description of an NPC later helps to implement its behavior. You should think about how it can be transformed into code. Usually, there is some default behavior executed by the NPC normally (e.g. standing still). There can also be variations of it (e.g. moving around). Most other behaviors need some trigger which leads to some situational behavior. The description contains different scenarios for such cases, e.g. "If there's a player within 5 meters, fly away".
Your task is to formally describe the behavior of a new NPC as described above. You can describe the behavior using text (as above) or pseudocode.
Definition of 'Done'
- A formal description for a new non-player character is submitted to the Suggestions Forum. Please make sure that the NPC you suggest doesn't already exist in the game or in the forum. We will not accept duplicate submissions. We recommend using the search feature of the forum to make sure that your NPC hasn't already been suggested
- The description contains one default behavior and at least 3 variations.
- The description contains at least 6 situational behaviors and their triggers.
Where to start?
- Think about the natural behavior of creatures around you
- Think about typical gameplay situations which you could use as triggers