Defining the Encounter Zone
An Encounter Table is what it says on the box: it’s a tabular format of probabilities for certain events to occur based on a random factor. In tabletop and RPG-style games, the random factor is provided by rolling one or more dice of various numbered sides. In computer-based games, the same thing applies, except that instead of tossing physical dice, we’ll generate encounters based on the output of a random number generator.
Like much of the rest of the game objects, the Encounter Zones (EZs) are updateable game components, while each Encounter serves as a container for data defining that encounter. This allows the EncounterManager to choose which EZ should be responsible for running encounter checks, simplifying the logic required in the EZ. Easy, right?
Encounters Overview
The structure of an Encounter table is simple. Down each row is a specific event or encounter that the game designer wants to make possible. A probability column...