Garry's Mod

Garry's Mod

195 vurderinger
Simple Breakable Doors
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Effects
Addon Tags: Roleplay, Realism
Filstørrelse:
Offentliggjort:
Opdateret:
5.109 KB
10. aug. kl. 14:06
11. aug. kl. 19:23
2 ændringsbemærkninger ( vis )

Abonner for at downloade
Simple Breakable Doors

Beskrivelse
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.
25 kommentarer
Killcommand 17. okt. kl. 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. sep. kl. 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. sep. kl. 23:33 
i tested it right after i sent the message, it does infact not work
Jiyū to anzen  [ophavsmand] 7. sep. kl. 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. sep. kl. 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. sep. kl. 18:18 
does this fix the drgbase npcs when they break down doors?
giorgibob152 1. sep. kl. 15:29 
Thanks
Jiyū to anzen  [ophavsmand] 31. aug. kl. 14:13 
@giorgibob152 sbd_door_fade 0, its in the description
giorgibob152 31. aug. kl. 13:07 
How to stop doors from fading away?
walterwhite94 17. aug. kl. 13:34 
wallllllllllllllllllllllllllllta whie im the only real walterwhite im higher quality im 64.