Monthly Target: $400 Donations: $147
 36% 

[L4D2] Scavenge Tank + Horde + Witch


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DieTeetasse
Senior Member
Join Date: Jul 2009
Plugin ID:
1412
Plugin Version:
1.0.11
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Spawns a tank and/or horde and/or a witch if a given gas count is reached or at overtime or score tie.
    Old 01-17-2010 , 22:04   [L4D2] Scavenge Tank + Horde + Witch
    Reply With Quote #1

    This plugin will spawn tanks and/or a hordes and/or a witch in scavenge mode.

    A tank/horde/witch will spawn if
    - a specific gas count is reached
    - there is an overtime (only once a round)
    - the second team tied the score
    (or by using a server command)

    CVars:

    l4d2_scavengetank_version "1.0.11"

    l4d2_scavengetank_spawn_horde_after_overtime "1"
    l4d2_scavengetank_spawn_horde_after_score_tie d" "1"
    l4d2_scavengetank_spawn_horde_after_cans_coun t" "0"

    l4d2_scavengetank_spawn_tank_after_overtime" "0"
    l4d2_scavengetank_spawn_tank_after_score_tied " "0"
    l4d2_scavengetank_spawn_tank_after_cans_count " "5"

    l4d2_scavengetank_spawn_witch_after_overtime" "0"
    l4d2_scavengetank_spawn_witch_after_score_tie d" "0"
    l4d2_scavengetank_spawn_witch_after_cans_coun t" "5"

    Server Commands:
    l4d2_scavengetank_force_horde_spawn
    l4d2_scavengetank_force_tank_spawn
    l4d2_scavengetank_force_witch_spawn

    History:
    v1.0.11:
    - rewrote tank logic
    - little revision

    v1.0.10:
    - fixed bug that prevents the lottery from working

    v1.0.9:
    - added witch spawning (command, cvar, logic)
    if there are standing gascans without survivors and witches => spawn sitting witch
    else spawn a wandering witch at a autospawn position
    - added notfication cvar
    - fixed multiple count of one gas can

    v1.0.8:
    - fixed bugging can count on new map

    v1.0.7:
    - fixed possible error log for unhooking events if the gamemode changed
    - (maybe) fixed tank sound

    v1.0.6:
    - fixed bug, where infected switched class on tank spawn without a reason

    v1.0.5:
    - changed logic
    if score tied tank is enabled a tank will spawn for the second team at 15 gas cans poured in
    - changed name of tank spawn command
    - added horde cvars, commands etc pp
    - fixed bot tank

    v1.0.4:
    - fixed tank spawn
    - added tank music on spawn
    - added chat notification on spawn
    - changed convar descriptions
    - changed convar flags
    - added gamecheck
    - added version cvar

    All credits of the idea goes to thejuice027 and the first version of this plugin to Mrs. Campanula ;)
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_scavenge_tank.sp - 1002 views - 15.1 KB)
    __________________

    Last edited by DieTeetasse; 03-26-2012 at 09:07. Reason: update
    DieTeetasse is offline
    Big Myke
    Senior Member
    Join Date: Jan 2009
    Location: Grain Belt, USA
    Old 01-18-2010 , 00:28   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #2

    "added chat notification on spawn" Can we get a cvar to enable/disable this notification?
    __________________
    Successful Pluggins that I've Requested.
    [L4D2]Blind Luck | [L4D2]Laser Sight Crosshair Removal
    Big Myke is offline
    triggerman
    Senior Member
    Join Date: Jun 2009
    Old 01-18-2010 , 02:40   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #3

    can you add an option to spawn a witch every certain number of cans?
    __________________
    triggerman is offline
    thejuice027
    Senior Member
    Join Date: Dec 2009
    Old 01-19-2010 , 01:59   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #4

    Hey hey hey hey, now wait a minute. "All credit for the idea...." goes to her? What about me?

    http://forums.alliedmods.net/showthread.php?t=110943

    That was posted before this.
    http://forums.alliedmods.net/showthread.php?t=111145

    I should get some credit for the "Idea".
    __________________
    Steam_id: thejuice027
    thejuice027 is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 01-19-2010 , 05:00   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #5

    @thejuice027: Sorry

    I tested the witch spawning and it seems possible. My idea is that the witch will spawn near a gas can and not randomly or near the car/generator.
    __________________
    DieTeetasse is offline
    triggerman
    Senior Member
    Join Date: Jun 2009
    Old 01-19-2010 , 14:26   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #6

    Quote:
    Originally Posted by DieTeetasse View Post
    @thejuice027: Sorry

    I tested the witch spawning and it seems possible. My idea is that the witch will spawn near a gas can and not randomly or near the car/generator.
    sounds even cooler that way.
    __________________
    triggerman is offline
    w00dp3ck3r
    New Member
    Join Date: Jan 2010
    Old 01-20-2010 , 11:24   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #7

    If you create it just for the witch let me know. I am dying to try out a witch on scavenge mode.
    w00dp3ck3r is offline
    Jay Dogg
    Senior Member
    Join Date: Jan 2009
    Old 01-20-2010 , 14:03   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #8

    Love the idea but what I would like to see is to have the tank spawn after a certain amount of time, letting you setting the tank to spawn so many seconds after the round start would be great. Just an idea =)

    Jay
    Jay Dogg is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 01-21-2010 , 07:58   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #9

    I was testing the witch spawning and i got the perfect solution. (in my opinion) ^^

    When a witch is about to spawn (by command or cvar) the logic will store the positions of the gas cans (which are not in the hands of a survivor), the survivor positions and the (maybe) already spawned witches. The logic will loop through the cans and if there are no survivors or witches near the can it will be marked as a possible spawn. After this one of this cans will be selected and the witch will spawn near it.
    But if there are no possible spawns, there will spawn a wandering witch at a position defined by the director.

    Later this day i will test the plugin a little more and i will test, what i can do about the idea of Jay Dogg.

    There is another idea from a friend, but i don't know yet how to implement it. His idea is that the scavenge time will stop at a tank spawn and will continue after his death. I will follow this idea maybe later.
    __________________
    DieTeetasse is offline
    triggerman
    Senior Member
    Join Date: Jun 2009
    Old 01-22-2010 , 02:42   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #10

    i had mine configured to spawn a tank on the tenth can. worked great on one map but as soon as we started a scavenge on another map it gave us a tank at 5 cans even though it was set to 10.
    __________________
    triggerman 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 22:32.


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