60 lines
1.3 KiB
Text
60 lines
1.3 KiB
Text
|
// biotank secret room
|
||
|
|
||
|
|
||
|
#include "../common/header.ds"
|
||
|
|
||
|
output "r:/base/ds/cloud"
|
||
|
|
||
|
// define varibles
|
||
|
|
||
|
local entity doorr
|
||
|
local entity doorl
|
||
|
local entity floor
|
||
|
local entity cover
|
||
|
|
||
|
local entity cam
|
||
|
local entity portal
|
||
|
local entity light
|
||
|
local entity lablight
|
||
|
local int sig
|
||
|
local int sig1
|
||
|
local int sig2
|
||
|
|
||
|
doorr = find entity with targetname "biodoor1"
|
||
|
doorl = find entity with targetname "biodoor"
|
||
|
floor = find entity with targetname "tankdoor1"
|
||
|
cover = find entity with targetname "tankdoor2"
|
||
|
|
||
|
light = find entity with targetname "biolight"
|
||
|
lablight = find entity with targetname "biolight2"
|
||
|
cam = find entity with targetname "tankcam"
|
||
|
portal = find entity with targetname "portal"
|
||
|
|
||
|
// wow
|
||
|
|
||
|
label loop
|
||
|
|
||
|
use entity cam
|
||
|
|
||
|
light.movetype = PHYSICSTYPE_NOCLIP
|
||
|
play sound "doors/kchunk7.wav" for entity floor
|
||
|
move entity floor by [0, 0, -154] over 2 seconds signaling sig
|
||
|
wait for all clearing sig
|
||
|
|
||
|
play sound "doors/kchunk6.wav" for entity doorr
|
||
|
move entity doorr by [72, 0, 0] over 1 seconds signaling sig
|
||
|
move entity doorl by [-72, 0, 0] over 1 seconds signaling sig1
|
||
|
wait for all clearing sig, sig1
|
||
|
|
||
|
use entity lablight
|
||
|
|
||
|
play sound "doors/kchunk5.wav" for entity cover
|
||
|
move entity cover by [0, 56, 0] over 1 seconds signaling sig
|
||
|
wait for all clearing sig
|
||
|
|
||
|
wait .5 seconds
|
||
|
|
||
|
use entity cam
|
||
|
|
||
|
suspend
|
||
|
goto loop
|