Garry's Mod

Garry's Mod

252 个评价
[D-SCP] SCP Entity Base
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
41.001 KB
2022 年 6 月 9 日 下午 8:28
2022 年 6 月 21 日 下午 10:28
3 项改动说明 ( 查看 )

订阅以下载
[D-SCP] SCP Entity Base

描述






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://psteamcommunity.yuanyoumao.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.



21 条留言
active.plebble 2024 年 7 月 24 日 上午 6:11 
[[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 2024 年 5 月 27 日 下午 2:41 
uyfe6ghjuiybvrcvyt65e4w2q12345678u9o0p[;]'
Jaeger 2024 年 4 月 11 日 上午 6:34 
it says invalid SCP even when i put SCP_173
sultan_r6565 2024 年 4 月 8 日 下午 1:15 
173 not spawn
andreshevia 2023 年 6 月 17 日 下午 9:25 
That 173 gives me nightmares now.
Deno  [作者] 2022 年 6 月 21 日 下午 10:31 
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  [作者] 2022 年 6 月 18 日 下午 4:34 
The console in your game
real 2022 年 6 月 16 日 下午 12:53 
it too sacry:KidHat:
idk why i use hatkids hat
the 2022 年 6 月 15 日 下午 2:27 
oh no
gaz 2022 年 6 月 15 日 上午 11:51 
This is going to be AWESOME on a server