Raised This Month: $51 Target: $400
 12% 

[L4D2]Tank Rush


Post New Thread Reply   
 
Thread Tools Display Modes
thejuice027
Senior Member
Join Date: Dec 2009
Old 05-29-2010 , 20:07   Re: [L4D2]Tank Rush
Reply With Quote #31

ok, i overlooked that cvar, ill have to try it. Anyways, 1 last request. Anyway to make it heal you even if your incapped?
__________________
Steam_id: thejuice027
thejuice027 is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 05-30-2010 , 04:26   Re: [L4D2]Tank Rush
Reply With Quote #32

Hmm, so the tanks spawn in front and behind the survivors?

Last edited by KyleS; 05-30-2010 at 04:29.
KyleS is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 06-04-2010 , 14:08   Re: [L4D2]Tank Rush
Reply With Quote #33

The tank death, the skill continues available
Increases an infection switch, to be possible simultaneously Discovery the infection and the tank
Stimulates
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 06-05-2010 , 12:58   Re: [L4D2]Tank Rush
Reply With Quote #34

Sorry for being late, the subscribe feature broke and I didn't know the thread was active.

I'm going to upload the version with healing.

And the tank spawning in front thing is because that is how the director auto-places tanks. That's what I am going to try and fix next.
(-DR-)GrammerNatzi is offline
Ph0X
Member
Join Date: Jan 2006
Location: Canada, Montreal
Old 06-07-2010 , 17:19   Re: [L4D2]Tank Rush
Reply With Quote #35

Hey man.
I just tried installing this and I can't get it running on my dedicated server. Plugins runs fine, but tanks never spawn?

Is there any specific settings (game mod/difficulty/map) we need for this?
__________________
[img]http://img142.**************/img142/852/legwarmerbedtimesig.png[/img]
Ph0X is offline
Send a message via AIM to Ph0X Send a message via MSN to Ph0X
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 06-07-2010 , 17:54   Re: [L4D2]Tank Rush
Reply With Quote #36

Quote:
Originally Posted by Ph0X View Post
Hey man.
I just tried installing this and I can't get it running on my dedicated server. Plugins runs fine, but tanks never spawn?

Is there any specific settings (game mod/difficulty/map) we need for this?
Yeah, the tank spawning glitch happened to me, too.

It's not the plugin, as it worked fine, then just glitched up like that. I'm trying to find out why.
(-DR-)GrammerNatzi is offline
Ph0X
Member
Join Date: Jan 2006
Location: Canada, Montreal
Old 06-07-2010 , 18:53   Re: [L4D2]Tank Rush
Reply With Quote #37

Well, try debugging it?
I tried doing that but I haven't coded for a long time and I forgot most basic stuff.

Just put console outputs at every point in the code, and try finding where it breaks.

Output timerinterval everytime it changes too. I might be wrong but I think timerinterval isn't even going up, so it's breaking there or even before that maybe.
__________________
[img]http://img142.**************/img142/852/legwarmerbedtimesig.png[/img]
Ph0X is offline
Send a message via AIM to Ph0X Send a message via MSN to Ph0X
alexander1138
New Member
Join Date: Jun 2010
Old 06-09-2010 , 23:41   Re: [L4D2]Tank Rush
Reply With Quote #38

Hey so when I try to load the plugin it tells me to copy the file to the common/left 4 dead 2/left 4 dead folder. when i do that it tells me that it cant be loaded, and that x1 is a invalid win32 app. what should i do? when i list the plugins it comes up as <ERROR>
alexander1138 is offline
birno
Senior Member
Join Date: Mar 2010
Old 06-17-2010 , 16:11   Re: [L4D2]Tank Rush
Reply With Quote #39

Hi,

I extended this plugin a little and make some changes.
I use some code snippet from Mortiegama, Mecha the Slag and Tordecybombo and use some other coders work as reference, thanks for them.

You need SDKHooks to use this version.
Delete your old config file before you use it.

First of all a new command:

!suicide - You can kill yourself. Helpful for example if you are incapacitated and the other players already in the safe room and they can't help you.

New cvars:

tankrush_force_interval - Check in every x seconds there's a Tank in game or not, if not force spawn one. Default 30.
tankrush_incapheal - Survivors get up on tank death if they incapped. Default 1.
tankrush_safe_spawn - Disable/Enable Tank spawning while survivors are in safe room. Default 0.
tankrush_survheal - How much health will Survivors get when tank dies. Default 100.
tankrush_survmaxhealth - What is the Survivors max in-game health? Default 100.
tankrush_tankhealth - What is the Tank in-game health. Default 4000.
tankrush_suicideannounce - !suicide command announcement. Default 1.
tankrush_suicideannounceinterval - Announcement interval. Default 60.

The first cvar is a workaround for "plugin loaded but tank no spawn" glitches and I change the tank health cvar, because I set up another way than in the original plugin, don't change the built-in cvar(z_tank_health).
Now you can set up the healing parameters more carefully as Mortiegama said in a previous post, but now the incapped health working too like in the original plugin.

I fixed the
Code:
Native FakeClientCommand" reported: Client 1 is not connected
problem so now I hope we keep the logs clear.
If you find a bug, tell me and I try to fix it.
Have Fun!
Attached Files
File Type: sp Get Plugin or Get Source (L4DTankrush.sp - 465 views - 14.8 KB)

Last edited by birno; 07-08-2010 at 13:23.
birno is offline
birno
Senior Member
Join Date: Mar 2010
Old 06-19-2010 , 12:24   Re: [L4D2]Tank Rush
Reply With Quote #40

I'm update the plugin in the previous post, now if you disable or unload the plugin it will reset the changed settings to their defaults(for example common limit).

Last edited by birno; 07-08-2010 at 13:23.
birno 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 16:20.


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