Garry's Mod

Garry's Mod

316 ratings
Breakable Doors Script
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Roleplay, Realism
File Size
Posted
Updated
529.498 KB
16 Mar, 2022 @ 11:25am
3 Oct @ 11:28am
122 Change Notes ( view )

Subscribe to download
Breakable Doors Script

In 2 collections by NextKurome76TheSoldier
Quality of Life addons
47 items
Kurome's Server Collection
186 items
Description
This script makes all doors breakable, giving them health and allowing you to shoot them down.
Inspired by the first Shoot Bang map.

Features:
-Nice sounds
-Gibs when broken
-Gib type based off model & skin
-Supports combine gates, basic rotating doors & map doors (169 models)
-Dynamic health based on door type, size and sound
-Doors can unhinge from frame and fall (any door)

Supported doors:
-Amnesia TDD
-Brooklyn campaign
-Counter-Strike: Global Offensive
-Contagon
-Evocity x33 (Aka SIN Episodes Emergence or highrise models)
-gm_boreas
-gm_site19
-Atmospheric house
-Half-Life 2
-Half-Life 2 Episode 1
-Half-Life 2 Episode 2
-INFRA
-Left 4 Dead 2
-Zombie Panic Source
-rp_southside (and any map that utilizes func_door_rotating)
-rp_asheville
-rp_downpour
-Station Square (sonic adventure)
-Snowdrop Escape
-Swelter
-Team Fortress 2

ConVars:
-BD_Enabled 1 | if 0, script won't run and will revert doors back to unbreakable state
-BD_Affect_Dynamic_Doors 0 | 1 allows you to break combine gates and elevator doors
-BD_Affect_Func_Doors 1 | if 0, ignores damage to map doors such as those on southside
-BD_Doors_Respect_Lockedstate 1 | if 0, you can destroy locked doors
-BD_Health_Multiplier 1 | multiplies door health by X number
-BD_Func_Doors_Respect_+Use 1 | if 0, large doors or elevator doors that can't open with +use can be broken
-BD_Physically_Unhinge_Doors 1 | if 0, doors won't fall or create physics gibs
-BD_Collision 1 | door gib Collision, 0 = No Collision, 1 = No Collide small doors, 2 = Always collide

More QoL addons

Credits:
-Riggs | showing me how tables work

Tags: Destructible, L4D2, phys, HL2, CSGO, CS:GO, EP1, EP2, ZPS, Bdoors, BDS, Door Breaking, Obliteration, Realism, Movie, Cop,

make sure to check out my other addons if you are interested.
My Workshop Addons
56 Comments
Jiyū to anzen 10 Aug @ 2:18pm 
It's done now if you want to check it out! Here's the link: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3546439863
Jiyū to anzen 6 Aug @ 12:27am 
Thanks. I'll post it on my workshop once it's done.
NextKurome76TheSoldier  [author] 6 Aug @ 12:19am 
Interested myself to see it
NextKurome76TheSoldier  [author] 6 Aug @ 12:19am 
Sounds good
Jiyū to anzen 6 Aug @ 12:06am 
Hey I've made my own version of this that works with any doors and is very optimized. I used your base code as reference. Would it be cool if I published my version and credited you?
SleepyNotDead 26 Jun @ 1:03pm 
really cool mod though.
SleepyNotDead 26 Jun @ 1:03pm 
They seem like normal HL2 doors so idk why they dont break.
NextKurome76TheSoldier  [author] 26 Jun @ 11:36am 
i need the link for it
SleepyNotDead 26 Jun @ 11:22am 
Stops working on Lacour Islands for some reason, on all other maps ive played the mod works but on this map the doors dont beak, idk why.