Raised This Month: $399 Target: $400
 99%   Almost there!

[L4D1 AND L4D2] Tank's Laser Attack


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ernecio
Member
Join Date: Sep 2019
Location: The United Mexican State
Plugin ID:
6849
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides to Tank the ability laser-guided attack
    Old 12-09-2019 , 18:28   [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #1

    [L4D1 AND L4D2] Tank's Laser Attack

    Description:

    The plugin is based on the original Witch Lightning Attack Idea by Panxiaohai, but unlike this it creates an electrical explosion in the target that is guided by a laser beam, causing damage to the ovjective if is in the range of laser. This plugin gives to Tank the probability in Spawn a chance to create laser-guided attacks on survivors, when the tank throws a rock it has a time frame to defend itself and this plugin is good for those time lapses in which the tank cannot defend itself, or for example in L4D1 in many cases the tank is blocked by players when it goes up a wall, and this plugins is good for that lapses of time (the plugin works if the Tank is blocked or not, acording to chance of gives the ability in spawn). The plugin have laser beam range configuration and a range of damage that can cause to survors. The laser is print to acording the color Tank, if the Tank have no colors the laser will be print normal (white)



    Convars:

    PHP Code:
    // Probability that the Tank gets the laser attack ability in spawn.
    // If the value is 0 = Plugin Disabled.
    // -
    // Default: "30.0"
    // Minimum: "0.000000"
    // Maximum: "100.000000"
    l4d_tank_laserattack_chance "30.0"

    // Maximum damage per attack.
    // -
    // Default: "10.0"
    // Minimum: "0.000000"
    // Maximum: "100.000000"
    l4d_tank_laserattack_damage_max "10.0"

    // Miinimum damage per attack.
    // -
    // Default: "3.0"
    // Minimum: "0.000000"
    // Maximum: "100.000000"
    l4d_tank_laserattack_damage_min "3.0"

    // Maximum attack range.
    // -
    // Default: "300.0"
    // Minimum: "0.000000"
    // Maximum: "1000.000000"
    l4d_tank_laserattack_range_max "300.0"

    // Miinimum attack range.
    // -
    // Default: "100.0"
    // Minimum: "0.000000"
    // Maximum: "1000.000000"
    l4d_tank_laserattack_range_min "100.0" 
    Installation:

    1 - Click "Get Plugin" and put the l4d_tank_laserattack.smx file into your server or game \addons\sourcemod\plugins\ folder.
    2 - (Only for L4D1) Required vmt for full visual lighting effect: https://forums.alliedmods.net/showpo...4&postcount=58 (by Dragokas)
    3 - (Only for L4D1) Installation of particles for the server and client. Open the .Rar file that was previously downloaded and copy the files: bendibeam.vmt and bendibeam.vft in the following path: left4dead\materials\particle \ folder
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_tank_laserattack.sp - 297 views - 13.5 KB)

    Last edited by Ernecio; 05-08-2020 at 19:21. Reason: Compiler Version Changed
    Ernecio is offline
    mikaelangelis
    Member
    Join Date: Oct 2017
    Old 12-10-2019 , 06:07   Re: [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #2

    That's great lol. anyway is there any possibility of making common zombie spawn chance that hold the gun and shoot at survivor ? im tired of lifeless walking dead already
    mikaelangelis is offline
    Ernecio
    Member
    Join Date: Sep 2019
    Location: The United Mexican State
    Old 12-10-2019 , 12:28   Re: [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #3

    Quote:
    Originally Posted by mikaelangelis View Post
    That's great lol. anyway is there any possibility of making common zombie spawn chance that hold the gun and shoot at survivor ? im tired of lifeless walking dead already
    That's a good idea, I hadn' thought of doing something like that, but if I make a modification of the plugin for the Zombies, you will know in this post

    Last edited by Ernecio; 12-10-2019 at 12:34.
    Ernecio is offline
    Firebred
    Junior Member
    Join Date: Oct 2019
    Old 12-10-2019 , 12:49   Re: [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #4

    This plugin is not working for me on a L4D2 server.

    Could there be a possible plugin conflict and is this plugin supposed to auto generate a convars file because one was created after I ran the server with the plugin installed?
    Firebred is offline
    Ernecio
    Member
    Join Date: Sep 2019
    Location: The United Mexican State
    Old 12-10-2019 , 13:02   Re: [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #5

    Quote:
    Originally Posted by Firebred View Post
    This plugin is not working for me on a L4D2 server.

    Could there be a possible plugin conflict and is this plugin supposed to auto generate a convars file because one was created after I ran the server with the plugin installed?
    This plugin is compiled with SourceMod 1.10 here a version compiled in SM 1.9 I hope you find it useful
    Attached Files
    File Type: smx l4d_tank_laserattack.smx (12.9 KB, 60 views)
    Ernecio is offline
    Firebred
    Junior Member
    Join Date: Oct 2019
    Old 12-13-2019 , 10:38   Re: [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #6

    SM 1.9 fixed the issue and works well now. Thank you!
    Firebred is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 12-16-2019 , 08:23   Re: [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #7

    Not sure how doable it is, but it would be kinda neat to give him an attached helmet or gun or something. Something to give off more of a visual representation than just the laser itself.
    Sev is offline
    Ernecio
    Member
    Join Date: Sep 2019
    Location: The United Mexican State
    Old 12-16-2019 , 14:53   Re: [L4D1 AND L4D2] Tank's Laser Attack
    Reply With Quote #8

    Quote:
    Originally Posted by Sev View Post
    Not sure how doable it is, but it would be kinda neat to give him an attached helmet or gun or something. Something to give off more of a visual representation than just the laser itself.
    I honestly didn't think about that, just think of a laser, thanks for the idea
    Ernecio is offline
    Reply


    Thread Tools
    Display Modes

    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 04:13.


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