Page 1 of 1

Cannot get cinematic to work

Posted: Sat Sep 15, 2012 4:32 pm
by McSkivv
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:

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"]
and here is the intro.lua script:

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)
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.

Re: Cannot get cinematic to work

Posted: Sat Sep 15, 2012 4:37 pm
by Akatana
You have to use mod_assets/textures/blackbackground.tga :)

Re: Cannot get cinematic to work

Posted: Sat Sep 15, 2012 4:51 pm
by McSkivv
Akatana wrote:You have to use mod_assets/textures/blackbackground.tga :)
Image
My face hurts very much now... Thank you for pointing it out.

Re: Cannot get cinematic to work

Posted: Sun Nov 18, 2012 1:00 pm
by Adrageron
I don't want to start a new topic for such a noobish little question, so, will ask here: has anyone know a path to the outro cinematics pictures? Or they are unavailable for user-made cinematics?

Re: Cannot get cinematic to work

Posted: Sun Nov 18, 2012 1:50 pm
by Komag
assets/textures/cinematic/outro/page01.tga
assets/textures/cinematic/outro/page02.tga
assets/textures/cinematic/outro/page03.tga
assets/textures/cinematic/outro/page04.tga
assets/textures/cinematic/outro/page05.tga
assets/textures/cinematic/outro/page06.tga
assets/textures/cinematic/outro/page07.tga
assets/textures/cinematic/outro/page09.tga
assets/textures/cinematic/intro/grimrock_logo.tga

Re: Cannot get cinematic to work

Posted: Sun Nov 18, 2012 2:39 pm
by Adrageron
Thanks alot, Komag!