Garry's Mod

Garry's Mod

SCP Site 09
 This topic has been pinned, so it's probably important
KiwontaTv  [developer] 4 Jan, 2024 @ 3:27am
SCP-914
Introduction

As of now, cimelody created a working SCP-914 addon for you to use. Please visit the workshop item for further information on how to set this up.

---

Site 09 features SCP-914. However, it doesn't do anything on its own. For that, you need lua code. Unfortunately I can't provide the full addon, since it is exclusive to the German SCP-RP server by Modern-Gaming.

SCP-914 will create lua errors when used without a script. I sadly cannot change that fact since "killing" support for 914 mapside will cause any additional lua setup to stop working aswell.

Stop the lua errors

If you just want to stop lua errors from happening, create a serverside script with the folowing content:

MG_SCP914 = {}

Documentation for creating your own SCP-914 addon

If you want to create your own addon, here is what you need:

Site 09 will run a hook whenever a mode is changed. The hook is called "MG_SCP914_ModeChanged". When the start button is pressed, the map calls another hook called "MG_SCP914_ProcessOutput".

You can detect the modes by accessing the MG_SCP914.Mode variable. Keep in mind that you need to create the table "MG_SCP914". You cannot change the name because the map wouldn't recognize the new name, resulting in an error.

The variable has the following states: 'Rough', 'Coarse', '1:1', 'Fine' and 'Very Fine'. Yes, they are case sensitive.

Lastly, to access the items inside SCP-914, you need to scan for them using ents.FindInSphere or ents.FindInBox depending on your skillset and the targetname "914_intake_teleporter". The output should get teleported without any issues. If you face any issues of items being stuck in the floor, manipulate the position to place them higher.
Last edited by KiwontaTv; 9 Jun, 2024 @ 10:01am
< >
Showing 1-3 of 3 comments
kletex 5 Feb, 2024 @ 10:48am 
Hey,
If anybody is to lazy to create his own SCP-914 script, I created a addon for it. It isn't the best but it should do his job: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3154762587
kletex 9 Jun, 2024 @ 4:34am 
@KiwontaTV. Wäre es vielleicht möglich, dass du den Text von den Hyperlink, wo du mich wegen SCP-914 angeben hast, zu meinen neuen Steam Namen ändern. Danke :)
KiwontaTv  [developer] 9 Jun, 2024 @ 10:01am 
Originally posted by cimelody:
@KiwontaTV. Wäre es vielleicht möglich, dass du den Text von den Hyperlink, wo du mich wegen SCP-914 angeben hast, zu meinen neuen Steam Namen ändern. Danke :)
Done
< >
Showing 1-3 of 3 comments
Per page: 1530 50