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

[L4D] Happy Tank Witch Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Fermortcis
Junior Member
Join Date: Jun 2009
Plugin ID:
960
Plugin Version:
0.1
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Spawns 1 witch everytime a tank spawns.
    Old 06-27-2009 , 19:19   [L4D] Happy Tank Witch Plugin
    Reply With Quote #1

    This is my 1st plugin, so be gentle.

    Since there are a ton of people getting really good at L4D, I wanted to make it much more difficult and much more chaotic. My code is based off of Yossarian's Survive A Witch Plugin for Survival Mode . In fact, it's basically his code, without the function that wraps around the game mode required to be "Survival".

    Requirements:
    -MetaMod 1.7.1
    -SourceMod 1.2.1

    Notes:
    -This plugin uses "z_spawn" to spawn the witch
    *EDIT*
    -This plugin will spawn a witch every time a tank is spawned
    -The witch will/should spawn where the tank was spawned

    Installation:
    -Upload the plugin to: /addons/sourcemod/plugins

    *EDIT*(7/18/2009) Updated plugin information
    Attached Files
    File Type: sp Get Plugin or Get Source (HappyTankWitch.sp - 6856 views - 2.0 KB)

    Last edited by Fermortcis; 07-18-2009 at 19:11. Reason: Updated info on what plugin does
    Fermortcis is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 06-28-2009 , 10:26   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #2

    Wait, witch and tank? Ouch.
    Dragonshadow is offline
    Fermortcis
    Junior Member
    Join Date: Jun 2009
    Old 06-28-2009 , 11:58   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #3

    It's pretty funny actually. Sometimes, the witch spawns in a really awkward location, somewhere in the path of the survivors. If you want to see it in action, connect to my server: l4d.shadeofyellow.com
    Fermortcis is offline
    leonil7
    BANNED
    Join Date: May 2009
    Location: GB
    Old 07-18-2009 , 17:59   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #4

    any chance spawning a 'disturbed' running witch instead, to attack randomly any survivor?
    leonil7 is offline
    Send a message via ICQ to leonil7 Send a message via AIM to leonil7 Send a message via Yahoo to leonil7 Send a message via Skype™ to leonil7
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 07-18-2009 , 18:47   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #5

    Update post description fields, and no do included a compiled version when it compiles on the forums.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    Fermortcis
    Junior Member
    Join Date: Jun 2009
    Old 07-18-2009 , 19:13   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #6

    Quote:
    Originally Posted by leonil7 View Post
    any chance spawning a 'disturbed' running witch instead, to attack randomly any survivor?
    I looked into it, but I don't quite know how to force a witch to start up in "disturbed" mode. Sorry.
    Fermortcis is offline
    Thraka
    AlliedModders Donor
    Join Date: Aug 2005
    Old 07-20-2009 , 10:02   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #7

    I just use the CVARs on my server to force the witch and tank to spawn each map (cept last and first)
    Thraka is offline
    Fermortcis
    Junior Member
    Join Date: Jun 2009
    Old 07-23-2009 , 13:20   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #8

    Quote:
    Originally Posted by Thraka View Post
    I just use the CVARs on my server to force the witch and tank to spawn each map (cept last and first)
    You do it manually? That detracts from the spontaneity of the game. I let the AI Director or the VS Infected Bot plugin handle the zombie spawning.

    It works great for those servers that want the maps to be more challenging.

    I have the UNREST mod on my server (l4d.shadeofyellow.com) and it spawns two tanks. When the two tanks spawn, at least 1 witch will spawn in a visible location. I still can't figure out how to make sure the witch spawns in a navigable area, but I'll be sure to update the plugin once I do.
    Fermortcis is offline
    Rhuevyk
    New Member
    Join Date: Oct 2009
    Old 10-27-2009 , 17:29   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #9

    How does this affect the "Second Finale Tank" plugin? Will two witches spawn, and are there any glitches in that?
    Rhuevyk is offline
    Fermortcis
    Junior Member
    Join Date: Jun 2009
    Old 10-27-2009 , 18:04   Re: [L4D] Happy Tank Witch Plugin
    Reply With Quote #10

    Quote:
    Originally Posted by Rhuevyk View Post
    How does this affect the "Second Finale Tank" plugin? Will two witches spawn, and are there any glitches in that?
    There's a good chance the witch will spawn where the Second Finale Tank spawns. In a good majority of cases, this is what happens. However, due to the flaky nature of L4D and it's FakeClientCommand command, sometimes, the witch doesn't spawn at all.

    I might change the code to force the tank's client to spawn the witch as opposed to the way it's doing it right now--by using a random fake client bot. It might actually be more reliable.
    Fermortcis 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 14:17.


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