Picture failure

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Picture failure

Post by Drakkan »

Meraz wrote:mailed it to you, both the jpg version and the dds

Thanks for helping me with this

ps i tried again this time removing the one you said, still crashed me to desk with error, music still plays fine.. =(
sent you new dds file, I think issue is here. Your file has 1,5mb when I converted it to no explicit DDS alpha it has just 0,4mb. I tested it and it is working correctly for me now. Check email and let me know
Breath from the unpromising waters.
Eye of the Atlantis
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Picture failure

Post by msyblade »

Ill bet that drakkan's fix works for you, but if not, please post the new error message. The .dds format requirement can be very finicky.
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
Meraz
Posts: 38
Joined: Sun Feb 17, 2013 12:26 pm

Re: Picture failure

Post by Meraz »

i must be doing something wrong some place ..

-- cinematic with a title and story text
enableUserInput()
startMusic("assets/samples/music/intro.ogg")

-- show the image
showImage("assets/cinematic/intro/mountain.tga")
fadeIn(2)

-- show the title screen
sleep(1)
setFont("IntroTitle")
showText("JoJo's Tower", 3)
sleep(2)
fadeOutText(1)

-- show story text
sleep(1)
setFont("Intro")
textWriter([[
You made it!

You see the light
at the end of the tunnel
and the fresh mountain air
caresses your face.
You take one final look behind
as you exit the cave.
Just like Jojo,
you live to fight another day.

Well done!
]])
click()
fadeOutText(0.5)

fadeOut(4)
fadeOutMusic(3)


saved to new name gome.lua


pressure plate script says : function endgame()
completeGame("mod_assets/cinematics/gome.lua")
end

ok fellas, fix me! lol =)
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Picture failure

Post by msyblade »

Try changing your intro showImage path to:

- show the image
showImage("mod_assets/cinematics/mountain.tga")

And then make sure that is the path you placed the .dds into.

If that doesnt work, I'd like you to try this line in showImage, and let us know if it works.

showImage("assets/textures/cinematic/intro/page02.tga")
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
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Picture failure

Post by Drakkan »

small typo

-- show the image
showImage("assets/cinematic/intro/mountain.tga")
fadeIn(2)

cinematcs - not cinematic
Breath from the unpromising waters.
Eye of the Atlantis
Meraz
Posts: 38
Joined: Sun Feb 17, 2013 12:26 pm

Re: Picture failure

Post by Meraz »

-- cinematic with a title and story text
enableUserInput()
startMusic("assets/samples/music/intro.ogg")

-- show the image
showImage("assets/textures/cinematic/intro/page01.tga")
fadeIn(2)

-- show the title screen
sleep(1)
setFont("IntroTitle")
showText("JoJo's Tower", 3)
sleep(2)
fadeOutText(1)

-- show story text
sleep(1)
setFont("Intro")
textWriter([[
You made it!

You see the light
at the end of the tunnel
and the fresh mountain air
caresses your face.
You take one final look behind
as you exit the cave.
Just like Jojo,
you live to fight another day.

Well done!
]])
click()
fadeOutText(0.5)

fadeOut(4)
fadeOutMusic(3)



When i have this it works just fine. When i change for my pic it drops to desk with the error message from the first post i made.
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Picture failure

Post by msyblade »

The initial post error, was because the path was not where the image actually was.

showImage("mod_assets/cinematics/mountain.tga")

unless you have it in:

showImage("mod_assets/cinematics/intro/mountain.tga")

the extra "intro" folder being the difference.
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
User avatar
Drakkan
Posts: 1318
Joined: Mon Dec 31, 2012 12:25 am

Re: Picture failure

Post by Drakkan »

cinematic with a title and story text
enableUserInput()
startMusic("assets/samples/music/intro.ogg")

-- show the image
showImage("mod_assets/textures/cinematics/intro/page01.tga") -- you need copy mountain.dds file here. You do not need create special intro folder for that,
-- but the path need to correspond where the picture is. so it could be something like -- showImage("mod_assets/textures/cinematics/mountain.tga")
fadeIn(2)

-- show the title screen
sleep(1)
setFont("IntroTitle")
showText("JoJo's Tower", 3)
sleep(2)
fadeOutText(1)

-- show story text
sleep(1)
setFont("Intro")
textWriter([[
You made it!

You see the light
at the end of the tunnel
and the fresh mountain air
caresses your face.
You take one final look behind
as you exit the cave.
Just like Jojo,
you live to fight another day.

Well done!
]])
click()
fadeOutText(0.5)

fadeOut(4)
fadeOutMusic(3)
Breath from the unpromising waters.
Eye of the Atlantis
Meraz
Posts: 38
Joined: Sun Feb 17, 2013 12:26 pm

Re: Picture failure

Post by Meraz »

-- cinematic with a title and story text
enableUserInput()
startMusic("assets/samples/music/intro.ogg")

-- show the image
showImage("assets/cinematics/mountain.tga")
fadeIn(2)

-- show the title screen
sleep(1)
setFont("IntroTitle")
showText("JoJo's Tower", 3)
sleep(2)
fadeOutText(1)

-- show story text
sleep(1)
setFont("Intro")
textWriter([[
You made it!

You see the light
at the end of the tunnel
and the fresh mountain air
caresses your face.
You take one final look behind
as you exit the cave.
Just like Jojo,
you live to fight another day.

Well done!
]])
click()
fadeOutText(0.5)

fadeOut(4)
fadeOutMusic(3)

re-downloaded the file he sent me and it still does not work. =( maybe i am destined to use the one from the game.. even if it doesnt fit as well.
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: Picture failure

Post by msyblade »

the showImage path must point precisely, to the exact folder the file is in. You should use windows explorer to purposely put the mountain.tga file in "documents/Almost Human/Legend of Grimrock/dungeons/your dungeon/mod_assets/cinematics" folder (u even have to make the folder in mod_assets, i believe)

Then your showImage path must say exactly:
showImage("mod_assets/cinematics/mountain.tga")

Even capitalization matters, also, sometimes you are pointing to a "cinematic" folder, without the "s" at the end.and other times you are using "cinematics". you should check which is correct (cant be both), place your mountain.dds there, then make sure your showImage path matches precisely. You again removed the "mod_" path, GOT TO BE mod_assets, not assets. Assets is only for stock LoG things. mod_assets is solely for custom things in your dungeon.u re-added the "textures" folder,and the "intros" folder, which is not correct in "mod_assets", only if using a stock pic from "assets". You likely do not need the "intro" folder OR the "textures" folder in your showImage path. Keep us updated!
Last edited by msyblade on Tue Mar 05, 2013 1:27 am, edited 2 times in total.
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