AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Vicious Infected V-1.83 (Updated: 1/20/14) (https://forums.alliedmods.net/showthread.php?t=119891)

Mortiegama 02-26-2010 13:09

[L4D2] Vicious Infected V-1.83 (Updated: 1/20/14)
 
2 Attachment(s)
Please note the name of the plugin has changed from Vicious Tank Spawns to Vicious Infected.

General

This plugin requires Sourcemod 1.5 or higher


Description

This plugin was originally created as Vicious Tank Spawns. It's purpose was to summon a panic event with the Tank and then to summon a Witch after the Tank died. It was slightly upgraded aftewards to include the Boomer and Spitter abilities of Bile Shower and Sticky Goo. Still, there was more that the rest could do so all infected have a special ability. You can edit several values in the plugin.L4D2.ViciousInfected.cfg in the CFG/Sourcemod folder.


Cvars

<*>To change these values edit the plugin.L4D2.ViciousInfected.cfg in the CFG/Sourcemod folder.


Infected Abilities

Boomer:
<*>Bile Feet
Increases the movement speed of the Boomer.
<*>Bile Mask
Hides the Survivor's HUD when the Boomer vomits.
<*>Bile Shower
Summons a mob when the Boomer vomits/explodes on a Survivor.
<*>Bile Swipe
When a Boomer claws a Survivor, they take damage over time.

Charger:
<*>Broken Ribs
After a pummel ends the Survivor takes damage over time.
<*>Snapped Leg
After a charger collision movement speed is reduced.
<*>Stowaway
Multiplied damage is applied to the Survivor for each second they are carried during a charge.

Hunter:
<*>Cobra Strike (Disabled by Default)
There is a chance on pounce to instantly incap the Survivor and cause them to revive at Black and White
<*>Deep Wounds
After a pounce ends the Survivor takes damage over time.

Jockey:
<*>Bacterial Infection
After a ride ends the Survivor takes damage over time.
<*>Derby Daze
During a Jockey ride, the Survivor is blindfolded and their HUD is hidden.
<*>Ghost Stalker (Disabled by Default)
When a Jockey takes damage, there is a chance it will return to ghost mode and be immediately spawnable as another zombie.

Smoker:
<*>Collapsed Lung
After a tongue release the Survivor takes damage over time.
<*>Moonwalk
Allows the Smoker to drag the Survivor after grabbing them and allows tongue to stretch or bend during drag.

Spitter:
<*>Acid Swipe
When a Spitter claws a Survivor, they take damage over time.
<*>Sticky Goo
Slows down Survivor when standing in spit.
<*>Supergirl
Temporary invulnerability after Spitter spits.

Tank:
<*>Burning Rage
When a Tank is one fire, the movement speed is increased.
<*>Culling Swarm
Spawns a Panic Event when the Tank spawns.
<*>Mourning Widow
Spawns a Witch after the Tank dies.
<*>Roid Rage
Allows random changes to Tank HP.
<*>Worried Wife (Disabled by Default)
Spawns a Witch at the same time the Tank spawns.

Witch:
<*>Mood Swing
Allows random changes to Witch HP.
<*>Mini Bodyguard
Spawns a Mini Tank with 25% normal HP when the Witch is killed.
<*>Support Group
When a Witch is angered her anger management Support Group will spawn to help her.

Game Dependent Cvars

This game launches a Panic Event with the tank. If a Panic Event has been fired previously the plugin will not launch it's event. If the plugin launches the Panic Event then one that should start afterwards will not launch. There are internal Cvars in the game that control the delay between panic events, they are not part of the plugin and must be changed in your Server.cfg file:

  • z_mega_mob_spawn_max_interval
  • z_mega_mob_spawn_min_interval

Installation
  • Download and copy L4D2 Vicious Infected.smx to Addons/Sourcemod/Plugins folder
  • Download and copy L4D2_ViciousInfected.txt to Addons/Sourcemod/Gamedata
  • Delete plugin.L4D2.ViciousInfected.cfg from the CFG/Sourcemod folder.
  • Delete Vicious_Tank_Spawns.smx from the Addons/Sourcemod/Plugins folder
Version History

Version 1.83 - (1/20/14)
<*>Another attempt to fix the Timer closing errors
<*>Corrected issues that allowed damage timers to continue
Version 1.82 - (1/18/14) - 33 Views
<*>Re-redid the Timer closing system to address errors
Version 1.81 - (1/16/14) - 31 Views
<*>Emergency patch to fix a ton of spamming errors
Version 1.8 - (1/14/14) - 11 Views
<*>Overhauled the plugin, cleaned up code and fixed timer close errors
<*>Fixed Bile Mask not working properly
<*>Fixed Ghost Stalker not working properly
<*>Added a new Tank Ability - Roid Rage, allows random settings for Tank HP
<*>Added a new Witch Ability - Mood Swing, allows random settings for Witch HP
<*>Used "z_spawn_old" to fix Tank and Witch spawning issues
Version 1.71 - (1/26/11) - 3028 Views
<*>Changed the way the Timer is closed when the Tank is killed to prevent errors
Version 1.7 - (5/25/10) - 1174 Views
<*>Added a new Boomer Ability - Bile Mask
<*>Added a new Jockey Ability - Derby Daze
<*>Added a new Smoker Ability - Moonwalk
<*>Completely redid the Witch and Mini Bodyguard spawning code
<*>Added new Cvar - TankMax: Sets maximum amount of Mini Bodyguards that can spawn at a time
<*>Added new Cvar - TankMaxMap: Sets maximum amount of Mini Bodyguards that can spawn on a single map
<*>Added new Cvar - WitchMax: Sets maximum amount of Witches that can spawn at a time
<*>Added new Cvar - WitchMaxMap: Sets maximum amount of Witches that can spawn at a time
<*>Thanks to McFlurry for the Scavenge Panic Event bug, now this plugin will not reset the Scavenge timer
Version 1.64 - (5/22/10) - 94 Views
<*>Added a new Boomer Ability - Bile Swipe
<*>Added a new Jockey Ability - Ghost Stalker
<*>Added a new Spitter Ability - Acid Swipe
<*>Fixed errors from incorrect closing the Mini Tank Timer
<*>Fixed error call from FakeClient on Tank spawn
<*>Added a Cvar to control if the Mini Bodyguard changes health
Version 1.63 - (5/9/10) - 161 Views
<*>Changed the way Charger - Stowaway inflicts damage
Version 1.62 - (5/8/10) - 6 Views
<*>Fixed the Snapped Leg slowing problem and Hint not being correct
<*>Added a new Tank Ability - Burning Rage
Version 1.61 - (5/4/10) - 67 Views
<*>Added a new Charger Ability - Stowaway
<*>Fixed slowing bug when getting both Sticky Goo and Snapped Leg
<*>Updated Announcement for Mini Tank
Version 1.6 - (4/28/10) - 126 Views
<*>Changed Mini Bodyguard to use 25% of Tanks spawn HP instead of a predetermined amount.
<*>Added a new Hunter Ability - Cobra Strike
<*>Added a new Tank Ability - Worried Wife
<*>Cleaned up some more of the hooks for Client checking
Version 1.5 - (4/27/10) - 49 Views
<*>Fixed various bugs in reference to Clients
<*>Added a new Hunter ability - Deep Wounds
<*>Added a new Witch ability - Mini Bodyguard
<*>Added a new Witch ability - Support Group
Version 1.42 - (4/24/10) - 66 Views
<*>Fixed a bug which was spamming Client 0 errors on almost all the calls in the Plugin
<*>Fixed a bug which was spamming Witches and Tank Death when the Tank was still alive
<*>Fixed a bug where the Bile Feet was not working properly
Version 1.41 - (4/24/10) - 6 Views
<*>Fixed a copy/paste problem with Smoker which caused him not to do damage
<*>Fixed Event call for Spitter which prevented her from becoming Supergirl
Version 1.4 - (4/24/10) - 16 Views
<*>Complete overhaul of the plugin, name changed to Vicious Infected
<*>Added a new Boomer ability - Bile Feet
<*>Added two new Charger abilities - Crushed Ribs and Snapped Leg
<*>Added a new Jockey ability - Bacterial Infection
<*>Added a new Smoker ability - Crushed Lung
<*>Added a new Spitter ability - Supergirl
<*>To avoid crashing in the new DLC - The Passing, cached the Witch model
Version 1.31 - (3/22/10) - 260 Views
<*>Added IsClientInGame to prevent server spam from Spitter slow
Version 1.3 - (3/16/10) - 28 Views
<*>Added CVar l4d_vts_spitter
<*>Survivors can be slowed when they are standing in spitter goo
<*>Changed the way the plugin checks what's enabled/disabled
<*>Modified the Boomer mob spawn so it can only fire at a minimum of every 10 seconds
Version 1.2 - (3/12/10) - 29 Views
<*>Added CVar l4d_vts_boomer
<*>Added a spawnable mob when boomer vomits/explodes on a target
Version 1.1 - (3/3/10) - 96 Views
<*>Added CVar l4d_vts_announce
<*>Fixed bug which left "z_spawn" unflagged
Version 1.0 - (2/26/10)
<*>Original launch of the plugin


Special Thanks

Oshroth - Acid/Bile Swipe:
http://forums.alliedmods.net/showthread.php?p=1117948
Olj - Smoke IT! (Moonwalk):
http://forums.alliedmods.net/showthread.php?p=936834
DieTeetasse - Jockey Blindfold (Derby Daze):
http://forums.alliedmods.net/showpos...14&postcount=5


Known Issues

<*>Panic events may occur while a player is still loading and a Tank spawns

dani1341 02-26-2010 13:39

Re: [L4D2] Vicious Tank Spawns
 
Cool :D I will test it even if survivors can't survive it :mrgreen: Because in my server 4 tanks spawn on same time :D

GanjaStar 02-26-2010 18:06

Re: [L4D2] Vicious Tank Spawns
 
great idea for the plugin. another awesome feature you could add, that I have always wanted is this:

CI spawning during the tank. on my server i have the tank set to never loose control, in order to prevent survivor camping out in easy spots. one proble with the infinite tank control is that the CI do not spawn while the tank is active.

Would it be possible that you made the CI spawn normally as they would without the tank being there? just a suggestion.. still a great mod and I am gonna install it. :)

thejuice027 02-26-2010 18:22

Re: [L4D2] Vicious Tank Spawns
 
can you add cvar to turn off notification?

mikhdenis 03-02-2010 11:42

Re: [L4D2] Vicious Tank Spawns
 
I have z_spawn problem,any people can use z_spawn command.
Sorry bad english.

Skorpion1976 03-03-2010 18:19

Re: [L4D2] Vicious Tank Spawns
 
@mortiegama: Great idea for plugin!

@z_spawn/director... --> You strip off the cheat flag from z_spawn AND director_force... commands, but do not give the cheat flag back after using it !

Code:

SetCommandFlags("z_spawn", flags3 & ~FCVAR_CHEAT);
SetCommandFlags("director_force_panic_event", flags4 &  ~FCVAR_CHEAT);

You must add this line after using the spawn/director stuff:
Code:

SetCommandFlags("z_spawn", flags3|FCVAR_CHEAT);
same for director...

Mortiegama 03-03-2010 21:14

Re: [L4D2] Vicious Tank Spawns
 
New version has been released!

@Ganja: Not entirely sure how I would code that one. I would look into pushing that in the plugin that you use to prevent the tank from loosing control.

@Thejuice: I added a notification CVar to the latest version.

@mikhdenis:
@Skorpion:

Skorpion, thanks for the tip on how to fix that. The "z_spawn" flag has been closed so that people can't use it as a cheat.

Window_ Wind 03-03-2010 21:22

Re: [L4D2] Vicious Tank Spawns
 
Something to add to your known issues, sorry to say. When this plug in is loaded and i do survival on my dedicated server the timer is reset every time a horde spawns with a tank. After removing this plugin it fixed the problem and i don't have any other survival plugins so i think this would be the cause.

Skorpion1976 03-04-2010 08:35

Re: [L4D2] Vicious Tank Spawns
 
I am not sure how panic events work in l4d2 but in l4d1 90 seconds had to pass before the game could start another panic event. So if >1 tanks spawn within 90 seconds only 1 panic event should start. Perkmod and Multi-tank plugins can spawn more than 1 tank...

GanjaStar 03-05-2010 04:42

Re: [L4D2] Vicious Tank Spawns
 
Quote:

Originally Posted by Mortiegama (Post 1106866)
New version has been released!

@Ganja: Not entirely sure how I would code that one. I would look into pushing that in the plugin that you use to prevent the tank from loosing control.



thx for the new version. i don't like written announcments to clutter the screen :wink:

as for the tank not loosing control. that's not a plugin. its a simple cvar :mrgreen:

But, yeah i understand if you can't or wish not to code it. not a biggy, was just a suggestion :wink:


All times are GMT -4. The time now is 18:50.

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