Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improved SCP-012 event #156

Merged
merged 5 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Source Code/Events_Core.bb
Original file line number Diff line number Diff line change
Expand Up @@ -2070,10 +2070,12 @@ Function UpdateEvents%()
DeleteSingleTextureEntryFromCache(Tex)

CreateMsg(GetLocalString("msg", "012_4"))
me\CameraShake = 2.0
InjurePlayer(0.8)
PlaySound_Strict(LoadTempSound("SFX\SCP\012\Speech6.ogg"), True)
PlaySound_Strict(LoadTempSound("SFX\SCP\1162_ARC\BodyHorrorExchange" + Rand(0, 3) + ".ogg"))
If (Not me\Crouch) Then SetCrouch(True)

de.Decals = CreateDecal(DECAL_BLOOD_6, PickedX(), PickedY() + 0.005, PickedZ(), 90.0, Rnd(360.0), 0.0, 0.1)
de\MaxSize = 0.45 : de\SizeChange = 0.0002
EntityParent(de\OBJ, e\room\OBJ)
Expand Down
8 changes: 4 additions & 4 deletions Source Code/Rooms_Core.bb
Original file line number Diff line number Diff line change
Expand Up @@ -1221,11 +1221,11 @@ Function FillRoom%(r.Rooms)
ScaleEntity(r\Objects[3], RoomScale, RoomScale, RoomScale)
PositionEntity(r\Objects[3], r\x - 360.0 * RoomScale, r\y - 180.0 * RoomScale, r\z + 456.0 * RoomScale)
EntityParent(r\Objects[3], r\Objects[0])
it.Items = CreateItem("Document SCP-012", it_paper, r\x - 56.0 * RoomScale, r\y - 576.0 * RoomScale, r\z - 408.0 * RoomScale)

it.Items = CreateItem("White Severed Hand", it_hand, r\x - 784.0 * RoomScale, r\y - 576.0 * RoomScale + 0.3, r\z + 640.0 * RoomScale)
EntityParent(it\Collider, r\OBJ)

it.Items = CreateItem("White Severed Hand", it_hand, r\x - 784.0 * RoomScale, r\y - 576.0 * RoomScale + 0.3, r\z + 640.0 * RoomScale)
it.Items = CreateItem("Document SCP-012", it_paper, r\x - 56.0 * RoomScale, r\y - 576.0 * RoomScale, r\z - 408.0 * RoomScale)
EntityParent(it\Collider, r\OBJ)

de.Decals = CreateDecal(DECAL_BLOOD_2, r\x - 784.0 * RoomScale, r\y - 768.0 * RoomScale + 0.01, r\z + 640.0 * RoomScale, 90.0, Rnd(360.0), 0.0, 0.5)
Expand Down Expand Up @@ -4180,4 +4180,4 @@ Function FillRoom%(r.Rooms)
End Function

;~IDEal Editor Parameters:
;~C#Blitz3D TSS
;~C#Blitz3D TSS