The requirements for the ALFA Encounter System are detailed below.
For a short explanation of the feature specification format, visit:
http://www.alandfaraway.org/phpbbforum/ ... hp?t=27229
Functional Requirements
The encounter system is responsible for spawning creatures at random while in the wilderness, when resting, or at specific locations to achieve a specific encounter level.
The encounter system will track spawn kills on a per-group basis (based on creature tribe/area), and force spawn groups to grow organically (eg: no CR5 until you have 1 CR3 and 10 CR1-2 - EL formula?). Population trends will follow the monster manual for a given creature type, which includes a certain number of elite creatures, noncombatants, etc (specifics?) per total population. Creature demographics can vary along racial/tribal/type lines and in relation to terrain and locale.
Spawn points will have a % chance (specifically?) to spawn a small raiding party. Raiding parties will target creature population centers, killing local wildlife and attacking nearby settlements (AI?). When the group size reaches 10, the spawn group becomes a large raiding party. When the group size reaches 100, the spawn group becomes a camp with a named Boss and has a % chance (specifically?) to launch a new spawn point in a nearby area that doesn't already have spawn points of the same type in them. If left unchecked, spawns will eventually overrun areas and even regions.
Spawn points that have grown organically by the system will be destroyed when the Boss is killed. Natural spawn points placed in the toolset will not.
Growth rates must be balanced with player habits/activity on a given server. (leave to builders to determine or auto calculate to specific rate?)
EL equations from the DMG (3.0):
- Matched pairs - EL(x + 2y) = 2^y * CRx, where x is the CR of the creatures and y is the number of creatures. Eg: 2 CR9s or 4 CR7s or 8 CR5s = EL11.
Mixed set - EL(x+1) = CRx + CR(x-3), where x is the CR of the creatures. Eg: CR5 + CR2 = EL6.
Fractional - normalize the CR to get an EL of 1. Eg: 4 * CR1/4 = EL1. More than 12 should not be used to provide challenge, as they individually are too weak and large numbers of spawns can lag a server.
TBD
Local Variables and External Configs
TBD
Logging and Debugging (global LOG & DEBUG (on/off) constants)
TBD
Persistence Requirements
TBD
Event Dependencies
TBD