I made some changes to the plugin for personal use, and found some problems in the plugin. Now I've fixed them and would like to share:
- Buffer health(pills, adrenaline) are now counted as survivor health.
- ASDC Multiplier is set to (sum of survivors health) / (number of survivors * 100) rather than (sum of survivors health) / (number of alive survivors * 100).
- Fixed spawn issue in finale or l4d1
- Fixed ASDCtypetank/ASDCtypewitch/ASDCtypemob not corretly handled
- Removed spawning for normal infected(Smoker,Boomer,Hunter,Spitter,Jockey, Charger), you can use other plugins for example monsterbots.
- Mob size in finale is now more sensitive to changes of survivors health(quadratic).
- Added new convar for CommonLimit control: ASDCCLmult, ASDCFINmult
- Change Mob spawn preference to SPAWN_IN_FRONT_OF_SURVIVORS and SI to SPAWN_ABOVE_SURVIVORS
- New formular for calculation:
- CommonLimit = ASDCCLMult*(alive survivors) + z_reserved_wanderers
- BackgroundLimit = ASDCCommonsBackground*ASDC Multiplier
- MobSpawnMaxSize = ASDCCommons*[1+ASDCCIMult*(alive survivors)*ASDC Multiplier] (quadratic)
- MobSpawnFinaleSize = ASDCMob*[1+ASDCFINmult*(alive survivors)*ASDC Multiplier] (quadratic)
- MegaMobSize = ASDCMob*[1+ASDCCIMult*(alive survivors)*ASDC Multiplier] (quadratic)
For map c1m4_atrium(or c6m3_port if uncomment line 235)
MobSpawnMaxSize = MobSpawnFinaleSize = MegaMobSize = ASDCMob*[1+ASDCCIMult*(alive survivors)*(alive survivors)/(number of survivors)*ASDC Multiplier] (cubic)
ASDC_tool in attachment is provided for ASDC calibration.
You may change mob charge rate or intensity threshold for AI director to spawn wanderers as well as director_relax_max_flow_travel. If you want frequenter mob don't forget to change z_mob_spawn_min_interval_normal and z_mega_mob_spawn_min_interval, etc...
Mob will spawn in seconds and there is always a bunch of wanderers along the way.
Left 4 Downtown 2 is needed to compile and use.