Garry's Mod

Garry's Mod

220 hodnocení
Simple Breakable Doors
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
Velikost souboru
Přidáno
Aktualizováno
5.109 KB
10. srp. v 14.06
11. srp. v 19.23
Poznámky ke změnám (2) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Simple Breakable Doors

Popis
This addon is based off of this addon and is meant to be a more simple, vastly optimized version with a few differences.



Features:

-Gibbing doors

-Unhinging doors

--Axis constraint to simulate loose door hinge

--Won't allow you to damage huge doors such as blast doors and silos to keep realism

--Works with all door types! (func_movelinear not supported as it should not be used as a door in the first place)



ConVars:

sbd_unhinge_doors (1/0) - Unhinge doors as physics object instead of gibbing and removing.

sbd_door_collision (1-4) - Type of collision of unhinged door, where 1 = Everything, 2 = World only, 3 = Ignore other doors + debris, 4 = Ignore player only.

sbd_hinge_maxforce (INTEGER) - Sets force required to break axis constraint once created- set to 0 to skip constraint creation.

sbd_door_basehealth (INTEGER) - Sets base health of all doors, material types will still modify the base health (EX: Metal doors are 1.8X the base health.)

sbd_respect_state (1/0) - Sets if doors should not be breakable if they are locked.

sbd_door_fade (1/0) - Sets if door should fade away ten seconds after unhinging.

*Most ConVars will apply only after doors are recreated.




Thanks to NextKurome76TheSoldier for code reference.
Počet komentářů: 28
blobmin 27. lis. v 8.01 
hey could you add settings to specific types of doors so it could be destructible or not like the original mod? (if it is possible)
Killcommand 6. lis. v 16.27 
unhinge doors on
door collision 1
fade is off
Jiyū to anzen  [autor] 6. lis. v 16.13 
@killcommand What settings do not work? I will fix that and the wrong gibs bug in the next update.
Killcommand 17. říj. v 15.13 
some settings don't work like there is no unhinging and it gibs to wood on a metal door and they despawn any fixes
Zimbabwe #1 8. zář. v 11.08 
Can you edit the ConVars part of the description to show the default value for each option? Helps alot for people adding this addon to their server.
chewy 7. zář. v 23.33 
i tested it right after i sent the message, it does infact not work
Jiyū to anzen  [autor] 7. zář. v 21.36 
@chewy drgbase as far as I know uses its own system so I don't think this addon is compatible. Only the drgbase dev can fix it.
chewy 6. zář. v 5.10 
hey if i use the sbd_door_fade 0 on the doors will it still despawn once a drgbase nextbot (pumpkin rabbit, bon the rabbit, etc) because i really wanna have like the path of destruction that they can cause
PumpKing Man 2. zář. v 18.18 
does this fix the drgbase npcs when they break down doors?
giorgibob152 1. zář. v 15.29 
Thanks