Garry's Mod

Garry's Mod

[SCP] Keycard System by Guthen
519 Comments
Guthen  [author] Feb 1 @ 4:36am 
Thank you very much @kuz-(kuz), I very much appreciate your message :)
kuz-(kuz) Jan 27 @ 12:33pm 
Guthen you are like one of the nicest addon creators, you always answer comments the best way possible, just want to appreciate how good of a author you are, thank you
Guthen  [author] Jan 27 @ 10:17am 
Hey @Alex, yes, you should look into the pinned discussion right above the comment section of this page. Also consider using the remastered version of this mod instead
Alex Jan 25 @ 12:40am 
Hello, is there any way to change the card model :steamhappy:
Guthen  [author] Jun 7, 2024 @ 3:33pm 
@kuz-(kuz) Oh yeah, no worries :p
kuz-(kuz) Jun 5, 2024 @ 10:47am 
@Guthen got it thx, steam notifications are weird, I just got it lol
Guthen  [author] Jun 5, 2024 @ 9:23am 
@Lord dripież So by using the keycard configurator SWEP and configuring it (select the level and the title you want), you just have to click on the door buttons that you want to set the accreditations. After that, you should see texts showing the title and the level needed for using that button. At this point, the door can only be opened when you use a keycard whose access is greater or equal to the specified level. Once you're done with setting the accreditations all around the map, just save which will set back the levels and the titles after a cleanup or a server restart.
Jack Marston Jun 5, 2024 @ 6:24am 
how do you set up a keycard room? i chose the room like checkpoint access and the title of smth i dont remember i try to save but it doesnt work am i doing something wrong?
Guthen  [author] Apr 19, 2024 @ 5:11am 
@kuz-(kuz) Hey, are you talking about creating another Keycard SWEP? If so yes, you can, just duplicate one the Lua files inside the 'lua/weapons' folder of my addon (you need an extracted version of it). Otherwise, if you're talking about customizing the keycard models, read this guide .
kuz-(kuz) Apr 18, 2024 @ 6:38pm 
It is possible to make a custom keycard?
Guthen  [author] Nov 17, 2023 @ 9:33am 
@Karaboss You have to use the keycard configurator SWEP to set up the buttons for doors. The addon is designed to be used on SCP Foundation maps, where doors have buttons to open and close them. I guess you are not on one of those
Karaboss Nov 17, 2023 @ 4:36am 
Thank you for making this keycard mod, but what exaclty are we supposed to use it for?
I downloaded all the required mods, but there is no button or door that the keycards can be used on. Am I not finding something???
[SMG] DeaNo Nov 3, 2023 @ 12:44am 
Alright, thanks
Guthen  [author] Nov 2, 2023 @ 10:42am 
@[SMG] DeaNo
If you want to create a keycard SWEP, you just have to duplicate one of the existing SWEPs script file (from lua/weapons/) from this addon and configure it as you want.
If you want to add more levels, instead of 6 as a maximum, just assign the SWEP.GuthSCPLVL to any positive number you want, the system will adapt to the greater value of all keycards.
Hope it helps
[SMG] DeaNo Oct 31, 2023 @ 8:43am 
your welcome ^^ but i cant see, how i am able to do a custom keycard level. Don't i need to change a lot in the code?
Guthen  [author] Oct 30, 2023 @ 4:09pm 
@[SMG] DeaNo
Thanks for your suggestions. Two of them are already done in some ways:
- custom keycard level is already made for the chaos insurgency by the '[SCP] Hacking Device by zgredinzyyy' listed in the description above, otherwise, I think the system is simple enough to get a custom keycard working, so I don't think of doing one
- configurable breakable and traversable doors is done on a tool for the remastered versions of my SCP addons (look on my workshop profile to get the new suite). I don't really know about physics performance of the breaking system, I think it should be okay since their collisions is disabled few seconds after the break but if you have evidence or suspicions, let me know
- the femur breaker for 106 is one of the feature I would like to implement for its remaster, if I happen to finally pull the update off, sooo maybe one day

Thanks again for suggesting :p
[SMG] DeaNo Oct 30, 2023 @ 1:29pm 
no i dont expect them imediatelly, i just want to help and give suggestions that should help you reach the top of the list. I have those suggestions for you:

Keycards: Custom Level - like Chaos or something

SCP 106: Femur breaker button - if pressed will teleport or kill SCP-106 after like 20 seconds (because screaming sound)

Doors: config like scp 106 what doors are breakable for SCP 173
-> also please deactivate physics of doors if broken, because of the performance

If some of these already exist im sorry :) but i personally think, that these small or big changes would make these Addons really nice :D
Guthen  [author] Oct 29, 2023 @ 2:27pm 
@[SMG] DeaNo
Hey, even though you can still propose, I must admit I don't give much time on my mods since I'm back to school, so if you're willing to suggest, don't expect immediate changes :/
[SMG] DeaNo Oct 29, 2023 @ 9:48am 
You taking suggestions for things or so? I do have a lots of ideas which would make the SWEPs amazing ^^
Guthen  [author] Oct 29, 2023 @ 8:57am 
@Billy banditcamp.com
Hey, are you setting up the keycards correctly? Normally, you need to change the settings with the Reload key of the Configurator SWEP then apply these settings to a door button with a LMB. Once set up, the door should lock access to the configured level (so you can try to open it with the related keycard). Eventually, you can save the set up accesses with the commands or buttons.
[NOX] Billy Oct 29, 2023 @ 2:17am 
Hey so im trying to use this but i wont let me since i try to save it and it says you failed to load keycards file does not exist then it says failed to save keycards no keycards access any fix to this ?
Guthen  [author] Oct 5, 2023 @ 1:19pm 
@[SMG] DeaNo Thanks for your support :p
Unfortunately, I don't think of making new content that soon since school resumed so I'm gonna have to work on school projects. I'm still wanting to work on the SCP-106 rework tho, it's been two years since I have started it and I need at some point to finish it. I continued this summer but I'm just having trouble figuring out its new kit design. Still need work to do
[SMG] DeaNo Oct 5, 2023 @ 11:30am 
@Guthen when you gonna make more stuff? Im waiting for a SCP-106 Rework or something :) But your addons are good and i like them a lot :D Keep it up!
Guthen  [author] Oct 5, 2023 @ 9:29am 
@Lombaxtard I have look into the two addons, indeed mine have an holstering system only for non-default keycards models but I can't prevent Simple Holster from triggering my SWEP:Holster function (which leads to the duplicated animation) and its code doesn't seem to have ways for me to know it is the cause.. so I guess you should ask its developper
Lombaxtard Oct 5, 2023 @ 7:37am 
Does this have it's own holstering system? I'm having problems with "Simple Holster" with "holsterweapon_undraw 1" (reverses drawing animation and turns it into a holstering animation, BUT ONLY if said weapon has no ACT_VM_HOLSTER in it's .qc file) as it holsters it two times. Simple Holster seems to think that there's no holstering sequence or perhaps it's named differently? I'm not sure if I should ask You, because I don't see holstering animation in your video with default keycard models, but it's present when used with that keycard model pack (can't test without it atm) you pre-configured your addon for.
[SMG] DeaNo Oct 4, 2023 @ 7:54pm 
so you dont get confused, i mean the skin number.
[SMG] DeaNo Oct 4, 2023 @ 7:53pm 
so... omni has number 8 at the world_model and 13 at the view_model. The Mastercard has at the world_model 1 and at the view_model 6.
[SMG] DeaNo Oct 4, 2023 @ 7:49pm 
@Lombaxtard it both has omni and mastercard models. let me look at the number.
Guthen  [author] Oct 1, 2023 @ 8:26am 
@Lombaxtard You're welcomed, unfortunately I don't have control on the models pack :p
Lombaxtard Oct 1, 2023 @ 4:04am 
It was dumb simple by the way, thanks for the guide and communication
I only wish that model pack have had omni-card and mastercard as well
Guthen  [author] Oct 1, 2023 @ 3:07am 
@Guardian-Anubis Yes you can, read the pinned guide "How to edit my keycards model?" right above this comment section
MaxNyst Oct 1, 2023 @ 3:05am 
Hello, I would like to know if it is possible to modify the aesthetics of the carts to be more modern?
Lombaxtard Sep 28, 2023 @ 1:57am 
Oh ok, thank you for clearing that up
Guthen  [author] Sep 28, 2023 @ 12:54am 
@Lombaxtard Yes, the last GIF shows one pack of keycards models you can use by following the guide (it's the one mentionned in the guide)
Lombaxtard Sep 25, 2023 @ 8:44am 
Wait, so this doesn't have animations from the last GIF? Cause I still have HL2 grenade animations for keycards
Or does the "edit my keycards model" guide walk you through to actually have these new models? Language isn't quite clear for me
Guthen  [author] Sep 19, 2023 @ 1:20am 
@rpdisalargepizzaeater By default, if you have not configured it, it does use playermodel's hands, are you sure your playermodel have c_hands? If you did configured, make sure the `SWEP.GuthSCPRenderer.view_model.use_hands` variable of the SWEPs are set to `true`
rpdisalargepizzaeater Sep 18, 2023 @ 4:28pm 
Why are the hand models not just the playermodel's hands
Ziutek Aug 16, 2023 @ 5:47am 
but its good it dont bothers me
Guthen  [author] Aug 14, 2023 @ 11:15am 
@михаил арханкел I don't know, did you follow the guide about editing keycards models?
LUCIFER Aug 14, 2023 @ 8:50am 
Why does SCP:SL Keycard Models not work?
Guthen  [author] Aug 11, 2023 @ 5:33am 
@PanPlage Hhm, I see what you mean, but I don't know what cause it and if it's caused by this addon, even though it's not impossible..
Ziutek Aug 11, 2023 @ 5:29am 
i mean that sometimes for example gun models just disapear
Guthen  [author] Aug 1, 2023 @ 5:05am 
@Gordon Freeman Missing part? What do you mean?
Ziutek Aug 1, 2023 @ 4:10am 
hello, the hud is working but when i use keycard weapons have missing parts, do you know why?
Guthen  [author] Jul 3, 2023 @ 1:11am 
@jay Great! :p
jay Jul 2, 2023 @ 12:49pm 
you fixed it, thank you so much!
Guthen  [author] Jul 2, 2023 @ 5:30am 
@jay You may be right, the hold type wasn't set properly (I actually confused the "pistol" with the "slam" hold types). I have just updated the addon so you should get the fix (it's on github as well). Tell me how it goes
jay Jul 1, 2023 @ 2:48pm 
i removed the custom file, as it wasnt really important but all i really changed was the model of the keycard and the position and angle you hold it in. the rest of my testing team says the keycards often times don't have the slam holdtype, instead they just hold it like you were holding keys.

i actually have no idea how to fix this and its even like this in singleplayer, i think its an issue with guthscp_keycard_base entirely for me, as i've created custom weapons under the base and they follow the same issue.

i've also noticed the weapon holdtype change upon respawning, heres some example screenshots.

what its supposed to look like
https://imgur.com/a/0irEWNf

same sweps that use guthscp_keycard_base, all i did was killbind and respawn and it changed.
https://imgur.com/a/aQnYMAO
https://imgur.com/a/Jid27FX
https://imgur.com/a/9GKKmfC
Guthen  [author] Jul 1, 2023 @ 2:04pm 
@jay heyy, hmm that's weird because, for my part, keycards always remain in the "slam" hold type. Maybe the bug is due to your modifications, what did you changed?
jay Jun 30, 2023 @ 9:11pm 
hey, is there any way i can make it so the swep.holdtype for the keycards stay persistent with the "slam" swep.holdtype? the issue im having is that occasionally the holdtype will change from the slam, and change to either the pistol, or no holdtype at all. the SWEP.HoldType = "slam" is in the .lua file for the sweps, but they still change no matter what i do.

SWEP.HoldType = "slam" is not working

an example of how it doesnt work with one of the keycard sweps
https://imgur.com/a/zSchAHY

an example of what i want the holdtype to be:
https://imgur.com/0opwxkF

this is troubling because i made a custom file dedicated to showing the name of players on the front of the keycard, but players can not see the name on the keycard without the slam holdtype.

this is for every swep.