Raised This Month: $32 Target: $400
 8% 

[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:
     
    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 , 21: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 - 3248 views - 15.1 KB)
    __________________

    Last edited by DieTeetasse; 03-26-2012 at 08:07. Reason: update
    DieTeetasse is offline
    Big Myke
    Senior Member
    Join Date: Jan 2009
    Location: Grain Belt, USA
    Old 01-17-2010 , 23: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 , 01: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 , 00: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 , 04: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 , 13: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
    enjoyskillingzombies
    Junior Member
    Join Date: Dec 2009
    Old 01-23-2010 , 13:49   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #7

    way to go die this has been working great
    i did notice something with the sound as well. it says that the sound file is not precatched (in server console) everytime it trys to play it.
    enjoyskillingzombies is offline
    PhoeniX31J
    Junior Member
    Join Date: Jan 2010
    Old 01-23-2010 , 19:37   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #8

    Hello, like the plugin although some people find it lame...especially when they lose...
    Here's the problem.
    Sometimes I can't change can count, the last time it was set to 5, I tried changing to 7 but it went to 3.
    Then somehow it got stuck at 2.
    (for your information I host a local server, since my connection is good enough)
    Most of the times it works great though.
    Also somehow since I host I seem to get the tank all the time...very rare for someone else to get tank.
    Just a request, since it gets predictable.
    Is it possible to get random tank at random time, or cans?
    So instead fix 5 cans for example tank comes at 2...then at 8 cans etc.
    So you never know when the tank comes?
    Or at random times....like after 1 minute...then 2 minutes or after 1 minute 10 seconds? Maybe even at both time and cans?
    PhoeniX31J is offline
    chryso
    New Member
    Join Date: Jan 2010
    Old 01-25-2010 , 08:24   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #9

    Hello, it's a great and funny plugin but unfortunately not very reliable. If I set l4d2_scavengetank_spawn_tank_after_can_count = 8 then sometimes the tank spawn at every 4 or 2 cans. If I set cvars at server.cfg the tank doesn't spawn at all but the horde spawns so the plugin is loaded. If I query the cvars from the server console it seems that all of it has the correct values. If I reset the tank spawn related cvar from the server console then the tank will spawn but mostly at wrong can count.

    An idea: it would be great to spawn a tank if remaining scavenge time is more than a preconfigured value (e.g. 10 or 2:00 minutes).
    chryso is offline
    hommayudi
    Member
    Join Date: Sep 2009
    Old 01-26-2010 , 13:52   Re: [L4D2] Scavenge Tank + Horde
    Reply With Quote #10

    Quote:
    Originally Posted by PhoeniX31J View Post
    Sometimes I can't change can count, the last time it was set to 5, I tried changing to 7 but it went to 3.
    Then somehow it got stuck at 2.
    (for your information I host a local server, since my connection is good enough)
    Most of the times it works great though.
    Also somehow since I host I seem to get the tank all the time...very rare for someone else to get tank.
    Same problem here
    __________________
    Sorry for my BAD english
    hommayudi 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 23:33.


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