Page 1 of 1

[SOLVED] Intro cinematic problem

Posted: Thu Jan 10, 2013 3:28 pm
by Drakkan
ok guys I cant move forward with this. I know mistake is on my side, but cant find way how to solve this. Here is my intro.lua file

Code: Select all

-- opening cinematic with a title and story text
enableUserInput()

-- show the image
showImage("assets/textures/cinematic/intro/intro1.tga")
fadeIn(2)
sleep(4)
fadeOut(4)
fadeOutMusic(3)
here is error I am receiving

Code: Select all

[string "CinematicMode.lua"]:0: File not found: assets/textures/cinematic/intro/intro1.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"]: in main chunk

OS Version 6.1

OEM ID: 0
Number of processors: 2
Page size: 4096
Processor type: 586

Total memory: 2045 MB
Free memory: 729 MB

Display device 0:
  Device name: \\.\DISPLAY1
  Device string: ATI Radeon HD 5700 Series
  State flags: 08000005

Display device 1:
  Device name: \\.\DISPLAY2
  Device string: ATI Radeon HD 5700 Series
  State flags: 00000000

Display device 2:
  Device name: \\.\DISPLAY3
  Device string: ATI Radeon HD 5700 Series
  State flags: 00000000

Display device 3:
  Device name: \\.\DISPLAYV1
  Device string: RDPDD Chained DD
  State flags: 00000008

Display device 4:
  Device name: \\.\DISPLAYV2
  Device string: RDP Encoder Mirror Driver
  State flags: 00200008

Display device 5:
  Device name: \\.\DISPLAYV3
  Device string: RDP Reflector Display Driver
  State flags: 00200008

intro1 file is saved in the correct path (mod_assets\textures\cinematic\intro\intro1.dds) in dds format (512x512 DDS format, used photohsop plugin for that). any clues ?
I have feeling about incorrect format saving (lots of options, using no alpha now)
Image

Re: Intro cinematic problem :/

Posted: Thu Jan 10, 2013 3:32 pm
by antti
It seems that you have incorrect path in your cinematic script. It probably should be "mod_assets/textures/cinematic/intro/intro1.tga" :)

Re: Intro cinematic problem :/

Posted: Thu Jan 10, 2013 3:41 pm
by Drakkan
antti wrote:It seems that you have incorrect path in your cinematic script. It probably should be "mod_assets/textures/cinematic/intro/intro1.tga" :)
oh my.... how could I overlooked THIS :roll: :lol:
thanks man.