Garry's Mod

Garry's Mod

[GuthSCP] Keycard
101 Comments
Guthen  [author] 9 hours ago 
@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://steamhost.cn/steamcommunity_com/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!
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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1987521428&searchtext=mighty+foot
LOGASARUS 26 Nov, 2024 @ 6:22am 
Guthen  [author] 26 Nov, 2024 @ 4:05am 
Hey @LOGASARUS, can you link me the mod and tell me what does not work with it precisely?
LOGASARUS 24 Nov, 2024 @ 9:09pm 
the mod does not work with lvs would a fix be an option?
Guthen  [author] 3 Nov, 2024 @ 5:35am 
@[Uranium] Kirua No problem, you should either look into the addon I've stated and work from a decompiled version of it or create your own keycard model (which may be better in certain cases but harder to do of course)
[MANERE] [Solve] Kirua 3 Nov, 2024 @ 4:42am 
Hi @guthen thanks for your answer, in fact I'm looking to modify the texture of the map to make one myself
Guthen  [author] 3 Nov, 2024 @ 2:25am 
Hey @[Uranium] Kirua, are you talking about editing the default keycard 3D models files directly? If so, these are models from the mod 'SCP Assets' which you should look for
[MANERE] [Solve] Kirua 2 Nov, 2024 @ 5:34pm 
Hi @guthen I wanted to know where to find the model of the cards to be able to modify them, thank you very much
Guthen  [author] 1 Nov, 2024 @ 8:08am 
@ID You're welcome!
ID 1 Nov, 2024 @ 7:25am 
@Guthen Thank you, I didn't read it, because I don't know English well, thank you for prompting
Guthen  [author] 31 Oct, 2024 @ 3:09pm 
Hey @ID, are you talking about keycard weapon animations? If so, you have to configure the mod with a custom keycard model pack and you can follow the guide (which is in the mod's page forums) to know how to do it.
ID 31 Oct, 2024 @ 10:30am 
dont work, no animation
Guthen  [author] 23 Oct, 2024 @ 1:43pm 
@AdiVitto2k3 Nice, thank you for the report!
AdiVitto2k3 23 Oct, 2024 @ 5:42am 
Alr got it, it works
Also found a conflicting addon (Purely visual) - HL2 weapons MMOD replacement (Basically changes the default weapons to have MMOD models and animations), what happens is you can see a grenade INSIDE the keycard, thats it.
Guthen  [author] 22 Oct, 2024 @ 12:37pm 
Hello @AdiVitto2k3, absolutely not, and you shouldn't have both running at the same time. The keycard configurator has been changed from a weapon to a tool that you should be able to access from the spawnmenu as any other tools from the "GuthSCP" category (hoping that you didn't mean the spawnmenu by "context menu")