Garry's Mod

Garry's Mod

[GuthSCP] Keycard
114 Comments
Guthen  [author] 2 Aug @ 12:49am 
Hey @pixychild, please understand that I'm not hiring anyone for working on my mods and I'm re-iterating that it's not something I want to work on, as it's something that is too complicated and not in the scope of this project. This mod is mainly designed for SCP roleplay servers and to be used on SCP maps, which already feature doors and buttons. I think that dynamically creating doors and buttons at runtime could be a fairly complicated task and too much effort for no much of interesting outcome.

Making a keypad reader with Wiremod could be interesting technically but I only see it being very niche. I don't remember seeing any roleplay servers (especially SCPs ones) using Wiremod at all. So I also think it would be out-of-scope unless it is something servers would like to see.
pixychild 1 Aug @ 9:22am 
just a suggestion
pixychild 31 Jul @ 7:08am 
maybe you could make a wiremod function for a keycard reader that could be used to open a locked door
pixychild 30 Jul @ 2:33pm 
just saying
pixychild 30 Jul @ 2:32pm 
maybe you could hire someone else to do it
Guthen  [author] 30 Jul @ 1:26pm 
Hey @pixychild, unfortunately this is not something I'm planning of working on as I think it would be out-of-scope for this mod.
pixychild 30 Jul @ 1:14pm 
or maybe make a mod all about the doors and the keypads/buttons
pixychild 30 Jul @ 12:31pm 
@Guthen can you spawn doors in the spawn menu on any map (if not can you make that a feature)
Guthen  [author] 30 Jul @ 9:51am 
Hey @girlkisser, yes it does. If you have issues with keycards not being necessary to open the doors you configured, please check the menu to potentially enable some Workarounds.
bluudud 29 Jul @ 3:14pm 
this works in gm_site19 right?
SCP-049 21 Jul @ 8:48am 
Thanks.
Guthen  [author] 21 Jul @ 7:21am 
Hey @SCP-049, usually this problem is due to conflicting addons such as the Playable Piano. If you happen to have installed this mod, please enable its fix work-around in the GuthSCP menu (guthscp_menu in the console; it's located in the "Base" configuration tab) or remove that addon.
SCP-049 20 Jul @ 10:15pm 
Uh, Hi. I have a problem. Whenever I set any keycard on any door, I still can open it, even whem I don't have any keycard of hacking device.
Guthen  [author] 20 Jul @ 5:42am 
@NNinja1255 Nice, glad to hear it's working now! I didn't know for the Deploy function, I'll check that out, thanks!

@Nesreo It should, while you have access to the tool SWEP from the Sandbox gamemode since my mod has its own tool to edit the doors accreditations.
NNinja1255 16 Jun @ 2:03pm 
also a little nitpick, please make it return true in the deploy function, otherwise the "switch to last weapon" bind doesn't work.
NNinja1255 16 Jun @ 2:02pm 
apparently i didn't have the scp assets addon enabled. it got disabled while i was switching presets.
Nesreo 14 Jun @ 7:10am 
Does this system work in the Helix gamemode?
NNinja1255 8 Jun @ 7:22am 
@Guthen
Nope. Also the cards isn't missing the models since I can see their shadows completely fine. It was also working a while ago and there was no updates in the SCP Assets that could've changed anything.
Guthen  [author] 8 Jun @ 1:16am 
By the way, do you have the same problem with the Hacking Device SWEP?
Guthen  [author] 8 Jun @ 1:14am 
@NNinja1255 So you're using the default keycard pack, right? If so, have you tried spawning the keycard model as a prop in-game? Try this command in your game console "gm_spawn models/props/scp/keycard/keycard.mdl". If you don't see the keycard spawning, it is probably that the server doesn't have the model, if it is shown as an error, it means that it's your game not having it, otherwise if it spawns, it could mean it comes from either my mod or another that conflict and that would be weird...

I don't think it is an issue with the Hacking Device module from Augaton, looking through the code of what changed in the update, I don't see anything that could have broke my mod.
NNinja1255 7 Jun @ 8:46am 
was this possibly caused by the hacking device update or something?
NNinja1255 7 Jun @ 8:39am 
I have it installed.
Guthen  [author] 7 Jun @ 4:48am 
Hello @NNinja1255 and @kanto, I'm afraid I haven't done anything related to keycards visuals since last year (July 2024). Have you checked that your keycard models pack is correctly installed on your game/server? (by default, models from the mod "SCP Assets" are used)

Hello @TheSquareDude, the 2.1.6. is the current version of this workshop item, if you're subscribed to the mod or you added the mod to your server collection, it should already update when you restart your game or server. You can also find the latest version on the github if you prefer to install the mod yourself: https://github.com/Guthen/guthscpkeycard .

Helllo @Alex, have you succeed fixing the configuration?
Guthen  [author] 7 Jun @ 4:48am 
Hello @Империум, I haven't made an up-to-date video for the setup, sorry for the inconvenience. All you have to do, is to select the "Keycard Configurator" tool (located in the "GuthSCP" category from the spawnmenu list), to configure the properties in the menu (such as level or door title) and to click on the buttons you want to apply those properties on them.

Hello @Greyman, I haven't change the method to prevent people from using the buttons compared to the legacy version. However, it is known that other mods conflict with mine, do you have installed a Playable Piano mod for instance? If so, have you checked the workaround that fixes the conflict using the menu (located in the "Base" page)?
NNinja1255 3 Jun @ 6:40pm 
The keycards are invisible now. What did you do?
TheSquareDude 3 Jun @ 1:32pm 
where is 2.1.6?
Alex 30 May @ 3:13am 
- Since the update of March 2025, you need to add the 'class C_BaseToggle' entity class to the 'Keycard Available Classes' configuration to fix the missing HUD when looking at accreditated buttons. Please either add it manually or reset-to-default this variable. This warning will only removes itself at the next server boot if the configuration has been fixed.
0-0
kanto 26 Mar @ 2:05pm 
Hi, the keycards are invisible for me
Империум 17 Mar @ 2:37am 
Hi everyone, is there a tutorial on this mod because I don't understand how to make the door open based on access level
Greyman 23 Feb @ 7:20pm 
It doesn't seem like the keycard setter actually stops people from using the buttons. The previous "Legacy" version performed as expected, but I can't seem to replicate that with this new mod.
Guthen  [author] 9 Feb @ 8:39am 
I'm sorry @Filip PL 2/Team młodych graczy, but I can't reproduce your issue on my end. With the preconfigured "SCP Assets" models, I can spawn my keycards with the toolgun, drop them and they are both physically and visually present.
and i can spawn that card with scroll (click) and it also invincible, and is invincible when i use toolgun to spawn
i have other mod for dropping: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=946373028&searchtext=drop+weapon | And i don't have dedicated server, because im plaing solo, or i will play with friends in the future (i will create server in the basic way)
Guthen  [author] 1 Feb @ 5:36am 
@Filip PL 2/Team młodych graczy Do you have "SCP Assets" installed both in your game and your server (if you do have a dedicated server)? Also, are you using the /drop command from DarkRP or the right-click of the keycard?
@Guthen i have scp assets
Guthen  [author] 27 Jan @ 10:18am 
@Filip PL 2/Team młodych graczy Then, if you're using the default pack, check that you have the "SCP Assets" mod installed on your server
@Guthen, i don't have any custom model for keycards
Guthen  [author] 12 Jan @ 1:22am 
@veva You can use it basically on any SCP maps, one example could be gm_site19
NoNickname? 10 Jan @ 3:19pm 
on what map should i use it?:missing:
Guthen  [author] 4 Jan @ 5:39am 
Hey @Filip PL 2/Team młodych graczy, if you meant invisible, it's probably because the configured keycards doesn't have a world model with collisions. If you're using custom models, you should check that out.
when i dropped ceycard, ceycard turn invincible, and when i picked it up it again appear
Guthen  [author] 22 Dec, 2024 @ 7:27am 
@mace You're welcome!
mace 22 Dec, 2024 @ 3:45am 
Hey @Guthen, thanks for quick reply, will check that out!
Guthen  [author] 20 Dec, 2024 @ 8:47am 
Hey @mace, unfortunately it's not a configurable option yet, however if you have the mod installed directly in your 'addons' folder and extracted, you can open the file "lua/guthscp/modules/guthscpkeycard/client.lua" and change the font specified at lines 23 and 31 (DermaDefault and DermaDefaultBold).
mace 17 Dec, 2024 @ 2:40pm 
Hey, quick question.

I'm currently editing this for my Server (mainly translating things due to it being german) and i wanted to ask, is there anyway implemented to easily change the font of the displayed text on doors? If so, where would that be located?
Guthen  [author] 30 Nov, 2024 @ 4:29am 
@LOGASARUS I'm still not so sure about LVS, however the piano addon you referenced is a known source of that particular issue, you can fix the issue very easily by just enabling the workaround "Fix 'Playable Piano' conflicting the 'PlayerUse' hook" from the "Base" page of the in-game menu. Tell me if that resolve the entire issue!
LOGASARUS 27 Nov, 2024 @ 1:46pm 
Guthen  [author] 26 Nov, 2024 @ 2:13pm 
@LOGASARUS Thanks for the report, are you sure it is due directly to the LVS base and not to any of its related mods? Looking through its code very rapidly, I couldn't see what could cause it

Concerning the "mighty foot" mod, I can not not fix it. It is up to the mod's author to do that (or to allow any developpers to tell whether a door could be broke or not).
LOGASARUS 26 Nov, 2024 @ 6:23am 
also kicking the button using this addon opens the doors aswell i dont think you can fix this one tho https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1987521428&searchtext=mighty+foot
LOGASARUS 26 Nov, 2024 @ 6:22am 
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2912816023&searchtext=lvs it makes the doors open regardless of the key level