How the 5 Dynamic AI Tiers Are Determined: PPM Sampling, Percentile Cutoffs & Saferoom Door Lock
Based directly on the infected_control and dynamic AI plugin source code: a complete breakdown of the human Survivor PPM arithmetic mean formula, daily server-wide percentile recalculation, scheduling differences across all five tiers, and the saferoom door tier-lock state machine.
Evaluating Team Strength: Arithmetic Mean of Human Survivors' PPM
In AnneHappy rooms with automatic difficulty tiering enabled, the server does not rely on a host manually picking a difficulty—instead, it automatically matches AI intensity to the historical combat efficiency of the current Survivor team. The core metric is PPM (Points Per Minute), which reflects a player's long-term Special Infected clearing and pushing efficiency rather than total lifetime points farmed simply by logging hours.
When calculating team PPM, the system strictly follows the formula of 'compute individual efficiency first, then take the arithmetic mean across the team': it reads the personal PPM of each human player currently on the Survivor team, sums them up, and divides by the number of human Survivors (spectators and AI Survivor bots are excluded from the denominator). Using this instead of 'total points of 4 players / total playtime of 4 players' prevents a single veteran with thousands of hours from dominating the denominator weight and dragging three brand-new players straight into the highest difficulty tier.
For its data source, the plugin reads server-wide All-Time career stats by default; if the server config is switched to Quarterly leaderboard sampling, a player must accumulate at least 300 minutes of playtime in the current calendar quarter before their stats count toward active PPM calculation—accounts under 300 minutes use the default baseline, preventing wild tier distortion from a few explosive matches right after a new season starts.
Daily Dynamic Percentile Cutoffs: P60, P75, P90, and P95
After computing the team's mean PPM, the system compares it against four cutoff thresholds to place the match into one of five automatic tiers: Easy, Normal, Hard, Expert, or Extreme. These four cutoffs are not hardcoded constants in the source code—instead, a backend analytics script scans the PPM distribution of active players across all servers every night at dawn and automatically updates the percentile cutoffs in the database's ai_dynamic_ppm_thresholds table:
- Tier 1 · Easy:Team mean PPM is below the day's server-wide P60 percentile cutoff (i.e., within the foundational 60% bracket).
- Tier 2 · Normal:Team mean PPM reaches the P60 cutoff, but is below the P75 cutoff.
- Tier 3 · Hard:Team mean PPM reaches the P75 cutoff, but is below the P90 cutoff.
- Tier 4 · Expert:Team mean PPM reaches the P90 cutoff, but is below the P95 cutoff.
- Tier 5 · Extreme:Team mean PPM reaches or exceeds the day's server-wide P95 cutoff (i.e., top 5% high-efficiency squads across the community).
Only when the stats database is temporarily unreachable or the local cache expires does the plugin fall back to reading static fallback thresholds from its config file. This also explains why the exact same fixed 4-player squad might start in Expert today and just cross the line into Extreme tomorrow—nobody secretly altered your personal stats; it is simply the natural daily fluctuation of the server-wide P90/P95 percentile cutoffs.
5-Tier SI Spawn Scheduling Comparison: Why Higher Tiers Feel So Much Denser
Many players see that the base full countdown is listed as 16 seconds across all five tiers and mistakenly assume higher tiers only boost Special Infected movement speed. In reality, how each tier tightens wave-to-wave pacing is hidden entirely inside these four spawn control parameters:
| Difficulty Tier | Base Full Countdown | Kill Observation Window | Low-Pressure Remaining SI Threshold | Scored Candidate Spawn Points | Sweet-Spot Distance Width |
|---|---|---|---|---|---|
| Tier 1 · Easy | 16 sec | 16 sec | 12% | 9 points | 1.25x |
| Tier 2 · Normal | 16 sec | 12 sec | 20% | 10 points | 1.15x |
| Tier 3 · Hard | 16 sec | 10 sec | 27% | 11 points | 1.08x |
| Tier 4 · Expert | 16 sec | 8 sec | 34% | 12 points | 1.00x |
| Tier 5 · Extreme | 16 sec | 6 sec | 50% | 12 points | 1.00x |
This table reveals the true source of pressure in higher tiers: in Easy, the observation window lasts a full 16 seconds and requires surviving field Special Infected to drop below 12% (essentially a full wipe) before allowing the next 16-second countdown to start early; in Extreme, as soon as 6 seconds pass after a wave spawns—or half the Special Infected die (remaining <= 50%)—the next 16-second countdown is already quietly ticking in the background. Meanwhile, higher tiers pick the best out of up to 12 candidate spawn points and tighten the sweet-spot distance multiplier to 1.00x, ensuring every wave spawns right at the most threatening golden distance.
Saferoom Door Tier-Lock & 97-ConVar Reset Mechanism
To keep single-chapter pacing consistent and prevent jarring mid-run difficulty spikes, the plugin uses a strict 'estimate inside the door, lock upon stepping out' state machine: while the team is still gearing up inside the starting saferoom, anyone joining, leaving, or switching teams via !join / !away recalculates the estimated tier in real time; the instant the first Survivor steps outside the saferoom door, the round's AI tier locks immediately. Even if a high-PPM player disconnects mid-chapter or a rookie fills in, the current chapter will never down-tier mid-run until the team enters the next chapter's saferoom and re-evaluates the new roster.
Under the hood, the five automatic tiers plus Tier 6 (Anne-Neri) govern a total of 97 Special Infected behavior ConVars (covering movement speed, bunnyhop boost, target acquisition delay, vision awareness, Tank rock lead prediction, etc.). Every time the tier changes, the plugin forcibly resets all 97 parameters to their default baseline before writing the target tier's values, eliminating any chance of high-tier parameters from a previous match lingering in the room. Note that automatic PPM tiering caps at Tier 5 (Extreme) and will never automatically jump into Tier 6 (Anne-Neri); Anne-Neri only activates in dedicated high-pressure configs where Tier 6 is explicitly hardcoded.