Went home and checked my files. the "myending.lua" was a text file with ".lua" as a part of the file name somehow, but the intro was a lua file. I changed the myending to a lua file, but it still gives me the "file not found" after completing the game.Isaac wrote:Notepad has the option to save as 'txt' or as 'all files' (meaning whatever you type ~extension or not. You should save as 'All Files', and type the '.lua' extension).
EDIT: I got the intro to work but I have no idea HOW/WHY my solution fixes it. I noticed my script entity in game had the lua extension in the path name (mod_assets/cinematics/myending.lua) when the actual file is written just myending. I deleted the .lua in the script. The INTRO NOW WORKS even though that script had NOTHING TO DO WITH THE INTRO!!!.
However, the ending STILL CRASHES. It has been my main goal, more importantly than the intro cinematic. Here are the images to each folder I have files in pertaining the problem:
Lua File locations & Error Message

DDS File locations & Error Message

OGG File locations (only using ending.ogg)

In-Game Script Entity

Here is my intro.lua:
enableUserInput()
startMusic("mod_assets/sounds/ending.ogg")
-- show the image
showImage("mod_assets/textures/cinematic/my_intro.tga")
fadeIn(2)
sleep(4)
fadeOut(4)
enableUserInput()
startMusic("mod_assets/sounds/ending.ogg")
showImage("mod_assets/textures/cinematic/my_outro.tga")
fadeIn(2)
-- show the story text
sleep(6)
setFont("Intro")
textWriter([[
Having acquired the remaining treasure,
you stumble your way out of the madness
of the Ghost Tower of Inverness and
into the daylight once again.
]])
click()
fadeOutText(0.5)
fadeOut(4)
fadeOutMusic(3)
The outro, named myending.lua, crashes to the error I posted. I want to note that the music that was being played while in the final level continues to play with the game crashed and the error message on screen. It is not the music scripted to play during the outro, however.