Garry's Mod

Garry's Mod

245 ratings
[D-SCP] SCP Entity Base
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
41.001 KB
9 Jun, 2022 @ 8:28pm
21 Jun, 2022 @ 10:28pm
3 Change Notes ( view )

Subscribe to download
[D-SCP] SCP Entity Base

Description






This addon is used as a base to create player controlled SCPs. The goal is to create SCPs that are both functionally superior and more optimized than others. I do this by writing more server-friendly code that relies on the client more and removes timers/hooks that are no longer needed.





I am not working on Garry's Mod addons anymore so I do not plan on adding any more SCPs in the future. If anyone else makes SCPs using this base I am happy to add their addons to this description.





If you just want to mess around with the SCPs you should use the client console command "scp_setplayer <player name> <scp>" to set a player to an SCP (This command can be disabled through the config).

If you are setting this up on a server you can use ply:SetSCP("SCP_XXX") to set a player to an SCP. For DarkRP I recommend using this function in a job's PlayerSpawn hook.





To edit the config, type scp_config into console.

Setting
Type
Default
Description
scp_setplayer
Boolean
True
Enable the scp_setplayer command
scp_removeplayer
Boolean
True
Enable the scp_removeplayer command
Debug
Boolean
False
Debug messages in console.





https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2819496247 (SCP-173)





This project is on Github[github.com] If you have any issues or would like to contribute please do that here.



22 Comments
active.plebble 24 Jul, 2024 @ 6:11am 
[[D-SCP] SCP Entity Base] lua/deno_scp/core/config/sv_storage.lua:22: bad argument #1 to 'JSONToTable' (string expected, got nil)
1. JSONToTable - [C]:-1
2. LoadStoredConfig - lua/deno_scp/core/config/sv_storage.lua:22
3. unknown - lua/deno_scp/core/config/sv_storage.lua:46
4. include - [C]:-1
5. AutorunFile - lua/autorun/deno_scp_loader.lua:10
6. AutorunDirectory - lua/autorun/deno_scp_loader.lua:32
7. AutorunDirectory - lua/autorun/deno_scp_loader.lua:38
8. unknown - lua/autorun/deno_scp_loader.lua:43
raetyree21 27 May, 2024 @ 2:41pm 
uyfe6ghjuiybvrcvyt65e4w2q12345678u9o0p[;]'
Jaeger 11 Apr, 2024 @ 6:34am 
it says invalid SCP even when i put SCP_173
sultan_r6565 8 Apr, 2024 @ 1:15pm 
173 not spawn
andreshevia 17 Jun, 2023 @ 9:25pm 
That 173 gives me nightmares now.
John Dayshower 5 Nov, 2022 @ 4:26pm 
Still being updated?
Deno  [author] 21 Jun, 2022 @ 10:31pm 
Config update has just been pushed. Type scp_config into console to open in. Make sure you unsub and resub to force your game to update.
Deno  [author] 18 Jun, 2022 @ 4:34pm 
The console in your game
real 16 Jun, 2022 @ 12:53pm 
it too sacry:KidHat:
idk why i use hatkids hat
the 15 Jun, 2022 @ 2:27pm 
oh no