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

[L4D & L4D2] Smoker's Lightning


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
1927
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Smoker's Lightning
    Old 09-02-2010 , 11:23   [L4D & L4D2] Smoker's Lightning
    Reply With Quote #1

    When you drag by smoker you damage by smoker's lightning, and the lightning can transfer between all players.

    "l4d_smoker_lightning_damage1", "30", "damage at first,[1, 100]int"
    "l4d_smoker_lightning_damage2", "5", "damage per second,[1, 10]int"
    "l4d_smoker_lightning_chance", "30", "[0.0, 100.0]%",
    "l4d_smoker_lightning_todeath", "0", "0, do not damage palyer if icapped, 1, awalys damage to palyer"

    "l4d_smoker_lightning_range", "800.0", "lightning transfer range [300.0, -]"

    "l4d_smoker_lightning_life", "60.0", "lightning's life [30.0 -]s"
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_smokerlightning.sp - 5777 views - 11.2 KB)

    Last edited by panxiaohai; 09-03-2010 at 20:46.
    panxiaohai is offline
    Fleepster99
    Senior Member
    Join Date: Apr 2010
    Old 09-02-2010 , 11:31   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #2

    You and your crazy ass plugins, good work
    Fleepster99 is offline
    siangc
    Senior Member
    Join Date: Mar 2010
    Old 09-02-2010 , 12:11   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #3

    sounds pretty cool, any chance for a video?
    __________________
    siangc is offline
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 09-02-2010 , 19:04   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #4

    there seems to be a glitch. after the smoker died, the person still continued getting lightning and damage for a very long time.
    delirium_trigger is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 09-03-2010 , 01:53   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #5

    Quote:
    Originally Posted by delirium_trigger View Post
    there seems to be a glitch. after the smoker died, the person still continued getting lightning and damage for a very long time.
    Until the lightning transfer to another player.
    panxiaohai is offline
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 09-03-2010 , 16:28   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #6

    Quote:
    Originally Posted by panxiaohai View Post
    Until the lightning transfer to another player.

    no because it transferred to everybody already and it stayed with one person for a long time almost one entire minute.

    do you think you can make it so that it does not last so long or make it a CVAR?
    delirium_trigger is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 09-03-2010 , 20:35   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #7

    Quote:
    Originally Posted by delirium_trigger View Post
    no because it transferred to everybody already and it stayed with one person for a long time almost one entire minute.

    do you think you can make it so that it does not last so long or make it a CVAR?
    Yes, I have.
    "l4d_smoker_lightning_life", "60.0", "lightning's life [30.0 -]s"
    panxiaohai is offline
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 09-03-2010 , 21:33   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #8

    Quote:
    Originally Posted by panxiaohai View Post
    Yes, I have.
    "l4d_smoker_lightning_life", "60.0", "lightning's life [30.0 -]s"
    sorry I forgot to change it. I thought I changed it but I made a mistake I thought it was not working haha. sorry thanks a lot!
    delirium_trigger is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 09-05-2010 , 05:35   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #9

    Jesus... We installed it yesterday and this is pure fun. Thanks a lot !!!
    I am astonished what this engine is capable of if someone like you knows how to do it.

    1.
    What I would like to know: Why did you take the SMOKER and not another special infected? The blue lightning does more look like HIGH VOLTAGE or electric shock for me . I can imagine that this code would also look good if you applied it to the charged victim, after a successful charge. You get rammed into a wall then you get "The charger buzzed you" message or something like that

    2.
    Can you add the smoker cloud additionally to the lightning?
    So the survivor who got pulled transfers BOTH the lightning AND the cloud?
    This would mean that the cloud would have to be generated for every survivor that also gets the lightning transferred to him.
    Skorpion1976 is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 09-05-2010 , 08:21   Re: [L4D & L4D2] Smoker's Lightning
    Reply With Quote #10

    Quote:
    Originally Posted by Skorpion1976 View Post
    Jesus... We installed it yesterday and this is pure fun. Thanks a lot !!!
    I am astonished what this engine is capable of if someone like you knows how to do it.

    1.
    What I would like to know: Why did you take the SMOKER and not another special infected? The blue lightning does more look like HIGH VOLTAGE or electric shock for me . I can imagine that this code would also look good if you applied it to the charged victim, after a successful charge. You get rammed into a wall then you get "The charger buzzed you" message or something like that

    2.
    Can you add the smoker cloud additionally to the lightning?
    So the survivor who got pulled transfers BOTH the lightning AND the cloud?
    This would mean that the cloud would have to be generated for every survivor that also gets the lightning transferred to him.
    Thank you your creative idea, I am not good at English, so I do not fully understand what you mean, so let me list my understands reading from yours.
    1. Every special infected and smoker cloud have chance to be charged.
    2. If a
    lightning hit some one, her feel shock, dizziness and physics impact.


    panxiaohai 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 12:53.


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