Raised This Month: $12 Target: $400
 3% 

[L4D & L4D2] MultiWitches v1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Author
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Plugin ID:
1960
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Spawns any amount of witches you want per witch spawned by director/plugin/z_spawn
    Old 09-19-2010 , 13:05   [L4D & L4D2] MultiWitches v1.3
    Reply With Quote #1

    Well I've always wanted more witches in my game so I created a little something to spawn witches per witch.

    Cvars:
    auto created config by the name of l4d_multiwitches
    PHP Code:
    // This file was auto-generated by SourceMod (v1.4.0)
    // ConVars for plugin "l4d_multiwitches.smx"


    // Enable or Disable this plugin?
    // -
    // Default: "1"
    l4d_multiwitches_enable "1"

    // Which gamemodes allow extra witches
    // -
    // Default: "coop,realism,versus,teamversus"
    l4d_multiwitches_modes "coop,realism,versus,teamversus"

    // How many extra witches to create?
    // -
    // Default: "1"
    l4d_multiwitches_witches "1" 
    Note: Just because the plugin fires "z_spawn witch auto" doesn't mean a witch is guaranteed to be spawned, sometimes the director wont find a spot to place the witch. Sometimes witches aren't allowed to spawn.

    Changelog:

    1.0 - Initial Release

    1.0 - Re-release: Source must have gotten corrupted because the cvars were being listed with l4d2_ as the prefix instead of l4d_

    1.1 - Fixed to work with The Sacrifice as ServerCommand seems to be broken at the time of this post(10/8/10)

    1.2 - Temporary fix for versus and teamversus, witches during the daytime will work fine but sitting down witches will spawn on top of each other til I get some more time to fix that. Coop will work as before

    1.3 - Updated code to be easier to read. Cvar handles are invalidated when created. Debug now prints to server console as well. Crashes will no longer happen. Should work with versus now.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_multiwitches.sp - 4455 views - 2.8 KB)
    __________________

    Last edited by McFlurry; 11-27-2011 at 22:40.
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 09-19-2010 , 13:25   Re: [L4D & L4D2] MultiWitches
    Reply With Quote #2

    Now every map can be just like the Mill Town in Hard Rain!!! This will make players freak
    delirium_trigger is offline
    Ja-Forces
    Senior Member
    Join Date: Jul 2009
    Location: Leningrad
    Old 09-19-2010 , 14:26   Re: [L4D & L4D2] MultiWitches
    Reply With Quote #3

    http://forums.alliedmods.net/showthread.php?t=137431 so?
    Ja-Forces is offline
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 09-19-2010 , 14:32   Re: [L4D & L4D2] MultiWitches
    Reply With Quote #4

    Yours uses a timer mine is simply a derivative that uses the witch_spawn event instead of timed spawns.
    __________________
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    loraliromance
    Senior Member
    Join Date: Apr 2009
    Old 10-08-2010 , 08:06   Re: [L4D & L4D2] MultiWitches
    Reply With Quote #5

    Hey there!

    This doesn't seem to be working for me >.<

    i was super excited!

    In my server.cfg I have

    sm_cvar versus_tank_chance_intro 1
    sm_cvar versus_tank_chance_finale 1
    sm_cvar versus_tank_chance 1
    sm_cvar versus_witch_chance_intro 0
    sm_cvar versus_witch_chance_finale 0
    sm_cvar versus_witch_chance 1


    Mostly cause I want tanks every level, too bad they can't have both without being glitchy!

    Either way every level but the first and the last a witch spawned but no additional witches at all

    Any idea what the problem is?

    I set the additional witch spawn to 2 in the multiwitches.cfg.

    <3

    thanks for the help
    loraliromance is offline
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 10-08-2010 , 23:59   Re: [L4D & L4D2] MultiWitches v1.1
    Reply With Quote #6

    The problem is that ServerCommand appears to be broken right now. I updated it to find the first client in can find and execute the command on them as FakeClientCommand.
    __________________
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    loraliromance
    Senior Member
    Join Date: Apr 2009
    Old 10-09-2010 , 00:28   Re: [L4D & L4D2] MultiWitches v1.1
    Reply With Quote #7

    Awesome, thanks.

    I installed the new version and I'm about to give it a go and see how it works
    loraliromance is offline
    Mitsuru
    Member
    Join Date: Jun 2013
    Location: Fakes country
    Old 03-17-2014 , 03:47   Re: [L4D & L4D2] MultiWitches
    Reply With Quote #8

    Quote:
    Originally Posted by Ja-Forces View Post
    Your plugin has a problem, a lot of time on a map does not spawn a witch!
    Mitsuru is offline
    Elektramode
    Senior Member
    Join Date: Mar 2010
    Old 10-09-2010 , 13:50   Re: [L4D & L4D2] MultiWitches v1.1
    Reply With Quote #9

    the floating giraffe is hypnotic
    Elektramode is offline
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 10-09-2010 , 13:57   Re: [L4D & L4D2] MultiWitches v1.1
    Reply With Quote #10

    Quote:
    Originally Posted by Elektramode
    the floating llama is hypnotic
    Fixed ;P
    __________________
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    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 09:44.


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