AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Explosive Barrels (https://forums.alliedmods.net/showthread.php?t=175468)

anakin_cstrike 01-04-2012 13:24

[CS:S] Explosive Barrels
 
1 Attachment(s)
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 :mrgreen:

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

nightrider 01-05-2012 04:38

Re: Explosive Barrels
 
Do you refer to exvel's colors library here ?

anakin_cstrike 01-05-2012 06:32

Re: Explosive Barrels
 
Quote:

Originally Posted by nightrider (Post 1625785)
Do you refer to exvel's colors library here ?

yes

nightrider 01-05-2012 08:17

Re: Explosive Barrels
 
I have installed this plugging on my dust2 server.
I can't wait to see the feedback from my server regulars.

Peace-Maker 01-05-2012 10:09

Re: Explosive Barrels
 
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.

anakin_cstrike 01-05-2012 14:53

Re: Explosive Barrels
 
i didn't, i'll give it a try

viRR 01-07-2012 21:09

Re: Explosive Barrels
 
PLS, fix this plugin I can't complime it ;((

McFlurry 01-07-2012 21:23

Re: Explosive Barrels
 
You need colors.inc from exvel to compile. Get it here.

viRR 01-08-2012 07:11

Re: Explosive Barrels
 
Yes, but I have not explosive_barrels.smx.

anakin_cstrike 01-09-2012 05:25

Re: Explosive Barrels
 
Quote:

Originally Posted by viRR (Post 1627868)
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


All times are GMT -4. The time now is 02:05.

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