branchrust_reboot/main/loot_population_capcancel

4 Commits over 0 Days - ∞cph!

23 Days Ago
Added spawn.loot_population_test, if set the spawn system will use that value as the current number of players on a server. Useful for testing loot drops in different conditions
24 Days Ago
Also cap the PlayerExcess method with population_cap_rate, which uses the Spawn.player_base convar to determine loot frequency
24 Days Ago
Only apply population_cap_rate if it is higher than the actual population cap, will prevent servers with small caps getting their loot sped up inadvertently
24 Days Ago
Added spawn.population_cap_rate, when set acts as a cap on how fast loot can spawn when being scaled by player count Defaults to 300, so loot will spawn on servers with a higher population as if it is on a 300 pop server Can be set to 0 to revert to the old behaviour