Garry's Mod

Garry's Mod

590 ratings
Explosive Barrel Husks
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Comic, Fun, Realism
File Size
Posted
Updated
10.443 KB
24 Oct, 2024 @ 10:16pm
1 Mar @ 1:24pm
3 Change Notes ( view )

Subscribe to download
Explosive Barrel Husks

Description
When shooting an explosive barrel prop, a burned husk of the barrel will shoot up in the air, exploding on next impact or if shot down. Extra flaming debris particles are generated during this process.

Fairly optimized and adds minimal stress to the server. Many settings can be configured to adjust specific behavior or to further reduce lag.

Small gas can props will also generate extra debris (optional), but only the default barrel will spawn the husk.

Barrel Husk Variables
Default
Min
Max
barrelhusk_husk_horizontal_force
Maximum horizontal spread force when the husk is created
250
0
10000
barrelhusk_husk_upward_force_min
Maximum vertical spread force when the husk is created
750
0
10000
barrelhusk_husk_upward_force_max
Minimum vertical spread force when the husk is created
1000
0
10000
barrelhusk_husk_angular_force
Maximum angular force applied when the husk is created
400
0
10000
barrelhusk_husk_explosion_magnitude
This is correlated to radius and damage of the husk explosion
40
1
1024
barrelhusk_husk_health
Damage the husk can take until it explodes early
25
1
10000
barrelhusk_husk_impact_explosion_time
Seconds after the creation of the husk until it can explode from an impact
1
0
10
barrelhusk_husk_impact_explosion_threshold
Force required for an impact to cause the husk to explode
100
1
10000
barrelhusk_husk_impact_explosion_threshold_override
Force required for an impact to cause the husk to explode even when it is younger than barrelhusk_husk_impact_explosion_time
8000
1
1000000

Explosion Debris Variables
Default
Min
Max
barrelhusk_explosion_debris_enable
Will small debris spawn from the barrel/husk explosion?
True
0
1
barrelhusk_explosion_debris_lifetime_min
Min lifetime of explosion debris
0.15
0
100
barrelhusk_explosion_debris_lifetime_max
Max lifetime of explosion debris
3
0
100
barrelhusk_explosion_debris_horizontal_force
Horizontal spread force of explosion debris
500
0
10000
barrelhusk_explosion_debris_vertical_force_min
Min upward force of explosion debris
250
0
10000
barrelhusk_explosion_debris_vertical_force_max
Max upward force of explosion debris
500
0
10000
barrelhusk_explosion_debris_count
Number of small debris spawned upon barrel/husk explosions
15
1
50

Other Variables
Default
Min
Max
barrelhusk_infinite_husks
ENABLE AT RISK OF SERIOUS LAG! Infinite recursive spawning from each barrel explosion
False
0
1
barrelhusk_gascan_debris_enable
Gas can prop (gascan001a and propane_tank001a) explosions will spawn debris
True
0
1

Inspired by explosive barrel behavior from Superfighters Deluxe https://steamhost.cn/app/855860/Superfighters_Deluxe/

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3354316439
Popular Discussions View All (2)
3
3 Mar @ 1:34pm
why the barrel husk model is error?
посейдон
3
2 Nov, 2024 @ 6:32am
"Im just a little dancing piece of macaroni
SPOOKY SPINO
81 Comments
Combine Elite 4 Aug @ 5:03am 
"Proudly made in the USA, baby!"
meow to meet you 22 Jul @ 1:19pm 
is this because they're full of oil?
HenryStickm1n 29 Jun @ 9:05am 
dang its so laggy for some reason
bob 16 May @ 9:01am 
fancey barol
M00NSM3M0RY 22 Apr @ 6:30pm 
:missing:
Kaylee83 22 Apr @ 12:31am 
postal 1

also idk why people are saying its an error, it works fine for me
Capital_ist 1 Mar @ 8:53am 
um when fix
Arsentabis© 11 Feb @ 8:45am 
error
UvMaiko 15 Jan @ 5:33am 
Recomendado
amaar_1500 14 Jan @ 11:35pm 
how