Hello, so I have tried to make this cinematic thing work when Intro starts, so I exported it and made intro.lua in cinematic folder
And when I try launch it this is what happens
This is how it looks like inside intro.lua
Code: Select all
-- cinematic with a title and story text
enableUserInput()
startMusic("assets/samples/music/intro.ogg")
showImage("mod_assets/cinematic/intro.tga")
fadeIn(2)
-- show the title text
sleep(1)
setFont("IntroTitle")
showText("Treasure of Zukania", 3)
sleep(2)
fadeOutText(1)
-- show the story text
sleep(1)
setFont("Intro")
textWriter([[
Many people talk about treasures hidden there...
Worth much much more then whole king's and Queen's treasury
So you and your party of volunteers
have set up for an adventure for gold and fame!
but what if it's just a myth or a legend?
It's up to your party to find it out
]])
click()
fadeOutText(0.5)
fadeOut(4)
fadeOutMusic(3)