Monthly Target: $400 Donations: $269
 67% 

[L4D2] Chainsaw Refuelling


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DJ_WEST
Senior Member
Join Date: Jul 2005
Location: Russian Federation
Plugin ID:
1545
Plugin Version:
1.6
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Unapprover:
    Plugin Description:
    The plugin allow refuelling of a chainsaw with gascans (not scavenge gascans).
    Servers with this Plugin:
     
    Reason for Unapproving:
    Errors reported. Unsupported?
    Old 03-21-2010 , 17:20   [L4D2] Chainsaw Refuelling
    Reply With Quote #1

    [L4D2] Chainsaw Refuelling

    Version: 1.6



    Description:
    The plugin allow refuelling of a chainsaw with gascans (not scavenge gascans).

    Video

    Installation:
    1. Download the "l4d2_chainsaw_refuelling.smx" and put into your "addons\sourcemod\plugins" directory.
    2. Download the "translations.zip" and extract into your "addons\sourcemod" directory.

    Cvars:
    l4d2_refuelchainsaw_enabled - plugin status (default: 1).
    0 - disable
    1 - enable

    l4d2_refuelchainsaw_remove - remove a chainsaw if it empty (default: 0).
    0 - don't remove
    1 - remove

    l4d2_refuelchainsaw_mode - allow refuelling of a chainsaw (default: 2).
    0 - on the ground
    1 - on players
    2 - both

    l4d2_refuelchainsaw_drop - enable dropping a chainsaw (on reload button) (default: 1).
    0 - disable
    1 - enable

    Translations:
    • en - AtomicStryker
    • ru - DJ_WEST
    • de - AtomicStryker
    • pl - kwski43
    • da - Jo-Barf_Creepy & siangc
    • es - uriel18

    Changelog:
    Quote:
    1.6:
    • Fixed "Entity -1 (-1) is invalid" error (thx siangc)
    • Added the spanish translations
    1.5:
    • Fixed bug when the player press use, reload or attack button and can't change a weapon
    • Added the polish translations
    1.4:
    • Fixed error when refuelling doesn't work after the plugin is reloaded
    • Updated the translations
    1.3:
    • Checking client buttons (OnPlayerRunCmd) works now only on survivors, not owned by the infected
    • Fixed errors with every possible situations spam of pistols
    1.2:
    • Fixed error loading of a plugin
    • Added new cvar l4d2_refuelchainsaw_drop
    • Updated the translations
    1.1:
    • Fixed bug when chainsaw's fuel doesn't increase
    1.0:
    • Initial Release
    Views:
    Version 1.5 - 2344 views
    Attached Files
    File Type: zip translations.zip (2.9 KB, 1090 views)
    File Type: sp Get Plugin or Get Source (l4d2_chainsaw_refuelling.sp - 1708 views - 11.4 KB)

    Last edited by DJ_WEST; 06-30-2011 at 15:03. Reason: Updated to 1.6.
    DJ_WEST is offline
    GanjaStar
    Senior Member
    Join Date: Jun 2009
    Old 03-21-2010 , 17:57   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #2

    thats a cool plugin. a little gimmicky but very cool.
    GanjaStar is offline
    IronWarrior
    Veteran Member
    Join Date: Jan 2010
    Old 03-21-2010 , 18:39   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #3

    I like this, would be good for 10vs10.
    IronWarrior is offline
    HowGentle
    Member
    Join Date: Feb 2010
    Old 03-21-2010 , 20:34   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #4

    I summon chainsaw in my dedicate sever. I use chainsaw until out of gas, drop chainsaw and I try to refuel chainsaw by gascan
    but can't. (my chr make a refuel motion , but chainsaw's fuel does not increase.)

    Last edited by HowGentle; 03-21-2010 at 20:45.
    HowGentle is offline
    DJ_WEST
    Senior Member
    Join Date: Jul 2005
    Location: Russian Federation
    Old 03-22-2010 , 01:47   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #5

    HowGentle, thanks for report. Try new version 1.1.
    DJ_WEST is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-22-2010 , 02:19   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #6

    can you add a command to let player drop their chainsaw
    or
    auto drop(not remove) when run out gas
    alexip121093 is offline
    Send a message via MSN to alexip121093
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-22-2010 , 04:39   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #7

    this line cause error

    SetEntProp(229, Prop_Data, "m_iClip1", 10)

    I just removed it and work great
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_chainsaw_refuelling.sp - 544 views - 7.7 KB)

    Last edited by alexip121093; 03-22-2010 at 05:08.
    alexip121093 is offline
    Send a message via MSN to alexip121093
    HowGentle
    Member
    Join Date: Feb 2010
    Old 03-22-2010 , 06:24   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #8

    1.1 version can not refuel chainsaw's fuel.
    I drop chainsaw and try to refuel useing gascan,
    but can not.(only throw gascan continually.)
    and in spite of "l4d2_refuelchainsaw_remove 0"
    when chainsaw's fuel is out, drop it, and disappear.

    alexip121093's modified version is works well.
    thx both of you

    Last edited by HowGentle; 03-22-2010 at 06:28.
    HowGentle is offline
    DJ_WEST
    Senior Member
    Join Date: Jul 2005
    Location: Russian Federation
    Old 03-22-2010 , 07:20   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #9

    alexip121093, thanks! I have forgotten to remove the debugging code =)
    Quote:
    can you add a command to let player drop their chainsaw
    Added new cvar l4d2_refuelchainsaw_drop in the new version 1.2.
    DJ_WEST is offline
    HowGentle
    Member
    Join Date: Feb 2010
    Old 03-22-2010 , 07:35   Re: [L4D2] Chainsaw Refuelling
    Reply With Quote #10

    Drop function is cool!!
    I love it!
    HowGentle 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 23:05.


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