View Single Post
Author Message
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 09-05-2010 , 12:08   [L4D/2] Witchy Spawn Controller
Reply With Quote #1

Description:
1. Automatic spawn additional witches on the map.
2. Witches spawn randomly through time specified minimum & maximum time in seconds.
3. The number of witches at the map & the number of simultaneously live witches can restrict specific values.
4. Can specify a minimum distance from the survivors, at distance more than the specified value of witches will be removed.
5. Can stop the witch respawn with the beginning of finals (call of saving transport).
6. Can enable & disable director's witches.

Config:
Edit cvars in the automatically generated l4d_wispaco.cfg at the cfg/sourcemod directory.

Cvars:
l4d_wispaco_enable (default "1") - Enable or Disable plugin.
l4d_wispaco_limit (default "0") - Sets limit for witches spawned. If 0, plugin will not check count witches.
l4d_wispaco_limit_alive (default "2") - Sets limit alive witches. If 0, plugin will not check count alive witches.
l4d_wispaco_spawn_time_min (default "90") - Sets minimum spawn time for witches spawned by plugin in seconds.
l4d_wispaco_spawn_time_max (default "180") - Sets maximum spawn time for witches spawned by plugin in seconds.
l4d_wispaco_distance (default "1500") - Distance from survivors that witch should be removed. If 0, plugin will not remove witches.
l4d_wispaco_director_witch (default "0") - If 1, enable director's witch. If 0, disable director's witch.
l4d_wispaco_finale_start (default "1") - If 1, enable spawn witches after finale start. If 0, disable spawn witches after finale start.
l4d_wispaco_log (default "0") - Enable or Disable DEBUG log.

Credits:
Fermortcis for plugin
SPOONMAN for plugin
[X]BetaAlpha for plugin
Silvers for plugin

Version 1.0 (05.09.10)
⠀⠀- Initial release

Version 1.1 (08.09.10)
⠀⠀- Fixed encountered error 23: Native detected error
⠀⠀- Fixed bug with counting alive witches
⠀⠀- Added removal of the witch when she far away from the survivors

Version 1.2 (09.09.10)
⠀⠀- Added precache for witch (L4D2)

Version 1.3 (16.09.10)
⠀⠀- Added removal director's witch
⠀⠀- Stopped spawn witches after finale start

Version 1.4 (24.09.10)
⠀⠀- Code optimization

Version 1.5 (17.05.11)
⠀⠀- Fixed error "Entity is not valid" (sapphire989's message)

Version 1.6 (23.01.20)
⠀⠀- Converted plugin source to the latest syntax utilizing methodmaps
⠀⠀- Added "z_spawn_old" method for L4D2

Version 1.7 (07.03.20)
⠀⠀- Added cvar "l4d_wispaco_enable" to enable or disable plugin

Version 1.8 (27.05.21)
⠀⠀- Added DEBUG log to file

Version 1.9 (3.08.22)
⠀⠀- Fixed SourceMod 1.11 warnings
⠀⠀- Fixed counter if director's witch spawns at the beginning of the map
⠀⠀- Various changes to clean up the code

Version 2.0 (1.05.23)
⠀⠀- Added support for "Left 4 DHooks Direct" natives
⠀⠀- Code optimization

>>> Source on Github <<<
Attached Files
File Type: zip l4d_wispaco.zip (15.5 KB, 27 views)
__________________

Last edited by Ja-Forces; 03-15-2024 at 00:06. Reason: * updated version
Ja-Forces is offline