Garry's Mod

Garry's Mod

SCP Site 09
 이 토론은 고정되었습니다. 중요해서 그렇겠죠?
KiwontaTv  [개발자] 2024년 1월 4일 오전 3시 27분
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.
KiwontaTv 님이 마지막으로 수정; 2024년 6월 9일 오전 10시 01분
< >
전체 댓글 3개 중 1~3개 표시 중
kletex 2024년 2월 5일 오전 10시 48분 
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 2024년 6월 9일 오전 4시 34분 
@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  [개발자] 2024년 6월 9일 오전 10시 01분 
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
< >
전체 댓글 3개 중 1~3개 표시 중
페이지당 표시 개수: 1530 50