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

[CS:S] Explosive Barrels


Post New Thread Reply   
 
Thread Tools Display Modes
Author
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Plugin ID:
2760
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 01-04-2012 , 13:24   [CS:S] Explosive Barrels
    Reply With Quote #1

    Explosive Barrels

    Bassically when you shoot into barrels they explode creating damage to nearby enemies. You can choose for an instance explosion or how many times you must shoot a barrel to explode (default)
    -/+ frag(s) for killing a teammate/enemy
    -/+ money for killing a teammate/enemy

    - Requires sdkhooks & colors libraries
    - I thought of making barrel explode also when a grenade explodes near them by i think that would be too hardcore for players, though i like the idea..let me know if that would be nice

    barrel_active
    • 0 = plugin is disabled
    • 1 = plugin enabled, instant explosion
    • 2,3,4... = how many times you must shoot a barrel for it to explode
    (default 5)

    barrel_radius - radius distance for damage infliction (default 300)
    barrel_damage - maximum explosion damage (default 100)
    barrel_frags - how many frags you'll receive/taken for killing an enemy/teammate (default 1)
    barrel_money - ammount of money received/taken for killing an enemy/teammate (default 150)
    barrel_stats 0/1 - disable/enable displaying statistics such as "x players killed, x injured" (default 1)

    Here are some screens
    http://img683.**************/img683/7...dust20015t.jpg
    http://img151.**************/img151/8...dust20022q.jpg
    Attached Files
    File Type: sp Get Plugin or Get Source (explosive_barrels.sp - 1633 views - 10.0 KB)
    __________________


    Last edited by anakin_cstrike; 01-09-2012 at 20:45.
    anakin_cstrike is offline
    nightrider
    SourceMod Donor
    Join Date: Dec 2008
    Old 01-05-2012 , 04:38   Re: Explosive Barrels
    Reply With Quote #2

    Do you refer to exvel's colors library here ?
    __________________
    [SIGPIC][/SIGPIC] the pantless
    I am the Night Rider!, I'm a fuel-injected suicide machine.
    I am a rocker! I am a roller!, I am an out-of-controller!


    nightrider is offline
    anakin_cstrike
    Veteran Member
    Join Date: Nov 2007
    Location: Romania
    Old 01-05-2012 , 06:32   Re: Explosive Barrels
    Reply With Quote #3

    Quote:
    Originally Posted by nightrider View Post
    Do you refer to exvel's colors library here ?
    yes
    __________________

    anakin_cstrike is offline
    nightrider
    SourceMod Donor
    Join Date: Dec 2008
    Old 01-05-2012 , 08:17   Re: Explosive Barrels
    Reply With Quote #4

    I have installed this plugging on my dust2 server.
    I can't wait to see the feedback from my server regulars.
    __________________
    [SIGPIC][/SIGPIC] the pantless
    I am the Night Rider!, I'm a fuel-injected suicide machine.
    I am a rocker! I am a roller!, I am an out-of-controller!



    Last edited by nightrider; 01-05-2012 at 08:18.
    nightrider is offline
    Peace-Maker
    SourceMod Plugin Approver
    Join Date: Aug 2008
    Location: Germany
    Old 01-05-2012 , 10:09   Re: Explosive Barrels
    Reply With Quote #5

    Did you try to mess with the default breakable props of all prop_physics?
    You could set those in a post spawn hook or similar. This wouldn't look as nice though;)
    PHP Code:
    DispatchKeyValue(entity"health""20");
    DispatchKeyValue(entity"ExplodeDamage""100");
    DispatchKeyValue(entity"ExplodeRadius""300");
    DispatchKeyValue(entity"PerformanceMode""1"); // no gibs 
    Havn't tested this, just throwing ideas. You could also ignite the barrel if the health gets below x, by hooking the TakeDamage method with sdkhooks, so it will explode by itself later, if it's health gets to 0 and it breaks.
    __________________

    Last edited by Peace-Maker; 01-05-2012 at 10:09.
    Peace-Maker is offline
    anakin_cstrike
    Veteran Member
    Join Date: Nov 2007
    Location: Romania
    Old 01-05-2012 , 14:53   Re: Explosive Barrels
    Reply With Quote #6

    i didn't, i'll give it a try
    __________________

    anakin_cstrike is offline
    viRR
    Member
    Join Date: Mar 2011
    Location: Slovakia
    Old 01-07-2012 , 21:09   Re: Explosive Barrels
    Reply With Quote #7

    PLS, fix this plugin I can't complime it ;((
    viRR is offline
    Send a message via Skype™ to viRR
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 01-07-2012 , 21:23   Re: Explosive Barrels
    Reply With Quote #8

    You need colors.inc from exvel to compile. Get it here.
    __________________
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    viRR
    Member
    Join Date: Mar 2011
    Location: Slovakia
    Old 01-08-2012 , 07:11   Re: Explosive Barrels
    Reply With Quote #9

    Yes, but I have not explosive_barrels.smx.

    Last edited by viRR; 01-08-2012 at 07:12.
    viRR is offline
    Send a message via Skype™ to viRR
    anakin_cstrike
    Veteran Member
    Join Date: Nov 2007
    Location: Romania
    Old 01-09-2012 , 05:25   Re: Explosive Barrels
    Reply With Quote #10

    Quote:
    Originally Posted by viRR View Post
    Yes, but I have not explosive_barrels.smx.
    It's in the first post right near to the .sp file, on the left: Get Plugin
    __________________


    Last edited by anakin_cstrike; 01-09-2012 at 05:26.
    anakin_cstrike 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 05:43.


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