Raised This Month: $ Target: $400
 0% 

[L4D2] Scavenge Tank


Post New Thread Reply   
 
Thread Tools Display Modes
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 12-09-2009 , 17:52   Re: [L4D2] Scavenge Tank
Reply With Quote #21

Sounds like a fun plugin. Can you add the ability to set the HP of the tank, and set how many tanks to spawn?

There a plugin that lets a person take command of a tank for l4d1, you could take some of that code and force players to take control of the tank so it's never the bot.

But it would be cool to spawn 2 tanks but at half HP.

Another thing you could add is spawning a horde.
Thraka is offline
CanadaRox
Member
Join Date: Dec 2009
Old 12-09-2009 , 20:53   Re: [L4D2] Scavenge Tank
Reply With Quote #22

I added the horde feature that Thraka was talking about.

l4d2_scavengetank_spawn_tank_after_overtime
l4d2_scavengetank_spawn_tank_after_score_tied
l4d2_scavengetank_spawn_tank_after_cans_count

Those commands still do the same thing, but I've added a few more:

l4d2_scavengehorde_spawn_horde_after_overtime
l4d2_scavengehorde_spawn_horde_after_score_ti ed
l4d2_scavengehorde_spawn_horde_after_cans_cou nt

Which do the same thing as the tank versions, but obviously for the horde.
Attached Files
File Type: sp Get Plugin or Get Source (scav_tank.sp - 441 views - 5.3 KB)
File Type: smx scav_tank.smx (4.1 KB, 156 views)

Last edited by CanadaRox; 12-09-2009 at 20:54. Reason: Forgot the files!
CanadaRox is offline
thejuice027
Senior Member
Join Date: Dec 2009
Old 12-10-2009 , 13:45   Re: [L4D2] Scavenge Tank
Reply With Quote #23

This plugin needs fixing. It doesn't work everytime.
thejuice027 is offline
pAter
Junior Member
Join Date: Feb 2009
Old 12-10-2009 , 17:59   Re: [L4D2] Scavenge Tank
Reply With Quote #24

Quote:
Originally Posted by mrs_campanula View Post
l4d2_scavengetank_spawn_tank_after_overtime - 0 to disable tank after overtime, 1 to enable
l4d2_scavengetank_spawn_tank_after_score_tied - 0 to disable tank after score tied, 1 to enable
l4d2_scavengetank_spawn_tank_after_cans_count - 0 to disable tank after specified number of cans, more then 1 to enable ( if count is 2, tank will spawn when poured cans number is 2, 4, 6 etc )

Where do i put these commands? it seems that if I put them in my server.cfg they dont seem to work....
pAter is offline
pAter
Junior Member
Join Date: Feb 2009
Old 12-10-2009 , 21:17   Re: [L4D2] Scavenge Tank
Reply With Quote #25

Secondly....Ive been trying to use this on our server, however there are a few bugs....

1) The commands to spawn the tank do not always work from rcon
2) It seems that only one team keeps getting the tank, and not the other.
3) I had the 2 cans spawn working once, but after the map changed it didnt seem to work.


The biggest problem is that only one side gets the tank. ie: If Team A starts as infected and gets a tank, Team B will never get a tank when they are infected. Also, Admin Cannot Spawn tanks for Team B but can for team A.
pAter is offline
thejuice027
Senior Member
Join Date: Dec 2009
Old 12-12-2009 , 02:30   Re: [L4D2] Scavenge Tank
Reply With Quote #26

plugin abandoned?
thejuice027 is offline
pAter
Junior Member
Join Date: Feb 2009
Old 12-12-2009 , 07:55   Re: [L4D2] Scavenge Tank
Reply With Quote #27

I dunno....would be nice if someone could look at it cuz its actually pretty cool...when it works- especially having the tanks come after 2 or 3 gas cans - just what scavenge mode needed.
pAter is offline
xibit1987
Junior Member
Join Date: Nov 2009
Old 12-12-2009 , 10:48   Re: [L4D2] Scavenge Tank
Reply With Quote #28

Well i had it working for both teams but it didn't follow any of the cvars... it was just random o.O

The idear behind this os so damn awsome, so it would be sad if it was abandoned. maby a better coder could look into it?

EDIT: Every thing works like a charm now with the above plugin GOOD WORK!

Now we just need Force player tank Built in to this plugin

Last edited by xibit1987; 12-12-2009 at 11:41.
xibit1987 is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 12-12-2009 , 18:53   Re: [L4D2] Scavenge Tank
Reply With Quote #29

Some of the logic looks slightly wrong, but the plugin seems sound (code wise). I don't think she abandoned it, it's only been like a week since the original posting.
Thraka is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 12-12-2009 , 18:57   Re: [L4D2] Scavenge Tank
Reply With Quote #30

If there was an explaination of what events fire when and under what circumstances, I may be able to whip an alternative to it.
Thraka 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 03:21.


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