Raised This Month: $23 Target: $400
 5% 

[L4D2]Infected Bots Spawner/Difficulty Control(ASDC) V1.2


Post New Thread Reply   
 
Thread Tools Display Modes
wAlkA
Junior Member
Join Date: Sep 2012
Location: Saarbruecken, Germany
Old 09-23-2016 , 15:24   Re: [L4D2]Infected Bots Spawner/Difficulty Control(ASDC) V1.2
Reply With Quote #21

Hello,
I find this plugin really great! It is the right thing I've searched for my 4+ coop L4D2 Server.

I only got a (stupid) question about the following cvars and the calculation:

ASDCCImult "1" // Multiplication tuning for CI difficulty controller. Set base and mult to 0 to turn off CI part of ASDC.

ASDCmult "1" // Multiplication tuning for difficulty controller. Set base and mult to 0 to turn off ASDC.

ASDCbase "1" // Base time scale for difficulty controller. Set base and mult to 0 to turn off ASDC.

Calculation:
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)

I know it is a really stupid question but I didn't understand, which cvar refer to which part of the calculation...

So I understand the following:
Tick/Sec=Difficulty Base+ASDC Multiplier(1->0)*Difficulty Multiplier
^^is this set by the cvars:
"ASDCbase", "ASDCmult" and "ASDCCImult"

so the calculation is the following?
Tick/Sec = "ASDCbase" + ( "ASDCmult" * "ASDCCImult" )

Is this right? Or could someone shortly explain or convert the calculation to the cvars of the config?

I use the original plugin of the first post.

Thanks a lot and sorry for my bad english and my very stupid question.
wAlkA is offline
hjhee
Junior Member
Join Date: May 2017
Location: China
Old 07-06-2017 , 05:30   Re: [L4D2]Infected Bots Spawner/Difficulty Control(ASDC) V1.2
Reply With Quote #22

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:

Version 1.3.1
Fix:
  1. Buffer health(pills, adrenaline) are now counted as survivor health.
  2. ASDC Multiplier is set to (sum of survivors health) / (number of survivors * 100) rather than (sum of survivors health) / (number of alive survivors * 100).
  3. Fixed spawn issue in finale or l4d1
  4. Fixed ASDCtypetank/ASDCtypewitch/ASDCtypemob not corretly handled

Changes:
  1. Removed spawning for normal infected(Smoker,Boomer,Hunter,Spitter,Jockey, Charger), you can use other plugins for example monsterbots.
  2. Mob size in finale is now more sensitive to changes of survivors health(quadratic).
  3. Added new convar for CommonLimit control: ASDCCLmult, ASDCFINmult
  4. Change Mob spawn preference to SPAWN_IN_FRONT_OF_SURVIVORS and SI to SPAWN_ABOVE_SURVIVORS
  5. 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...

And my zombie.cfg for 8 realism


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.
Attached Files
File Type: sp Get Plugin or Get Source (ASDC.sp - 520 views - 16.9 KB)
File Type: zip ASDC_tool.zip (97.4 KB, 229 views)

Last edited by hjhee; 07-06-2017 at 21:24. Reason: add dependency
hjhee is offline
rtokuda
Member
Join Date: Dec 2019
Old 07-29-2020 , 13:04   Re: [L4D2]Infected Bots Spawner/Difficulty Control(ASDC) V1.2
Reply With Quote #23

With errors:

PHP Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// l4d2_ASDC.sp
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(70) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(72) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(75) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(76) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(77) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(78) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(79) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(80) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(81) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(84) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(85) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(86) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(89) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(90) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(91) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(92) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(95) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(96) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// E:\game\steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d2_ASDC.sp(97) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// Code size:            12752 bytes
// Data size:             5372 bytes
// Stack/heap size:      16384 bytes
// Total requirements:   34508 bytes
//
// 19 Warnings.
//
// Compilation Time: 0,39 sec
// ----------------------------------------

Press enter to exit ... 
rtokuda is online now
rtokuda
Member
Join Date: Dec 2019
Old 08-01-2020 , 09:41   Re: [L4D2]Infected Bots Spawner/Difficulty Control(ASDC) V1.2
Reply With Quote #24

There could be a plugin update for sourcemod 1.10.
rtokuda is online now
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:40.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode