Raised This Month: $32 Target: $400
 8% 

[L4D2] Ghost Tank Lite


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Plugin ID:
1335
Plugin Version:
0.91a
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Upon tank spawn, the tank will be frozen and ghosted until a player takes over.
    Old 12-16-2009 , 03:16   [L4D2] Ghost Tank Lite
    Reply With Quote #1

    Ghost Tank Lite

    About:
    By now you have probably already heard or tried my Ghost Tank plugin for L4D. Simple stuff that I believed the tank need as the AI is really shitty.

    But as time went on I began to play more and more with friends, and stopped pubbing all together. This is when I realized my Ghost Tank was a bit... well bloated with stuff I didn't need for my friends matches.

    So Ghost Tank Lite was born as a offspring of my Ghost Tank plugin. It’s pretty simple. The tank is frozen and ghosted until player takes control.
    Rock throw is disabled for the AI, incapacitated fix by DrThunder included, and of course features fire immunity for a short while.

    Neither fire speed nor multi tank support. This is intended for L4D2, should work on L4D, but I claim the right to NOT provide support, encase it doesn't.

    Description:
    Upon tank spawn, the tank will be frozen and ghosted until a player takes over.

    Cvars:
    A configuration file will be automatically created for you upon first run, in /cfg/sourcemod/ called GhostTankLite.cfg
    Code:
    // Sets whether the plugin is active or not.
    // -
    // Default: "1"
    l4d2_gtl_enable "1"
    
    // The amount of time the tank is fire immune (secs), after player takes control. 0 for disable fire immunity.
    // -
    // Default: "3.0"
    l4d2_gtl_fireimmune "3.0"
    
    // Normally tanks would incap survivors on the spot. This fixes it and makes the Survivors still take a punch and fall back with force, before incapping them. All credits for this fix, goes to DrThunder on AlliedModders.
    // -
    // Default: "1"
    l4d2_gtl_fixpunch "1"
    
    // Sets whether the plugin will make the selection cvar use the old time for selecting the tank (4 sec in L4D2, 3 sec in L4D).
    // -
    // Default: "1"
    l4d2_gtl_oldselecttime "1"
    Changelog:
    Code:
    Version 0.91a
    ~ Fixed entity validation
    
    Version 0.91
    + Better tank death detection, for some reason the tank_killed event doesn't get fired (especially in finales) replaced with player_death.
    + Added option for use the old selection time for the tank (4 seconds in L4D2, 3 seconds in L4D).
    - Removed ghost cvar. Tanks will now be ghosted by default.
    ~ Set the default fire immune time to 3 seconds.
    
    Version 0.90a
    ~ Accidentally removed a part of the code that prevented AI tanks throwing rocks, fixed.
    ~ Small changes in code and random fix ups
    
    Version 0.90
    Initial release
    Version 0.90 - 48 Views
    Attached Files
    File Type: sp Get Plugin or Get Source (GhostTankLite v0.91a.sp - 4432 views - 9.9 KB)

    Last edited by Mr. Zero; 02-06-2010 at 17:43.
    Mr. Zero is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 12-16-2009 , 03:21   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #2

    I might as well answer the most obvious question now.

    Have I stopped developing on the original Ghost Tank?

    No.
    I am still working on the multi tank support. Its a hard nut to crack but my head is cracking as fast as it can.
    I will update it soon as I can.
    Mr. Zero is offline
    egor1908
    Veteran Member
    Join Date: Sep 2009
    Old 12-16-2009 , 04:33   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #3

    Thanks alot, putting this on my server now. I would like to hear if you also could create a "lite" version for L4D(1)?
    egor1908 is offline
    JackieChan
    AlliedModders Donor
    Join Date: Nov 2009
    Old 12-16-2009 , 04:45   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #4

    Great job, Zero. Been waiting for this
    JackieChan is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 12-16-2009 , 05:08   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #5

    Quote:
    Originally Posted by egor1908 View Post
    Thanks alot, putting this on my server now. I would like to hear if you also could create a "lite" version for L4D(1)?
    It should work in L4D, as there is nothing in the code that makes the plugin ONLY L4D2. All events are the same so yeah, it should work.
    Mr. Zero is offline
    Blakeocity
    Senior Member
    Join Date: Nov 2009
    Old 12-16-2009 , 09:34   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #6

    Works great for me in L4D2. Thanks a lot.
    Blakeocity is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 12-19-2009 , 07:31   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #7

    Script updated.

    Code:
    Version 0.91
    + Better tank death detection, for some reason the tank_killed event doesn't get fired (especially in finales) replaced with player_death.
    + Added option for use the old selection time for the tank (4 seconds in L4D2, 3 seconds in L4D).
    - Removed ghost cvar. Tanks will now be ghosted by default.
    ~ Set the default fire immune time to 3 seconds.
    Mr. Zero is offline
    JackieChan
    AlliedModders Donor
    Join Date: Nov 2009
    Old 12-30-2009 , 02:33   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #8

    Since I put this plugin on my server, I've had numerous instances where the first person as Tank would pass it on it on to the second person, the second person would get skipped and then the Tank would be passed again to a third person.
    JackieChan is offline
    SkaP
    Senior Member
    Join Date: Dec 2009
    Old 12-31-2009 , 00:32   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #9

    Quote:
    Originally Posted by JackieChan View Post
    Since I put this plugin on my server, I've had numerous instances where the first person as Tank would pass it on it on to the second person, the second person would get skipped and then the Tank would be passed again to a third person.
    Happening in my server as well, likes to skip over the second Tank controller and go to a third or back to first if there are only 2 players on the team. After that person losses control the AI takeovers.

    Last edited by SkaP; 12-31-2009 at 00:46.
    SkaP is offline
    egor1908
    Veteran Member
    Join Date: Sep 2009
    Old 12-31-2009 , 06:01   Re: [L4D2] Ghost Tank Lite
    Reply With Quote #10

    Quote:
    Originally Posted by JackieChan View Post
    Since I put this plugin on my server, I've had numerous instances where the first person as Tank would pass it on it on to the second person, the second person would get skipped and then the Tank would be passed again to a third person.
    Yes this is happening for me too.
    egor1908 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 01:27.


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