Breakable Doors Script
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:
-Brooklyn campaign
-Counter-Strike: Global Offensive
-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
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