Raised This Month: $68 Target: $400
 17% 

[L4D/2] Witches Respawn Control


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ja-Forces
Senior Member
Join Date: Jul 2009
Plugin ID:
1937
Plugin Version:
1.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin spawns more witches on map
    Old 09-05-2010 , 12:08   [L4D/2] Witches Respawn Control
    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 enable & disable director's witches.
    6. Can stop the witch respawn with the beginning of finals (call of saving transport).
    7. Works on all gamemodes.
    8. Awesome!!!

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

    Cvars:
    l4d_witches_limit (default "4") - Sets the limit for witches spawned. "0" - Disable check count witches
    l4d_witches_limit_alive (default "2") - Sets the limit alive witches. "0" - Disable check count alive witches
    l4d_witches_director_witch (default "1") - Enable director's witch. "0" - Disable director's witch
    l4d_witches_spawn_after_finale_start (default "1") - Enable spawn witches after finale start. "0" - Disable spawn witches after finale start
    l4d_witches_spawn_time_min (default "100") - Sets the min spawn time for witches spawned by the plugin in seconds
    l4d_witches_spawn_time_max (default "120") - Sets the max spawn time for witches spawned by the plugin in seconds
    l4d_witches_distance (default "1500") - Range from survivors that witch should be removed. "0" - Disable remove witches from survivors

    Credits:
    Fermortcis for plugin
    SPOONMAN 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)
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_witches_15.sp - 4018 views - 12.9 KB)
    File Type: sp Get Plugin or Get Source (l4d2_witches_15.sp - 245 views - 12.9 KB)
    __________________

    Last edited by Ja-Forces; 08-04-2019 at 03:21.
    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
    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
    AlliedModders Donor
    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
    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
    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


    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 17:48.


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