Garry's Mod

Garry's Mod

56 ratings
[GuthSCP] Keycard
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
694.113 KB
12 Sep, 2023 @ 9:35am
27 May @ 11:49am
15 Change Notes ( view )

Subscribe to download
[GuthSCP] Keycard

In 1 collection by Guthen
[GuthSCP] Modules
11 items
Description
Control the accesses of the facility through accreditation keycards.

Github Repository[github.com]

Features
─ Containing 7 SWEPs including 6 keycards (levels 1, 2, 3, 4, 5 and Omni) and a Master Card (absolutely useless)
Restrict certains areas of your map for specific accreditations
Keycard Configurator tool to set levels on buttons across the map
─ Keycards data is automatically loaded on start-up or after a map cleanup
─ Configurable in-game with [GuthSCP] Base (guthscp_menu in your console)
  • Custom Behaviours: dropping keycards with RMB, auto-use highest keycard in inventory
  • Translations texts
  • Sound paths
  • and more..
Requires a Sandbox-based gamemode (e.g. Sandbox, DarkRP) for tool use

Commands
guthscp_keycards_save (server & client): Save the map data to a file, you must save after setting up accreditations to make the changes persistent
guthscp_keycards_load (server & client): Load the map data from a file, not needed since it's already loaded automatically

Extra Add-ons
[GuthSCP] Hacking Device RELOADED by Augaton (previously made by zgredinzyyy)

Known Issues
"I can open an accredidated door without a keycard!"
Some addons ─ which use the PlayerUse hook poorly ─ conflict with my addon. This Piano addon is one of those, enable the work-around Fix 'Playable Piano' conflicting the 'PlayerUse' hook in the Base configuration page (guthscp_menu in your game's console).

Legal Terms
This addon is licensed under Creative Commons Sharealike 3.0[creativecommons.org] and is based on content of SCP Foundation[scp-wiki.wikidot.com] and SCP:Containment Breach[www.scpcbgame.com].

If you create something derived from this, please credit me (you can also tell me about what you've done).

Enjoy !
Popular Discussions View All (2)
2
7 Jun @ 3:50am
Can you add more KeyCards?
Fluffy FlofPaw
2
7 Jun @ 3:48am
PINNED: How to edit my keycards model?
Guthen
101 Comments
Guthen  [author] 3 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?