Raised This Month: $32 Target: $400
 8% 

[L4D/2] Witchy Spawn Controller


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Plugin ID:
1937
Plugin Version:
2.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
7 
Plugin Description:
Witch revival manager by timer.
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, 11 views)
__________________

Last edited by Ja-Forces; 03-15-2024 at 00:06. Reason: * updated version
Ja-Forces is offline
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 09-05-2010 , 19:02   Re: [L4D] Witches
Reply With Quote #2

Ah so, you can set when a witch is spawned on a map, so round starts, 2 minutes later, a witch spawns, 3 minutes later a witch spawns and so on?
IronWarrior is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 09-06-2010 , 04:35   Re: [L4D] > Witches
Reply With Quote #3

yep, in config possible to expose minimum and maximum time spawn.
Ja-Forces is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-06-2010 , 05:52   Re: [L4D] > Witches
Reply With Quote #4

Sounds good, can't wait to see what people say when witch after witch spawn!
__________________
Silvers is offline
Eraa
Senior Member
Join Date: Mar 2010
Old 09-06-2010 , 14:35   Re: [L4D] > Witches
Reply With Quote #5

Crash on the passing, you need add precache for the witch
thanks for this plugin.
__________________
Eraa is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 09-06-2010 , 15:55   Re: [L4D] > Witches
Reply With Quote #6

support for l4d2 will be later, maybe.
Ja-Forces is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 09-06-2010 , 18:12   Re: [L4D] > Witches
Reply With Quote #7

Quote:
Originally Posted by Ja-Forces View Post
support for l4d2 will be later, maybe.
http://forums.alliedmods.net/showthread.php?p=1164870 copy/paste and give him credits. nothing easier than that
Skorpion1976 is offline
Eraa
Senior Member
Join Date: Mar 2010
Old 09-06-2010 , 20:34   Re: [L4D] > Witches
Reply With Quote #8

It's work on L4D2, just need to add precache.
I have this error too, sometime :
Code:
[SM] Plugin "Witches.smx" encountered error 23: Native detected error
[SM] Invalid timer handle 650806c8 (error 3) during timer end, displayed function is timer callback, not the stack trace
[SM] Unable to call function "SpawnAWitch" due to above error(s).
__________________
Eraa is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 09-06-2010 , 20:38   Re: [L4D] > Witches
Reply With Quote #9

tnx, Skorpion1976. When we will finish ideas under the l4d and all will accurately work. Have patience, programmers are people too ;)

Last edited by Ja-Forces; 09-06-2010 at 21:06.
Ja-Forces is offline
fpsbrian
Senior Member
Join Date: Feb 2008
Old 09-07-2010 , 08:14   Re: [L4D] > Witches
Reply With Quote #10

If I use this with l4d2 witch precache I dont get any errors or crashes in the passing...

but witches seem to spawn too fast after each other?
__________________
fpsbrian is offline
Reply



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 10:05.


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