Garry's Mod
Оцінок: 1,913
Door Removal Areaportal Fix
2
4
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Realism
Розмір файлу
Додано
Оновлено
2.492 KB
26 лип. 2021 о 13:45
21 лют. 2024 о 16:20

Підпишіться, аби завантажити
Door Removal Areaportal Fix

Опис
Now works with door-destruction addons!

This quick-fix addon stops the visual oddity which sometimes occurs when a door is removed, where the door will appear to lead into the void. This works for double-doors as well if one of the side doors are removed. The strange effect will only appear for a second before the doorway returns to normal, as opposed to being a permanent fixture.

In reality, the "void" is just the result of the door leaving its linked areaportal, a mapping entity which is used in optimization, disabled without having the chance to re-enable it before it's removed. This addon just checks whenever a door is removed if it has a linked areaportal, and if it does, both makes the areaportal visible and leaves it active in the case of a double door. This should help prevent the odd visuals most of the time.

This starts working automatically, just subscribe to it for it to begin working. It should only act upon the removal of a viable door, this doesn't run in the background constantly. I hope this helps!

This should not impact performance in any significant way. In fact, it won't do anything at all if a door isn't removed. If a door is removed, it's the same as if the door is open.

All this addon does is check to see if any door being removed has a linked areaportal, and if it does, it makes sure to turn the linked areaportal on (stops the void effect) and also stops doors with the same name as the one removed from being able to re-disable it by opening/closing the door (like with double doors). There are ways to destroy a door which has the areaportal work nicely and re-enable itself, but the basic remove function is apparently not one of those, and so if anything this addon is just a small extra check to make sure the areaportal plays nicely when a door linked to it is removed for any reason.

Clickbait final image edit : IntellectualPotato (very nice)

maps : gm_york_remastered
rp_unioncity
Коментарів: 145
Dookin 30 листоп. о 12:18 
it dont work work
Darochdathief 14 листоп. о 10:01 
NO MORE DOOR STUCK?
S-HV_M4573R 17 серп. о 0:03 
UPDATE:

Appears to conflict with Door Tool.
S-HV_M4573R 16 серп. о 5:03 
Anyone else had this not only remove the doors, but break them too?
Would love a fix, 'cause it's driving me nuts.
♬♫~Joe Blaze~♫♬ 13 лип. о 9:41 
Areaportals still present, unfortunately. It conflicts with something.
_L_i_b_r_o_ 25 берез. о 7:02 
мод ♥♥♥♥♥
Tiny Desk Engineer 27 листоп. 2024 о 8:41 
Doesn't seem to work with whatever method Interactive Doors uses to remove doors blown off their hinges, still seeing inactive areaportals in HL2 maps.
[Ü]<◘-\Taph/-◘>[Ü] 24 жовт. 2024 о 4:08 
absolute lifesaver
awesomeslayer7 16 жовт. 2024 о 12:15 
does this work on any map (including the half life campaigns)?
Ammar Kun 1 жовт. 2024 о 19:28 
de_nuke from css still broken