#All my cutscenes stopped working, why?

157 messages · Page 1 of 1 (latest)

sturdy flame
#

I was working on my cutscenes, and they suddenly decided to stop working and I can't find the reason. What can be behind it?

split root
#

wdym "stopped working"

#

and which kind of cutscenes

sturdy flame
#

Not expecting anyone to know exactly what's wrong, just things that I could test and see if it's wrong

split root
#

lua?

sturdy flame
#

lua, yes

#

they just, don't do anything

#

I go into the trigger, nothing happens

split root
#

restar chapter, walk in trigger, send log.txt

sturdy flame
#

where's the log.txt file location?

summer micaBOT
#

If you have crashed, and are on Everest Core, there will be a log in the CrashLogs folder, which contains extra information that the regular logs do not. The Core crash handler will tell you the file name, and give you the option to open the folder.

Otherwise, in order to get Everest logs, open Olympus, and:

  • Press the "Manage", under the "Installations" panel on the main menu
  • Press "Browse" to open the Celeste folder
  • Send the log.txt file from that folder (not the error_log.txt or any log from LogHistory)

Note, on both Everest versions, there are older logs in the LogHistory folder inside the Celeste folder, but these are not the relevant logs. The most recent one is directly in the Celeste folder (and in CrashLogs for Core users), and not in any other folders.

Everest logs contain paths to certain files and folders in your system (e.g.: active helpers) to help with diagnosing problems. Remember to censor any usernames in log files before uploading them.

sturdy flame
#

(01/02/2024 12:34:03) [Everest] [Error] [Lua Cutscenes] Failed to load cutscene in Lua: attempt to call a nil value

split root
#

send whole log

sturdy flame
split root
#

and your cutscene

sturdy flame
split root
#

what is engine?

sturdy flame
#

C# thing I believe, learned it in a tutorial

split root
#

looks like you need local engine = require("#Monocle.Engine") at start

#

because right now engine is nothing

#

you need to "import", "require" it

#

everything else looks fine

sturdy flame
#

it worked before though

split root
#

🤷 skill issue

split root
sturdy flame
#

so above the begin function?

split root
#

yeah

#

if you want i can explain what it does

sturdy flame
#

Well, I got another cutscene to

#

uses no engine, also doesn't work

split root
#

send it too

#

(.lua file)

sturdy flame
#

not finished yet

split root
#

just look at highlight

#

you forgot " after first dialog key

sturdy flame
#

ah, thanks

split root
#

and after second

#

which text editor do you use?

sturdy flame
#

notepad

split root
#

vscode is most recommended
notepad++ is fine
notepad is very bad

#

because notepad++ has highlight

#

allows to detect that easy error quick

sturdy flame
#

alright, I'll get that later

sturdy flame
split root
#

and other one?

#

oh wait i see

#

also add
local celeste = require("#Celeste")

sturdy flame
#

nothing

split root
#

huh?

sturdy flame
#

not working

split root
#

which error this time?

sturdy flame
#

same one

split root
#

add a lot of log()

#

type there anything you want

#

like

#

log("fdslkfdjsalk")

#

just to understand when it breaks

#

you can also try to use celeste.CutsceneEntity:CameraTo instead of celeste.CutsceneEntity.CameraTo ( : instead of last .)

sturdy flame
#

found the issue

split root
#

?

sturdy flame
#

missing one )

split root
#

ah, lol, yeah

#

btw uhh

#

you can't use corotine.yield in onEnd i think?

#

but idk

sturdy flame
#

I can I guess

#

it's working

#

that's the part that had a missing )

sturdy flame
#

@split root Quick question, is there any easy way to do a dash in a cutscene?

split root
#

not sure

#

if you want i can look

sturdy flame
#

yeah I'd love that

#

Wait, I think I found a way

split root
#

try player.StartDash()

sturdy flame
#

almost, but not quite

#

alright

#

does nothing

split root
#

wait lol there is

#

dash(x,y)

#

ex. dash(1,-1)

#

right up

sturdy flame
#

that doesn't seem to do anything either

split root
#

huh?

#

without player

#

just dash

sturdy flame
#

yeah

split root
#

it's used in ZKB's 100 traps start

#

i just checked

#

and it definitly works weheline

#

dfsalkjdl wait what iff

sturdy flame
#

it's not working for me though...

#

?

#

maybe that's just a function they made or something?

split root
#

yea

#

correc

#

t

sturdy flame
#

so could I yoink it?

split root
#

it's kinda wrong i think?

sturdy flame
#

is it?

split root
#

ah, no

#
local function dash(xVector,yVector)
  player.OverrideDashDirection = vector2(xVector, yVector)
  helpers.setPlayerState (2)
  helpers.wait(0.6)
  helpers.setPlayerState (11)
  player.OverrideDashDirection = nil
end
#

you can just copy this at start of your file

#

and then use dash(x,y)

sturdy flame
#

alright let's see

split root
#

keep in mind it stops cutscene while madeline dashes

sturdy flame
#

yeah it's the final thing of the cutscene

#

but uh

#

it doesn't really work

split root
#

?

sturdy flame
#

well the dashing works

split root
#

what's wrong?

sturdy flame
#

but in the cutscene, I dash into a dream block

#

hold on I'll show you

split root
#

i understand

#

remove last two lines before end

sturdy flame
#

ah alright

split root
#

should work

#

(it forces player to stop dashing after 0.6 seconds)

#

also i think

#

you can use helpers.setPlayerState(9)

sturdy flame
#

it still seems to stop after 0.6 seconds

split root
#

to set player's state to dream dash

split root
#

well, then use helpers.setPlayerState(9), yeah

#

after wait

sturdy flame
#

also doesn't work

#

is it because of the cutscene ending?

split root
#

i think it should not affect..

#

what exactly doesn't work?

sturdy flame
#

it once again stops

split root
#

player is stuck in dream block?

sturdy flame
#

yup

split root
#

can you move/dash?

sturdy flame
#

I can dash, not move

split root
#

ofc

#

well

#

wait, i guess yes

#

because cutscene ends

#

just add wait

#

for uh any time

#

2 seconds could i think

sturdy flame
#

It's a pretty long dream block

split root
#

10 seconds

#

best solution imo is dash without cutscene

#

and count seconds

sturdy flame
#

about 5 seconds

split root
#

set 6

#

and see

#

(wait(6) after setState)

sturdy flame
#

after setting it to 9?

#

it seems to work

split root
#

cool

sturdy flame
#

Thanks for the help again

split root
split root