[Help] Crashing during custom cinematics

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
ChizFreak
Posts: 6
Joined: Mon Jan 14, 2013 9:18 am

[Help] Crashing during custom cinematics

Post by ChizFreak »

I used the official tutorial to make a cinematic and it doesn't seem to work for some reason...

I opened a txt, wrote the following code, and saved it as .lua:

Code: Select all

-- cinematic with a title and story text
enableUserInput()
startMusic("mod_assets/sounds/IntroNumber7.wav")

showImage("mod_assets/textures/introForestImage.dds")
fadeIn(2)

-- show the title text
sleep(1)
setFont("IntroTitle")
showText("The Trials of Sen", 3)
sleep(2)
fadeOutText(1)

-- show the story text
sleep(1)
setFont("Intro")
textWriter([[
The Fortress of Sen, build by eponymous architech.
It's a ground of trials for every hero (or heroes) that want the privilege
of walking through the city of the Gods, Anor Londo, and achieve maximum glory.

You've dropped into the pit that serves as entrance to the Fortress, go forth Brave Warrior!
Prove you're worthy of walking, amongst the Gods themselves!
]])
click()
fadeOutText(0.5)

fadeOut(4)
fadeOutMusic(3)
It crashes with the following error:

Image

If I remove the line with the music and the fade music I get this error instead:

Image


What am I doing wrong?
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: [Help] Crashing during custom cinematics

Post by msyblade »

Try changing your "showImage" to .tga instead of .dds (I know it's weird, but I think it will solve the issue ;))

Edit: leave the file .dds, just call it .tga in the string
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
Post Reply