Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Prevent Tank From Suicide [pause to download]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
2634
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Prevent Tank From Suicide
    Old 11-03-2011 , 04:36   [L4D & L4D2] Prevent Tank From Suicide [pause to download]
    Reply With Quote #1

    When tank suicide, create a new tank and copy the state to the new one;
    Attached Files
    File Type: sp Get Plugin or Get Source (tank_donot_suicide_l4d.sp - 2099 views - 3.4 KB)

    Last edited by panxiaohai; 11-22-2011 at 20:24.
    panxiaohai is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 11-03-2011 , 04:41   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #2

    Wouldn't it be easier to set the tank suicide time instead?

    Code:
    sm_cvar tank_stuck_time_suicide 99999999999
    That way even if stuck he wont suicide.
    Mr. Zero is offline
    chinagreenelvis
    Senior Member
    Join Date: Dec 2009
    Old 11-03-2011 , 04:58   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #3

    Now if we could only fix the bug where the Tank spawns as invisible.
    chinagreenelvis is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 11-03-2011 , 08:44   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #4

    Quote:
    Originally Posted by Mr. Zero View Post
    Wouldn't it be easier to set the tank suicide time instead?

    Code:
    sm_cvar tank_stuck_time_suicide 99999999999
    That way even if stuck he wont suicide.
    Thanks ,
    panxiaohai is offline
    RoCk_Men
    New Member
    Join Date: Nov 2011
    Old 11-03-2011 , 11:10   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #5

    Stuck also considered suicide?
    sorry for my poor english.
    RoCk_Men is offline
    Glide Loading
    Member
    Join Date: May 2010
    Old 11-05-2011 , 09:59   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #6

    "tank_stuck_time_suicide XXXXXX" in not enough.
    you need set tank_stuck_failsafe to 0 (default 1). Or tank will still die for other reasons. (for example. if tank "pressed down" by prop it will die even player control it)

    Last edited by Glide Loading; 11-05-2011 at 10:04.
    Glide Loading is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 11-05-2011 , 11:53   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #7

    Quote:
    Originally Posted by Glide Loading View Post
    "tank_stuck_time_suicide XXXXXX" in not enough.
    you need set tank_stuck_failsafe to 0 (default 1). Or tank will still die for other reasons. (for example. if tank "pressed down" by prop it will die even player control it)
    How to prevent tank kill self if tank behind survivors too far?
    panxiaohai is offline
    carlos moschen
    Member
    Join Date: Jan 2011
    Old 11-05-2011 , 12:59   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #8

    @panxiaohai

    friend creates a plugin to be born five tanks on a map, but a separate example, one born at the beginning of the map, was born later in another and so on! but it creates a that does not fail always spawn! Thank you great plugin!
    carlos moschen is offline
    Chronic1
    SourceMod Donor
    Join Date: Jun 2011
    Old 11-05-2011 , 15:38   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #9

    Will this help when my tanks spawn stuck behind a fence or off the map? They type !die to suicide which is the only way to get back in the map.
    __________________

    Last edited by Chronic1; 11-06-2011 at 14:56.
    Chronic1 is offline
    Glide Loading
    Member
    Join Date: May 2010
    Old 11-05-2011 , 16:32   Re: [L4D & L4D2] Prevent Tank From Suicide
    Reply With Quote #10

    Quote:
    Originally Posted by panxiaohai View Post
    How to prevent tank kill self if tank behind survivors too far?
    I think "tank_stuck_time_suicide 0" will help you with this problem.
    Anyway there no other cvars that related to "tank stuck". Only "tank_stuck_time_suicide" and "tank_stuck_failsafe".
    Glide Loading 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 14:16.


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