AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Scavenge Tank + Horde + Witch (https://forums.alliedmods.net/showthread.php?t=115918)

DieTeetasse 01-17-2010 21:04

[L4D2] Scavenge Tank + Horde + Witch
 
2 Attachment(s)
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 ;)

Big Myke 01-17-2010 23:28

Re: [L4D2] Scavenge Tank + Horde
 
"added chat notification on spawn" Can we get a cvar to enable/disable this notification?

triggerman 01-18-2010 01:40

Re: [L4D2] Scavenge Tank + Horde
 
can you add an option to spawn a witch every certain number of cans?

thejuice027 01-19-2010 00:59

Re: [L4D2] Scavenge Tank + Horde
 
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".

DieTeetasse 01-19-2010 04:00

Re: [L4D2] Scavenge Tank + Horde
 
@thejuice027: Sorry :wink:

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.

triggerman 01-19-2010 13:26

Re: [L4D2] Scavenge Tank + Horde
 
Quote:

Originally Posted by DieTeetasse (Post 1059786)
@thejuice027: Sorry :wink:

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.

w00dp3ck3r 01-20-2010 10:24

Re: [L4D2] Scavenge Tank + Horde
 
If you create it just for the witch let me know. I am dying to try out a witch on scavenge mode.

Jay Dogg 01-20-2010 13:03

Re: [L4D2] Scavenge Tank + Horde
 
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

DieTeetasse 01-21-2010 06:58

Re: [L4D2] Scavenge Tank + Horde
 
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.

triggerman 01-22-2010 01:42

Re: [L4D2] Scavenge Tank + Horde
 
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.


All times are GMT -4. The time now is 20:16.

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