Garry's Mod

Garry's Mod

Smart Door V2
25 条留言
>KB> >KEKSQUAD 10 月 11 日 下午 5:50 
Okay will try it soon! Thank you very much
xhp  [作者] 10 月 11 日 下午 5:37 
Hi there,
This should now be possible. Try updating to the latest version and testing it out.
Just make sure the Smart Door is unfrozen after being placed and has at least one weld or constraint attached.
>KB> >KEKSQUAD 10 月 11 日 上午 9:16 
Like even if they are active.
>KB> >KEKSQUAD 10 月 11 日 上午 9:16 
Hey so I'm wondering if it's possible to make it so that fading doors can move with whatever they have been constrained to, as it would be useful for mobile bases. Thanks!
xhp  [作者] 3 月 9 日 上午 5:23 
I have applied a fix that should solve the problem. However, it can be inconsistent with certain props that have a weird bounding box.
>KB> >KEKSQUAD 3 月 8 日 下午 7:41 
So I noticed players get stuck in the smart door on a regular basis; I'm thinking the +USE pressing feature from 1.3 should be ported here to help players get free of the smart door themselves
>KB> >KEKSQUAD 2024 年 12 月 29 日 下午 8:33 
Thank you very much!
xhp  [作者] 2024 年 12 月 29 日 下午 6:19 
I have now added support for LVS vehicles.
>KB> >KEKSQUAD 2024 年 12 月 29 日 下午 4:43 
It doesn't exactly appear to be the case for LVS, as LVS vehicles have parented pods to seat locations, so it might help to check the entity's parented pods and see if the main driver's allowed to go through a door.
xhp  [作者] 2024 年 12 月 29 日 下午 12:20 
It should work now; feel free to test it.

Also, what do you mean by vehicle friendly?
Currently, they open if the driver of the vehicle is allowed to.
>KB> >KEKSQUAD 2024 年 12 月 28 日 下午 1:32 
Hey, any luck with finding the issue with smart doors not persisting?
>KB> >KEKSQUAD 2024 年 12 月 25 日 下午 12:03 
Okay thanks! I think this version of smart doors also ought to be more vehicle friendly by checking if a vehicle's driver is in its list
xhp  [作者] 2024 年 12 月 25 日 上午 5:25 
I will look into the issue, but it will be a few days before I have a chance to do so.
In the meantime, you can use something like Advanced Duplicator 2 to save the doors.
>KB> >KEKSQUAD 2024 年 12 月 24 日 下午 8:28 
So I've updated the server earlier, and props that became fading doors still disappeared.
>KB> >KEKSQUAD 2024 年 12 月 15 日 下午 5:18 
I think Global Persistence is installed on the server to ensure it works beyond just Sandbox/DarkRP.
xhp  [作者] 2024 年 12 月 15 日 下午 3:51 
Hello, I noticed an error occurring when the entity was set to persistent. This has now been fixed.

The idea of making it persistent hadn't crossed my mind before. I tested it with persistence enabled, but this caused the smart door to lose track of its original owner after a reset.
Do you use a custom persistence addon?
>KB> >KEKSQUAD 2024 年 12 月 15 日 上午 9:37 
Hey so my server uses a persistence feature to ensure the map is as close to as it was on reboot, and for some reason the props converted into fading doors with your tool remove themselves on map reboot.

Reproduction steps:
1. Set sbox_persist to a value such as "current" or "test".
2. Turn a prop into a fading door.
3. Restart the session.
xhp  [作者] 2024 年 11 月 26 日 上午 7:09 
Fixed, the duplicator tool was not functioning correctly with the smart doors.
Do let me know if the error persists.
>KB> >KEKSQUAD 2024 年 11 月 25 日 上午 11:14 
[Smart Door V2] lua/weapons/gmod_tool/stools/smart_door.lua:185: attempt to index local 'ply' (a nil value)
1. CreateEntityFromTable - lua/weapons/gmod_tool/stools/smart_door.lua:185
2. unknown - lua/includes/modules/duplicator.lua:819
3. ProtectedCall - [C]:-1
4. Paste - lua/includes/modules/duplicator.lua:819
5. fn - gamemodes/sandbox/gamemode/persistence.lua:54
6. Run - lua/ulib/shared/hook.lua:109
7. fn - gamemodes/sandbox/gamemode/persistence.lua:11
8. unknown - lua/ulib/shared/hook.lua:109
>KB> >KEKSQUAD 2024 年 11 月 23 日 下午 6:39 
Ok thanks! Doing so now
xhp  [作者] 2024 年 11 月 23 日 下午 6:37 
This should be fixed now. Thanks for bringing it to my attention.
Make sure to update the addon to the new version.
>KB> >KEKSQUAD 2024 年 11 月 23 日 下午 4:47 
Hey so there should be a way to remove smart doors similar to 1.3 with the right-clicking on the smart door, and I found that the props with smart doors on them are removed outright when undoing them so that's a bit of an issue.
HypFox 2023 年 8 月 7 日 上午 8:20 
it is so perfect, damn good work
xhp  [作者] 2023 年 8 月 6 日 下午 8:22 
You should now be able to open the Smart Door with vehicles.

However, it's a little rough around the edges; the vehicle may come to a full stop upon touching the door (even though it opens).
HypFox 2023 年 8 月 5 日 下午 4:08 
amazing i love it, what it is missing is the abillity to open the door while in a car so you dont have to exit go the smart door and then into car again to drive inside your base. so when the car you are inside hits the smartdoor you own, it will fade.