Author
|
|
Junior Member
|
Plugin ID:
|
3756
|
Plugin Version:
|
1.0
|
Plugin Category:
|
Gameplay
|
Plugin Game:
|
Left 4 Dead
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Difficulty Controller for the L4D2 AI director, automatically spawns extra zombies to increase difficulty.
|
|
|
07-17-2013
, 00:55
[L4D2]Infected Bots Spawner/Difficulty Control(ASDC) V1.2
|
#1
|
Automatic Scaling Difficulty Controller (ASDC):
This plugin is a controller for the l4d2 director, it automatically changes the spawn rates of all SI and CI to increase the difficulty based on the amount of health the survivors have.
Plugin is based off of monsterbots by Machine, many thanks to him for the original spawn algorithms.
Features:
A very large amount of control variables to tune the plugin to perfectly fit any server.
Much more efficient when compared to monsterbots.
Up to 4 different special infected spawned.
Tank and witch spawn control with separate timers.
Common Infected mob control, with spawn size control and periodic spawns just like SI/Tank/Witch.
Changelog:
1.0 - Release
1.1 - Fixed all the bugs I have found.
1.2 - Added new features:
Ability to control and spawn common infected "mobs" just like SIs, see new cvars.
Changed the formula for CI spawns.
Some more small bug fixes. (Plugin has been thoroughly play tested, with no crashes or bugs of any kind)
Better play tested default convar values.
Removed debug messages.
1.3 - Added new features:
Background # of zombies is now also controlled by ASDC. Value is set to 1% of maximum common infected value.
Turned off automatic spawning of tank, witch, CI mobs for l4d1 maps only, will continue to spawn SI as usual though.
Math:
Plugin has internal timer that ticks every 3 seconds corresponding to 3 unmodified ticks.
The modified tick increase per second is as follows:
Tick/Sec=Difficulty Base+ASDC Multiplier(1->0)*Difficulty Multiplier
The modified spawn amounts for zombie waves is as follows:
#=2*(Amount of zombies per person*ASDC Multiplier*CI Difficulty Multiplier+Amount of zombies per person)
Examples:
4 Players all at 100% health, DB=1, DM=1 -> ASDC Multiplier = 1 -> Tick/Sec=2 -> 200% spawn rate.
4 Players all at 50% health, DB=1, DM=1 -> ASDC Multiplier = 0.5 -> Tick/Sec=2 -> 150% spawn rate.
3 Players 100% health 1 dead, DB=1, DM=1 -> ASDC Multiplier = 0.75 -> Tick/Sec=2 -> 175% spawn rate.
4 Players 50% health, DB=2, DM=2 -> ASDC Multiplier = 0.5 -> Tick/Sec=3 -> 300% spawn rate.
Convars:
// Multiplication tuning for CI difficulty controller. Set base and mult to 0 to turn off CI part of ASDC.
// -
// Default: "1"
// Minimum: "0.000000"
ASDCCImult "1"
// Multiplication tuning for difficulty controller. Set base and mult to 0 to turn off ASDC.
// -
// Default: "1"
// Minimum: "0.000000"
ASDCmult "1"
// Base time scale for difficulty controller. Set base and mult to 0 to turn off ASDC.
// -
// Default: "1"
// Minimum: "0.000000"
ASDCbase "1"
// Number of CI per person in a CI zombie wave.
// -
// Default: "10"
// Minimum: "0.000000"
ASDCcommons "30"
// Number of CI per person in a CI zombie wave.
// -
// Default: "5"
// Minimum: "0.000000"
ASDCcommonsbackground "5"
// Number of CI per person in a Mega CI zombie wave.
// -
// Default: "15"
// Minimum: "0.000000"
ASDCmob "60"
// How many ticks(unmodified seconds) till another SI spawns
// -
// Default: "30"
// Minimum: "0.000000"
ASDCSIinterval "30"
// How many ticks(unmodified seconds) till another Mob wave of CI spawns
// -
// Default: "120"
// Minimum: "0.000000"
ASDCMOBinterval "200"
// How many ticks(unmodified seconds) till another tank spawns
// -
// Default: "180"
// Minimum: "0.000000"
ASDCtankinterval "180"
// How many ticks(unmodified seconds) till another witch spawns
// -
// Default: "120"
// Minimum: "0.000000"
ASDCwitchinterval "120"
// Is Mobs of Common Infected wave spawn on (1/0). Set to 0 to disable.
// -
// Default: "1"
// Minimum: "0.000000"
ASDCtypeMOB "1"
// Is tank spawn on (1/0). Set to 0 to disable.
// -
// Default: "1"
// Minimum: "0.000000"
ASDCtypetank "1"
// Is witch spawn on (1/0). Set to 0 to disable.
// -
// Default: "1"
// Minimum: "0.000000"
ASDCtypewitch "1"
//////////////////////////////////////////////////////////
//Monster Types
//
//0 = Random (Smoker,Boomer,Hunter,Spitter,Jockey,Charger)
//1 = Smoker
//2 = Boomer
//3 = Hunter
//4 = Spitter
//5 = Jockey
//6 = Charger
//////////////////////////////////////////////////////////
// The maximum amount of SI
// -
// Default: "8"
// Minimum: "0.000000"
ASDCmaxbots "8"
// The first kind of special infected to spawn. Set to 9 to disable.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "9.000000"
ASDCtype0 "0"
// The second kind of special infected to spawn. Set to 9 to disable.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "9.000000"
ASDCtype1 "0"
// The third kind of special infected to spawn. Set to 9 to disable.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "9.000000"
ASDCtype2 "0"
// The fourth kind of special infected to spawn. Set to 9 to disable.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "9.000000"
ASDCtype3 "0"
__________________
Last edited by harryhecanada; 08-17-2013 at 13:38.
|
|
|
|