Cannot get cinematic to work
Posted: Sat Sep 15, 2012 4:32 pm
I'm working on my dungeon, and it is almost complete. All that remains is an intro cinematic and a closing cinematic. Unfortunately, I'm getting a crash error while working on an intro cinematic. Here is the crash log:
and here is the intro.lua script:
blackbackground.tga is located at Almost Human\Legend of Grimrock\Dungeons\The Reeking Depths\mod_assets\textures. I also have tried showImage("assets/textures/blackbackground.tga") I would try to use a .dds image, however, the cinematics guide on the modding page says to use a .tga file.
Code: Select all
[string "CinematicMode.lua"]:0: File not found: assets/textures/blackbackground.dds
stack traceback:
[C]: in function 'load'
[string "CinematicMode.lua"]: in function 'showImage'
[string "CinematicMode.lua"]: in main chunk
[string "CinematicMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]Code: Select all
enableUserInput()
startMusic("assets/samples/music/intro.ogg")
showImage("assets/textures/cinematic/intro/blackbackground.tga")
fadeIn(2)
-- show the title text
sleep(1)
setFont("IntroTitle")
showText("The Reeking Depths", 3)
sleep(2)
fadeOutText(1)
-- show the story text
sleep(1)
setFont("Intro")
textWriter([[In those days when I was just a small boy there was an event most singular.]])
click()
fadeOutText(0.5)
textWriter([[On October the 14th of the year 1252 fifteen villagers disappeared from their homes; stolen away in the night.]])
click()
fadeOutText(0.5)
textWriter([[Men from all around combed the countryside looking for their loved ones.]])
click()
fadeOutText(0.5)
textWriter([[Tonight I shall tell you the tale of four such men, who found what they sought, yet more than they expected.]])
click()
fadeOutText(0.5)
textWriter([[The tale of the Reeking Depths.]])
click()
fadeOutText(0.5)
fadeOut(4)
fadeOutMusic(3)