AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D/2] Witchy Spawn Controller (https://forums.alliedmods.net/showthread.php?t=137431)

Ja-Forces 09-05-2010 12:08

[L4D/2] Witchy Spawn Controller
 
1 Attachment(s)
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 <<<

IronWarrior 09-05-2010 19:02

Re: [L4D] Witches
 
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?

Ja-Forces 09-06-2010 04:35

Re: [L4D] > Witches
 
yep, in config possible to expose minimum and maximum time spawn.

Silvers 09-06-2010 05:52

Re: [L4D] > Witches
 
Sounds good, can't wait to see what people say when witch after witch spawn!

Eraa 09-06-2010 14:35

Re: [L4D] > Witches
 
Crash on the passing, you need add precache for the witch :)
thanks for this plugin.

Ja-Forces 09-06-2010 15:55

Re: [L4D] > Witches
 
support for l4d2 will be later, maybe.

Skorpion1976 09-06-2010 18:12

Re: [L4D] > Witches
 
Quote:

Originally Posted by Ja-Forces (Post 1293308)
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

Eraa 09-06-2010 20:34

Re: [L4D] > Witches
 
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).


Ja-Forces 09-06-2010 20:38

Re: [L4D] > Witches
 
tnx, Skorpion1976. When we will finish ideas under the l4d and all will accurately work. Have patience, programmers are people too ;)

fpsbrian 09-07-2010 08:14

Re: [L4D] > Witches
 
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?


All times are GMT -4. The time now is 20:04.

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