Canceled.
I'm posting my last build that i've worked on. (it's buggy and iniless)
Code:
[ Events ]
[ Office ]
[ Flashlight ]
[ Flashlight Itself ]
* Repeat while "Control" is pressed
Flashlight : Reappear
Is Flashlight On? : Set Counter to 1
* NOT Repeat while "Control" is pressed
Flashlight : Make invisible
Is Flashlight On? : Set Counter to 0
* Repeat while "Control" is pressed
+ Every RRandom(1, 100)
Flashlight : Set alpha-blending coefficient to RRandom(0, 100)
* is cam up? = 1
OR
* isMaskDown? = 1
OR
* Bambi Location = 3
OR
* Expunged Location = 3
Is Flashlight On? : Set Counter to 0
Flashlight : Make invisible
[ Battery ]
* Start of Frame
FlashlightBatery : Set Counter to 125
* Is Flashlight On? = 1
+ Every RRandom(500, 750)
FlashlightBatery : Subtract 1 from Counter
* FlashlightBatery = 125
FlashlightDisplay : Force animation frame to 0
* FlashlightBatery = 100
FlashlightDisplay : Force animation frame to 1
* FlashlightBatery = 75
FlashlightDisplay : Force animation frame to 2
* FlashlightBatery = 50
FlashlightDisplay : Force animation frame to 3
* FlashlightBatery = 25
FlashlightDisplay : Force animation frame to 4
* FlashlightBatery <= 0
Flashlight : Destroy
Is Flashlight On? : Destroy
FlashlightBatery : Destroy
FlashlightDisplay : Destroy
[ Hallway ]
* Bambi Location = 2
Office : Force animation frame to 1
* Expunged Location = 2
Office : Force animation frame to 2
* Expunged Location <> 2
+ Bambi Location <> 2
Office : Force animation frame to 0
* Expunged Location = 2
+ Bambi Location = 2
Office : Force animation frame to 3
[ Vents ]
[ RightVent ]
* Repeat while left mouse-key is pressed
+ Mouse pointer is over LightButtonRhitBox
+ is cam up? = 0
+ isMaskDown? = 0
LightButtonR : Force animation frame to 1
RightVentLight : Set Counter to 1
* NOT Repeat while left mouse-key is pressed
OR
* NOT Mouse pointer is over LightButtonRhitBox
LightButtonR : Force animation frame to 0
RightVentLight : Set Counter to 0
* RightVentLight = 0
VentR : Force animation frame to 0
* RightVentLight = 1
+ Dave Location <> 1
VentR : Force animation frame to 1
* RightVentLight = 1
+ Dave Location = 1
VentR : Force animation frame to 2
[ LeftVent ]
* Repeat while left mouse-key is pressed
+ Mouse pointer is over LightButtonLhitBox
+ is cam up? = 0
+ isMaskDown? = 0
LeftVentLight : Set Counter to 1
LightButtonL : Force animation frame to 1
* NOT Repeat while left mouse-key is pressed
OR
* NOT Mouse pointer is over LightButtonLhitBox
LeftVentLight : Set Counter to 0
LightButtonL : Force animation frame to 0
* LeftVentLight = 0
VentL : Force animation frame to 0
* LeftVentLight = 1
+ Badai Location <> 2
VentL : Force animation frame to 1
* LeftVentLight = 1
+ Badai Location = 2
VentL : Force animation frame to 2
[ Fan ]
* Start of Frame
Sound : Play sample ventilador
Sound : Play sample somqueeuprecisava
* ventilador is not playing
Sound : Play sample ventilador
[ UI ]
[ Scrolling ]
* Always
storyboard controls : Center display at (0,0) from Active
* Mouse pointer is over Active 4
Active : Set X position to X( "Active" ) - 1
* Mouse pointer is over Active 3
Active : Set X position to X( "Active" ) - 3
* Mouse pointer is over Active 2
Active : Set X position to X( "Active" ) - 5
* Mouse pointer is over Active 8
Active : Set X position to X( "Active" ) + 1
* Mouse pointer is over Active 7
Active : Set X position to X( "Active" ) + 3
* Mouse pointer is over Active 6
Active : Set X position to X( "Active" ) + 5
* X position of Active <= 320
Active : Set X position to 320
* X position of Active >= 720
Active : Set X position to 720
[ Fscreen ]
* Upon pressing "F4"
+ Ultimate Fullscreen: Is fullscreen
the timer : Fire event "windowed" after 00''-03
* Upon pressing "F4"
+ Ultimate Fullscreen: Is windowed
Ultimate Fullscreen : Go fullscreen
* On timer event "windowed"
Ultimate Fullscreen : Go windowed
[ Core Mechanics ]
[ Hours/NightSystem ]
* Every 01''-00
Minutes : Add 1 to Counter
* Hours = 6
storyboard controls : Jump to frame "load" (3)
Ini : Set value ItemValue( "Ini", "night" ) + 1 to item "night"
* Minutes = 60
Hours : Add 1 to Counter
Minutes : Set Counter to 0
* NightNumber >= 5
NightNumber : Set Counter to 5
[ Camera ]
[ CameraAnimation ]
* Start of Frame
Camera : Stop animation
Camera : Make invisible
CameraHoverBuffer : Set Counter to 0
* Mouse pointer is over CamHitBox
+ Active 5 is visible
+ is cam up? = 0
+ isMaskDown? = 0
+ CameraHoverBuffer = 0
+ Only one action when event loops
the timer : Fire event "CamUp" after 00''-03
is cam up? : Set Counter to 1
CameraHoverBuffer : Set Counter to 1
* Mouse pointer is over CamHitBox
+ Active 5 is visible
+ is cam up? = 1
+ isMaskDown? = 0
+ CameraHoverBuffer = 0
+ Only one action when event loops
the timer : Fire event "CamDown" after 00''-03
is cam up? : Set Counter to 0
* On timer event "CamUp"
Camera : Change animation sequence to up
Camera : Start animation
Camera : Reappear
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-conv
* On timer event "CamDown"
Camera : Change animation sequence to down
Camera : Start animation
shouldCamsAppear? : Set Counter to 0
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-conv
* Mouse pointer is over CamHitBox
CameraHoverBuffer : Set Counter to 1
Active 5 : Make invisible
* NOT Mouse pointer is over CamHitBox
+ isMaskDown? = 0
CameraHoverBuffer : Set Counter to 0
Active 5 : Reappear
* Camera animation down is over
Camera : Stop animation
Camera : Make invisible
* Camera animation up is over
shouldCamsAppear? : Set Counter to 1
Sound : Play sample somqueeuprecisava
Active 11 : Set alpha-blending coefficient to 0
* shouldCamsAppear? = 0
Active 10 : Make invisible
Cam1Button : Make invisible
Cam1Button 2 : Make invisible
Cam3Button : Make invisible
Cam4Button : Make invisible
Active 13 : Make invisible
Hours : Make invisible
Active 15 : Make invisible
Active 19 : Make invisible
NightNumber : Make invisible
Minutes : Make invisible
Active 25 : Make invisible
* shouldCamsAppear? = 1
Active : Set X position to 495
Active 10 : Reappear
Cam1Button : Reappear
Cam1Button 2 : Reappear
Cam3Button : Reappear
Cam4Button : Reappear
Active 13 : Reappear
Hours : Reappear
Active 15 : Reappear
NightNumber : Reappear
Active 19 : Reappear
Minutes : Reappear
Active 25 : Reappear
* is cam up? = 1
Active 9 : Make invisible
[ Static ]
* shouldCamsAppear? = 0
Active 11 : Make invisible
* shouldCamsAppear? = 1
Active 11 : Reappear
* Active 11: AlphaCoef( "Active 11" ) >= 127
+ Always
Active 11 : Set alpha-blending coefficient to 127
* Always
Active 11 : Set alpha-blending coefficient to AlphaCoef( "Active 11" ) + 5
[ Cameras ]
[ CamButtons ]
* User clicks with left button on Cam1Button
+ Cam1Button is visible
what cam u see? : Set Counter to 0
Sound : Play sample somqueeuprecisava
Active 11 : Set alpha-blending coefficient to 0
* User clicks with left button on Cam1Button 2
+ Cam1Button is visible
what cam u see? : Set Counter to 1
Sound : Play sample somqueeuprecisava
Active 11 : Set alpha-blending coefficient to 0
* User clicks with left button on Cam3Button
+ Cam1Button is visible
what cam u see? : Set Counter to 2
Sound : Play sample somqueeuprecisava
Active 11 : Set alpha-blending coefficient to 0
* User clicks with left button on Cam4Button
+ Cam1Button is visible
what cam u see? : Set Counter to 3
Sound : Play sample somqueeuprecisava
Active 11 : Set alpha-blending coefficient to 0
[ Cams ]
* what cam u see? = 0
+ Bambi Location <> 0
Active 10 : Force animation frame to 1
* what cam u see? = 1
+ Bambi Location <> 1
Active 10 : Force animation frame to 2
* what cam u see? = 2
+ Expunged Location <> 1
+ Badai Location <> 1
Active 10 : Force animation frame to 4
* what cam u see? = 3
+ Dave Location <> 0
Active 10 : Force animation frame to 9
* shouldCamsAppear? = 1
+ what cam u see? = 3
Cam4Button 2 : Reappear
* shouldCamsAppear? = 0
+ what cam u see? = 3
OR
* shouldCamsAppear? = 1
+ what cam u see? <> 3
Cam4Button 2 : Make invisible
[ BambiOnCams ]
* what cam u see? = 0
+ Bambi Location = 0
Active 10 : Force animation frame to 0
* what cam u see? = 1
+ Bambi Location = 1
Active 10 : Force animation frame to 3
[ ExpungedOnCams ]
* what cam u see? = 2
+ Expunged Location = 1
+ Badai Location <> 1
Active 10 : Force animation frame to 5
[ DaveOnCams ]
* what cam u see? = 3
+ Dave Location = 0
Active 10 : Force animation frame to 8
[ BadaiOnCams ]
* what cam u see? = 2
+ Expunged Location = 1
+ Badai Location = 1
Active 10 : Force animation frame to 7
* what cam u see? = 2
+ Expunged Location <> 1
+ Badai Location = 1
Active 10 : Force animation frame to 6
[ Mask ]
* Start of Frame
MaskHoverBuffer : Set Counter to 0
Mask : Make invisible
Mask : Stop animation
* Mouse pointer is over MaskHitBox
+ is cam up? = 0
+ Active 9 is visible
+ Only one action when event loops
+ isMaskDown? = 0
+ MaskHoverBuffer = 0
the timer : Fire event "MaskDown" after 00''-03
isMaskDown? : Set Counter to 1
MaskHoverBuffer : Set Counter to 1
* Mouse pointer is over MaskHitBox
+ is cam up? = 0
+ Active 9 is visible
+ Only one action when event loops
+ isMaskDown? = 1
+ MaskHoverBuffer = 0
the timer : Fire event "MaskUp" after 00''-03
isMaskDown? : Set Counter to 0
MaskHoverBuffer : Set Counter to 1
* On timer event "MaskDown"
Mask : Reappear
Mask : Change animation sequence to down
Mask : Start animation
Sound : Play sample MaskUp
* On timer event "MaskUp"
Mask : Change animation sequence to up
Mask : Start animation
Sound : Play sample MaskDown
* Mouse pointer is over MaskHitBox
MaskHoverBuffer : Set Counter to 1
Active 9 : Make invisible
* NOT Mouse pointer is over MaskHitBox
+ is cam up? = 0
MaskHoverBuffer : Set Counter to 0
Active 9 : Reappear
* Mask animation up is over
Mask : Stop animation
Mask : Make invisible
* isMaskDown? = 1
Active 5 : Make invisible
[ AIs ]
[ Bambi ]
[ AI Itself ]
* NightNumber = 3
Special : Activate group "Night 3"
* NightNumber = 2
Special : Activate group "Night 2"
* NightNumber = 1
Special : Activate group "Night 1"
* NightNumber <> 3
Special : Deactivate group "Night 3"
* NightNumber <> 2
Special : Deactivate group "Night 2"
* NightNumber <> 1
Special : Deactivate group "Night 1"
[ Night 1 ]
* Bambi Location = 3
Active 12 : Reappear
* Bambi Location <> 3
Active 12 : Make invisible
ShouldBambiGoBackCooldown : Set Counter to 50
* Bambi Cooldown <= 0
Bambi Cooldown : Set Counter to RRandom(150, 200)
Bambi Location : Add 1 to Counter
* Start of Frame
Bambi Cooldown : Set Counter to RRandom(100, 150)
* Bambi Location = 3
+ is cam up? = 1
+ Only one action when event loops
the timer : Fire event "CamDown" after 00''-03
is cam up? : Set Counter to 0
* Every RRandom(500, 750)
Bambi Cooldown : Subtract 1 from Counter
* Bambi Location <= 0
Bambi Location : Set Counter to 0
[ Night 2 ]
* Bambi Location = 3
Active 12 : Reappear
* Bambi Location <> 3
Active 12 : Make invisible
ShouldBambiGoBackCooldown : Set Counter to 50
* Bambi Cooldown <= 0
Bambi Cooldown : Set Counter to RRandom(150, 200)
Bambi Location : Add 1 to Counter
* Start of Frame
Bambi Cooldown : Set Counter to RRandom(100, 150)
* Bambi Location = 3
+ is cam up? = 1
+ Only one action when event loops
the timer : Fire event "CamDown" after 00''-03
is cam up? : Set Counter to 0
* Every RRandom(50, 75)
Bambi Cooldown : Subtract 1 from Counter
* Bambi Location <= 0
Bambi Location : Set Counter to 0
[ Night 3 ]
* Bambi Location = 3
Active 12 : Reappear
* Bambi Location <> 3
Active 12 : Make invisible
ShouldBambiGoBackCooldown : Set Counter to 50
* Bambi Cooldown <= 0
Bambi Cooldown : Set Counter to RRandom(100, 150)
Bambi Location : Add 1 to Counter
* Start of Frame
Bambi Cooldown : Set Counter to RRandom(100, 150)
* Bambi Location = 3
+ is cam up? = 1
+ Only one action when event loops
the timer : Fire event "CamDown" after 00''-03
is cam up? : Set Counter to 0
* Every RRandom(50, 75)
Bambi Cooldown : Subtract 1 from Counter
* Bambi Location <= 0
Bambi Location : Set Counter to 0
[ GoBackWithMask ]
* Every 50
+ isMaskDown? = 1
ShouldBambiGoBackCooldown : Subtract 1 from Counter
* Bambi Location = 3
+ Only one action when event loops
Bambi Cooldown : Set Counter to 75
* ShouldBambiGoBackCooldown <= 0
ShouldBambiGo : Set Counter to 1
ShouldBambiGoBackCooldown : Set Counter to 0
* isMaskDown? = 1
+ Bambi Cooldown <= 0
+ ShouldBambiGo = 1
Bambi Location : Set Counter to -1
ShouldBambiGo : Set Counter to 0
* Bambi Location = 3
Active 5 : Make invisible
* isMaskDown? = 1
+ Bambi Location = 3
Active 9 : Make invisible
[ CameraEffect ]
* Bambi Location = 0
+ Bambi Cooldown <= 0
+ what cam u see? = 0
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
* Bambi Location = 0
+ Bambi Cooldown <= 0
+ what cam u see? = 1
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
* Bambi Location = 1
+ Bambi Cooldown <= 0
+ what cam u see? = 1
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
[ Jumpscare ]
* Start of Frame
Active 21 : Stop animation
* Bambi Location = 4
+ Only one action when event loops
Active 21 : Reappear
Active 21 : Start animation
the timer : Fire event "Phase2" after 03''-00
Sound : Stop any sample
Sound : Play sample vine boom sfx (320)
* Bambi Location = 4
+ isMaskDown? = 1
+ Only one action when event loops
Active 21 : Reappear
Active 21 : Start animation
the timer : Fire event "MaskUp" after 00''-00
* Bambi Location = 5
Sound : Play sample vine boom sfx (320)
* On timer event "Phase2"
Bambi Location : Set Counter to 5
* Bambi Location = 5
+ Only one action when event loops
Active 21 : Change animation sequence to Walking
Active 21 : Start animation
* Active 21 animation Walking is over
the timer : Fire event "Fail" after 00''-00
* Active 21 animation Walking is playing
Active 21 : Set Y position to -40
* Bambi Location >= 4
Special : Deactivate group "Scrolling"
Active 5 : Make invisible
Active 9 : Make invisible
Expunged Location : Set Counter to 0
Dave Location : Set Counter to 0
Badai Location : Set Counter to 0
[ Expunged ]
[ AI Itself ]
* Expunged Location = 3
Active 14 : Reappear
* Expunged Location <> 3
Active 14 : Make invisible
ShouldExpungedGoBackCooldown : Set Counter to 50
* Expunged Cooldown <= 0
Expunged Cooldown : Set Counter to RRandom(100, 150)
Expunged Location : Add 1 to Counter
* Start of Frame
Expunged Cooldown : Set Counter to RRandom(100, 150)
* Expunged Location = 3
+ is cam up? = 1
+ Only one action when event loops
the timer : Fire event "CamDown" after 00''-03
is cam up? : Set Counter to 0
* Every RRandom(75, 125)
Expunged Cooldown : Subtract 1 from Counter
* Expunged Location <= 0
Expunged Location : Set Counter to 0
[ GoBackWithMask ]
* Every 50
+ isMaskDown? = 1
ShouldExpungedGoBackCooldown : Subtract 1 from Counter
* Expunged Location = 3
+ Only one action when event loops
Expunged Cooldown : Set Counter to 75
* ShouldExpungedGoBackCooldown <= 0
ShouldExpungedGoBackCooldown : Set Counter to 0
ShouldExpungedGo : Set Counter to 1
* isMaskDown? = 1
+ Expunged Cooldown <= 0
+ ShouldExpungedGo = 1
Expunged Location : Set Counter to -1
ShouldExpungedGo : Set Counter to 0
* Expunged Location = 3
Active 5 : Make invisible
* isMaskDown? = 1
+ Expunged Location = 3
Active 9 : Make invisible
[ CameraEffect ]
* Expunged Location = 0
+ Expunged Cooldown <= 0
+ what cam u see? = 2
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
* Expunged Location = 1
+ Expunged Cooldown <= 0
+ what cam u see? = 2
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
[ Jumpscare ]
* Expunged Location = 4
FlashlightBatery : Subtract 1 from Counter
[ Dave ]
[ AI Itself ]
* Dave Cooldown <= 0
Dave Location : Add 1 to Counter
Dave Cooldown : Set Counter to RRandom(25, 40)
* Start of Frame
Dave Cooldown : Set Counter to RRandom(25, 40)
* Every RRandom(250, 500)
Dave Cooldown : Subtract 1 from Counter
* Dave Location <= 0
Dave Location : Set Counter to 0
* Dave Cooldown >= 40
Dave Cooldown : Set Counter to 40
[ Jumpscare ]
* Dave Location = 2
+ Only one action when event loops
Active 17 : Restore animation sequence
Active 17 : Reappear
Active 17 : Start animation
the timer : Fire event "Fail" after 00''-50
Sound : Stop any sample
Sound : Play sample DaveJumpscare
* Dave Location = 2
+ isMaskDown? = 1
+ Only one action when event loops
Active 17 : Restore animation sequence
Active 17 : Reappear
Active 17 : Start animation
the timer : Fire event "MaskUp" after 00''-00
Sound : Play sample MaskDown
* Dave Location = 2
+ is cam up? = 1
+ Only one action when event loops
Active 17 : Restore animation sequence
Active 17 : Reappear
Active 17 : Start animation
the timer : Fire event "CamDown" after 00''-00
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-conv
* Start of Frame
Active 17 : Stop animation
* Dave Location = 2
Active 5 : Make invisible
Active 9 : Make invisible
[ CameraEffect ]
* what cam u see? = 3
+ Dave Location = 0
+ Dave Cooldown <= 0
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
* what cam u see? = 3
+ Dave Location <> 0
+ Dave Cooldown <= 0
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
[ Lure ]
* User clicks with left button on Cam4Button 2
+ Cam4Button 2 is visible
+ Dave Location = 1
the timer : Fire event "Lure" after 03''-00
* Dave Location <> 1
* On timer event "Lure"
+ is cam up? = 0
Dave Location : Subtract 1 from Counter
Active 11 : Set alpha-blending coefficient to 0
Dave Cooldown : Set Counter to RRandom(15, 25)
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-c
* On timer event "Lure"
+ is cam up? = 1
Dave Location : Subtract 1 from Counter
Sound : Play sample somqueeuprecisava
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-c
* User clicks with left button on Cam4Button 2
+ Cam4Button 2 is visible
Sound : Play sample somqueeuprecisava
[ VentSound ]
* Dave Cooldown <= 0
+ Dave Location <> 2
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-c
[ Avoid Unjustices ]
* Bambi Location = 3
+ Dave Location = 1
+ Every RRandom(250, 500)
OR
* Expunged Location = 3
+ Dave Location = 1
+ Every RRandom(250, 500)
OR
* Badai Location = 2
+ Dave Location = 1
+ Every RRandom(250, 500)
Dave Cooldown : Set Counter to 40
[ Badai ]
[ AI Itself ]
* Start of Frame
Badai Cooldown : Set Counter to RRandom(50, 75)
* Badai Location <> 2
OR
* isMaskDown? = 0
+ Badai Location = 2
ShouldBadaiGoBackCooldown : Set Counter to 50
ShouldBadaiGo : Set Counter to 0
* Badai Cooldown <= 0
Badai Cooldown : Set Counter to RRandom(50, 75)
Badai Location : Add 1 to Counter
* Every RRandom(75, 125)
Badai Cooldown : Subtract 1 from Counter
[ CameraEffect ]
* Badai Location = 0
+ Badai Cooldown <= 0
+ what cam u see? = 2
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
* Badai Location <> 0
+ Badai Cooldown <= 0
+ what cam u see? = 2
+ is cam up? = 1
Active 11 : Set alpha-blending coefficient to 0
Sound : Play sample somqueeuprecisava
[ GoBackWithMask ]
* Every 50
+ isMaskDown? = 1
ShouldBadaiGoBackCooldown : Subtract 1 from Counter
* Badai Location = 2
+ Only one action when event loops
Badai Cooldown : Set Counter to 125
* ShouldBadaiGoBackCooldown <= 0
ShouldBadaiGoBackCooldown : Set Counter to 0
ShouldBadaiGo : Set Counter to 1
* isMaskDown? = 1
+ Badai Cooldown <= 0
+ ShouldBadaiGo = 1
+ Badai Location = 2
Badai Location : Set Counter to -1
ShouldBadaiGo : Set Counter to 0
[ VentSound ]
* Badai Location <> 0
+ Badai Cooldown <= 0
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-c
* Badai Location = 3
Sound : Stop sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-c
[ Jumpscare ]
* Start of Frame
Active 20 : Stop animation
* Badai Location = 3
Active 5 : Make invisible
Active 9 : Make invisible
Expunged Location : Set Counter to 0
Dave Location : Set Counter to 0
* Badai Location = 3
+ Only one action when event loops
Active 20 : Reappear
Active 20 : Start animation
Active 20 : Restore animation sequence
Sound : Play sample BadaiJumpscare (online-audio-converter.com)
* Badai Location = 3
+ is cam up? = 1
+ Only one action when event loops
is cam up? : Set Counter to 0
the timer : Fire event "CamDown" after 00''-00
Sound : Play sample Vídeo sem título ‐ Feito com o Clipchamp (1) (online-audio-conv
* Badai Location = 3
+ isMaskDown? = 1
+ Only one action when event loops
the timer : Fire event "MaskUp" after 00''-00
Sound : Play sample MaskDown
isMaskDown? : Set Counter to 0
* Active 20 animation Stopped is over
the timer : Fire event "Fail" after 00''-40
[ Tristan ]
[ AI Itself ]
* NightNumber = 1
Special : Deactivate group "Slow Speed"
Special : Deactivate group "NormalSpeed"
Special : Deactivate group "FastSpeed"
* NightNumber = 2
Special : Activate group "Slow Speed"
Special : Deactivate group "NormalSpeed"
Special : Deactivate group "FastSpeed"
* NightNumber = 3
Special : Activate group "Slow Speed"
Special : Deactivate group "NormalSpeed"
Special : Deactivate group "FastSpeed"
* NightNumber = 4
Special : Deactivate group "Slow Speed"
Special : Activate group "NormalSpeed"
Special : Deactivate group "FastSpeed"
* NightNumber = 5
Special : Deactivate group "Slow Speed"
Special : Deactivate group "NormalSpeed"
Special : Activate group "FastSpeed"
[ Slow Speed ]
* Start of Frame
Tristan Cooldown : Set Counter to RRandom(350, 425)
* Tristan Cooldown <= 0
Tristan Location : Add 1 to Counter
Tristan Cooldown : Set Counter to RRandom(350, 425)
* Every RRandom(125, 225)
Tristan Cooldown : Subtract 1 from Counter
* Tristan Location = 1
+ Only one action when event loops
ShouldTristanGo : Set Counter to RRandom(10, 15)
[ NormalSpeed ]
* Start of Frame
Tristan Cooldown : Set Counter to RRandom(100, 175)
* Tristan Cooldown <= 0
Tristan Location : Add 1 to Counter
Tristan Cooldown : Set Counter to RRandom(100, 175)
* Every RRandom(75, 175)
Tristan Cooldown : Subtract 1 from Counter
* Tristan Location = 1
+ Only one action when event loops
ShouldTristanGo : Set Counter to RRandom(10, 25)
[ FastSpeed ]
[ Flashlight Mechanic ]
* Tristan Location = 1
+ Is Flashlight On? = 1
+ Only one action when event loops
ShouldTristanGo : Subtract 1 from Counter
* ShouldTristanGo = 0
+ Tristan Location = 1
Tristan Location : Set Counter to 0
[ Hallway ]
* Tristan Location = 1
Active 18 : Reappear
* Tristan Location <> 1
Active 18 : Make invisible
[ Avoid Unjustices ]
* Bambi Location = 3
+ Tristan Location = 1
OR
* Expunged Location = 3
+ Tristan Location = 1
Tristan Cooldown : Set Counter to 100
* Badai Location = 2
+ Every RRandom(100, 200)
[ Jumpscare ]
* Start of Frame
Active 24 : Stop animation
Active 24 : Make invisible
* Tristan Location = 2
+ Only one action when event loops
Active 24 : Start animation
Active 24 : Reappear
Sound : Stop any sample
Sound : Play sample Tristan Jumpscare
Special : Deactivate group "Fan"
Special : Deactivate group "Scrolling"
* Active 24 animation Stopped is over
the timer : Fire event "Fail" after 00''-25
[ OnOfficeFlashingBlackScreen ]
* Start of Frame
Active 16 : Make invisible
* On timer event "FlashBlackON"
+ Only one action when event loops
the timer : Fire event "FlashBlackOFF" after 00''-05
Active 16 : Reappear
* On timer event "FlashBlackOFF"
+ Only one action when event loops
the timer : Fire event "FlashBlackON" after 00''-05
Active 16 : Make invisible
* Bambi Location = 3
+ game over static is not playing
+ Only one action when event loops
the timer : Fire event "FlashBlackON" after 00''-00
Sound : Play sample game over static
* Expunged Location = 3
+ game over static is not playing
+ Only one action when event loops
the timer : Fire event "FlashBlackON" after 00''-00
Sound : Play sample game over static
* Bambi Location <> 3
+ Expunged Location <> 3
Active 16 : Make invisible
Sound : Stop sample game over static
[ Jumpscare Stuff ]
* On timer event "Fail"
storyboard controls : Jump to frame "tilte" (2)
[ INI ]
* Always
NightNumber : Set Counter to ItemValue( "Ini", "night" )
-Jv
1 comment